Skip to content

Commit

Permalink
Custom role (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbedulli authored Feb 14, 2024
1 parent b87506b commit bfee0fe
Show file tree
Hide file tree
Showing 16 changed files with 2,694 additions and 2 deletions.
6 changes: 6 additions & 0 deletions coralogix/clientset/clientset.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type ClientSet struct {
apiKeys *ApikeysClient
groups *GroupsClient
users *UsersClient
customRole *RolesClient
}

func (c *ClientSet) RuleGroups() *RuleGroupsClient {
Expand Down Expand Up @@ -97,6 +98,10 @@ func (c *ClientSet) ApiKeys() *ApikeysClient {
return c.apiKeys
}

func (c *ClientSet) CustomRoles() *RolesClient {
return c.customRole
}

func (c *ClientSet) SLOs() *SLOsClient {
return c.slos
}
Expand Down Expand Up @@ -140,5 +145,6 @@ func NewClientSet(targetUrl, apiKey, orgKey string) *ClientSet {
apiKeys: NewApiKeysClient(teamsCPC),
groups: NewGroupsClient(teamsCPC),
users: NewUsersClient(teamsCPC),
customRole: NewRolesClient(teamsCPC),
}
}
312 changes: 312 additions & 0 deletions coralogix/clientset/grpc/roles/permissions.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bfee0fe

Please sign in to comment.