Documentation ¶
Index ¶
- func Create() *client
- type AuthorizeServer
- func (s *AuthorizeServer) AddAction(ctx context.Context, in *authorize.AddActionInput) (*common.Void, error)
- func (s *AuthorizeServer) AddResource(ctx context.Context, in *authorize.AddResourceInput) (*common.Void, error)
- func (s *AuthorizeServer) AddResourceRelation(ctx context.Context, in *authorize.AddResourceRelationInput) (*common.Void, error)
- func (s *AuthorizeServer) AddResourceRelations(ctx context.Context, in *authorize.AddResourceRelationsInput) (*common.Void, error)
- func (s *AuthorizeServer) AddResources(ctx context.Context, in *authorize.AddResourcesInput) (*common.Void, error)
- func (s *AuthorizeServer) AddUserRole(ctx context.Context, in *authorize.UserRole) (*common.Void, error)
- func (s *AuthorizeServer) ApplyRolesForUserOnResources(ctx context.Context, in *authorize.ApplyRolesForUserOnResourcesInput) (*common.Void, error)
- func (s *AuthorizeServer) ApplyUserAction(ctx context.Context, in *authorize.ApplyUserActionInput) (*common.Void, error)
- func (s *AuthorizeServer) AssertExpectations(t *testing.T)
- func (s *AuthorizeServer) DeepPing(ctx context.Context, void *common.Void) (*common.PrimitiveString, error)
- func (s *AuthorizeServer) GetAction(ctx context.Context, in *authorize.GetActionInput) (*authorize.GetActionOutput, error)
- func (s *AuthorizeServer) GetActionsByUserRole(ctx context.Context, in *authorize.GetActionsByUserRoleInput) (*authorize.GetActionsByUserRoleOutput, error)
- func (s *AuthorizeServer) GetAllActions(ctx context.Context, in *common.Void) (*authorize.GetAllActionsOutput, error)
- func (s *AuthorizeServer) GetResource(ctx context.Context, in *authorize.GetResourceInput) (*authorize.GetResourceOutput, error)
- func (s *AuthorizeServer) GetResourceChildren(ctx context.Context, in *authorize.GetResourceChildrenInput) (*authorize.GetResourcesOutput, error)
- func (s *AuthorizeServer) GetResourceParents(ctx context.Context, in *authorize.GetResourceParentsInput) (*authorize.GetResourcesOutput, error)
- func (s *AuthorizeServer) GetResourcesAndActionsByUser(ctx context.Context, in *authorize.GetResourcesAndActionsByUserInput) (*authorize.GetResourcesAndActionsByUserOutput, error)
- func (s *AuthorizeServer) GetResourcesAndActionsByUserAndResource(ctx context.Context, ...) (*authorize.GetResourcesAndActionsByUserAndResourceOutput, error)
- func (s *AuthorizeServer) GetResourcesByOriginAndType(ctx context.Context, in *authorize.GetResourcesByOriginAndTypeInput) (*authorize.GetResourcesByOriginAndTypeOutput, error)
- func (s *AuthorizeServer) GetResourcesByType(ctx context.Context, in *authorize.GetResourcesByTypeInput) (*authorize.GetResourcesByTypeOutput, error)
- func (s *AuthorizeServer) GetResourcesByUserAction(ctx context.Context, in *authorize.GetResourcesByUserActionInput) (*authorize.GetResourcesByUserActionOutput, error)
- func (s *AuthorizeServer) GetResourcesWithActionsAccess(ctx context.Context, in *authorize.GetResourcesWithActionsAccessInput) (*authorize.GetResourcesWithActionsAccessOutput, error)
- func (s *AuthorizeServer) GetUserActions(ctx context.Context, in *authorize.GetUserActionsInput) (*authorize.GetUserActionsOutput, error)
- func (s *AuthorizeServer) GetUserIDsWithAccessToResource(ctx context.Context, in *authorize.GetUserIDsWithAccessToResourceInput) (*authorize.GetUserIDsWithAccessToResourceOutput, error)
- func (s *AuthorizeServer) GetUserRole(ctx context.Context, in *authorize.GetUserRoleInput) (*authorize.UserRole, error)
- func (s *AuthorizeServer) HostPort() (string, string)
- func (s *AuthorizeServer) IsAuthorized(ctx context.Context, in *authorize.IsAuthorizedInput) (*authorize.IsAuthorizedOutput, error)
- func (s *AuthorizeServer) IsAuthorizedBulk(ctx context.Context, in *authorize.IsAuthorizedBulkInput) (*authorize.IsAuthorizedBulkOutput, error)
- func (s *AuthorizeServer) IsAuthorizedByEndpoint(ctx context.Context, in *authorize.IsAuthorizedByEndpointInput) (*authorize.IsAuthorizedByEndpointOutput, error)
- func (s *AuthorizeServer) LogClientState(ctx context.Context, clientInfo *authorize.LogClientStateInput) (*common.Void, error)
- func (s *AuthorizeServer) RemoveAction(ctx context.Context, in *authorize.RemoveActionInput) (*common.Void, error)
- func (s *AuthorizeServer) RemoveResource(ctx context.Context, in *authorize.RemoveResourceInput) (*common.Void, error)
- func (s *AuthorizeServer) RemoveResourceRelation(ctx context.Context, in *authorize.RemoveResourceRelationInput) (*common.Void, error)
- func (s *AuthorizeServer) RemoveResourceRelations(ctx context.Context, in *authorize.RemoveResourceRelationsInput) (*common.Void, error)
- func (s *AuthorizeServer) RemoveResources(ctx context.Context, in *authorize.RemoveResourcesInput) (*common.Void, error)
- func (s *AuthorizeServer) RemoveUserAction(ctx context.Context, in *authorize.RemoveUserActionInput) (*common.Void, error)
- func (s *AuthorizeServer) RemoveUserRole(ctx context.Context, in *authorize.RemoveUserRoleInput) (*common.Void, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthorizeServer ¶ added in v2.3.1
func NewServer ¶ added in v2.3.1
func NewServer() (server *AuthorizeServer, err error)
func NewServerOnHostPort ¶ added in v2.5.0
func NewServerOnHostPort(host, port string) (server *AuthorizeServer, err error)
func (*AuthorizeServer) AddAction ¶ added in v2.3.1
func (s *AuthorizeServer) AddAction(ctx context.Context, in *authorize.AddActionInput) (*common.Void, error)
func (*AuthorizeServer) AddResource ¶ added in v2.3.1
func (s *AuthorizeServer) AddResource(ctx context.Context, in *authorize.AddResourceInput) (*common.Void, error)
func (*AuthorizeServer) AddResourceRelation ¶ added in v2.3.1
func (s *AuthorizeServer) AddResourceRelation(ctx context.Context, in *authorize.AddResourceRelationInput) (*common.Void, error)
func (*AuthorizeServer) AddResourceRelations ¶ added in v2.3.1
func (s *AuthorizeServer) AddResourceRelations(ctx context.Context, in *authorize.AddResourceRelationsInput) (*common.Void, error)
func (*AuthorizeServer) AddResources ¶ added in v2.3.1
func (s *AuthorizeServer) AddResources(ctx context.Context, in *authorize.AddResourcesInput) (*common.Void, error)
func (*AuthorizeServer) AddUserRole ¶ added in v2.3.1
func (*AuthorizeServer) ApplyRolesForUserOnResources ¶ added in v2.8.0
func (s *AuthorizeServer) ApplyRolesForUserOnResources(ctx context.Context, in *authorize.ApplyRolesForUserOnResourcesInput) (*common.Void, error)
func (*AuthorizeServer) ApplyUserAction ¶ added in v2.3.1
func (s *AuthorizeServer) ApplyUserAction(ctx context.Context, in *authorize.ApplyUserActionInput) (*common.Void, error)
func (*AuthorizeServer) AssertExpectations ¶ added in v2.3.1
func (s *AuthorizeServer) AssertExpectations(t *testing.T)
func (*AuthorizeServer) DeepPing ¶ added in v2.3.1
func (s *AuthorizeServer) DeepPing(ctx context.Context, void *common.Void) (*common.PrimitiveString, error)
func (*AuthorizeServer) GetAction ¶ added in v2.3.1
func (s *AuthorizeServer) GetAction(ctx context.Context, in *authorize.GetActionInput) (*authorize.GetActionOutput, error)
func (*AuthorizeServer) GetActionsByUserRole ¶ added in v2.3.1
func (s *AuthorizeServer) GetActionsByUserRole(ctx context.Context, in *authorize.GetActionsByUserRoleInput) (*authorize.GetActionsByUserRoleOutput, error)
func (*AuthorizeServer) GetAllActions ¶ added in v2.3.1
func (s *AuthorizeServer) GetAllActions(ctx context.Context, in *common.Void) (*authorize.GetAllActionsOutput, error)
func (*AuthorizeServer) GetResource ¶ added in v2.3.1
func (s *AuthorizeServer) GetResource(ctx context.Context, in *authorize.GetResourceInput) (*authorize.GetResourceOutput, error)
func (*AuthorizeServer) GetResourceChildren ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourceChildren(ctx context.Context, in *authorize.GetResourceChildrenInput) (*authorize.GetResourcesOutput, error)
func (*AuthorizeServer) GetResourceParents ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourceParents(ctx context.Context, in *authorize.GetResourceParentsInput) (*authorize.GetResourcesOutput, error)
func (*AuthorizeServer) GetResourcesAndActionsByUser ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourcesAndActionsByUser(ctx context.Context, in *authorize.GetResourcesAndActionsByUserInput) (*authorize.GetResourcesAndActionsByUserOutput, error)
func (*AuthorizeServer) GetResourcesAndActionsByUserAndResource ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourcesAndActionsByUserAndResource(ctx context.Context, in *authorize.GetResourcesAndActionsByUserAndResourceInput) (*authorize.GetResourcesAndActionsByUserAndResourceOutput, error)
func (*AuthorizeServer) GetResourcesByOriginAndType ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourcesByOriginAndType(ctx context.Context, in *authorize.GetResourcesByOriginAndTypeInput) (*authorize.GetResourcesByOriginAndTypeOutput, error)
func (*AuthorizeServer) GetResourcesByType ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourcesByType(ctx context.Context, in *authorize.GetResourcesByTypeInput) (*authorize.GetResourcesByTypeOutput, error)
func (*AuthorizeServer) GetResourcesByUserAction ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourcesByUserAction(ctx context.Context, in *authorize.GetResourcesByUserActionInput) (*authorize.GetResourcesByUserActionOutput, error)
func (*AuthorizeServer) GetResourcesWithActionsAccess ¶ added in v2.3.1
func (s *AuthorizeServer) GetResourcesWithActionsAccess(ctx context.Context, in *authorize.GetResourcesWithActionsAccessInput) (*authorize.GetResourcesWithActionsAccessOutput, error)
func (*AuthorizeServer) GetUserActions ¶ added in v2.3.1
func (s *AuthorizeServer) GetUserActions(ctx context.Context, in *authorize.GetUserActionsInput) (*authorize.GetUserActionsOutput, error)
func (*AuthorizeServer) GetUserIDsWithAccessToResource ¶ added in v2.3.1
func (s *AuthorizeServer) GetUserIDsWithAccessToResource(ctx context.Context, in *authorize.GetUserIDsWithAccessToResourceInput) (*authorize.GetUserIDsWithAccessToResourceOutput, error)
func (*AuthorizeServer) GetUserRole ¶ added in v2.3.1
func (s *AuthorizeServer) GetUserRole(ctx context.Context, in *authorize.GetUserRoleInput) (*authorize.UserRole, error)
func (*AuthorizeServer) HostPort ¶ added in v2.3.1
func (s *AuthorizeServer) HostPort() (string, string)
func (*AuthorizeServer) IsAuthorized ¶ added in v2.3.1
func (s *AuthorizeServer) IsAuthorized(ctx context.Context, in *authorize.IsAuthorizedInput) (*authorize.IsAuthorizedOutput, error)
func (*AuthorizeServer) IsAuthorizedBulk ¶ added in v2.3.1
func (s *AuthorizeServer) IsAuthorizedBulk(ctx context.Context, in *authorize.IsAuthorizedBulkInput) (*authorize.IsAuthorizedBulkOutput, error)
func (*AuthorizeServer) IsAuthorizedByEndpoint ¶ added in v2.3.1
func (s *AuthorizeServer) IsAuthorizedByEndpoint(ctx context.Context, in *authorize.IsAuthorizedByEndpointInput) (*authorize.IsAuthorizedByEndpointOutput, error)
func (*AuthorizeServer) LogClientState ¶ added in v2.3.1
func (s *AuthorizeServer) LogClientState(ctx context.Context, clientInfo *authorize.LogClientStateInput) (*common.Void, error)
func (*AuthorizeServer) RemoveAction ¶ added in v2.3.1
func (s *AuthorizeServer) RemoveAction(ctx context.Context, in *authorize.RemoveActionInput) (*common.Void, error)
func (*AuthorizeServer) RemoveResource ¶ added in v2.3.1
func (s *AuthorizeServer) RemoveResource(ctx context.Context, in *authorize.RemoveResourceInput) (*common.Void, error)
func (*AuthorizeServer) RemoveResourceRelation ¶ added in v2.3.1
func (s *AuthorizeServer) RemoveResourceRelation(ctx context.Context, in *authorize.RemoveResourceRelationInput) (*common.Void, error)
func (*AuthorizeServer) RemoveResourceRelations ¶ added in v2.3.1
func (s *AuthorizeServer) RemoveResourceRelations(ctx context.Context, in *authorize.RemoveResourceRelationsInput) (*common.Void, error)
func (*AuthorizeServer) RemoveResources ¶ added in v2.3.1
func (s *AuthorizeServer) RemoveResources(ctx context.Context, in *authorize.RemoveResourcesInput) (*common.Void, error)
func (*AuthorizeServer) RemoveUserAction ¶ added in v2.3.1
func (s *AuthorizeServer) RemoveUserAction(ctx context.Context, in *authorize.RemoveUserActionInput) (*common.Void, error)
func (*AuthorizeServer) RemoveUserRole ¶ added in v2.3.1
func (s *AuthorizeServer) RemoveUserRole(ctx context.Context, in *authorize.RemoveUserRoleInput) (*common.Void, error)
Click to show internal directories.
Click to hide internal directories.