Documentation ¶
Index ¶
- type Client
- type ClientImpl
- func (client *ClientImpl) DeleteSecurityRoleAssignment(ctx context.Context, args *DeleteSecurityRoleAssignmentArgs) error
- func (client *ClientImpl) GetSecurityRoleAssignment(ctx context.Context, args *GetSecurityRoleAssignmentArgs) (*SecurityRoleAssignment, error)
- func (client *ClientImpl) ListSecurityRoleAssignments(ctx context.Context, args *ListSecurityRoleAssignmentsArgs) (*[]SecurityRoleAssignment, error)
- func (client *ClientImpl) ListSecurityRoleDefinitions(ctx context.Context, args *ListSecurityRoleDefinitionsArgs) (*[]SecurityRoleDefinition, error)
- func (client *ClientImpl) SetSecurityRoleAssignment(ctx context.Context, args *SetSecurityRoleAssignmentArgs) error
- type DeleteSecurityRoleAssignmentArgs
- type GetSecurityRoleAssignmentArgs
- type ListSecurityRoleAssignmentsArgs
- type ListSecurityRoleDefinitionsArgs
- type SecurityRoleAssignment
- type SecurityRoleDefinition
- type SecurityRoleIdentity
- type SetRoleAssignmentPayload
- type SetSecurityRoleAssignmentArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { DeleteSecurityRoleAssignment(ctx context.Context, args *DeleteSecurityRoleAssignmentArgs) error ListSecurityRoleDefinitions(ctx context.Context, args *ListSecurityRoleDefinitionsArgs) (*[]SecurityRoleDefinition, error) ListSecurityRoleAssignments(ctx context.Context, args *ListSecurityRoleAssignmentsArgs) (*[]SecurityRoleAssignment, error) GetSecurityRoleAssignment(ctx context.Context, args *GetSecurityRoleAssignmentArgs) (*SecurityRoleAssignment, error) SetSecurityRoleAssignment(ctx context.Context, args *SetSecurityRoleAssignmentArgs) error }
type ClientImpl ¶
type ClientImpl struct {
Client azuredevops.Client
}
func (*ClientImpl) DeleteSecurityRoleAssignment ¶
func (client *ClientImpl) DeleteSecurityRoleAssignment(ctx context.Context, args *DeleteSecurityRoleAssignmentArgs) error
func (*ClientImpl) GetSecurityRoleAssignment ¶
func (client *ClientImpl) GetSecurityRoleAssignment(ctx context.Context, args *GetSecurityRoleAssignmentArgs) (*SecurityRoleAssignment, error)
func (*ClientImpl) ListSecurityRoleAssignments ¶
func (client *ClientImpl) ListSecurityRoleAssignments(ctx context.Context, args *ListSecurityRoleAssignmentsArgs) (*[]SecurityRoleAssignment, error)
func (*ClientImpl) ListSecurityRoleDefinitions ¶
func (client *ClientImpl) ListSecurityRoleDefinitions(ctx context.Context, args *ListSecurityRoleDefinitionsArgs) (*[]SecurityRoleDefinition, error)
func (*ClientImpl) SetSecurityRoleAssignment ¶
func (client *ClientImpl) SetSecurityRoleAssignment(ctx context.Context, args *SetSecurityRoleAssignmentArgs) error
type DeleteSecurityRoleAssignmentArgs ¶
type DeleteSecurityRoleAssignmentArgs struct { Scope *string ResourceId *string IdentityId *uuid.UUID }
Arguments for the SetSecurityRoleAssignment function
type GetSecurityRoleAssignmentArgs ¶
type GetSecurityRoleAssignmentArgs struct { Scope *string ResourceId *string IdentityId *uuid.UUID }
Arguments for the GetSecurityRoleAssignmentArgs function
type ListSecurityRoleAssignmentsArgs ¶
Arguments for the ListSecurityRoleAssignmentsArgs function
type ListSecurityRoleDefinitionsArgs ¶
type ListSecurityRoleDefinitionsArgs struct {
Scope *string
}
Arguments for the ListSecurityRoleDefinitions function
type SecurityRoleAssignment ¶
type SecurityRoleAssignment struct { Identity *SecurityRoleIdentity `json:"identity"` Role *SecurityRoleDefinition `json:"role"` Access *string `json:"access"` AccessDisplayName *string `json:"accessDisplayName"` }
type SecurityRoleDefinition ¶
type SecurityRoleDefinition struct { DisplayName *string `json:"displayName"` Name *string `json:"name"` AllowPermissions *int `json:"allowPermissions"` DenyPermissions *int `json:"denyPermissions"` Identifier *string `json:"identifier"` Description *string `json:"description"` Scope *string `json:"scope"` }
type SecurityRoleIdentity ¶
Click to show internal directories.
Click to hide internal directories.