Documentation ¶
Index ¶
- type RoleAssignmentClient
- func (c *RoleAssignmentClient) CreateOrUpdate(ctx context.Context, ra *security.RoleAssignment) (*security.RoleAssignment, error)
- func (c *RoleAssignmentClient) Delete(ctx context.Context, ra *security.RoleAssignment) error
- func (c *RoleAssignmentClient) Get(ctx context.Context, ra *security.RoleAssignment) (*[]security.RoleAssignment, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoleAssignmentClient ¶
type RoleAssignmentClient struct { security.BaseClient // contains filtered or unexported fields }
Client structure
func NewRoleAssignmentClient ¶
func NewRoleAssignmentClient(cloudFQDN string, authorizer auth.Authorizer) (*RoleAssignmentClient, error)
NewClient method returns new client
func (*RoleAssignmentClient) CreateOrUpdate ¶
func (c *RoleAssignmentClient) CreateOrUpdate(ctx context.Context, ra *security.RoleAssignment) (*security.RoleAssignment, error)
CreateOrUpdate method invokes a role assignment
func (*RoleAssignmentClient) Delete ¶
func (c *RoleAssignmentClient) Delete(ctx context.Context, ra *security.RoleAssignment) error
Delete invokes a role assignment removal
func (*RoleAssignmentClient) Get ¶
func (c *RoleAssignmentClient) Get(ctx context.Context, ra *security.RoleAssignment) (*[]security.RoleAssignment, error)
Get invokes a role assignment retrieval
type Service ¶
type Service interface { Get(context.Context, *security.RoleAssignment) (*[]security.RoleAssignment, error) CreateOrUpdate(context.Context, *security.RoleAssignment) (*security.RoleAssignment, error) Delete(context.Context, *security.RoleAssignment) error }
Service interface
Click to show internal directories.
Click to hide internal directories.