Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Authorization OCMAuthorization // contains filtered or unexported fields }
func NewClientMock ¶
type OCMAuthorization ¶
type OCMAuthorization interface { SelfAccessReview(ctx context.Context, action, resourceType, organizationID, subscriptionID, clusterID string) (allowed bool, err error) AccessReview(ctx context.Context, username, action, resourceType, organizationID, subscriptionID, clusterID string) (allowed bool, err error) }
Click to show internal directories.
Click to hide internal directories.