Documentation ¶
Overview ¶
Package v2 is a generated GoMock package.
Index ¶
- Variables
- func RegisterAuthorizationServer(s *grpc.Server, srv AuthorizationServer)
- func RegisterPoliciesServer(s *grpc.Server, srv PoliciesServer)
- func RegisterProjectsServer(s *grpc.Server, srv ProjectsServer)
- type AddPolicyMembersReq
- func (*AddPolicyMembersReq) Descriptor() ([]byte, []int)
- func (m *AddPolicyMembersReq) GetId() string
- func (m *AddPolicyMembersReq) GetMembers() []string
- func (*AddPolicyMembersReq) ProtoMessage()
- func (m *AddPolicyMembersReq) Reset()
- func (m *AddPolicyMembersReq) String() string
- func (m *AddPolicyMembersReq) Validate() error
- func (m *AddPolicyMembersReq) XXX_DiscardUnknown()
- func (m *AddPolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddPolicyMembersReq) XXX_Merge(src proto.Message)
- func (m *AddPolicyMembersReq) XXX_Size() int
- func (m *AddPolicyMembersReq) XXX_Unmarshal(b []byte) error
- type AddPolicyMembersReqValidationError
- func (e AddPolicyMembersReqValidationError) Cause() error
- func (e AddPolicyMembersReqValidationError) Error() string
- func (e AddPolicyMembersReqValidationError) ErrorName() string
- func (e AddPolicyMembersReqValidationError) Field() string
- func (e AddPolicyMembersReqValidationError) Key() bool
- func (e AddPolicyMembersReqValidationError) Reason() string
- type AddPolicyMembersResp
- func (*AddPolicyMembersResp) Descriptor() ([]byte, []int)
- func (m *AddPolicyMembersResp) GetMembers() []string
- func (*AddPolicyMembersResp) ProtoMessage()
- func (m *AddPolicyMembersResp) Reset()
- func (m *AddPolicyMembersResp) String() string
- func (m *AddPolicyMembersResp) Validate() error
- func (m *AddPolicyMembersResp) XXX_DiscardUnknown()
- func (m *AddPolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddPolicyMembersResp) XXX_Merge(src proto.Message)
- func (m *AddPolicyMembersResp) XXX_Size() int
- func (m *AddPolicyMembersResp) XXX_Unmarshal(b []byte) error
- type AddPolicyMembersRespValidationError
- func (e AddPolicyMembersRespValidationError) Cause() error
- func (e AddPolicyMembersRespValidationError) Error() string
- func (e AddPolicyMembersRespValidationError) ErrorName() string
- func (e AddPolicyMembersRespValidationError) Field() string
- func (e AddPolicyMembersRespValidationError) Key() bool
- func (e AddPolicyMembersRespValidationError) Reason() string
- type AuthorizationClient
- type AuthorizationServer
- type AuthorizationServerMock
- func (m *AuthorizationServerMock) FilterAuthorizedPairs(ctx context.Context, req *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
- func (m *AuthorizationServerMock) FilterAuthorizedProjects(ctx context.Context, req *FilterAuthorizedPairsReq) (*FilterAuthorizedProjectsResp, error)
- func (m *AuthorizationServerMock) IsAuthorized(ctx context.Context, req *IsAuthorizedReq) (*IsAuthorizedResp, error)
- func (m *AuthorizationServerMock) ProjectsAuthorized(ctx context.Context, req *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
- func (m *AuthorizationServerMock) Reset()
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)
- func (m *Condition) GetType() ProjectRuleConditionTypes
- func (m *Condition) GetValues() []string
- func (*Condition) ProtoMessage()
- func (m *Condition) Reset()
- func (m *Condition) String() string
- func (m *Condition) Validate() error
- func (m *Condition) XXX_DiscardUnknown()
- func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Condition) XXX_Merge(src proto.Message)
- func (m *Condition) XXX_Size() int
- func (m *Condition) XXX_Unmarshal(b []byte) error
- type ConditionValidationError
- type CreatePolicyReq
- func (*CreatePolicyReq) Descriptor() ([]byte, []int)
- func (m *CreatePolicyReq) GetId() string
- func (m *CreatePolicyReq) GetMembers() []string
- func (m *CreatePolicyReq) GetName() string
- func (m *CreatePolicyReq) GetProjects() []string
- func (m *CreatePolicyReq) GetStatements() []*Statement
- func (*CreatePolicyReq) ProtoMessage()
- func (m *CreatePolicyReq) Reset()
- func (m *CreatePolicyReq) String() string
- func (m *CreatePolicyReq) Validate() error
- func (m *CreatePolicyReq) XXX_DiscardUnknown()
- func (m *CreatePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreatePolicyReq) XXX_Merge(src proto.Message)
- func (m *CreatePolicyReq) XXX_Size() int
- func (m *CreatePolicyReq) XXX_Unmarshal(b []byte) error
- type CreatePolicyReqValidationError
- func (e CreatePolicyReqValidationError) Cause() error
- func (e CreatePolicyReqValidationError) Error() string
- func (e CreatePolicyReqValidationError) ErrorName() string
- func (e CreatePolicyReqValidationError) Field() string
- func (e CreatePolicyReqValidationError) Key() bool
- func (e CreatePolicyReqValidationError) Reason() string
- type CreateProjectReq
- func (*CreateProjectReq) Descriptor() ([]byte, []int)
- func (m *CreateProjectReq) GetId() string
- func (m *CreateProjectReq) GetName() string
- func (*CreateProjectReq) ProtoMessage()
- func (m *CreateProjectReq) Reset()
- func (m *CreateProjectReq) String() string
- func (m *CreateProjectReq) Validate() error
- func (m *CreateProjectReq) XXX_DiscardUnknown()
- func (m *CreateProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateProjectReq) XXX_Merge(src proto.Message)
- func (m *CreateProjectReq) XXX_Size() int
- func (m *CreateProjectReq) XXX_Unmarshal(b []byte) error
- type CreateProjectReqValidationError
- func (e CreateProjectReqValidationError) Cause() error
- func (e CreateProjectReqValidationError) Error() string
- func (e CreateProjectReqValidationError) ErrorName() string
- func (e CreateProjectReqValidationError) Field() string
- func (e CreateProjectReqValidationError) Key() bool
- func (e CreateProjectReqValidationError) Reason() string
- type CreateProjectResp
- func (*CreateProjectResp) Descriptor() ([]byte, []int)
- func (m *CreateProjectResp) GetProject() *Project
- func (*CreateProjectResp) ProtoMessage()
- func (m *CreateProjectResp) Reset()
- func (m *CreateProjectResp) String() string
- func (m *CreateProjectResp) Validate() error
- func (m *CreateProjectResp) XXX_DiscardUnknown()
- func (m *CreateProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateProjectResp) XXX_Merge(src proto.Message)
- func (m *CreateProjectResp) XXX_Size() int
- func (m *CreateProjectResp) XXX_Unmarshal(b []byte) error
- type CreateProjectRespValidationError
- func (e CreateProjectRespValidationError) Cause() error
- func (e CreateProjectRespValidationError) Error() string
- func (e CreateProjectRespValidationError) ErrorName() string
- func (e CreateProjectRespValidationError) Field() string
- func (e CreateProjectRespValidationError) Key() bool
- func (e CreateProjectRespValidationError) Reason() string
- type CreateRoleReq
- func (*CreateRoleReq) Descriptor() ([]byte, []int)
- func (m *CreateRoleReq) GetActions() []string
- func (m *CreateRoleReq) GetId() string
- func (m *CreateRoleReq) GetName() string
- func (m *CreateRoleReq) GetProjects() []string
- func (*CreateRoleReq) ProtoMessage()
- func (m *CreateRoleReq) Reset()
- func (m *CreateRoleReq) String() string
- func (m *CreateRoleReq) Validate() error
- func (m *CreateRoleReq) XXX_DiscardUnknown()
- func (m *CreateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateRoleReq) XXX_Merge(src proto.Message)
- func (m *CreateRoleReq) XXX_Size() int
- func (m *CreateRoleReq) XXX_Unmarshal(b []byte) error
- type CreateRoleReqValidationError
- func (e CreateRoleReqValidationError) Cause() error
- func (e CreateRoleReqValidationError) Error() string
- func (e CreateRoleReqValidationError) ErrorName() string
- func (e CreateRoleReqValidationError) Field() string
- func (e CreateRoleReqValidationError) Key() bool
- func (e CreateRoleReqValidationError) Reason() string
- type DeletePolicyReq
- func (*DeletePolicyReq) Descriptor() ([]byte, []int)
- func (m *DeletePolicyReq) GetId() string
- func (*DeletePolicyReq) ProtoMessage()
- func (m *DeletePolicyReq) Reset()
- func (m *DeletePolicyReq) String() string
- func (m *DeletePolicyReq) Validate() error
- func (m *DeletePolicyReq) XXX_DiscardUnknown()
- func (m *DeletePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeletePolicyReq) XXX_Merge(src proto.Message)
- func (m *DeletePolicyReq) XXX_Size() int
- func (m *DeletePolicyReq) XXX_Unmarshal(b []byte) error
- type DeletePolicyReqValidationError
- func (e DeletePolicyReqValidationError) Cause() error
- func (e DeletePolicyReqValidationError) Error() string
- func (e DeletePolicyReqValidationError) ErrorName() string
- func (e DeletePolicyReqValidationError) Field() string
- func (e DeletePolicyReqValidationError) Key() bool
- func (e DeletePolicyReqValidationError) Reason() string
- type DeletePolicyResp
- func (*DeletePolicyResp) Descriptor() ([]byte, []int)
- func (*DeletePolicyResp) ProtoMessage()
- func (m *DeletePolicyResp) Reset()
- func (m *DeletePolicyResp) String() string
- func (m *DeletePolicyResp) Validate() error
- func (m *DeletePolicyResp) XXX_DiscardUnknown()
- func (m *DeletePolicyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeletePolicyResp) XXX_Merge(src proto.Message)
- func (m *DeletePolicyResp) XXX_Size() int
- func (m *DeletePolicyResp) XXX_Unmarshal(b []byte) error
- type DeletePolicyRespValidationError
- func (e DeletePolicyRespValidationError) Cause() error
- func (e DeletePolicyRespValidationError) Error() string
- func (e DeletePolicyRespValidationError) ErrorName() string
- func (e DeletePolicyRespValidationError) Field() string
- func (e DeletePolicyRespValidationError) Key() bool
- func (e DeletePolicyRespValidationError) Reason() string
- type DeleteProjectReq
- func (*DeleteProjectReq) Descriptor() ([]byte, []int)
- func (m *DeleteProjectReq) GetId() string
- func (*DeleteProjectReq) ProtoMessage()
- func (m *DeleteProjectReq) Reset()
- func (m *DeleteProjectReq) String() string
- func (m *DeleteProjectReq) Validate() error
- func (m *DeleteProjectReq) XXX_DiscardUnknown()
- func (m *DeleteProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteProjectReq) XXX_Merge(src proto.Message)
- func (m *DeleteProjectReq) XXX_Size() int
- func (m *DeleteProjectReq) XXX_Unmarshal(b []byte) error
- type DeleteProjectReqValidationError
- func (e DeleteProjectReqValidationError) Cause() error
- func (e DeleteProjectReqValidationError) Error() string
- func (e DeleteProjectReqValidationError) ErrorName() string
- func (e DeleteProjectReqValidationError) Field() string
- func (e DeleteProjectReqValidationError) Key() bool
- func (e DeleteProjectReqValidationError) Reason() string
- type DeleteProjectResp
- func (*DeleteProjectResp) Descriptor() ([]byte, []int)
- func (*DeleteProjectResp) ProtoMessage()
- func (m *DeleteProjectResp) Reset()
- func (m *DeleteProjectResp) String() string
- func (m *DeleteProjectResp) Validate() error
- func (m *DeleteProjectResp) XXX_DiscardUnknown()
- func (m *DeleteProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteProjectResp) XXX_Merge(src proto.Message)
- func (m *DeleteProjectResp) XXX_Size() int
- func (m *DeleteProjectResp) XXX_Unmarshal(b []byte) error
- type DeleteProjectRespValidationError
- func (e DeleteProjectRespValidationError) Cause() error
- func (e DeleteProjectRespValidationError) Error() string
- func (e DeleteProjectRespValidationError) ErrorName() string
- func (e DeleteProjectRespValidationError) Field() string
- func (e DeleteProjectRespValidationError) Key() bool
- func (e DeleteProjectRespValidationError) Reason() string
- type DeleteRoleReq
- func (*DeleteRoleReq) Descriptor() ([]byte, []int)
- func (m *DeleteRoleReq) GetId() string
- func (*DeleteRoleReq) ProtoMessage()
- func (m *DeleteRoleReq) Reset()
- func (m *DeleteRoleReq) String() string
- func (m *DeleteRoleReq) Validate() error
- func (m *DeleteRoleReq) XXX_DiscardUnknown()
- func (m *DeleteRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteRoleReq) XXX_Merge(src proto.Message)
- func (m *DeleteRoleReq) XXX_Size() int
- func (m *DeleteRoleReq) XXX_Unmarshal(b []byte) error
- type DeleteRoleReqValidationError
- func (e DeleteRoleReqValidationError) Cause() error
- func (e DeleteRoleReqValidationError) Error() string
- func (e DeleteRoleReqValidationError) ErrorName() string
- func (e DeleteRoleReqValidationError) Field() string
- func (e DeleteRoleReqValidationError) Key() bool
- func (e DeleteRoleReqValidationError) Reason() string
- type DeleteRoleResp
- func (*DeleteRoleResp) Descriptor() ([]byte, []int)
- func (*DeleteRoleResp) ProtoMessage()
- func (m *DeleteRoleResp) Reset()
- func (m *DeleteRoleResp) String() string
- func (m *DeleteRoleResp) Validate() error
- func (m *DeleteRoleResp) XXX_DiscardUnknown()
- func (m *DeleteRoleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteRoleResp) XXX_Merge(src proto.Message)
- func (m *DeleteRoleResp) XXX_Size() int
- func (m *DeleteRoleResp) XXX_Unmarshal(b []byte) error
- type DeleteRoleRespValidationError
- func (e DeleteRoleRespValidationError) Cause() error
- func (e DeleteRoleRespValidationError) Error() string
- func (e DeleteRoleRespValidationError) ErrorName() string
- func (e DeleteRoleRespValidationError) Field() string
- func (e DeleteRoleRespValidationError) Key() bool
- func (e DeleteRoleRespValidationError) Reason() string
- type FilterAuthorizedPairsReq
- func (*FilterAuthorizedPairsReq) Descriptor() ([]byte, []int)
- func (m *FilterAuthorizedPairsReq) GetPairs() []*Pair
- func (m *FilterAuthorizedPairsReq) GetSubjects() []string
- func (*FilterAuthorizedPairsReq) ProtoMessage()
- func (m *FilterAuthorizedPairsReq) Reset()
- func (m *FilterAuthorizedPairsReq) String() string
- func (m *FilterAuthorizedPairsReq) Validate() error
- func (m *FilterAuthorizedPairsReq) XXX_DiscardUnknown()
- func (m *FilterAuthorizedPairsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FilterAuthorizedPairsReq) XXX_Merge(src proto.Message)
- func (m *FilterAuthorizedPairsReq) XXX_Size() int
- func (m *FilterAuthorizedPairsReq) XXX_Unmarshal(b []byte) error
- type FilterAuthorizedPairsReqValidationError
- func (e FilterAuthorizedPairsReqValidationError) Cause() error
- func (e FilterAuthorizedPairsReqValidationError) Error() string
- func (e FilterAuthorizedPairsReqValidationError) ErrorName() string
- func (e FilterAuthorizedPairsReqValidationError) Field() string
- func (e FilterAuthorizedPairsReqValidationError) Key() bool
- func (e FilterAuthorizedPairsReqValidationError) Reason() string
- type FilterAuthorizedPairsResp
- func (*FilterAuthorizedPairsResp) Descriptor() ([]byte, []int)
- func (m *FilterAuthorizedPairsResp) GetPairs() []*Pair
- func (*FilterAuthorizedPairsResp) ProtoMessage()
- func (m *FilterAuthorizedPairsResp) Reset()
- func (m *FilterAuthorizedPairsResp) String() string
- func (m *FilterAuthorizedPairsResp) Validate() error
- func (m *FilterAuthorizedPairsResp) XXX_DiscardUnknown()
- func (m *FilterAuthorizedPairsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FilterAuthorizedPairsResp) XXX_Merge(src proto.Message)
- func (m *FilterAuthorizedPairsResp) XXX_Size() int
- func (m *FilterAuthorizedPairsResp) XXX_Unmarshal(b []byte) error
- type FilterAuthorizedPairsRespValidationError
- func (e FilterAuthorizedPairsRespValidationError) Cause() error
- func (e FilterAuthorizedPairsRespValidationError) Error() string
- func (e FilterAuthorizedPairsRespValidationError) ErrorName() string
- func (e FilterAuthorizedPairsRespValidationError) Field() string
- func (e FilterAuthorizedPairsRespValidationError) Key() bool
- func (e FilterAuthorizedPairsRespValidationError) Reason() string
- type FilterAuthorizedProjectsResp
- func (*FilterAuthorizedProjectsResp) Descriptor() ([]byte, []int)
- func (m *FilterAuthorizedProjectsResp) GetProjects() []string
- func (*FilterAuthorizedProjectsResp) ProtoMessage()
- func (m *FilterAuthorizedProjectsResp) Reset()
- func (m *FilterAuthorizedProjectsResp) String() string
- func (m *FilterAuthorizedProjectsResp) Validate() error
- func (m *FilterAuthorizedProjectsResp) XXX_DiscardUnknown()
- func (m *FilterAuthorizedProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FilterAuthorizedProjectsResp) XXX_Merge(src proto.Message)
- func (m *FilterAuthorizedProjectsResp) XXX_Size() int
- func (m *FilterAuthorizedProjectsResp) XXX_Unmarshal(b []byte) error
- type FilterAuthorizedProjectsRespValidationError
- func (e FilterAuthorizedProjectsRespValidationError) Cause() error
- func (e FilterAuthorizedProjectsRespValidationError) Error() string
- func (e FilterAuthorizedProjectsRespValidationError) ErrorName() string
- func (e FilterAuthorizedProjectsRespValidationError) Field() string
- func (e FilterAuthorizedProjectsRespValidationError) Key() bool
- func (e FilterAuthorizedProjectsRespValidationError) Reason() string
- type Flag
- type GetPolicyReq
- func (*GetPolicyReq) Descriptor() ([]byte, []int)
- func (m *GetPolicyReq) GetId() string
- func (*GetPolicyReq) ProtoMessage()
- func (m *GetPolicyReq) Reset()
- func (m *GetPolicyReq) String() string
- func (m *GetPolicyReq) Validate() error
- func (m *GetPolicyReq) XXX_DiscardUnknown()
- func (m *GetPolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPolicyReq) XXX_Merge(src proto.Message)
- func (m *GetPolicyReq) XXX_Size() int
- func (m *GetPolicyReq) XXX_Unmarshal(b []byte) error
- type GetPolicyReqValidationError
- func (e GetPolicyReqValidationError) Cause() error
- func (e GetPolicyReqValidationError) Error() string
- func (e GetPolicyReqValidationError) ErrorName() string
- func (e GetPolicyReqValidationError) Field() string
- func (e GetPolicyReqValidationError) Key() bool
- func (e GetPolicyReqValidationError) Reason() string
- type GetPolicyVersionReq
- func (*GetPolicyVersionReq) Descriptor() ([]byte, []int)
- func (*GetPolicyVersionReq) ProtoMessage()
- func (m *GetPolicyVersionReq) Reset()
- func (m *GetPolicyVersionReq) String() string
- func (m *GetPolicyVersionReq) Validate() error
- func (m *GetPolicyVersionReq) XXX_DiscardUnknown()
- func (m *GetPolicyVersionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPolicyVersionReq) XXX_Merge(src proto.Message)
- func (m *GetPolicyVersionReq) XXX_Size() int
- func (m *GetPolicyVersionReq) XXX_Unmarshal(b []byte) error
- type GetPolicyVersionReqValidationError
- func (e GetPolicyVersionReqValidationError) Cause() error
- func (e GetPolicyVersionReqValidationError) Error() string
- func (e GetPolicyVersionReqValidationError) ErrorName() string
- func (e GetPolicyVersionReqValidationError) Field() string
- func (e GetPolicyVersionReqValidationError) Key() bool
- func (e GetPolicyVersionReqValidationError) Reason() string
- type GetPolicyVersionResp
- func (*GetPolicyVersionResp) Descriptor() ([]byte, []int)
- func (m *GetPolicyVersionResp) GetVersion() *Version
- func (*GetPolicyVersionResp) ProtoMessage()
- func (m *GetPolicyVersionResp) Reset()
- func (m *GetPolicyVersionResp) String() string
- func (m *GetPolicyVersionResp) Validate() error
- func (m *GetPolicyVersionResp) XXX_DiscardUnknown()
- func (m *GetPolicyVersionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPolicyVersionResp) XXX_Merge(src proto.Message)
- func (m *GetPolicyVersionResp) XXX_Size() int
- func (m *GetPolicyVersionResp) XXX_Unmarshal(b []byte) error
- type GetPolicyVersionRespValidationError
- func (e GetPolicyVersionRespValidationError) Cause() error
- func (e GetPolicyVersionRespValidationError) Error() string
- func (e GetPolicyVersionRespValidationError) ErrorName() string
- func (e GetPolicyVersionRespValidationError) Field() string
- func (e GetPolicyVersionRespValidationError) Key() bool
- func (e GetPolicyVersionRespValidationError) Reason() string
- type GetProjectReq
- func (*GetProjectReq) Descriptor() ([]byte, []int)
- func (m *GetProjectReq) GetId() string
- func (*GetProjectReq) ProtoMessage()
- func (m *GetProjectReq) Reset()
- func (m *GetProjectReq) String() string
- func (m *GetProjectReq) Validate() error
- func (m *GetProjectReq) XXX_DiscardUnknown()
- func (m *GetProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetProjectReq) XXX_Merge(src proto.Message)
- func (m *GetProjectReq) XXX_Size() int
- func (m *GetProjectReq) XXX_Unmarshal(b []byte) error
- type GetProjectReqValidationError
- func (e GetProjectReqValidationError) Cause() error
- func (e GetProjectReqValidationError) Error() string
- func (e GetProjectReqValidationError) ErrorName() string
- func (e GetProjectReqValidationError) Field() string
- func (e GetProjectReqValidationError) Key() bool
- func (e GetProjectReqValidationError) Reason() string
- type GetProjectResp
- func (*GetProjectResp) Descriptor() ([]byte, []int)
- func (m *GetProjectResp) GetProject() *Project
- func (*GetProjectResp) ProtoMessage()
- func (m *GetProjectResp) Reset()
- func (m *GetProjectResp) String() string
- func (m *GetProjectResp) Validate() error
- func (m *GetProjectResp) XXX_DiscardUnknown()
- func (m *GetProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetProjectResp) XXX_Merge(src proto.Message)
- func (m *GetProjectResp) XXX_Size() int
- func (m *GetProjectResp) XXX_Unmarshal(b []byte) error
- type GetProjectRespValidationError
- func (e GetProjectRespValidationError) Cause() error
- func (e GetProjectRespValidationError) Error() string
- func (e GetProjectRespValidationError) ErrorName() string
- func (e GetProjectRespValidationError) Field() string
- func (e GetProjectRespValidationError) Key() bool
- func (e GetProjectRespValidationError) Reason() string
- type GetProjectRulesReq
- func (*GetProjectRulesReq) Descriptor() ([]byte, []int)
- func (m *GetProjectRulesReq) GetProjectId() string
- func (*GetProjectRulesReq) ProtoMessage()
- func (m *GetProjectRulesReq) Reset()
- func (m *GetProjectRulesReq) String() string
- func (m *GetProjectRulesReq) Validate() error
- func (m *GetProjectRulesReq) XXX_DiscardUnknown()
- func (m *GetProjectRulesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetProjectRulesReq) XXX_Merge(src proto.Message)
- func (m *GetProjectRulesReq) XXX_Size() int
- func (m *GetProjectRulesReq) XXX_Unmarshal(b []byte) error
- type GetProjectRulesReqValidationError
- func (e GetProjectRulesReqValidationError) Cause() error
- func (e GetProjectRulesReqValidationError) Error() string
- func (e GetProjectRulesReqValidationError) ErrorName() string
- func (e GetProjectRulesReqValidationError) Field() string
- func (e GetProjectRulesReqValidationError) Key() bool
- func (e GetProjectRulesReqValidationError) Reason() string
- type GetProjectRulesResp
- func (*GetProjectRulesResp) Descriptor() ([]byte, []int)
- func (m *GetProjectRulesResp) GetRulesForProject() *ProjectRules
- func (*GetProjectRulesResp) ProtoMessage()
- func (m *GetProjectRulesResp) Reset()
- func (m *GetProjectRulesResp) String() string
- func (m *GetProjectRulesResp) Validate() error
- func (m *GetProjectRulesResp) XXX_DiscardUnknown()
- func (m *GetProjectRulesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetProjectRulesResp) XXX_Merge(src proto.Message)
- func (m *GetProjectRulesResp) XXX_Size() int
- func (m *GetProjectRulesResp) XXX_Unmarshal(b []byte) error
- type GetProjectRulesRespValidationError
- func (e GetProjectRulesRespValidationError) Cause() error
- func (e GetProjectRulesRespValidationError) Error() string
- func (e GetProjectRulesRespValidationError) ErrorName() string
- func (e GetProjectRulesRespValidationError) Field() string
- func (e GetProjectRulesRespValidationError) Key() bool
- func (e GetProjectRulesRespValidationError) Reason() string
- type GetRoleReq
- func (*GetRoleReq) Descriptor() ([]byte, []int)
- func (m *GetRoleReq) GetId() string
- func (*GetRoleReq) ProtoMessage()
- func (m *GetRoleReq) Reset()
- func (m *GetRoleReq) String() string
- func (m *GetRoleReq) Validate() error
- func (m *GetRoleReq) XXX_DiscardUnknown()
- func (m *GetRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRoleReq) XXX_Merge(src proto.Message)
- func (m *GetRoleReq) XXX_Size() int
- func (m *GetRoleReq) XXX_Unmarshal(b []byte) error
- type GetRoleReqValidationError
- type IsAuthorizedReq
- func (*IsAuthorizedReq) Descriptor() ([]byte, []int)
- func (m *IsAuthorizedReq) GetAction() string
- func (m *IsAuthorizedReq) GetResource() string
- func (m *IsAuthorizedReq) GetSubjects() []string
- func (*IsAuthorizedReq) ProtoMessage()
- func (m *IsAuthorizedReq) Reset()
- func (m *IsAuthorizedReq) String() string
- func (m *IsAuthorizedReq) Validate() error
- func (m *IsAuthorizedReq) XXX_DiscardUnknown()
- func (m *IsAuthorizedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IsAuthorizedReq) XXX_Merge(src proto.Message)
- func (m *IsAuthorizedReq) XXX_Size() int
- func (m *IsAuthorizedReq) XXX_Unmarshal(b []byte) error
- type IsAuthorizedReqValidationError
- func (e IsAuthorizedReqValidationError) Cause() error
- func (e IsAuthorizedReqValidationError) Error() string
- func (e IsAuthorizedReqValidationError) ErrorName() string
- func (e IsAuthorizedReqValidationError) Field() string
- func (e IsAuthorizedReqValidationError) Key() bool
- func (e IsAuthorizedReqValidationError) Reason() string
- type IsAuthorizedResp
- func (*IsAuthorizedResp) Descriptor() ([]byte, []int)
- func (m *IsAuthorizedResp) GetAuthorized() bool
- func (*IsAuthorizedResp) ProtoMessage()
- func (m *IsAuthorizedResp) Reset()
- func (m *IsAuthorizedResp) String() string
- func (m *IsAuthorizedResp) Validate() error
- func (m *IsAuthorizedResp) XXX_DiscardUnknown()
- func (m *IsAuthorizedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IsAuthorizedResp) XXX_Merge(src proto.Message)
- func (m *IsAuthorizedResp) XXX_Size() int
- func (m *IsAuthorizedResp) XXX_Unmarshal(b []byte) error
- type IsAuthorizedRespValidationError
- func (e IsAuthorizedRespValidationError) Cause() error
- func (e IsAuthorizedRespValidationError) Error() string
- func (e IsAuthorizedRespValidationError) ErrorName() string
- func (e IsAuthorizedRespValidationError) Field() string
- func (e IsAuthorizedRespValidationError) Key() bool
- func (e IsAuthorizedRespValidationError) Reason() string
- type ListPoliciesReq
- func (*ListPoliciesReq) Descriptor() ([]byte, []int)
- func (*ListPoliciesReq) ProtoMessage()
- func (m *ListPoliciesReq) Reset()
- func (m *ListPoliciesReq) String() string
- func (m *ListPoliciesReq) Validate() error
- func (m *ListPoliciesReq) XXX_DiscardUnknown()
- func (m *ListPoliciesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListPoliciesReq) XXX_Merge(src proto.Message)
- func (m *ListPoliciesReq) XXX_Size() int
- func (m *ListPoliciesReq) XXX_Unmarshal(b []byte) error
- type ListPoliciesReqValidationError
- func (e ListPoliciesReqValidationError) Cause() error
- func (e ListPoliciesReqValidationError) Error() string
- func (e ListPoliciesReqValidationError) ErrorName() string
- func (e ListPoliciesReqValidationError) Field() string
- func (e ListPoliciesReqValidationError) Key() bool
- func (e ListPoliciesReqValidationError) Reason() string
- type ListPoliciesResp
- func (*ListPoliciesResp) Descriptor() ([]byte, []int)
- func (m *ListPoliciesResp) GetPolicies() []*Policy
- func (*ListPoliciesResp) ProtoMessage()
- func (m *ListPoliciesResp) Reset()
- func (m *ListPoliciesResp) String() string
- func (m *ListPoliciesResp) Validate() error
- func (m *ListPoliciesResp) XXX_DiscardUnknown()
- func (m *ListPoliciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListPoliciesResp) XXX_Merge(src proto.Message)
- func (m *ListPoliciesResp) XXX_Size() int
- func (m *ListPoliciesResp) XXX_Unmarshal(b []byte) error
- type ListPoliciesRespValidationError
- func (e ListPoliciesRespValidationError) Cause() error
- func (e ListPoliciesRespValidationError) Error() string
- func (e ListPoliciesRespValidationError) ErrorName() string
- func (e ListPoliciesRespValidationError) Field() string
- func (e ListPoliciesRespValidationError) Key() bool
- func (e ListPoliciesRespValidationError) Reason() string
- type ListPolicyMembersReq
- func (*ListPolicyMembersReq) Descriptor() ([]byte, []int)
- func (m *ListPolicyMembersReq) GetId() string
- func (*ListPolicyMembersReq) ProtoMessage()
- func (m *ListPolicyMembersReq) Reset()
- func (m *ListPolicyMembersReq) String() string
- func (m *ListPolicyMembersReq) Validate() error
- func (m *ListPolicyMembersReq) XXX_DiscardUnknown()
- func (m *ListPolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListPolicyMembersReq) XXX_Merge(src proto.Message)
- func (m *ListPolicyMembersReq) XXX_Size() int
- func (m *ListPolicyMembersReq) XXX_Unmarshal(b []byte) error
- type ListPolicyMembersReqValidationError
- func (e ListPolicyMembersReqValidationError) Cause() error
- func (e ListPolicyMembersReqValidationError) Error() string
- func (e ListPolicyMembersReqValidationError) ErrorName() string
- func (e ListPolicyMembersReqValidationError) Field() string
- func (e ListPolicyMembersReqValidationError) Key() bool
- func (e ListPolicyMembersReqValidationError) Reason() string
- type ListPolicyMembersResp
- func (*ListPolicyMembersResp) Descriptor() ([]byte, []int)
- func (m *ListPolicyMembersResp) GetMembers() []string
- func (*ListPolicyMembersResp) ProtoMessage()
- func (m *ListPolicyMembersResp) Reset()
- func (m *ListPolicyMembersResp) String() string
- func (m *ListPolicyMembersResp) Validate() error
- func (m *ListPolicyMembersResp) XXX_DiscardUnknown()
- func (m *ListPolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListPolicyMembersResp) XXX_Merge(src proto.Message)
- func (m *ListPolicyMembersResp) XXX_Size() int
- func (m *ListPolicyMembersResp) XXX_Unmarshal(b []byte) error
- type ListPolicyMembersRespValidationError
- func (e ListPolicyMembersRespValidationError) Cause() error
- func (e ListPolicyMembersRespValidationError) Error() string
- func (e ListPolicyMembersRespValidationError) ErrorName() string
- func (e ListPolicyMembersRespValidationError) Field() string
- func (e ListPolicyMembersRespValidationError) Key() bool
- func (e ListPolicyMembersRespValidationError) Reason() string
- type ListProjectRulesReq
- func (*ListProjectRulesReq) Descriptor() ([]byte, []int)
- func (*ListProjectRulesReq) ProtoMessage()
- func (m *ListProjectRulesReq) Reset()
- func (m *ListProjectRulesReq) String() string
- func (m *ListProjectRulesReq) Validate() error
- func (m *ListProjectRulesReq) XXX_DiscardUnknown()
- func (m *ListProjectRulesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListProjectRulesReq) XXX_Merge(src proto.Message)
- func (m *ListProjectRulesReq) XXX_Size() int
- func (m *ListProjectRulesReq) XXX_Unmarshal(b []byte) error
- type ListProjectRulesReqValidationError
- func (e ListProjectRulesReqValidationError) Cause() error
- func (e ListProjectRulesReqValidationError) Error() string
- func (e ListProjectRulesReqValidationError) ErrorName() string
- func (e ListProjectRulesReqValidationError) Field() string
- func (e ListProjectRulesReqValidationError) Key() bool
- func (e ListProjectRulesReqValidationError) Reason() string
- type ListProjectsReq
- func (*ListProjectsReq) Descriptor() ([]byte, []int)
- func (*ListProjectsReq) ProtoMessage()
- func (m *ListProjectsReq) Reset()
- func (m *ListProjectsReq) String() string
- func (m *ListProjectsReq) Validate() error
- func (m *ListProjectsReq) XXX_DiscardUnknown()
- func (m *ListProjectsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListProjectsReq) XXX_Merge(src proto.Message)
- func (m *ListProjectsReq) XXX_Size() int
- func (m *ListProjectsReq) XXX_Unmarshal(b []byte) error
- type ListProjectsReqValidationError
- func (e ListProjectsReqValidationError) Cause() error
- func (e ListProjectsReqValidationError) Error() string
- func (e ListProjectsReqValidationError) ErrorName() string
- func (e ListProjectsReqValidationError) Field() string
- func (e ListProjectsReqValidationError) Key() bool
- func (e ListProjectsReqValidationError) Reason() string
- type ListProjectsResp
- func (*ListProjectsResp) Descriptor() ([]byte, []int)
- func (m *ListProjectsResp) GetProjects() []*Project
- func (*ListProjectsResp) ProtoMessage()
- func (m *ListProjectsResp) Reset()
- func (m *ListProjectsResp) String() string
- func (m *ListProjectsResp) Validate() error
- func (m *ListProjectsResp) XXX_DiscardUnknown()
- func (m *ListProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListProjectsResp) XXX_Merge(src proto.Message)
- func (m *ListProjectsResp) XXX_Size() int
- func (m *ListProjectsResp) XXX_Unmarshal(b []byte) error
- type ListProjectsRespValidationError
- func (e ListProjectsRespValidationError) Cause() error
- func (e ListProjectsRespValidationError) Error() string
- func (e ListProjectsRespValidationError) ErrorName() string
- func (e ListProjectsRespValidationError) Field() string
- func (e ListProjectsRespValidationError) Key() bool
- func (e ListProjectsRespValidationError) Reason() string
- type ListRolesReq
- func (*ListRolesReq) Descriptor() ([]byte, []int)
- func (*ListRolesReq) ProtoMessage()
- func (m *ListRolesReq) Reset()
- func (m *ListRolesReq) String() string
- func (m *ListRolesReq) Validate() error
- func (m *ListRolesReq) XXX_DiscardUnknown()
- func (m *ListRolesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRolesReq) XXX_Merge(src proto.Message)
- func (m *ListRolesReq) XXX_Size() int
- func (m *ListRolesReq) XXX_Unmarshal(b []byte) error
- type ListRolesReqValidationError
- func (e ListRolesReqValidationError) Cause() error
- func (e ListRolesReqValidationError) Error() string
- func (e ListRolesReqValidationError) ErrorName() string
- func (e ListRolesReqValidationError) Field() string
- func (e ListRolesReqValidationError) Key() bool
- func (e ListRolesReqValidationError) Reason() string
- type ListRolesResp
- func (*ListRolesResp) Descriptor() ([]byte, []int)
- func (m *ListRolesResp) GetRoles() []*Role
- func (*ListRolesResp) ProtoMessage()
- func (m *ListRolesResp) Reset()
- func (m *ListRolesResp) String() string
- func (m *ListRolesResp) Validate() error
- func (m *ListRolesResp) XXX_DiscardUnknown()
- func (m *ListRolesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRolesResp) XXX_Merge(src proto.Message)
- func (m *ListRolesResp) XXX_Size() int
- func (m *ListRolesResp) XXX_Unmarshal(b []byte) error
- type ListRolesRespValidationError
- func (e ListRolesRespValidationError) Cause() error
- func (e ListRolesRespValidationError) Error() string
- func (e ListRolesRespValidationError) ErrorName() string
- func (e ListRolesRespValidationError) Field() string
- func (e ListRolesRespValidationError) Key() bool
- func (e ListRolesRespValidationError) Reason() string
- type MigrateToV2Req
- func (*MigrateToV2Req) Descriptor() ([]byte, []int)
- func (m *MigrateToV2Req) GetFlag() Flag
- func (*MigrateToV2Req) ProtoMessage()
- func (m *MigrateToV2Req) Reset()
- func (m *MigrateToV2Req) String() string
- func (m *MigrateToV2Req) Validate() error
- func (m *MigrateToV2Req) XXX_DiscardUnknown()
- func (m *MigrateToV2Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MigrateToV2Req) XXX_Merge(src proto.Message)
- func (m *MigrateToV2Req) XXX_Size() int
- func (m *MigrateToV2Req) XXX_Unmarshal(b []byte) error
- type MigrateToV2ReqValidationError
- func (e MigrateToV2ReqValidationError) Cause() error
- func (e MigrateToV2ReqValidationError) Error() string
- func (e MigrateToV2ReqValidationError) ErrorName() string
- func (e MigrateToV2ReqValidationError) Field() string
- func (e MigrateToV2ReqValidationError) Key() bool
- func (e MigrateToV2ReqValidationError) Reason() string
- type MigrateToV2Resp
- func (*MigrateToV2Resp) Descriptor() ([]byte, []int)
- func (m *MigrateToV2Resp) GetReports() []string
- func (*MigrateToV2Resp) ProtoMessage()
- func (m *MigrateToV2Resp) Reset()
- func (m *MigrateToV2Resp) String() string
- func (m *MigrateToV2Resp) Validate() error
- func (m *MigrateToV2Resp) XXX_DiscardUnknown()
- func (m *MigrateToV2Resp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MigrateToV2Resp) XXX_Merge(src proto.Message)
- func (m *MigrateToV2Resp) XXX_Size() int
- func (m *MigrateToV2Resp) XXX_Unmarshal(b []byte) error
- type MigrateToV2RespValidationError
- func (e MigrateToV2RespValidationError) Cause() error
- func (e MigrateToV2RespValidationError) Error() string
- func (e MigrateToV2RespValidationError) ErrorName() string
- func (e MigrateToV2RespValidationError) Field() string
- func (e MigrateToV2RespValidationError) Key() bool
- func (e MigrateToV2RespValidationError) Reason() string
- type MockProjectsClient
- func (m *MockProjectsClient) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error)
- func (m *MockProjectsClient) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error)
- func (m *MockProjectsClient) EXPECT() *MockProjectsClientMockRecorder
- func (m *MockProjectsClient) GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error)
- func (m *MockProjectsClient) GetProjectRules(ctx context.Context, in *GetProjectRulesReq, opts ...grpc.CallOption) (*GetProjectRulesResp, error)
- func (m *MockProjectsClient) HandleEvent(ctx context.Context, in *event.EventMsg, opts ...grpc.CallOption) (*event.EventResponse, error)
- func (m *MockProjectsClient) ListProjectRules(ctx context.Context, in *ListProjectRulesReq, opts ...grpc.CallOption) (*ProjectCollectionRulesResp, error)
- func (m *MockProjectsClient) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)
- func (m *MockProjectsClient) ProjectUpdateCancel(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateCancelResp, error)
- func (m *MockProjectsClient) ProjectUpdateStatus(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateStatusResp, error)
- func (m *MockProjectsClient) UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error)
- type MockProjectsClientMockRecorder
- func (mr *MockProjectsClientMockRecorder) CreateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) DeleteProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) GetProjectRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) HandleEvent(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) ListProjectRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) ListProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) ProjectUpdateCancel(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) ProjectUpdateStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsClientMockRecorder) UpdateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockProjectsServer
- func (m *MockProjectsServer) CreateProject(arg0 context.Context, arg1 *CreateProjectReq) (*CreateProjectResp, error)
- func (m *MockProjectsServer) DeleteProject(arg0 context.Context, arg1 *DeleteProjectReq) (*DeleteProjectResp, error)
- func (m *MockProjectsServer) EXPECT() *MockProjectsServerMockRecorder
- func (m *MockProjectsServer) GetProject(arg0 context.Context, arg1 *GetProjectReq) (*GetProjectResp, error)
- func (m *MockProjectsServer) GetProjectRules(arg0 context.Context, arg1 *GetProjectRulesReq) (*GetProjectRulesResp, error)
- func (m *MockProjectsServer) HandleEvent(arg0 context.Context, arg1 *event.EventMsg) (*event.EventResponse, error)
- func (m *MockProjectsServer) ListProjectRules(arg0 context.Context, arg1 *ListProjectRulesReq) (*ProjectCollectionRulesResp, error)
- func (m *MockProjectsServer) ListProjects(arg0 context.Context, arg1 *ListProjectsReq) (*ListProjectsResp, error)
- func (m *MockProjectsServer) ProjectUpdateCancel(arg0 context.Context, arg1 *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error)
- func (m *MockProjectsServer) ProjectUpdateStatus(arg0 context.Context, arg1 *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error)
- func (m *MockProjectsServer) UpdateProject(arg0 context.Context, arg1 *UpdateProjectReq) (*UpdateProjectResp, error)
- type MockProjectsServerMockRecorder
- func (mr *MockProjectsServerMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) DeleteProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) GetProjectRules(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) ListProjectRules(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) ListProjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) ProjectUpdateCancel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) ProjectUpdateStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServerMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
- type Pair
- func (*Pair) Descriptor() ([]byte, []int)
- func (m *Pair) GetAction() string
- func (m *Pair) GetResource() string
- func (*Pair) ProtoMessage()
- func (m *Pair) Reset()
- func (m *Pair) String() string
- func (m *Pair) Validate() error
- func (m *Pair) XXX_DiscardUnknown()
- func (m *Pair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Pair) XXX_Merge(src proto.Message)
- func (m *Pair) XXX_Size() int
- func (m *Pair) XXX_Unmarshal(b []byte) error
- type PairValidationError
- type PoliciesClient
- type PoliciesServer
- type PoliciesServerMock
- func (m *PoliciesServerMock) AddPolicyMembers(ctx context.Context, req *AddPolicyMembersReq) (*AddPolicyMembersResp, error)
- func (m *PoliciesServerMock) CreatePolicy(ctx context.Context, req *CreatePolicyReq) (*Policy, error)
- func (m *PoliciesServerMock) CreateRole(ctx context.Context, req *CreateRoleReq) (*Role, error)
- func (m *PoliciesServerMock) DeletePolicy(ctx context.Context, req *DeletePolicyReq) (*DeletePolicyResp, error)
- func (m *PoliciesServerMock) DeleteRole(ctx context.Context, req *DeleteRoleReq) (*DeleteRoleResp, error)
- func (m *PoliciesServerMock) GetPolicy(ctx context.Context, req *GetPolicyReq) (*Policy, error)
- func (m *PoliciesServerMock) GetPolicyVersion(ctx context.Context, req *GetPolicyVersionReq) (*GetPolicyVersionResp, error)
- func (m *PoliciesServerMock) GetRole(ctx context.Context, req *GetRoleReq) (*Role, error)
- func (m *PoliciesServerMock) ListPolicies(ctx context.Context, req *ListPoliciesReq) (*ListPoliciesResp, error)
- func (m *PoliciesServerMock) ListPolicyMembers(ctx context.Context, req *ListPolicyMembersReq) (*ListPolicyMembersResp, error)
- func (m *PoliciesServerMock) ListRoles(ctx context.Context, req *ListRolesReq) (*ListRolesResp, error)
- func (m *PoliciesServerMock) MigrateToV2(ctx context.Context, req *MigrateToV2Req) (*MigrateToV2Resp, error)
- func (m *PoliciesServerMock) PurgeSubjectFromPolicies(ctx context.Context, req *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error)
- func (m *PoliciesServerMock) RemovePolicyMembers(ctx context.Context, req *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error)
- func (m *PoliciesServerMock) ReplacePolicyMembers(ctx context.Context, req *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error)
- func (m *PoliciesServerMock) Reset()
- func (m *PoliciesServerMock) ResetToV1(ctx context.Context, req *ResetToV1Req) (*ResetToV1Resp, error)
- func (m *PoliciesServerMock) UpdatePolicy(ctx context.Context, req *UpdatePolicyReq) (*Policy, error)
- func (m *PoliciesServerMock) UpdateRole(ctx context.Context, req *UpdateRoleReq) (*Role, error)
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)
- func (m *Policy) GetId() string
- func (m *Policy) GetMembers() []string
- func (m *Policy) GetName() string
- func (m *Policy) GetProjects() []string
- func (m *Policy) GetStatements() []*Statement
- func (m *Policy) GetType() Type
- func (*Policy) ProtoMessage()
- func (m *Policy) Reset()
- func (m *Policy) String() string
- func (m *Policy) Validate() error
- func (m *Policy) XXX_DiscardUnknown()
- func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Policy) XXX_Merge(src proto.Message)
- func (m *Policy) XXX_Size() int
- func (m *Policy) XXX_Unmarshal(b []byte) error
- type PolicyValidationError
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetId() string
- func (m *Project) GetName() string
- func (m *Project) GetProjects() []string
- func (m *Project) GetType() Type
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) String() string
- func (m *Project) Validate() error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectCollectionRulesResp
- func (*ProjectCollectionRulesResp) Descriptor() ([]byte, []int)
- func (m *ProjectCollectionRulesResp) GetProjectRules() map[string]*ProjectRules
- func (*ProjectCollectionRulesResp) ProtoMessage()
- func (m *ProjectCollectionRulesResp) Reset()
- func (m *ProjectCollectionRulesResp) String() string
- func (m *ProjectCollectionRulesResp) Validate() error
- func (m *ProjectCollectionRulesResp) XXX_DiscardUnknown()
- func (m *ProjectCollectionRulesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectCollectionRulesResp) XXX_Merge(src proto.Message)
- func (m *ProjectCollectionRulesResp) XXX_Size() int
- func (m *ProjectCollectionRulesResp) XXX_Unmarshal(b []byte) error
- type ProjectCollectionRulesRespValidationError
- func (e ProjectCollectionRulesRespValidationError) Cause() error
- func (e ProjectCollectionRulesRespValidationError) Error() string
- func (e ProjectCollectionRulesRespValidationError) ErrorName() string
- func (e ProjectCollectionRulesRespValidationError) Field() string
- func (e ProjectCollectionRulesRespValidationError) Key() bool
- func (e ProjectCollectionRulesRespValidationError) Reason() string
- type ProjectRule
- func (*ProjectRule) Descriptor() ([]byte, []int)
- func (m *ProjectRule) GetConditions() []*Condition
- func (m *ProjectRule) GetType() ProjectRuleTypes
- func (*ProjectRule) ProtoMessage()
- func (m *ProjectRule) Reset()
- func (m *ProjectRule) String() string
- func (m *ProjectRule) Validate() error
- func (m *ProjectRule) XXX_DiscardUnknown()
- func (m *ProjectRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectRule) XXX_Merge(src proto.Message)
- func (m *ProjectRule) XXX_Size() int
- func (m *ProjectRule) XXX_Unmarshal(b []byte) error
- type ProjectRuleConditionTypes
- type ProjectRuleTypes
- type ProjectRuleValidationError
- func (e ProjectRuleValidationError) Cause() error
- func (e ProjectRuleValidationError) Error() string
- func (e ProjectRuleValidationError) ErrorName() string
- func (e ProjectRuleValidationError) Field() string
- func (e ProjectRuleValidationError) Key() bool
- func (e ProjectRuleValidationError) Reason() string
- type ProjectRules
- func (*ProjectRules) Descriptor() ([]byte, []int)
- func (m *ProjectRules) GetRules() []*ProjectRule
- func (*ProjectRules) ProtoMessage()
- func (m *ProjectRules) Reset()
- func (m *ProjectRules) String() string
- func (m *ProjectRules) Validate() error
- func (m *ProjectRules) XXX_DiscardUnknown()
- func (m *ProjectRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectRules) XXX_Merge(src proto.Message)
- func (m *ProjectRules) XXX_Size() int
- func (m *ProjectRules) XXX_Unmarshal(b []byte) error
- type ProjectRulesValidationError
- func (e ProjectRulesValidationError) Cause() error
- func (e ProjectRulesValidationError) Error() string
- func (e ProjectRulesValidationError) ErrorName() string
- func (e ProjectRulesValidationError) Field() string
- func (e ProjectRulesValidationError) Key() bool
- func (e ProjectRulesValidationError) Reason() string
- type ProjectUpdateCancelReq
- func (*ProjectUpdateCancelReq) Descriptor() ([]byte, []int)
- func (*ProjectUpdateCancelReq) ProtoMessage()
- func (m *ProjectUpdateCancelReq) Reset()
- func (m *ProjectUpdateCancelReq) String() string
- func (m *ProjectUpdateCancelReq) Validate() error
- func (m *ProjectUpdateCancelReq) XXX_DiscardUnknown()
- func (m *ProjectUpdateCancelReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectUpdateCancelReq) XXX_Merge(src proto.Message)
- func (m *ProjectUpdateCancelReq) XXX_Size() int
- func (m *ProjectUpdateCancelReq) XXX_Unmarshal(b []byte) error
- type ProjectUpdateCancelReqValidationError
- func (e ProjectUpdateCancelReqValidationError) Cause() error
- func (e ProjectUpdateCancelReqValidationError) Error() string
- func (e ProjectUpdateCancelReqValidationError) ErrorName() string
- func (e ProjectUpdateCancelReqValidationError) Field() string
- func (e ProjectUpdateCancelReqValidationError) Key() bool
- func (e ProjectUpdateCancelReqValidationError) Reason() string
- type ProjectUpdateCancelResp
- func (*ProjectUpdateCancelResp) Descriptor() ([]byte, []int)
- func (*ProjectUpdateCancelResp) ProtoMessage()
- func (m *ProjectUpdateCancelResp) Reset()
- func (m *ProjectUpdateCancelResp) String() string
- func (m *ProjectUpdateCancelResp) Validate() error
- func (m *ProjectUpdateCancelResp) XXX_DiscardUnknown()
- func (m *ProjectUpdateCancelResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectUpdateCancelResp) XXX_Merge(src proto.Message)
- func (m *ProjectUpdateCancelResp) XXX_Size() int
- func (m *ProjectUpdateCancelResp) XXX_Unmarshal(b []byte) error
- type ProjectUpdateCancelRespValidationError
- func (e ProjectUpdateCancelRespValidationError) Cause() error
- func (e ProjectUpdateCancelRespValidationError) Error() string
- func (e ProjectUpdateCancelRespValidationError) ErrorName() string
- func (e ProjectUpdateCancelRespValidationError) Field() string
- func (e ProjectUpdateCancelRespValidationError) Key() bool
- func (e ProjectUpdateCancelRespValidationError) Reason() string
- type ProjectUpdateStatusReq
- func (*ProjectUpdateStatusReq) Descriptor() ([]byte, []int)
- func (*ProjectUpdateStatusReq) ProtoMessage()
- func (m *ProjectUpdateStatusReq) Reset()
- func (m *ProjectUpdateStatusReq) String() string
- func (m *ProjectUpdateStatusReq) Validate() error
- func (m *ProjectUpdateStatusReq) XXX_DiscardUnknown()
- func (m *ProjectUpdateStatusReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectUpdateStatusReq) XXX_Merge(src proto.Message)
- func (m *ProjectUpdateStatusReq) XXX_Size() int
- func (m *ProjectUpdateStatusReq) XXX_Unmarshal(b []byte) error
- type ProjectUpdateStatusReqValidationError
- func (e ProjectUpdateStatusReqValidationError) Cause() error
- func (e ProjectUpdateStatusReqValidationError) Error() string
- func (e ProjectUpdateStatusReqValidationError) ErrorName() string
- func (e ProjectUpdateStatusReqValidationError) Field() string
- func (e ProjectUpdateStatusReqValidationError) Key() bool
- func (e ProjectUpdateStatusReqValidationError) Reason() string
- type ProjectUpdateStatusResp
- func (*ProjectUpdateStatusResp) Descriptor() ([]byte, []int)
- func (m *ProjectUpdateStatusResp) GetEstimatedTimeCompelete() *timestamp.Timestamp
- func (m *ProjectUpdateStatusResp) GetFailed() bool
- func (m *ProjectUpdateStatusResp) GetFailureMessage() string
- func (m *ProjectUpdateStatusResp) GetPercentageComplete() float32
- func (m *ProjectUpdateStatusResp) GetState() string
- func (*ProjectUpdateStatusResp) ProtoMessage()
- func (m *ProjectUpdateStatusResp) Reset()
- func (m *ProjectUpdateStatusResp) String() string
- func (m *ProjectUpdateStatusResp) Validate() error
- func (m *ProjectUpdateStatusResp) XXX_DiscardUnknown()
- func (m *ProjectUpdateStatusResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectUpdateStatusResp) XXX_Merge(src proto.Message)
- func (m *ProjectUpdateStatusResp) XXX_Size() int
- func (m *ProjectUpdateStatusResp) XXX_Unmarshal(b []byte) error
- type ProjectUpdateStatusRespValidationError
- func (e ProjectUpdateStatusRespValidationError) Cause() error
- func (e ProjectUpdateStatusRespValidationError) Error() string
- func (e ProjectUpdateStatusRespValidationError) ErrorName() string
- func (e ProjectUpdateStatusRespValidationError) Field() string
- func (e ProjectUpdateStatusRespValidationError) Key() bool
- func (e ProjectUpdateStatusRespValidationError) Reason() string
- type ProjectValidationError
- type ProjectsAuthorizedReq
- func (*ProjectsAuthorizedReq) Descriptor() ([]byte, []int)
- func (m *ProjectsAuthorizedReq) GetAction() string
- func (m *ProjectsAuthorizedReq) GetProjectsFilter() []string
- func (m *ProjectsAuthorizedReq) GetResource() string
- func (m *ProjectsAuthorizedReq) GetSubjects() []string
- func (*ProjectsAuthorizedReq) ProtoMessage()
- func (m *ProjectsAuthorizedReq) Reset()
- func (m *ProjectsAuthorizedReq) String() string
- func (m *ProjectsAuthorizedReq) Validate() error
- func (m *ProjectsAuthorizedReq) XXX_DiscardUnknown()
- func (m *ProjectsAuthorizedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectsAuthorizedReq) XXX_Merge(src proto.Message)
- func (m *ProjectsAuthorizedReq) XXX_Size() int
- func (m *ProjectsAuthorizedReq) XXX_Unmarshal(b []byte) error
- type ProjectsAuthorizedReqValidationError
- func (e ProjectsAuthorizedReqValidationError) Cause() error
- func (e ProjectsAuthorizedReqValidationError) Error() string
- func (e ProjectsAuthorizedReqValidationError) ErrorName() string
- func (e ProjectsAuthorizedReqValidationError) Field() string
- func (e ProjectsAuthorizedReqValidationError) Key() bool
- func (e ProjectsAuthorizedReqValidationError) Reason() string
- type ProjectsAuthorizedResp
- func (*ProjectsAuthorizedResp) Descriptor() ([]byte, []int)
- func (m *ProjectsAuthorizedResp) GetProjects() []string
- func (*ProjectsAuthorizedResp) ProtoMessage()
- func (m *ProjectsAuthorizedResp) Reset()
- func (m *ProjectsAuthorizedResp) String() string
- func (m *ProjectsAuthorizedResp) Validate() error
- func (m *ProjectsAuthorizedResp) XXX_DiscardUnknown()
- func (m *ProjectsAuthorizedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProjectsAuthorizedResp) XXX_Merge(src proto.Message)
- func (m *ProjectsAuthorizedResp) XXX_Size() int
- func (m *ProjectsAuthorizedResp) XXX_Unmarshal(b []byte) error
- type ProjectsAuthorizedRespValidationError
- func (e ProjectsAuthorizedRespValidationError) Cause() error
- func (e ProjectsAuthorizedRespValidationError) Error() string
- func (e ProjectsAuthorizedRespValidationError) ErrorName() string
- func (e ProjectsAuthorizedRespValidationError) Field() string
- func (e ProjectsAuthorizedRespValidationError) Key() bool
- func (e ProjectsAuthorizedRespValidationError) Reason() string
- type ProjectsClient
- type ProjectsServer
- type ProjectsServerMock
- func (m *ProjectsServerMock) CreateProject(ctx context.Context, req *CreateProjectReq) (*CreateProjectResp, error)
- func (m *ProjectsServerMock) DeleteProject(ctx context.Context, req *DeleteProjectReq) (*DeleteProjectResp, error)
- func (m *ProjectsServerMock) GetProject(ctx context.Context, req *GetProjectReq) (*GetProjectResp, error)
- func (m *ProjectsServerMock) GetProjectRules(ctx context.Context, req *GetProjectRulesReq) (*GetProjectRulesResp, error)
- func (m *ProjectsServerMock) HandleEvent(ctx context.Context, req *event.EventMsg) (*event.EventResponse, error)
- func (m *ProjectsServerMock) ListProjectRules(ctx context.Context, req *ListProjectRulesReq) (*ProjectCollectionRulesResp, error)
- func (m *ProjectsServerMock) ListProjects(ctx context.Context, req *ListProjectsReq) (*ListProjectsResp, error)
- func (m *ProjectsServerMock) ProjectUpdateCancel(ctx context.Context, req *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error)
- func (m *ProjectsServerMock) ProjectUpdateStatus(ctx context.Context, req *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error)
- func (m *ProjectsServerMock) Reset()
- func (m *ProjectsServerMock) UpdateProject(ctx context.Context, req *UpdateProjectReq) (*UpdateProjectResp, error)
- type PurgeSubjectFromPoliciesReq
- func (*PurgeSubjectFromPoliciesReq) Descriptor() ([]byte, []int)
- func (m *PurgeSubjectFromPoliciesReq) GetSubject() string
- func (*PurgeSubjectFromPoliciesReq) ProtoMessage()
- func (m *PurgeSubjectFromPoliciesReq) Reset()
- func (m *PurgeSubjectFromPoliciesReq) String() string
- func (m *PurgeSubjectFromPoliciesReq) Validate() error
- func (m *PurgeSubjectFromPoliciesReq) XXX_DiscardUnknown()
- func (m *PurgeSubjectFromPoliciesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PurgeSubjectFromPoliciesReq) XXX_Merge(src proto.Message)
- func (m *PurgeSubjectFromPoliciesReq) XXX_Size() int
- func (m *PurgeSubjectFromPoliciesReq) XXX_Unmarshal(b []byte) error
- type PurgeSubjectFromPoliciesReqValidationError
- func (e PurgeSubjectFromPoliciesReqValidationError) Cause() error
- func (e PurgeSubjectFromPoliciesReqValidationError) Error() string
- func (e PurgeSubjectFromPoliciesReqValidationError) ErrorName() string
- func (e PurgeSubjectFromPoliciesReqValidationError) Field() string
- func (e PurgeSubjectFromPoliciesReqValidationError) Key() bool
- func (e PurgeSubjectFromPoliciesReqValidationError) Reason() string
- type PurgeSubjectFromPoliciesResp
- func (*PurgeSubjectFromPoliciesResp) Descriptor() ([]byte, []int)
- func (m *PurgeSubjectFromPoliciesResp) GetIds() []string
- func (*PurgeSubjectFromPoliciesResp) ProtoMessage()
- func (m *PurgeSubjectFromPoliciesResp) Reset()
- func (m *PurgeSubjectFromPoliciesResp) String() string
- func (m *PurgeSubjectFromPoliciesResp) Validate() error
- func (m *PurgeSubjectFromPoliciesResp) XXX_DiscardUnknown()
- func (m *PurgeSubjectFromPoliciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PurgeSubjectFromPoliciesResp) XXX_Merge(src proto.Message)
- func (m *PurgeSubjectFromPoliciesResp) XXX_Size() int
- func (m *PurgeSubjectFromPoliciesResp) XXX_Unmarshal(b []byte) error
- type PurgeSubjectFromPoliciesRespValidationError
- func (e PurgeSubjectFromPoliciesRespValidationError) Cause() error
- func (e PurgeSubjectFromPoliciesRespValidationError) Error() string
- func (e PurgeSubjectFromPoliciesRespValidationError) ErrorName() string
- func (e PurgeSubjectFromPoliciesRespValidationError) Field() string
- func (e PurgeSubjectFromPoliciesRespValidationError) Key() bool
- func (e PurgeSubjectFromPoliciesRespValidationError) Reason() string
- type RemovePolicyMembersReq
- func (*RemovePolicyMembersReq) Descriptor() ([]byte, []int)
- func (m *RemovePolicyMembersReq) GetId() string
- func (m *RemovePolicyMembersReq) GetMembers() []string
- func (*RemovePolicyMembersReq) ProtoMessage()
- func (m *RemovePolicyMembersReq) Reset()
- func (m *RemovePolicyMembersReq) String() string
- func (m *RemovePolicyMembersReq) Validate() error
- func (m *RemovePolicyMembersReq) XXX_DiscardUnknown()
- func (m *RemovePolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RemovePolicyMembersReq) XXX_Merge(src proto.Message)
- func (m *RemovePolicyMembersReq) XXX_Size() int
- func (m *RemovePolicyMembersReq) XXX_Unmarshal(b []byte) error
- type RemovePolicyMembersReqValidationError
- func (e RemovePolicyMembersReqValidationError) Cause() error
- func (e RemovePolicyMembersReqValidationError) Error() string
- func (e RemovePolicyMembersReqValidationError) ErrorName() string
- func (e RemovePolicyMembersReqValidationError) Field() string
- func (e RemovePolicyMembersReqValidationError) Key() bool
- func (e RemovePolicyMembersReqValidationError) Reason() string
- type RemovePolicyMembersResp
- func (*RemovePolicyMembersResp) Descriptor() ([]byte, []int)
- func (m *RemovePolicyMembersResp) GetMembers() []string
- func (*RemovePolicyMembersResp) ProtoMessage()
- func (m *RemovePolicyMembersResp) Reset()
- func (m *RemovePolicyMembersResp) String() string
- func (m *RemovePolicyMembersResp) Validate() error
- func (m *RemovePolicyMembersResp) XXX_DiscardUnknown()
- func (m *RemovePolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RemovePolicyMembersResp) XXX_Merge(src proto.Message)
- func (m *RemovePolicyMembersResp) XXX_Size() int
- func (m *RemovePolicyMembersResp) XXX_Unmarshal(b []byte) error
- type RemovePolicyMembersRespValidationError
- func (e RemovePolicyMembersRespValidationError) Cause() error
- func (e RemovePolicyMembersRespValidationError) Error() string
- func (e RemovePolicyMembersRespValidationError) ErrorName() string
- func (e RemovePolicyMembersRespValidationError) Field() string
- func (e RemovePolicyMembersRespValidationError) Key() bool
- func (e RemovePolicyMembersRespValidationError) Reason() string
- type ReplacePolicyMembersReq
- func (*ReplacePolicyMembersReq) Descriptor() ([]byte, []int)
- func (m *ReplacePolicyMembersReq) GetId() string
- func (m *ReplacePolicyMembersReq) GetMembers() []string
- func (*ReplacePolicyMembersReq) ProtoMessage()
- func (m *ReplacePolicyMembersReq) Reset()
- func (m *ReplacePolicyMembersReq) String() string
- func (m *ReplacePolicyMembersReq) Validate() error
- func (m *ReplacePolicyMembersReq) XXX_DiscardUnknown()
- func (m *ReplacePolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReplacePolicyMembersReq) XXX_Merge(src proto.Message)
- func (m *ReplacePolicyMembersReq) XXX_Size() int
- func (m *ReplacePolicyMembersReq) XXX_Unmarshal(b []byte) error
- type ReplacePolicyMembersReqValidationError
- func (e ReplacePolicyMembersReqValidationError) Cause() error
- func (e ReplacePolicyMembersReqValidationError) Error() string
- func (e ReplacePolicyMembersReqValidationError) ErrorName() string
- func (e ReplacePolicyMembersReqValidationError) Field() string
- func (e ReplacePolicyMembersReqValidationError) Key() bool
- func (e ReplacePolicyMembersReqValidationError) Reason() string
- type ReplacePolicyMembersResp
- func (*ReplacePolicyMembersResp) Descriptor() ([]byte, []int)
- func (m *ReplacePolicyMembersResp) GetMembers() []string
- func (*ReplacePolicyMembersResp) ProtoMessage()
- func (m *ReplacePolicyMembersResp) Reset()
- func (m *ReplacePolicyMembersResp) String() string
- func (m *ReplacePolicyMembersResp) Validate() error
- func (m *ReplacePolicyMembersResp) XXX_DiscardUnknown()
- func (m *ReplacePolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReplacePolicyMembersResp) XXX_Merge(src proto.Message)
- func (m *ReplacePolicyMembersResp) XXX_Size() int
- func (m *ReplacePolicyMembersResp) XXX_Unmarshal(b []byte) error
- type ReplacePolicyMembersRespValidationError
- func (e ReplacePolicyMembersRespValidationError) Cause() error
- func (e ReplacePolicyMembersRespValidationError) Error() string
- func (e ReplacePolicyMembersRespValidationError) ErrorName() string
- func (e ReplacePolicyMembersRespValidationError) Field() string
- func (e ReplacePolicyMembersRespValidationError) Key() bool
- func (e ReplacePolicyMembersRespValidationError) Reason() string
- type ResetToV1Req
- func (*ResetToV1Req) Descriptor() ([]byte, []int)
- func (*ResetToV1Req) ProtoMessage()
- func (m *ResetToV1Req) Reset()
- func (m *ResetToV1Req) String() string
- func (m *ResetToV1Req) Validate() error
- func (m *ResetToV1Req) XXX_DiscardUnknown()
- func (m *ResetToV1Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResetToV1Req) XXX_Merge(src proto.Message)
- func (m *ResetToV1Req) XXX_Size() int
- func (m *ResetToV1Req) XXX_Unmarshal(b []byte) error
- type ResetToV1ReqValidationError
- func (e ResetToV1ReqValidationError) Cause() error
- func (e ResetToV1ReqValidationError) Error() string
- func (e ResetToV1ReqValidationError) ErrorName() string
- func (e ResetToV1ReqValidationError) Field() string
- func (e ResetToV1ReqValidationError) Key() bool
- func (e ResetToV1ReqValidationError) Reason() string
- type ResetToV1Resp
- func (*ResetToV1Resp) Descriptor() ([]byte, []int)
- func (*ResetToV1Resp) ProtoMessage()
- func (m *ResetToV1Resp) Reset()
- func (m *ResetToV1Resp) String() string
- func (m *ResetToV1Resp) Validate() error
- func (m *ResetToV1Resp) XXX_DiscardUnknown()
- func (m *ResetToV1Resp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResetToV1Resp) XXX_Merge(src proto.Message)
- func (m *ResetToV1Resp) XXX_Size() int
- func (m *ResetToV1Resp) XXX_Unmarshal(b []byte) error
- type ResetToV1RespValidationError
- func (e ResetToV1RespValidationError) Cause() error
- func (e ResetToV1RespValidationError) Error() string
- func (e ResetToV1RespValidationError) ErrorName() string
- func (e ResetToV1RespValidationError) Field() string
- func (e ResetToV1RespValidationError) Key() bool
- func (e ResetToV1RespValidationError) Reason() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)
- func (m *Role) GetActions() []string
- func (m *Role) GetId() string
- func (m *Role) GetName() string
- func (m *Role) GetProjects() []string
- func (m *Role) GetType() Type
- func (*Role) ProtoMessage()
- func (m *Role) Reset()
- func (m *Role) String() string
- func (m *Role) Validate() error
- func (m *Role) XXX_DiscardUnknown()
- func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Role) XXX_Merge(src proto.Message)
- func (m *Role) XXX_Size() int
- func (m *Role) XXX_Unmarshal(b []byte) error
- type RoleValidationError
- type Statement
- func (*Statement) Descriptor() ([]byte, []int)
- func (m *Statement) GetActions() []string
- func (m *Statement) GetEffect() Statement_Effect
- func (m *Statement) GetProjects() []string
- func (m *Statement) GetResources() []string
- func (m *Statement) GetRole() string
- func (*Statement) ProtoMessage()
- func (m *Statement) Reset()
- func (m *Statement) String() string
- func (m *Statement) Validate() error
- func (m *Statement) XXX_DiscardUnknown()
- func (m *Statement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Statement) XXX_Merge(src proto.Message)
- func (m *Statement) XXX_Size() int
- func (m *Statement) XXX_Unmarshal(b []byte) error
- type StatementValidationError
- type Statement_Effect
- type Type
- type UpdatePolicyReq
- func (*UpdatePolicyReq) Descriptor() ([]byte, []int)
- func (m *UpdatePolicyReq) GetId() string
- func (m *UpdatePolicyReq) GetMembers() []string
- func (m *UpdatePolicyReq) GetName() string
- func (m *UpdatePolicyReq) GetProjects() []string
- func (m *UpdatePolicyReq) GetStatements() []*Statement
- func (*UpdatePolicyReq) ProtoMessage()
- func (m *UpdatePolicyReq) Reset()
- func (m *UpdatePolicyReq) String() string
- func (m *UpdatePolicyReq) Validate() error
- func (m *UpdatePolicyReq) XXX_DiscardUnknown()
- func (m *UpdatePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdatePolicyReq) XXX_Merge(src proto.Message)
- func (m *UpdatePolicyReq) XXX_Size() int
- func (m *UpdatePolicyReq) XXX_Unmarshal(b []byte) error
- type UpdatePolicyReqValidationError
- func (e UpdatePolicyReqValidationError) Cause() error
- func (e UpdatePolicyReqValidationError) Error() string
- func (e UpdatePolicyReqValidationError) ErrorName() string
- func (e UpdatePolicyReqValidationError) Field() string
- func (e UpdatePolicyReqValidationError) Key() bool
- func (e UpdatePolicyReqValidationError) Reason() string
- type UpdateProjectReq
- func (*UpdateProjectReq) Descriptor() ([]byte, []int)
- func (m *UpdateProjectReq) GetId() string
- func (m *UpdateProjectReq) GetName() string
- func (*UpdateProjectReq) ProtoMessage()
- func (m *UpdateProjectReq) Reset()
- func (m *UpdateProjectReq) String() string
- func (m *UpdateProjectReq) Validate() error
- func (m *UpdateProjectReq) XXX_DiscardUnknown()
- func (m *UpdateProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateProjectReq) XXX_Merge(src proto.Message)
- func (m *UpdateProjectReq) XXX_Size() int
- func (m *UpdateProjectReq) XXX_Unmarshal(b []byte) error
- type UpdateProjectReqValidationError
- func (e UpdateProjectReqValidationError) Cause() error
- func (e UpdateProjectReqValidationError) Error() string
- func (e UpdateProjectReqValidationError) ErrorName() string
- func (e UpdateProjectReqValidationError) Field() string
- func (e UpdateProjectReqValidationError) Key() bool
- func (e UpdateProjectReqValidationError) Reason() string
- type UpdateProjectResp
- func (*UpdateProjectResp) Descriptor() ([]byte, []int)
- func (m *UpdateProjectResp) GetProject() *Project
- func (*UpdateProjectResp) ProtoMessage()
- func (m *UpdateProjectResp) Reset()
- func (m *UpdateProjectResp) String() string
- func (m *UpdateProjectResp) Validate() error
- func (m *UpdateProjectResp) XXX_DiscardUnknown()
- func (m *UpdateProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateProjectResp) XXX_Merge(src proto.Message)
- func (m *UpdateProjectResp) XXX_Size() int
- func (m *UpdateProjectResp) XXX_Unmarshal(b []byte) error
- type UpdateProjectRespValidationError
- func (e UpdateProjectRespValidationError) Cause() error
- func (e UpdateProjectRespValidationError) Error() string
- func (e UpdateProjectRespValidationError) ErrorName() string
- func (e UpdateProjectRespValidationError) Field() string
- func (e UpdateProjectRespValidationError) Key() bool
- func (e UpdateProjectRespValidationError) Reason() string
- type UpdateRoleReq
- func (*UpdateRoleReq) Descriptor() ([]byte, []int)
- func (m *UpdateRoleReq) GetActions() []string
- func (m *UpdateRoleReq) GetId() string
- func (m *UpdateRoleReq) GetName() string
- func (m *UpdateRoleReq) GetProjects() []string
- func (*UpdateRoleReq) ProtoMessage()
- func (m *UpdateRoleReq) Reset()
- func (m *UpdateRoleReq) String() string
- func (m *UpdateRoleReq) Validate() error
- func (m *UpdateRoleReq) XXX_DiscardUnknown()
- func (m *UpdateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateRoleReq) XXX_Merge(src proto.Message)
- func (m *UpdateRoleReq) XXX_Size() int
- func (m *UpdateRoleReq) XXX_Unmarshal(b []byte) error
- type UpdateRoleReqValidationError
- func (e UpdateRoleReqValidationError) Cause() error
- func (e UpdateRoleReqValidationError) Error() string
- func (e UpdateRoleReqValidationError) ErrorName() string
- func (e UpdateRoleReqValidationError) Field() string
- func (e UpdateRoleReqValidationError) Key() bool
- func (e UpdateRoleReqValidationError) Reason() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (m *Version) GetMajor() Version_VersionNumber
- func (m *Version) GetMinor() Version_VersionNumber
- func (*Version) ProtoMessage()
- func (m *Version) Reset()
- func (m *Version) String() string
- func (m *Version) Validate() error
- func (m *Version) XXX_DiscardUnknown()
- func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Version) XXX_Merge(src proto.Message)
- func (m *Version) XXX_Size() int
- func (m *Version) XXX_Unmarshal(b []byte) error
- type VersionValidationError
- type Version_VersionNumber
Constants ¶
This section is empty.
Variables ¶
var Flag_name = map[int32]string{
0: "VERSION_2_0",
1: "VERSION_2_1",
}
var Flag_value = map[string]int32{
"VERSION_2_0": 0,
"VERSION_2_1": 1,
}
var ProjectRuleConditionTypes_name = map[int32]string{
0: "CHEF_SERVERS",
1: "CHEF_ORGS",
2: "CHEF_ENVIRONMENTS",
3: "ROLES",
4: "CHEF_TAGS",
5: "POLICY_GROUP",
6: "POLICY_NAME",
}
var ProjectRuleConditionTypes_value = map[string]int32{
"CHEF_SERVERS": 0,
"CHEF_ORGS": 1,
"CHEF_ENVIRONMENTS": 2,
"ROLES": 3,
"CHEF_TAGS": 4,
"POLICY_GROUP": 5,
"POLICY_NAME": 6,
}
var ProjectRuleTypes_name = map[int32]string{
0: "NODE",
1: "EVENT",
}
var ProjectRuleTypes_value = map[string]int32{
"NODE": 0,
"EVENT": 1,
}
var Statement_Effect_name = map[int32]string{
0: "ALLOW",
1: "DENY",
}
var Statement_Effect_value = map[string]int32{
"ALLOW": 0,
"DENY": 1,
}
var Type_name = map[int32]string{
0: "CHEF_MANAGED",
1: "CUSTOM",
}
var Type_value = map[string]int32{
"CHEF_MANAGED": 0,
"CUSTOM": 1,
}
var Version_VersionNumber_name = map[int32]string{
0: "V0",
1: "V1",
2: "V2",
}
var Version_VersionNumber_value = map[string]int32{
"V0": 0,
"V1": 1,
"V2": 2,
}
Functions ¶
func RegisterAuthorizationServer ¶
func RegisterAuthorizationServer(s *grpc.Server, srv AuthorizationServer)
func RegisterPoliciesServer ¶
func RegisterPoliciesServer(s *grpc.Server, srv PoliciesServer)
func RegisterProjectsServer ¶
func RegisterProjectsServer(s *grpc.Server, srv ProjectsServer)
Types ¶
type AddPolicyMembersReq ¶
type AddPolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*AddPolicyMembersReq) Descriptor ¶
func (*AddPolicyMembersReq) Descriptor() ([]byte, []int)
func (*AddPolicyMembersReq) GetId ¶
func (m *AddPolicyMembersReq) GetId() string
func (*AddPolicyMembersReq) GetMembers ¶
func (m *AddPolicyMembersReq) GetMembers() []string
func (*AddPolicyMembersReq) ProtoMessage ¶
func (*AddPolicyMembersReq) ProtoMessage()
func (*AddPolicyMembersReq) Reset ¶
func (m *AddPolicyMembersReq) Reset()
func (*AddPolicyMembersReq) String ¶
func (m *AddPolicyMembersReq) String() string
func (*AddPolicyMembersReq) Validate ¶
func (m *AddPolicyMembersReq) Validate() error
Validate checks the field values on AddPolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*AddPolicyMembersReq) XXX_DiscardUnknown ¶
func (m *AddPolicyMembersReq) XXX_DiscardUnknown()
func (*AddPolicyMembersReq) XXX_Marshal ¶
func (m *AddPolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddPolicyMembersReq) XXX_Merge ¶
func (dst *AddPolicyMembersReq) XXX_Merge(src proto.Message)
func (*AddPolicyMembersReq) XXX_Size ¶
func (m *AddPolicyMembersReq) XXX_Size() int
func (*AddPolicyMembersReq) XXX_Unmarshal ¶
func (m *AddPolicyMembersReq) XXX_Unmarshal(b []byte) error
type AddPolicyMembersReqValidationError ¶
type AddPolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
AddPolicyMembersReqValidationError is the validation error returned by AddPolicyMembersReq.Validate if the designated constraints aren't met.
func (AddPolicyMembersReqValidationError) Cause ¶
func (e AddPolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (AddPolicyMembersReqValidationError) Error ¶
func (e AddPolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (AddPolicyMembersReqValidationError) ErrorName ¶
func (e AddPolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (AddPolicyMembersReqValidationError) Field ¶
func (e AddPolicyMembersReqValidationError) Field() string
Field function returns field value.
func (AddPolicyMembersReqValidationError) Key ¶
func (e AddPolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (AddPolicyMembersReqValidationError) Reason ¶
func (e AddPolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type AddPolicyMembersResp ¶
type AddPolicyMembersResp struct { Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*AddPolicyMembersResp) Descriptor ¶
func (*AddPolicyMembersResp) Descriptor() ([]byte, []int)
func (*AddPolicyMembersResp) GetMembers ¶
func (m *AddPolicyMembersResp) GetMembers() []string
func (*AddPolicyMembersResp) ProtoMessage ¶
func (*AddPolicyMembersResp) ProtoMessage()
func (*AddPolicyMembersResp) Reset ¶
func (m *AddPolicyMembersResp) Reset()
func (*AddPolicyMembersResp) String ¶
func (m *AddPolicyMembersResp) String() string
func (*AddPolicyMembersResp) Validate ¶
func (m *AddPolicyMembersResp) Validate() error
Validate checks the field values on AddPolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*AddPolicyMembersResp) XXX_DiscardUnknown ¶
func (m *AddPolicyMembersResp) XXX_DiscardUnknown()
func (*AddPolicyMembersResp) XXX_Marshal ¶
func (m *AddPolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddPolicyMembersResp) XXX_Merge ¶
func (dst *AddPolicyMembersResp) XXX_Merge(src proto.Message)
func (*AddPolicyMembersResp) XXX_Size ¶
func (m *AddPolicyMembersResp) XXX_Size() int
func (*AddPolicyMembersResp) XXX_Unmarshal ¶
func (m *AddPolicyMembersResp) XXX_Unmarshal(b []byte) error
type AddPolicyMembersRespValidationError ¶
type AddPolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
AddPolicyMembersRespValidationError is the validation error returned by AddPolicyMembersResp.Validate if the designated constraints aren't met.
func (AddPolicyMembersRespValidationError) Cause ¶
func (e AddPolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (AddPolicyMembersRespValidationError) Error ¶
func (e AddPolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (AddPolicyMembersRespValidationError) ErrorName ¶
func (e AddPolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (AddPolicyMembersRespValidationError) Field ¶
func (e AddPolicyMembersRespValidationError) Field() string
Field function returns field value.
func (AddPolicyMembersRespValidationError) Key ¶
func (e AddPolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (AddPolicyMembersRespValidationError) Reason ¶
func (e AddPolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type AuthorizationClient ¶
type AuthorizationClient interface { IsAuthorized(ctx context.Context, in *IsAuthorizedReq, opts ...grpc.CallOption) (*IsAuthorizedResp, error) FilterAuthorizedPairs(ctx context.Context, in *FilterAuthorizedPairsReq, opts ...grpc.CallOption) (*FilterAuthorizedPairsResp, error) FilterAuthorizedProjects(ctx context.Context, in *FilterAuthorizedPairsReq, opts ...grpc.CallOption) (*FilterAuthorizedProjectsResp, error) ProjectsAuthorized(ctx context.Context, in *ProjectsAuthorizedReq, opts ...grpc.CallOption) (*ProjectsAuthorizedResp, error) }
AuthorizationClient is the client API for Authorization service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthorizationClient ¶
func NewAuthorizationClient(cc *grpc.ClientConn) AuthorizationClient
type AuthorizationServer ¶
type AuthorizationServer interface { IsAuthorized(context.Context, *IsAuthorizedReq) (*IsAuthorizedResp, error) FilterAuthorizedPairs(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error) FilterAuthorizedProjects(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedProjectsResp, error) ProjectsAuthorized(context.Context, *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error) }
AuthorizationServer is the server API for Authorization service.
type AuthorizationServerMock ¶
type AuthorizationServerMock struct { IsAuthorizedFunc func(context.Context, *IsAuthorizedReq) (*IsAuthorizedResp, error) FilterAuthorizedPairsFunc func(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error) FilterAuthorizedProjectsFunc func(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedProjectsResp, error) ProjectsAuthorizedFunc func(context.Context, *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error) // contains filtered or unexported fields }
AuthorizationServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewAuthorizationServerMock ¶
func NewAuthorizationServerMock() *AuthorizationServerMock
NewAuthorizationServerMock gives you a fresh instance of AuthorizationServerMock.
func NewAuthorizationServerMockWithoutValidation ¶
func NewAuthorizationServerMockWithoutValidation() *AuthorizationServerMock
NewAuthorizationServerMockWithoutValidation gives you a fresh instance of AuthorizationServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*AuthorizationServerMock) FilterAuthorizedPairs ¶
func (m *AuthorizationServerMock) FilterAuthorizedPairs(ctx context.Context, req *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
func (*AuthorizationServerMock) FilterAuthorizedProjects ¶
func (m *AuthorizationServerMock) FilterAuthorizedProjects(ctx context.Context, req *FilterAuthorizedPairsReq) (*FilterAuthorizedProjectsResp, error)
func (*AuthorizationServerMock) IsAuthorized ¶
func (m *AuthorizationServerMock) IsAuthorized(ctx context.Context, req *IsAuthorizedReq) (*IsAuthorizedResp, error)
func (*AuthorizationServerMock) ProjectsAuthorized ¶
func (m *AuthorizationServerMock) ProjectsAuthorized(ctx context.Context, req *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
func (*AuthorizationServerMock) Reset ¶
func (m *AuthorizationServerMock) Reset()
Reset resets all overridden functions
type Condition ¶
type Condition struct { Type ProjectRuleConditionTypes `` /* 175-byte string literal not displayed */ Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*Condition) Descriptor ¶
func (*Condition) GetType ¶
func (m *Condition) GetType() ProjectRuleConditionTypes
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) Validate ¶
Validate checks the field values on Condition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Condition) XXX_DiscardUnknown ¶
func (m *Condition) XXX_DiscardUnknown()
func (*Condition) XXX_Marshal ¶
func (*Condition) XXX_Unmarshal ¶
type ConditionValidationError ¶
type ConditionValidationError struct {
// contains filtered or unexported fields
}
ConditionValidationError is the validation error returned by Condition.Validate if the designated constraints aren't met.
func (ConditionValidationError) Cause ¶
func (e ConditionValidationError) Cause() error
Cause function returns cause value.
func (ConditionValidationError) Error ¶
func (e ConditionValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionValidationError) ErrorName ¶
func (e ConditionValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionValidationError) Field ¶
func (e ConditionValidationError) Field() string
Field function returns field value.
func (ConditionValidationError) Key ¶
func (e ConditionValidationError) Key() bool
Key function returns key value.
func (ConditionValidationError) Reason ¶
func (e ConditionValidationError) Reason() string
Reason function returns reason value.
type CreatePolicyReq ¶
type CreatePolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` Statements []*Statement `` /* 137-byte string literal not displayed */ Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*CreatePolicyReq) Descriptor ¶
func (*CreatePolicyReq) Descriptor() ([]byte, []int)
func (*CreatePolicyReq) GetId ¶
func (m *CreatePolicyReq) GetId() string
func (*CreatePolicyReq) GetMembers ¶
func (m *CreatePolicyReq) GetMembers() []string
func (*CreatePolicyReq) GetName ¶
func (m *CreatePolicyReq) GetName() string
func (*CreatePolicyReq) GetProjects ¶
func (m *CreatePolicyReq) GetProjects() []string
func (*CreatePolicyReq) GetStatements ¶
func (m *CreatePolicyReq) GetStatements() []*Statement
func (*CreatePolicyReq) ProtoMessage ¶
func (*CreatePolicyReq) ProtoMessage()
func (*CreatePolicyReq) Reset ¶
func (m *CreatePolicyReq) Reset()
func (*CreatePolicyReq) String ¶
func (m *CreatePolicyReq) String() string
func (*CreatePolicyReq) Validate ¶
func (m *CreatePolicyReq) Validate() error
Validate checks the field values on CreatePolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CreatePolicyReq) XXX_DiscardUnknown ¶
func (m *CreatePolicyReq) XXX_DiscardUnknown()
func (*CreatePolicyReq) XXX_Marshal ¶
func (m *CreatePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePolicyReq) XXX_Merge ¶
func (dst *CreatePolicyReq) XXX_Merge(src proto.Message)
func (*CreatePolicyReq) XXX_Size ¶
func (m *CreatePolicyReq) XXX_Size() int
func (*CreatePolicyReq) XXX_Unmarshal ¶
func (m *CreatePolicyReq) XXX_Unmarshal(b []byte) error
type CreatePolicyReqValidationError ¶
type CreatePolicyReqValidationError struct {
// contains filtered or unexported fields
}
CreatePolicyReqValidationError is the validation error returned by CreatePolicyReq.Validate if the designated constraints aren't met.
func (CreatePolicyReqValidationError) Cause ¶
func (e CreatePolicyReqValidationError) Cause() error
Cause function returns cause value.
func (CreatePolicyReqValidationError) Error ¶
func (e CreatePolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePolicyReqValidationError) ErrorName ¶
func (e CreatePolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePolicyReqValidationError) Field ¶
func (e CreatePolicyReqValidationError) Field() string
Field function returns field value.
func (CreatePolicyReqValidationError) Key ¶
func (e CreatePolicyReqValidationError) Key() bool
Key function returns key value.
func (CreatePolicyReqValidationError) Reason ¶
func (e CreatePolicyReqValidationError) Reason() string
Reason function returns reason value.
type CreateProjectReq ¶
type CreateProjectReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*CreateProjectReq) Descriptor ¶
func (*CreateProjectReq) Descriptor() ([]byte, []int)
func (*CreateProjectReq) GetId ¶
func (m *CreateProjectReq) GetId() string
func (*CreateProjectReq) GetName ¶
func (m *CreateProjectReq) GetName() string
func (*CreateProjectReq) ProtoMessage ¶
func (*CreateProjectReq) ProtoMessage()
func (*CreateProjectReq) Reset ¶
func (m *CreateProjectReq) Reset()
func (*CreateProjectReq) String ¶
func (m *CreateProjectReq) String() string
func (*CreateProjectReq) Validate ¶
func (m *CreateProjectReq) Validate() error
Validate checks the field values on CreateProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CreateProjectReq) XXX_DiscardUnknown ¶
func (m *CreateProjectReq) XXX_DiscardUnknown()
func (*CreateProjectReq) XXX_Marshal ¶
func (m *CreateProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateProjectReq) XXX_Merge ¶
func (dst *CreateProjectReq) XXX_Merge(src proto.Message)
func (*CreateProjectReq) XXX_Size ¶
func (m *CreateProjectReq) XXX_Size() int
func (*CreateProjectReq) XXX_Unmarshal ¶
func (m *CreateProjectReq) XXX_Unmarshal(b []byte) error
type CreateProjectReqValidationError ¶
type CreateProjectReqValidationError struct {
// contains filtered or unexported fields
}
CreateProjectReqValidationError is the validation error returned by CreateProjectReq.Validate if the designated constraints aren't met.
func (CreateProjectReqValidationError) Cause ¶
func (e CreateProjectReqValidationError) Cause() error
Cause function returns cause value.
func (CreateProjectReqValidationError) Error ¶
func (e CreateProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProjectReqValidationError) ErrorName ¶
func (e CreateProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProjectReqValidationError) Field ¶
func (e CreateProjectReqValidationError) Field() string
Field function returns field value.
func (CreateProjectReqValidationError) Key ¶
func (e CreateProjectReqValidationError) Key() bool
Key function returns key value.
func (CreateProjectReqValidationError) Reason ¶
func (e CreateProjectReqValidationError) Reason() string
Reason function returns reason value.
type CreateProjectResp ¶
type CreateProjectResp struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*CreateProjectResp) Descriptor ¶
func (*CreateProjectResp) Descriptor() ([]byte, []int)
func (*CreateProjectResp) GetProject ¶
func (m *CreateProjectResp) GetProject() *Project
func (*CreateProjectResp) ProtoMessage ¶
func (*CreateProjectResp) ProtoMessage()
func (*CreateProjectResp) Reset ¶
func (m *CreateProjectResp) Reset()
func (*CreateProjectResp) String ¶
func (m *CreateProjectResp) String() string
func (*CreateProjectResp) Validate ¶
func (m *CreateProjectResp) Validate() error
Validate checks the field values on CreateProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CreateProjectResp) XXX_DiscardUnknown ¶
func (m *CreateProjectResp) XXX_DiscardUnknown()
func (*CreateProjectResp) XXX_Marshal ¶
func (m *CreateProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateProjectResp) XXX_Merge ¶
func (dst *CreateProjectResp) XXX_Merge(src proto.Message)
func (*CreateProjectResp) XXX_Size ¶
func (m *CreateProjectResp) XXX_Size() int
func (*CreateProjectResp) XXX_Unmarshal ¶
func (m *CreateProjectResp) XXX_Unmarshal(b []byte) error
type CreateProjectRespValidationError ¶
type CreateProjectRespValidationError struct {
// contains filtered or unexported fields
}
CreateProjectRespValidationError is the validation error returned by CreateProjectResp.Validate if the designated constraints aren't met.
func (CreateProjectRespValidationError) Cause ¶
func (e CreateProjectRespValidationError) Cause() error
Cause function returns cause value.
func (CreateProjectRespValidationError) Error ¶
func (e CreateProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProjectRespValidationError) ErrorName ¶
func (e CreateProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProjectRespValidationError) Field ¶
func (e CreateProjectRespValidationError) Field() string
Field function returns field value.
func (CreateProjectRespValidationError) Key ¶
func (e CreateProjectRespValidationError) Key() bool
Key function returns key value.
func (CreateProjectRespValidationError) Reason ¶
func (e CreateProjectRespValidationError) Reason() string
Reason function returns reason value.
type CreateRoleReq ¶
type CreateRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*CreateRoleReq) Descriptor ¶
func (*CreateRoleReq) Descriptor() ([]byte, []int)
func (*CreateRoleReq) GetActions ¶
func (m *CreateRoleReq) GetActions() []string
func (*CreateRoleReq) GetId ¶
func (m *CreateRoleReq) GetId() string
func (*CreateRoleReq) GetName ¶
func (m *CreateRoleReq) GetName() string
func (*CreateRoleReq) GetProjects ¶
func (m *CreateRoleReq) GetProjects() []string
func (*CreateRoleReq) ProtoMessage ¶
func (*CreateRoleReq) ProtoMessage()
func (*CreateRoleReq) Reset ¶
func (m *CreateRoleReq) Reset()
func (*CreateRoleReq) String ¶
func (m *CreateRoleReq) String() string
func (*CreateRoleReq) Validate ¶
func (m *CreateRoleReq) Validate() error
Validate checks the field values on CreateRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CreateRoleReq) XXX_DiscardUnknown ¶
func (m *CreateRoleReq) XXX_DiscardUnknown()
func (*CreateRoleReq) XXX_Marshal ¶
func (m *CreateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRoleReq) XXX_Merge ¶
func (dst *CreateRoleReq) XXX_Merge(src proto.Message)
func (*CreateRoleReq) XXX_Size ¶
func (m *CreateRoleReq) XXX_Size() int
func (*CreateRoleReq) XXX_Unmarshal ¶
func (m *CreateRoleReq) XXX_Unmarshal(b []byte) error
type CreateRoleReqValidationError ¶
type CreateRoleReqValidationError struct {
// contains filtered or unexported fields
}
CreateRoleReqValidationError is the validation error returned by CreateRoleReq.Validate if the designated constraints aren't met.
func (CreateRoleReqValidationError) Cause ¶
func (e CreateRoleReqValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleReqValidationError) Error ¶
func (e CreateRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleReqValidationError) ErrorName ¶
func (e CreateRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleReqValidationError) Field ¶
func (e CreateRoleReqValidationError) Field() string
Field function returns field value.
func (CreateRoleReqValidationError) Key ¶
func (e CreateRoleReqValidationError) Key() bool
Key function returns key value.
func (CreateRoleReqValidationError) Reason ¶
func (e CreateRoleReqValidationError) Reason() string
Reason function returns reason value.
type DeletePolicyReq ¶
type DeletePolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*DeletePolicyReq) Descriptor ¶
func (*DeletePolicyReq) Descriptor() ([]byte, []int)
func (*DeletePolicyReq) GetId ¶
func (m *DeletePolicyReq) GetId() string
func (*DeletePolicyReq) ProtoMessage ¶
func (*DeletePolicyReq) ProtoMessage()
func (*DeletePolicyReq) Reset ¶
func (m *DeletePolicyReq) Reset()
func (*DeletePolicyReq) String ¶
func (m *DeletePolicyReq) String() string
func (*DeletePolicyReq) Validate ¶
func (m *DeletePolicyReq) Validate() error
Validate checks the field values on DeletePolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DeletePolicyReq) XXX_DiscardUnknown ¶
func (m *DeletePolicyReq) XXX_DiscardUnknown()
func (*DeletePolicyReq) XXX_Marshal ¶
func (m *DeletePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeletePolicyReq) XXX_Merge ¶
func (dst *DeletePolicyReq) XXX_Merge(src proto.Message)
func (*DeletePolicyReq) XXX_Size ¶
func (m *DeletePolicyReq) XXX_Size() int
func (*DeletePolicyReq) XXX_Unmarshal ¶
func (m *DeletePolicyReq) XXX_Unmarshal(b []byte) error
type DeletePolicyReqValidationError ¶
type DeletePolicyReqValidationError struct {
// contains filtered or unexported fields
}
DeletePolicyReqValidationError is the validation error returned by DeletePolicyReq.Validate if the designated constraints aren't met.
func (DeletePolicyReqValidationError) Cause ¶
func (e DeletePolicyReqValidationError) Cause() error
Cause function returns cause value.
func (DeletePolicyReqValidationError) Error ¶
func (e DeletePolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePolicyReqValidationError) ErrorName ¶
func (e DeletePolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePolicyReqValidationError) Field ¶
func (e DeletePolicyReqValidationError) Field() string
Field function returns field value.
func (DeletePolicyReqValidationError) Key ¶
func (e DeletePolicyReqValidationError) Key() bool
Key function returns key value.
func (DeletePolicyReqValidationError) Reason ¶
func (e DeletePolicyReqValidationError) Reason() string
Reason function returns reason value.
type DeletePolicyResp ¶
type DeletePolicyResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*DeletePolicyResp) Descriptor ¶
func (*DeletePolicyResp) Descriptor() ([]byte, []int)
func (*DeletePolicyResp) ProtoMessage ¶
func (*DeletePolicyResp) ProtoMessage()
func (*DeletePolicyResp) Reset ¶
func (m *DeletePolicyResp) Reset()
func (*DeletePolicyResp) String ¶
func (m *DeletePolicyResp) String() string
func (*DeletePolicyResp) Validate ¶
func (m *DeletePolicyResp) Validate() error
Validate checks the field values on DeletePolicyResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DeletePolicyResp) XXX_DiscardUnknown ¶
func (m *DeletePolicyResp) XXX_DiscardUnknown()
func (*DeletePolicyResp) XXX_Marshal ¶
func (m *DeletePolicyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeletePolicyResp) XXX_Merge ¶
func (dst *DeletePolicyResp) XXX_Merge(src proto.Message)
func (*DeletePolicyResp) XXX_Size ¶
func (m *DeletePolicyResp) XXX_Size() int
func (*DeletePolicyResp) XXX_Unmarshal ¶
func (m *DeletePolicyResp) XXX_Unmarshal(b []byte) error
type DeletePolicyRespValidationError ¶
type DeletePolicyRespValidationError struct {
// contains filtered or unexported fields
}
DeletePolicyRespValidationError is the validation error returned by DeletePolicyResp.Validate if the designated constraints aren't met.
func (DeletePolicyRespValidationError) Cause ¶
func (e DeletePolicyRespValidationError) Cause() error
Cause function returns cause value.
func (DeletePolicyRespValidationError) Error ¶
func (e DeletePolicyRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePolicyRespValidationError) ErrorName ¶
func (e DeletePolicyRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePolicyRespValidationError) Field ¶
func (e DeletePolicyRespValidationError) Field() string
Field function returns field value.
func (DeletePolicyRespValidationError) Key ¶
func (e DeletePolicyRespValidationError) Key() bool
Key function returns key value.
func (DeletePolicyRespValidationError) Reason ¶
func (e DeletePolicyRespValidationError) Reason() string
Reason function returns reason value.
type DeleteProjectReq ¶
type DeleteProjectReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*DeleteProjectReq) Descriptor ¶
func (*DeleteProjectReq) Descriptor() ([]byte, []int)
func (*DeleteProjectReq) GetId ¶
func (m *DeleteProjectReq) GetId() string
func (*DeleteProjectReq) ProtoMessage ¶
func (*DeleteProjectReq) ProtoMessage()
func (*DeleteProjectReq) Reset ¶
func (m *DeleteProjectReq) Reset()
func (*DeleteProjectReq) String ¶
func (m *DeleteProjectReq) String() string
func (*DeleteProjectReq) Validate ¶
func (m *DeleteProjectReq) Validate() error
Validate checks the field values on DeleteProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DeleteProjectReq) XXX_DiscardUnknown ¶
func (m *DeleteProjectReq) XXX_DiscardUnknown()
func (*DeleteProjectReq) XXX_Marshal ¶
func (m *DeleteProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProjectReq) XXX_Merge ¶
func (dst *DeleteProjectReq) XXX_Merge(src proto.Message)
func (*DeleteProjectReq) XXX_Size ¶
func (m *DeleteProjectReq) XXX_Size() int
func (*DeleteProjectReq) XXX_Unmarshal ¶
func (m *DeleteProjectReq) XXX_Unmarshal(b []byte) error
type DeleteProjectReqValidationError ¶
type DeleteProjectReqValidationError struct {
// contains filtered or unexported fields
}
DeleteProjectReqValidationError is the validation error returned by DeleteProjectReq.Validate if the designated constraints aren't met.
func (DeleteProjectReqValidationError) Cause ¶
func (e DeleteProjectReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteProjectReqValidationError) Error ¶
func (e DeleteProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProjectReqValidationError) ErrorName ¶
func (e DeleteProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProjectReqValidationError) Field ¶
func (e DeleteProjectReqValidationError) Field() string
Field function returns field value.
func (DeleteProjectReqValidationError) Key ¶
func (e DeleteProjectReqValidationError) Key() bool
Key function returns key value.
func (DeleteProjectReqValidationError) Reason ¶
func (e DeleteProjectReqValidationError) Reason() string
Reason function returns reason value.
type DeleteProjectResp ¶
type DeleteProjectResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*DeleteProjectResp) Descriptor ¶
func (*DeleteProjectResp) Descriptor() ([]byte, []int)
func (*DeleteProjectResp) ProtoMessage ¶
func (*DeleteProjectResp) ProtoMessage()
func (*DeleteProjectResp) Reset ¶
func (m *DeleteProjectResp) Reset()
func (*DeleteProjectResp) String ¶
func (m *DeleteProjectResp) String() string
func (*DeleteProjectResp) Validate ¶
func (m *DeleteProjectResp) Validate() error
Validate checks the field values on DeleteProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DeleteProjectResp) XXX_DiscardUnknown ¶
func (m *DeleteProjectResp) XXX_DiscardUnknown()
func (*DeleteProjectResp) XXX_Marshal ¶
func (m *DeleteProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProjectResp) XXX_Merge ¶
func (dst *DeleteProjectResp) XXX_Merge(src proto.Message)
func (*DeleteProjectResp) XXX_Size ¶
func (m *DeleteProjectResp) XXX_Size() int
func (*DeleteProjectResp) XXX_Unmarshal ¶
func (m *DeleteProjectResp) XXX_Unmarshal(b []byte) error
type DeleteProjectRespValidationError ¶
type DeleteProjectRespValidationError struct {
// contains filtered or unexported fields
}
DeleteProjectRespValidationError is the validation error returned by DeleteProjectResp.Validate if the designated constraints aren't met.
func (DeleteProjectRespValidationError) Cause ¶
func (e DeleteProjectRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteProjectRespValidationError) Error ¶
func (e DeleteProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProjectRespValidationError) ErrorName ¶
func (e DeleteProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProjectRespValidationError) Field ¶
func (e DeleteProjectRespValidationError) Field() string
Field function returns field value.
func (DeleteProjectRespValidationError) Key ¶
func (e DeleteProjectRespValidationError) Key() bool
Key function returns key value.
func (DeleteProjectRespValidationError) Reason ¶
func (e DeleteProjectRespValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleReq ¶
type DeleteRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*DeleteRoleReq) Descriptor ¶
func (*DeleteRoleReq) Descriptor() ([]byte, []int)
func (*DeleteRoleReq) GetId ¶
func (m *DeleteRoleReq) GetId() string
func (*DeleteRoleReq) ProtoMessage ¶
func (*DeleteRoleReq) ProtoMessage()
func (*DeleteRoleReq) Reset ¶
func (m *DeleteRoleReq) Reset()
func (*DeleteRoleReq) String ¶
func (m *DeleteRoleReq) String() string
func (*DeleteRoleReq) Validate ¶
func (m *DeleteRoleReq) Validate() error
Validate checks the field values on DeleteRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DeleteRoleReq) XXX_DiscardUnknown ¶
func (m *DeleteRoleReq) XXX_DiscardUnknown()
func (*DeleteRoleReq) XXX_Marshal ¶
func (m *DeleteRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRoleReq) XXX_Merge ¶
func (dst *DeleteRoleReq) XXX_Merge(src proto.Message)
func (*DeleteRoleReq) XXX_Size ¶
func (m *DeleteRoleReq) XXX_Size() int
func (*DeleteRoleReq) XXX_Unmarshal ¶
func (m *DeleteRoleReq) XXX_Unmarshal(b []byte) error
type DeleteRoleReqValidationError ¶
type DeleteRoleReqValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleReqValidationError is the validation error returned by DeleteRoleReq.Validate if the designated constraints aren't met.
func (DeleteRoleReqValidationError) Cause ¶
func (e DeleteRoleReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleReqValidationError) Error ¶
func (e DeleteRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleReqValidationError) ErrorName ¶
func (e DeleteRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleReqValidationError) Field ¶
func (e DeleteRoleReqValidationError) Field() string
Field function returns field value.
func (DeleteRoleReqValidationError) Key ¶
func (e DeleteRoleReqValidationError) Key() bool
Key function returns key value.
func (DeleteRoleReqValidationError) Reason ¶
func (e DeleteRoleReqValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleResp ¶
type DeleteRoleResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*DeleteRoleResp) Descriptor ¶
func (*DeleteRoleResp) Descriptor() ([]byte, []int)
func (*DeleteRoleResp) ProtoMessage ¶
func (*DeleteRoleResp) ProtoMessage()
func (*DeleteRoleResp) Reset ¶
func (m *DeleteRoleResp) Reset()
func (*DeleteRoleResp) String ¶
func (m *DeleteRoleResp) String() string
func (*DeleteRoleResp) Validate ¶
func (m *DeleteRoleResp) Validate() error
Validate checks the field values on DeleteRoleResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DeleteRoleResp) XXX_DiscardUnknown ¶
func (m *DeleteRoleResp) XXX_DiscardUnknown()
func (*DeleteRoleResp) XXX_Marshal ¶
func (m *DeleteRoleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRoleResp) XXX_Merge ¶
func (dst *DeleteRoleResp) XXX_Merge(src proto.Message)
func (*DeleteRoleResp) XXX_Size ¶
func (m *DeleteRoleResp) XXX_Size() int
func (*DeleteRoleResp) XXX_Unmarshal ¶
func (m *DeleteRoleResp) XXX_Unmarshal(b []byte) error
type DeleteRoleRespValidationError ¶
type DeleteRoleRespValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleRespValidationError is the validation error returned by DeleteRoleResp.Validate if the designated constraints aren't met.
func (DeleteRoleRespValidationError) Cause ¶
func (e DeleteRoleRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleRespValidationError) Error ¶
func (e DeleteRoleRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleRespValidationError) ErrorName ¶
func (e DeleteRoleRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleRespValidationError) Field ¶
func (e DeleteRoleRespValidationError) Field() string
Field function returns field value.
func (DeleteRoleRespValidationError) Key ¶
func (e DeleteRoleRespValidationError) Key() bool
Key function returns key value.
func (DeleteRoleRespValidationError) Reason ¶
func (e DeleteRoleRespValidationError) Reason() string
Reason function returns reason value.
type FilterAuthorizedPairsReq ¶
type FilterAuthorizedPairsReq struct { Subjects []string `` /* 129-byte string literal not displayed */ Pairs []*Pair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
FilterAuthorizedProjects uses this SAME request
func (*FilterAuthorizedPairsReq) Descriptor ¶
func (*FilterAuthorizedPairsReq) Descriptor() ([]byte, []int)
func (*FilterAuthorizedPairsReq) GetPairs ¶
func (m *FilterAuthorizedPairsReq) GetPairs() []*Pair
func (*FilterAuthorizedPairsReq) GetSubjects ¶
func (m *FilterAuthorizedPairsReq) GetSubjects() []string
func (*FilterAuthorizedPairsReq) ProtoMessage ¶
func (*FilterAuthorizedPairsReq) ProtoMessage()
func (*FilterAuthorizedPairsReq) Reset ¶
func (m *FilterAuthorizedPairsReq) Reset()
func (*FilterAuthorizedPairsReq) String ¶
func (m *FilterAuthorizedPairsReq) String() string
func (*FilterAuthorizedPairsReq) Validate ¶
func (m *FilterAuthorizedPairsReq) Validate() error
Validate checks the field values on FilterAuthorizedPairsReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FilterAuthorizedPairsReq) XXX_DiscardUnknown ¶
func (m *FilterAuthorizedPairsReq) XXX_DiscardUnknown()
func (*FilterAuthorizedPairsReq) XXX_Marshal ¶
func (m *FilterAuthorizedPairsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilterAuthorizedPairsReq) XXX_Merge ¶
func (dst *FilterAuthorizedPairsReq) XXX_Merge(src proto.Message)
func (*FilterAuthorizedPairsReq) XXX_Size ¶
func (m *FilterAuthorizedPairsReq) XXX_Size() int
func (*FilterAuthorizedPairsReq) XXX_Unmarshal ¶
func (m *FilterAuthorizedPairsReq) XXX_Unmarshal(b []byte) error
type FilterAuthorizedPairsReqValidationError ¶
type FilterAuthorizedPairsReqValidationError struct {
// contains filtered or unexported fields
}
FilterAuthorizedPairsReqValidationError is the validation error returned by FilterAuthorizedPairsReq.Validate if the designated constraints aren't met.
func (FilterAuthorizedPairsReqValidationError) Cause ¶
func (e FilterAuthorizedPairsReqValidationError) Cause() error
Cause function returns cause value.
func (FilterAuthorizedPairsReqValidationError) Error ¶
func (e FilterAuthorizedPairsReqValidationError) Error() string
Error satisfies the builtin error interface
func (FilterAuthorizedPairsReqValidationError) ErrorName ¶
func (e FilterAuthorizedPairsReqValidationError) ErrorName() string
ErrorName returns error name.
func (FilterAuthorizedPairsReqValidationError) Field ¶
func (e FilterAuthorizedPairsReqValidationError) Field() string
Field function returns field value.
func (FilterAuthorizedPairsReqValidationError) Key ¶
func (e FilterAuthorizedPairsReqValidationError) Key() bool
Key function returns key value.
func (FilterAuthorizedPairsReqValidationError) Reason ¶
func (e FilterAuthorizedPairsReqValidationError) Reason() string
Reason function returns reason value.
type FilterAuthorizedPairsResp ¶
type FilterAuthorizedPairsResp struct { Pairs []*Pair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*FilterAuthorizedPairsResp) Descriptor ¶
func (*FilterAuthorizedPairsResp) Descriptor() ([]byte, []int)
func (*FilterAuthorizedPairsResp) GetPairs ¶
func (m *FilterAuthorizedPairsResp) GetPairs() []*Pair
func (*FilterAuthorizedPairsResp) ProtoMessage ¶
func (*FilterAuthorizedPairsResp) ProtoMessage()
func (*FilterAuthorizedPairsResp) Reset ¶
func (m *FilterAuthorizedPairsResp) Reset()
func (*FilterAuthorizedPairsResp) String ¶
func (m *FilterAuthorizedPairsResp) String() string
func (*FilterAuthorizedPairsResp) Validate ¶
func (m *FilterAuthorizedPairsResp) Validate() error
Validate checks the field values on FilterAuthorizedPairsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FilterAuthorizedPairsResp) XXX_DiscardUnknown ¶
func (m *FilterAuthorizedPairsResp) XXX_DiscardUnknown()
func (*FilterAuthorizedPairsResp) XXX_Marshal ¶
func (m *FilterAuthorizedPairsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilterAuthorizedPairsResp) XXX_Merge ¶
func (dst *FilterAuthorizedPairsResp) XXX_Merge(src proto.Message)
func (*FilterAuthorizedPairsResp) XXX_Size ¶
func (m *FilterAuthorizedPairsResp) XXX_Size() int
func (*FilterAuthorizedPairsResp) XXX_Unmarshal ¶
func (m *FilterAuthorizedPairsResp) XXX_Unmarshal(b []byte) error
type FilterAuthorizedPairsRespValidationError ¶
type FilterAuthorizedPairsRespValidationError struct {
// contains filtered or unexported fields
}
FilterAuthorizedPairsRespValidationError is the validation error returned by FilterAuthorizedPairsResp.Validate if the designated constraints aren't met.
func (FilterAuthorizedPairsRespValidationError) Cause ¶
func (e FilterAuthorizedPairsRespValidationError) Cause() error
Cause function returns cause value.
func (FilterAuthorizedPairsRespValidationError) Error ¶
func (e FilterAuthorizedPairsRespValidationError) Error() string
Error satisfies the builtin error interface
func (FilterAuthorizedPairsRespValidationError) ErrorName ¶
func (e FilterAuthorizedPairsRespValidationError) ErrorName() string
ErrorName returns error name.
func (FilterAuthorizedPairsRespValidationError) Field ¶
func (e FilterAuthorizedPairsRespValidationError) Field() string
Field function returns field value.
func (FilterAuthorizedPairsRespValidationError) Key ¶
func (e FilterAuthorizedPairsRespValidationError) Key() bool
Key function returns key value.
func (FilterAuthorizedPairsRespValidationError) Reason ¶
func (e FilterAuthorizedPairsRespValidationError) Reason() string
Reason function returns reason value.
type FilterAuthorizedProjectsResp ¶
type FilterAuthorizedProjectsResp struct { Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*FilterAuthorizedProjectsResp) Descriptor ¶
func (*FilterAuthorizedProjectsResp) Descriptor() ([]byte, []int)
func (*FilterAuthorizedProjectsResp) GetProjects ¶
func (m *FilterAuthorizedProjectsResp) GetProjects() []string
func (*FilterAuthorizedProjectsResp) ProtoMessage ¶
func (*FilterAuthorizedProjectsResp) ProtoMessage()
func (*FilterAuthorizedProjectsResp) Reset ¶
func (m *FilterAuthorizedProjectsResp) Reset()
func (*FilterAuthorizedProjectsResp) String ¶
func (m *FilterAuthorizedProjectsResp) String() string
func (*FilterAuthorizedProjectsResp) Validate ¶
func (m *FilterAuthorizedProjectsResp) Validate() error
Validate checks the field values on FilterAuthorizedProjectsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FilterAuthorizedProjectsResp) XXX_DiscardUnknown ¶
func (m *FilterAuthorizedProjectsResp) XXX_DiscardUnknown()
func (*FilterAuthorizedProjectsResp) XXX_Marshal ¶
func (m *FilterAuthorizedProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilterAuthorizedProjectsResp) XXX_Merge ¶
func (dst *FilterAuthorizedProjectsResp) XXX_Merge(src proto.Message)
func (*FilterAuthorizedProjectsResp) XXX_Size ¶
func (m *FilterAuthorizedProjectsResp) XXX_Size() int
func (*FilterAuthorizedProjectsResp) XXX_Unmarshal ¶
func (m *FilterAuthorizedProjectsResp) XXX_Unmarshal(b []byte) error
type FilterAuthorizedProjectsRespValidationError ¶
type FilterAuthorizedProjectsRespValidationError struct {
// contains filtered or unexported fields
}
FilterAuthorizedProjectsRespValidationError is the validation error returned by FilterAuthorizedProjectsResp.Validate if the designated constraints aren't met.
func (FilterAuthorizedProjectsRespValidationError) Cause ¶
func (e FilterAuthorizedProjectsRespValidationError) Cause() error
Cause function returns cause value.
func (FilterAuthorizedProjectsRespValidationError) Error ¶
func (e FilterAuthorizedProjectsRespValidationError) Error() string
Error satisfies the builtin error interface
func (FilterAuthorizedProjectsRespValidationError) ErrorName ¶
func (e FilterAuthorizedProjectsRespValidationError) ErrorName() string
ErrorName returns error name.
func (FilterAuthorizedProjectsRespValidationError) Field ¶
func (e FilterAuthorizedProjectsRespValidationError) Field() string
Field function returns field value.
func (FilterAuthorizedProjectsRespValidationError) Key ¶
func (e FilterAuthorizedProjectsRespValidationError) Key() bool
Key function returns key value.
func (FilterAuthorizedProjectsRespValidationError) Reason ¶
func (e FilterAuthorizedProjectsRespValidationError) Reason() string
Reason function returns reason value.
type GetPolicyReq ¶
type GetPolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetPolicyReq) Descriptor ¶
func (*GetPolicyReq) Descriptor() ([]byte, []int)
func (*GetPolicyReq) GetId ¶
func (m *GetPolicyReq) GetId() string
func (*GetPolicyReq) ProtoMessage ¶
func (*GetPolicyReq) ProtoMessage()
func (*GetPolicyReq) Reset ¶
func (m *GetPolicyReq) Reset()
func (*GetPolicyReq) String ¶
func (m *GetPolicyReq) String() string
func (*GetPolicyReq) Validate ¶
func (m *GetPolicyReq) Validate() error
Validate checks the field values on GetPolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetPolicyReq) XXX_DiscardUnknown ¶
func (m *GetPolicyReq) XXX_DiscardUnknown()
func (*GetPolicyReq) XXX_Marshal ¶
func (m *GetPolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPolicyReq) XXX_Merge ¶
func (dst *GetPolicyReq) XXX_Merge(src proto.Message)
func (*GetPolicyReq) XXX_Size ¶
func (m *GetPolicyReq) XXX_Size() int
func (*GetPolicyReq) XXX_Unmarshal ¶
func (m *GetPolicyReq) XXX_Unmarshal(b []byte) error
type GetPolicyReqValidationError ¶
type GetPolicyReqValidationError struct {
// contains filtered or unexported fields
}
GetPolicyReqValidationError is the validation error returned by GetPolicyReq.Validate if the designated constraints aren't met.
func (GetPolicyReqValidationError) Cause ¶
func (e GetPolicyReqValidationError) Cause() error
Cause function returns cause value.
func (GetPolicyReqValidationError) Error ¶
func (e GetPolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicyReqValidationError) ErrorName ¶
func (e GetPolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicyReqValidationError) Field ¶
func (e GetPolicyReqValidationError) Field() string
Field function returns field value.
func (GetPolicyReqValidationError) Key ¶
func (e GetPolicyReqValidationError) Key() bool
Key function returns key value.
func (GetPolicyReqValidationError) Reason ¶
func (e GetPolicyReqValidationError) Reason() string
Reason function returns reason value.
type GetPolicyVersionReq ¶
type GetPolicyVersionReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetPolicyVersionReq) Descriptor ¶
func (*GetPolicyVersionReq) Descriptor() ([]byte, []int)
func (*GetPolicyVersionReq) ProtoMessage ¶
func (*GetPolicyVersionReq) ProtoMessage()
func (*GetPolicyVersionReq) Reset ¶
func (m *GetPolicyVersionReq) Reset()
func (*GetPolicyVersionReq) String ¶
func (m *GetPolicyVersionReq) String() string
func (*GetPolicyVersionReq) Validate ¶
func (m *GetPolicyVersionReq) Validate() error
Validate checks the field values on GetPolicyVersionReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetPolicyVersionReq) XXX_DiscardUnknown ¶
func (m *GetPolicyVersionReq) XXX_DiscardUnknown()
func (*GetPolicyVersionReq) XXX_Marshal ¶
func (m *GetPolicyVersionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPolicyVersionReq) XXX_Merge ¶
func (dst *GetPolicyVersionReq) XXX_Merge(src proto.Message)
func (*GetPolicyVersionReq) XXX_Size ¶
func (m *GetPolicyVersionReq) XXX_Size() int
func (*GetPolicyVersionReq) XXX_Unmarshal ¶
func (m *GetPolicyVersionReq) XXX_Unmarshal(b []byte) error
type GetPolicyVersionReqValidationError ¶
type GetPolicyVersionReqValidationError struct {
// contains filtered or unexported fields
}
GetPolicyVersionReqValidationError is the validation error returned by GetPolicyVersionReq.Validate if the designated constraints aren't met.
func (GetPolicyVersionReqValidationError) Cause ¶
func (e GetPolicyVersionReqValidationError) Cause() error
Cause function returns cause value.
func (GetPolicyVersionReqValidationError) Error ¶
func (e GetPolicyVersionReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicyVersionReqValidationError) ErrorName ¶
func (e GetPolicyVersionReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicyVersionReqValidationError) Field ¶
func (e GetPolicyVersionReqValidationError) Field() string
Field function returns field value.
func (GetPolicyVersionReqValidationError) Key ¶
func (e GetPolicyVersionReqValidationError) Key() bool
Key function returns key value.
func (GetPolicyVersionReqValidationError) Reason ¶
func (e GetPolicyVersionReqValidationError) Reason() string
Reason function returns reason value.
type GetPolicyVersionResp ¶
type GetPolicyVersionResp struct { Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetPolicyVersionResp) Descriptor ¶
func (*GetPolicyVersionResp) Descriptor() ([]byte, []int)
func (*GetPolicyVersionResp) GetVersion ¶
func (m *GetPolicyVersionResp) GetVersion() *Version
func (*GetPolicyVersionResp) ProtoMessage ¶
func (*GetPolicyVersionResp) ProtoMessage()
func (*GetPolicyVersionResp) Reset ¶
func (m *GetPolicyVersionResp) Reset()
func (*GetPolicyVersionResp) String ¶
func (m *GetPolicyVersionResp) String() string
func (*GetPolicyVersionResp) Validate ¶
func (m *GetPolicyVersionResp) Validate() error
Validate checks the field values on GetPolicyVersionResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetPolicyVersionResp) XXX_DiscardUnknown ¶
func (m *GetPolicyVersionResp) XXX_DiscardUnknown()
func (*GetPolicyVersionResp) XXX_Marshal ¶
func (m *GetPolicyVersionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPolicyVersionResp) XXX_Merge ¶
func (dst *GetPolicyVersionResp) XXX_Merge(src proto.Message)
func (*GetPolicyVersionResp) XXX_Size ¶
func (m *GetPolicyVersionResp) XXX_Size() int
func (*GetPolicyVersionResp) XXX_Unmarshal ¶
func (m *GetPolicyVersionResp) XXX_Unmarshal(b []byte) error
type GetPolicyVersionRespValidationError ¶
type GetPolicyVersionRespValidationError struct {
// contains filtered or unexported fields
}
GetPolicyVersionRespValidationError is the validation error returned by GetPolicyVersionResp.Validate if the designated constraints aren't met.
func (GetPolicyVersionRespValidationError) Cause ¶
func (e GetPolicyVersionRespValidationError) Cause() error
Cause function returns cause value.
func (GetPolicyVersionRespValidationError) Error ¶
func (e GetPolicyVersionRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicyVersionRespValidationError) ErrorName ¶
func (e GetPolicyVersionRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicyVersionRespValidationError) Field ¶
func (e GetPolicyVersionRespValidationError) Field() string
Field function returns field value.
func (GetPolicyVersionRespValidationError) Key ¶
func (e GetPolicyVersionRespValidationError) Key() bool
Key function returns key value.
func (GetPolicyVersionRespValidationError) Reason ¶
func (e GetPolicyVersionRespValidationError) Reason() string
Reason function returns reason value.
type GetProjectReq ¶
type GetProjectReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetProjectReq) Descriptor ¶
func (*GetProjectReq) Descriptor() ([]byte, []int)
func (*GetProjectReq) GetId ¶
func (m *GetProjectReq) GetId() string
func (*GetProjectReq) ProtoMessage ¶
func (*GetProjectReq) ProtoMessage()
func (*GetProjectReq) Reset ¶
func (m *GetProjectReq) Reset()
func (*GetProjectReq) String ¶
func (m *GetProjectReq) String() string
func (*GetProjectReq) Validate ¶
func (m *GetProjectReq) Validate() error
Validate checks the field values on GetProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetProjectReq) XXX_DiscardUnknown ¶
func (m *GetProjectReq) XXX_DiscardUnknown()
func (*GetProjectReq) XXX_Marshal ¶
func (m *GetProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProjectReq) XXX_Merge ¶
func (dst *GetProjectReq) XXX_Merge(src proto.Message)
func (*GetProjectReq) XXX_Size ¶
func (m *GetProjectReq) XXX_Size() int
func (*GetProjectReq) XXX_Unmarshal ¶
func (m *GetProjectReq) XXX_Unmarshal(b []byte) error
type GetProjectReqValidationError ¶
type GetProjectReqValidationError struct {
// contains filtered or unexported fields
}
GetProjectReqValidationError is the validation error returned by GetProjectReq.Validate if the designated constraints aren't met.
func (GetProjectReqValidationError) Cause ¶
func (e GetProjectReqValidationError) Cause() error
Cause function returns cause value.
func (GetProjectReqValidationError) Error ¶
func (e GetProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectReqValidationError) ErrorName ¶
func (e GetProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectReqValidationError) Field ¶
func (e GetProjectReqValidationError) Field() string
Field function returns field value.
func (GetProjectReqValidationError) Key ¶
func (e GetProjectReqValidationError) Key() bool
Key function returns key value.
func (GetProjectReqValidationError) Reason ¶
func (e GetProjectReqValidationError) Reason() string
Reason function returns reason value.
type GetProjectResp ¶
type GetProjectResp struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetProjectResp) Descriptor ¶
func (*GetProjectResp) Descriptor() ([]byte, []int)
func (*GetProjectResp) GetProject ¶
func (m *GetProjectResp) GetProject() *Project
func (*GetProjectResp) ProtoMessage ¶
func (*GetProjectResp) ProtoMessage()
func (*GetProjectResp) Reset ¶
func (m *GetProjectResp) Reset()
func (*GetProjectResp) String ¶
func (m *GetProjectResp) String() string
func (*GetProjectResp) Validate ¶
func (m *GetProjectResp) Validate() error
Validate checks the field values on GetProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetProjectResp) XXX_DiscardUnknown ¶
func (m *GetProjectResp) XXX_DiscardUnknown()
func (*GetProjectResp) XXX_Marshal ¶
func (m *GetProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProjectResp) XXX_Merge ¶
func (dst *GetProjectResp) XXX_Merge(src proto.Message)
func (*GetProjectResp) XXX_Size ¶
func (m *GetProjectResp) XXX_Size() int
func (*GetProjectResp) XXX_Unmarshal ¶
func (m *GetProjectResp) XXX_Unmarshal(b []byte) error
type GetProjectRespValidationError ¶
type GetProjectRespValidationError struct {
// contains filtered or unexported fields
}
GetProjectRespValidationError is the validation error returned by GetProjectResp.Validate if the designated constraints aren't met.
func (GetProjectRespValidationError) Cause ¶
func (e GetProjectRespValidationError) Cause() error
Cause function returns cause value.
func (GetProjectRespValidationError) Error ¶
func (e GetProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectRespValidationError) ErrorName ¶
func (e GetProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectRespValidationError) Field ¶
func (e GetProjectRespValidationError) Field() string
Field function returns field value.
func (GetProjectRespValidationError) Key ¶
func (e GetProjectRespValidationError) Key() bool
Key function returns key value.
func (GetProjectRespValidationError) Reason ¶
func (e GetProjectRespValidationError) Reason() string
Reason function returns reason value.
type GetProjectRulesReq ¶
type GetProjectRulesReq struct { ProjectId string `` /* 152-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetProjectRulesReq) Descriptor ¶
func (*GetProjectRulesReq) Descriptor() ([]byte, []int)
func (*GetProjectRulesReq) GetProjectId ¶
func (m *GetProjectRulesReq) GetProjectId() string
func (*GetProjectRulesReq) ProtoMessage ¶
func (*GetProjectRulesReq) ProtoMessage()
func (*GetProjectRulesReq) Reset ¶
func (m *GetProjectRulesReq) Reset()
func (*GetProjectRulesReq) String ¶
func (m *GetProjectRulesReq) String() string
func (*GetProjectRulesReq) Validate ¶
func (m *GetProjectRulesReq) Validate() error
Validate checks the field values on GetProjectRulesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetProjectRulesReq) XXX_DiscardUnknown ¶
func (m *GetProjectRulesReq) XXX_DiscardUnknown()
func (*GetProjectRulesReq) XXX_Marshal ¶
func (m *GetProjectRulesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProjectRulesReq) XXX_Merge ¶
func (dst *GetProjectRulesReq) XXX_Merge(src proto.Message)
func (*GetProjectRulesReq) XXX_Size ¶
func (m *GetProjectRulesReq) XXX_Size() int
func (*GetProjectRulesReq) XXX_Unmarshal ¶
func (m *GetProjectRulesReq) XXX_Unmarshal(b []byte) error
type GetProjectRulesReqValidationError ¶
type GetProjectRulesReqValidationError struct {
// contains filtered or unexported fields
}
GetProjectRulesReqValidationError is the validation error returned by GetProjectRulesReq.Validate if the designated constraints aren't met.
func (GetProjectRulesReqValidationError) Cause ¶
func (e GetProjectRulesReqValidationError) Cause() error
Cause function returns cause value.
func (GetProjectRulesReqValidationError) Error ¶
func (e GetProjectRulesReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectRulesReqValidationError) ErrorName ¶
func (e GetProjectRulesReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectRulesReqValidationError) Field ¶
func (e GetProjectRulesReqValidationError) Field() string
Field function returns field value.
func (GetProjectRulesReqValidationError) Key ¶
func (e GetProjectRulesReqValidationError) Key() bool
Key function returns key value.
func (GetProjectRulesReqValidationError) Reason ¶
func (e GetProjectRulesReqValidationError) Reason() string
Reason function returns reason value.
type GetProjectRulesResp ¶
type GetProjectRulesResp struct { RulesForProject *ProjectRules `` /* 186-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetProjectRulesResp) Descriptor ¶
func (*GetProjectRulesResp) Descriptor() ([]byte, []int)
func (*GetProjectRulesResp) GetRulesForProject ¶
func (m *GetProjectRulesResp) GetRulesForProject() *ProjectRules
func (*GetProjectRulesResp) ProtoMessage ¶
func (*GetProjectRulesResp) ProtoMessage()
func (*GetProjectRulesResp) Reset ¶
func (m *GetProjectRulesResp) Reset()
func (*GetProjectRulesResp) String ¶
func (m *GetProjectRulesResp) String() string
func (*GetProjectRulesResp) Validate ¶
func (m *GetProjectRulesResp) Validate() error
Validate checks the field values on GetProjectRulesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetProjectRulesResp) XXX_DiscardUnknown ¶
func (m *GetProjectRulesResp) XXX_DiscardUnknown()
func (*GetProjectRulesResp) XXX_Marshal ¶
func (m *GetProjectRulesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProjectRulesResp) XXX_Merge ¶
func (dst *GetProjectRulesResp) XXX_Merge(src proto.Message)
func (*GetProjectRulesResp) XXX_Size ¶
func (m *GetProjectRulesResp) XXX_Size() int
func (*GetProjectRulesResp) XXX_Unmarshal ¶
func (m *GetProjectRulesResp) XXX_Unmarshal(b []byte) error
type GetProjectRulesRespValidationError ¶
type GetProjectRulesRespValidationError struct {
// contains filtered or unexported fields
}
GetProjectRulesRespValidationError is the validation error returned by GetProjectRulesResp.Validate if the designated constraints aren't met.
func (GetProjectRulesRespValidationError) Cause ¶
func (e GetProjectRulesRespValidationError) Cause() error
Cause function returns cause value.
func (GetProjectRulesRespValidationError) Error ¶
func (e GetProjectRulesRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectRulesRespValidationError) ErrorName ¶
func (e GetProjectRulesRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectRulesRespValidationError) Field ¶
func (e GetProjectRulesRespValidationError) Field() string
Field function returns field value.
func (GetProjectRulesRespValidationError) Key ¶
func (e GetProjectRulesRespValidationError) Key() bool
Key function returns key value.
func (GetProjectRulesRespValidationError) Reason ¶
func (e GetProjectRulesRespValidationError) Reason() string
Reason function returns reason value.
type GetRoleReq ¶
type GetRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*GetRoleReq) Descriptor ¶
func (*GetRoleReq) Descriptor() ([]byte, []int)
func (*GetRoleReq) GetId ¶
func (m *GetRoleReq) GetId() string
func (*GetRoleReq) ProtoMessage ¶
func (*GetRoleReq) ProtoMessage()
func (*GetRoleReq) Reset ¶
func (m *GetRoleReq) Reset()
func (*GetRoleReq) String ¶
func (m *GetRoleReq) String() string
func (*GetRoleReq) Validate ¶
func (m *GetRoleReq) Validate() error
Validate checks the field values on GetRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetRoleReq) XXX_DiscardUnknown ¶
func (m *GetRoleReq) XXX_DiscardUnknown()
func (*GetRoleReq) XXX_Marshal ¶
func (m *GetRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRoleReq) XXX_Merge ¶
func (dst *GetRoleReq) XXX_Merge(src proto.Message)
func (*GetRoleReq) XXX_Size ¶
func (m *GetRoleReq) XXX_Size() int
func (*GetRoleReq) XXX_Unmarshal ¶
func (m *GetRoleReq) XXX_Unmarshal(b []byte) error
type GetRoleReqValidationError ¶
type GetRoleReqValidationError struct {
// contains filtered or unexported fields
}
GetRoleReqValidationError is the validation error returned by GetRoleReq.Validate if the designated constraints aren't met.
func (GetRoleReqValidationError) Cause ¶
func (e GetRoleReqValidationError) Cause() error
Cause function returns cause value.
func (GetRoleReqValidationError) Error ¶
func (e GetRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleReqValidationError) ErrorName ¶
func (e GetRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleReqValidationError) Field ¶
func (e GetRoleReqValidationError) Field() string
Field function returns field value.
func (GetRoleReqValidationError) Key ¶
func (e GetRoleReqValidationError) Key() bool
Key function returns key value.
func (GetRoleReqValidationError) Reason ¶
func (e GetRoleReqValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedReq ¶
type IsAuthorizedReq struct { Subjects []string `` /* 129-byte string literal not displayed */ Resource string `` /* 129-byte string literal not displayed */ Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
TODO (sr): consider dropping this validation: a) it takes time b) bad input will with certainty lead to an "unauthorized" response
func (*IsAuthorizedReq) Descriptor ¶
func (*IsAuthorizedReq) Descriptor() ([]byte, []int)
func (*IsAuthorizedReq) GetAction ¶
func (m *IsAuthorizedReq) GetAction() string
func (*IsAuthorizedReq) GetResource ¶
func (m *IsAuthorizedReq) GetResource() string
func (*IsAuthorizedReq) GetSubjects ¶
func (m *IsAuthorizedReq) GetSubjects() []string
func (*IsAuthorizedReq) ProtoMessage ¶
func (*IsAuthorizedReq) ProtoMessage()
func (*IsAuthorizedReq) Reset ¶
func (m *IsAuthorizedReq) Reset()
func (*IsAuthorizedReq) String ¶
func (m *IsAuthorizedReq) String() string
func (*IsAuthorizedReq) Validate ¶
func (m *IsAuthorizedReq) Validate() error
Validate checks the field values on IsAuthorizedReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*IsAuthorizedReq) XXX_DiscardUnknown ¶
func (m *IsAuthorizedReq) XXX_DiscardUnknown()
func (*IsAuthorizedReq) XXX_Marshal ¶
func (m *IsAuthorizedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsAuthorizedReq) XXX_Merge ¶
func (dst *IsAuthorizedReq) XXX_Merge(src proto.Message)
func (*IsAuthorizedReq) XXX_Size ¶
func (m *IsAuthorizedReq) XXX_Size() int
func (*IsAuthorizedReq) XXX_Unmarshal ¶
func (m *IsAuthorizedReq) XXX_Unmarshal(b []byte) error
type IsAuthorizedReqValidationError ¶
type IsAuthorizedReqValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedReqValidationError is the validation error returned by IsAuthorizedReq.Validate if the designated constraints aren't met.
func (IsAuthorizedReqValidationError) Cause ¶
func (e IsAuthorizedReqValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedReqValidationError) Error ¶
func (e IsAuthorizedReqValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedReqValidationError) ErrorName ¶
func (e IsAuthorizedReqValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedReqValidationError) Field ¶
func (e IsAuthorizedReqValidationError) Field() string
Field function returns field value.
func (IsAuthorizedReqValidationError) Key ¶
func (e IsAuthorizedReqValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedReqValidationError) Reason ¶
func (e IsAuthorizedReqValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedResp ¶
type IsAuthorizedResp struct { Authorized bool `` /* 138-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*IsAuthorizedResp) Descriptor ¶
func (*IsAuthorizedResp) Descriptor() ([]byte, []int)
func (*IsAuthorizedResp) GetAuthorized ¶
func (m *IsAuthorizedResp) GetAuthorized() bool
func (*IsAuthorizedResp) ProtoMessage ¶
func (*IsAuthorizedResp) ProtoMessage()
func (*IsAuthorizedResp) Reset ¶
func (m *IsAuthorizedResp) Reset()
func (*IsAuthorizedResp) String ¶
func (m *IsAuthorizedResp) String() string
func (*IsAuthorizedResp) Validate ¶
func (m *IsAuthorizedResp) Validate() error
Validate checks the field values on IsAuthorizedResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*IsAuthorizedResp) XXX_DiscardUnknown ¶
func (m *IsAuthorizedResp) XXX_DiscardUnknown()
func (*IsAuthorizedResp) XXX_Marshal ¶
func (m *IsAuthorizedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsAuthorizedResp) XXX_Merge ¶
func (dst *IsAuthorizedResp) XXX_Merge(src proto.Message)
func (*IsAuthorizedResp) XXX_Size ¶
func (m *IsAuthorizedResp) XXX_Size() int
func (*IsAuthorizedResp) XXX_Unmarshal ¶
func (m *IsAuthorizedResp) XXX_Unmarshal(b []byte) error
type IsAuthorizedRespValidationError ¶
type IsAuthorizedRespValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedRespValidationError is the validation error returned by IsAuthorizedResp.Validate if the designated constraints aren't met.
func (IsAuthorizedRespValidationError) Cause ¶
func (e IsAuthorizedRespValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedRespValidationError) Error ¶
func (e IsAuthorizedRespValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedRespValidationError) ErrorName ¶
func (e IsAuthorizedRespValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedRespValidationError) Field ¶
func (e IsAuthorizedRespValidationError) Field() string
Field function returns field value.
func (IsAuthorizedRespValidationError) Key ¶
func (e IsAuthorizedRespValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedRespValidationError) Reason ¶
func (e IsAuthorizedRespValidationError) Reason() string
Reason function returns reason value.
type ListPoliciesReq ¶
type ListPoliciesReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListPoliciesReq) Descriptor ¶
func (*ListPoliciesReq) Descriptor() ([]byte, []int)
func (*ListPoliciesReq) ProtoMessage ¶
func (*ListPoliciesReq) ProtoMessage()
func (*ListPoliciesReq) Reset ¶
func (m *ListPoliciesReq) Reset()
func (*ListPoliciesReq) String ¶
func (m *ListPoliciesReq) String() string
func (*ListPoliciesReq) Validate ¶
func (m *ListPoliciesReq) Validate() error
Validate checks the field values on ListPoliciesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListPoliciesReq) XXX_DiscardUnknown ¶
func (m *ListPoliciesReq) XXX_DiscardUnknown()
func (*ListPoliciesReq) XXX_Marshal ¶
func (m *ListPoliciesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPoliciesReq) XXX_Merge ¶
func (dst *ListPoliciesReq) XXX_Merge(src proto.Message)
func (*ListPoliciesReq) XXX_Size ¶
func (m *ListPoliciesReq) XXX_Size() int
func (*ListPoliciesReq) XXX_Unmarshal ¶
func (m *ListPoliciesReq) XXX_Unmarshal(b []byte) error
type ListPoliciesReqValidationError ¶
type ListPoliciesReqValidationError struct {
// contains filtered or unexported fields
}
ListPoliciesReqValidationError is the validation error returned by ListPoliciesReq.Validate if the designated constraints aren't met.
func (ListPoliciesReqValidationError) Cause ¶
func (e ListPoliciesReqValidationError) Cause() error
Cause function returns cause value.
func (ListPoliciesReqValidationError) Error ¶
func (e ListPoliciesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListPoliciesReqValidationError) ErrorName ¶
func (e ListPoliciesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListPoliciesReqValidationError) Field ¶
func (e ListPoliciesReqValidationError) Field() string
Field function returns field value.
func (ListPoliciesReqValidationError) Key ¶
func (e ListPoliciesReqValidationError) Key() bool
Key function returns key value.
func (ListPoliciesReqValidationError) Reason ¶
func (e ListPoliciesReqValidationError) Reason() string
Reason function returns reason value.
type ListPoliciesResp ¶
type ListPoliciesResp struct { Policies []*Policy `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListPoliciesResp) Descriptor ¶
func (*ListPoliciesResp) Descriptor() ([]byte, []int)
func (*ListPoliciesResp) GetPolicies ¶
func (m *ListPoliciesResp) GetPolicies() []*Policy
func (*ListPoliciesResp) ProtoMessage ¶
func (*ListPoliciesResp) ProtoMessage()
func (*ListPoliciesResp) Reset ¶
func (m *ListPoliciesResp) Reset()
func (*ListPoliciesResp) String ¶
func (m *ListPoliciesResp) String() string
func (*ListPoliciesResp) Validate ¶
func (m *ListPoliciesResp) Validate() error
Validate checks the field values on ListPoliciesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListPoliciesResp) XXX_DiscardUnknown ¶
func (m *ListPoliciesResp) XXX_DiscardUnknown()
func (*ListPoliciesResp) XXX_Marshal ¶
func (m *ListPoliciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPoliciesResp) XXX_Merge ¶
func (dst *ListPoliciesResp) XXX_Merge(src proto.Message)
func (*ListPoliciesResp) XXX_Size ¶
func (m *ListPoliciesResp) XXX_Size() int
func (*ListPoliciesResp) XXX_Unmarshal ¶
func (m *ListPoliciesResp) XXX_Unmarshal(b []byte) error
type ListPoliciesRespValidationError ¶
type ListPoliciesRespValidationError struct {
// contains filtered or unexported fields
}
ListPoliciesRespValidationError is the validation error returned by ListPoliciesResp.Validate if the designated constraints aren't met.
func (ListPoliciesRespValidationError) Cause ¶
func (e ListPoliciesRespValidationError) Cause() error
Cause function returns cause value.
func (ListPoliciesRespValidationError) Error ¶
func (e ListPoliciesRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListPoliciesRespValidationError) ErrorName ¶
func (e ListPoliciesRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListPoliciesRespValidationError) Field ¶
func (e ListPoliciesRespValidationError) Field() string
Field function returns field value.
func (ListPoliciesRespValidationError) Key ¶
func (e ListPoliciesRespValidationError) Key() bool
Key function returns key value.
func (ListPoliciesRespValidationError) Reason ¶
func (e ListPoliciesRespValidationError) Reason() string
Reason function returns reason value.
type ListPolicyMembersReq ¶
type ListPolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListPolicyMembersReq) Descriptor ¶
func (*ListPolicyMembersReq) Descriptor() ([]byte, []int)
func (*ListPolicyMembersReq) GetId ¶
func (m *ListPolicyMembersReq) GetId() string
func (*ListPolicyMembersReq) ProtoMessage ¶
func (*ListPolicyMembersReq) ProtoMessage()
func (*ListPolicyMembersReq) Reset ¶
func (m *ListPolicyMembersReq) Reset()
func (*ListPolicyMembersReq) String ¶
func (m *ListPolicyMembersReq) String() string
func (*ListPolicyMembersReq) Validate ¶
func (m *ListPolicyMembersReq) Validate() error
Validate checks the field values on ListPolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListPolicyMembersReq) XXX_DiscardUnknown ¶
func (m *ListPolicyMembersReq) XXX_DiscardUnknown()
func (*ListPolicyMembersReq) XXX_Marshal ¶
func (m *ListPolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPolicyMembersReq) XXX_Merge ¶
func (dst *ListPolicyMembersReq) XXX_Merge(src proto.Message)
func (*ListPolicyMembersReq) XXX_Size ¶
func (m *ListPolicyMembersReq) XXX_Size() int
func (*ListPolicyMembersReq) XXX_Unmarshal ¶
func (m *ListPolicyMembersReq) XXX_Unmarshal(b []byte) error
type ListPolicyMembersReqValidationError ¶
type ListPolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
ListPolicyMembersReqValidationError is the validation error returned by ListPolicyMembersReq.Validate if the designated constraints aren't met.
func (ListPolicyMembersReqValidationError) Cause ¶
func (e ListPolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (ListPolicyMembersReqValidationError) Error ¶
func (e ListPolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListPolicyMembersReqValidationError) ErrorName ¶
func (e ListPolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListPolicyMembersReqValidationError) Field ¶
func (e ListPolicyMembersReqValidationError) Field() string
Field function returns field value.
func (ListPolicyMembersReqValidationError) Key ¶
func (e ListPolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (ListPolicyMembersReqValidationError) Reason ¶
func (e ListPolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type ListPolicyMembersResp ¶
type ListPolicyMembersResp struct { Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListPolicyMembersResp) Descriptor ¶
func (*ListPolicyMembersResp) Descriptor() ([]byte, []int)
func (*ListPolicyMembersResp) GetMembers ¶
func (m *ListPolicyMembersResp) GetMembers() []string
func (*ListPolicyMembersResp) ProtoMessage ¶
func (*ListPolicyMembersResp) ProtoMessage()
func (*ListPolicyMembersResp) Reset ¶
func (m *ListPolicyMembersResp) Reset()
func (*ListPolicyMembersResp) String ¶
func (m *ListPolicyMembersResp) String() string
func (*ListPolicyMembersResp) Validate ¶
func (m *ListPolicyMembersResp) Validate() error
Validate checks the field values on ListPolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListPolicyMembersResp) XXX_DiscardUnknown ¶
func (m *ListPolicyMembersResp) XXX_DiscardUnknown()
func (*ListPolicyMembersResp) XXX_Marshal ¶
func (m *ListPolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPolicyMembersResp) XXX_Merge ¶
func (dst *ListPolicyMembersResp) XXX_Merge(src proto.Message)
func (*ListPolicyMembersResp) XXX_Size ¶
func (m *ListPolicyMembersResp) XXX_Size() int
func (*ListPolicyMembersResp) XXX_Unmarshal ¶
func (m *ListPolicyMembersResp) XXX_Unmarshal(b []byte) error
type ListPolicyMembersRespValidationError ¶
type ListPolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
ListPolicyMembersRespValidationError is the validation error returned by ListPolicyMembersResp.Validate if the designated constraints aren't met.
func (ListPolicyMembersRespValidationError) Cause ¶
func (e ListPolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (ListPolicyMembersRespValidationError) Error ¶
func (e ListPolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListPolicyMembersRespValidationError) ErrorName ¶
func (e ListPolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListPolicyMembersRespValidationError) Field ¶
func (e ListPolicyMembersRespValidationError) Field() string
Field function returns field value.
func (ListPolicyMembersRespValidationError) Key ¶
func (e ListPolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (ListPolicyMembersRespValidationError) Reason ¶
func (e ListPolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type ListProjectRulesReq ¶
type ListProjectRulesReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListProjectRulesReq) Descriptor ¶
func (*ListProjectRulesReq) Descriptor() ([]byte, []int)
func (*ListProjectRulesReq) ProtoMessage ¶
func (*ListProjectRulesReq) ProtoMessage()
func (*ListProjectRulesReq) Reset ¶
func (m *ListProjectRulesReq) Reset()
func (*ListProjectRulesReq) String ¶
func (m *ListProjectRulesReq) String() string
func (*ListProjectRulesReq) Validate ¶
func (m *ListProjectRulesReq) Validate() error
Validate checks the field values on ListProjectRulesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListProjectRulesReq) XXX_DiscardUnknown ¶
func (m *ListProjectRulesReq) XXX_DiscardUnknown()
func (*ListProjectRulesReq) XXX_Marshal ¶
func (m *ListProjectRulesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProjectRulesReq) XXX_Merge ¶
func (dst *ListProjectRulesReq) XXX_Merge(src proto.Message)
func (*ListProjectRulesReq) XXX_Size ¶
func (m *ListProjectRulesReq) XXX_Size() int
func (*ListProjectRulesReq) XXX_Unmarshal ¶
func (m *ListProjectRulesReq) XXX_Unmarshal(b []byte) error
type ListProjectRulesReqValidationError ¶
type ListProjectRulesReqValidationError struct {
// contains filtered or unexported fields
}
ListProjectRulesReqValidationError is the validation error returned by ListProjectRulesReq.Validate if the designated constraints aren't met.
func (ListProjectRulesReqValidationError) Cause ¶
func (e ListProjectRulesReqValidationError) Cause() error
Cause function returns cause value.
func (ListProjectRulesReqValidationError) Error ¶
func (e ListProjectRulesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListProjectRulesReqValidationError) ErrorName ¶
func (e ListProjectRulesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListProjectRulesReqValidationError) Field ¶
func (e ListProjectRulesReqValidationError) Field() string
Field function returns field value.
func (ListProjectRulesReqValidationError) Key ¶
func (e ListProjectRulesReqValidationError) Key() bool
Key function returns key value.
func (ListProjectRulesReqValidationError) Reason ¶
func (e ListProjectRulesReqValidationError) Reason() string
Reason function returns reason value.
type ListProjectsReq ¶
type ListProjectsReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListProjectsReq) Descriptor ¶
func (*ListProjectsReq) Descriptor() ([]byte, []int)
func (*ListProjectsReq) ProtoMessage ¶
func (*ListProjectsReq) ProtoMessage()
func (*ListProjectsReq) Reset ¶
func (m *ListProjectsReq) Reset()
func (*ListProjectsReq) String ¶
func (m *ListProjectsReq) String() string
func (*ListProjectsReq) Validate ¶
func (m *ListProjectsReq) Validate() error
Validate checks the field values on ListProjectsReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListProjectsReq) XXX_DiscardUnknown ¶
func (m *ListProjectsReq) XXX_DiscardUnknown()
func (*ListProjectsReq) XXX_Marshal ¶
func (m *ListProjectsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProjectsReq) XXX_Merge ¶
func (dst *ListProjectsReq) XXX_Merge(src proto.Message)
func (*ListProjectsReq) XXX_Size ¶
func (m *ListProjectsReq) XXX_Size() int
func (*ListProjectsReq) XXX_Unmarshal ¶
func (m *ListProjectsReq) XXX_Unmarshal(b []byte) error
type ListProjectsReqValidationError ¶
type ListProjectsReqValidationError struct {
// contains filtered or unexported fields
}
ListProjectsReqValidationError is the validation error returned by ListProjectsReq.Validate if the designated constraints aren't met.
func (ListProjectsReqValidationError) Cause ¶
func (e ListProjectsReqValidationError) Cause() error
Cause function returns cause value.
func (ListProjectsReqValidationError) Error ¶
func (e ListProjectsReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListProjectsReqValidationError) ErrorName ¶
func (e ListProjectsReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListProjectsReqValidationError) Field ¶
func (e ListProjectsReqValidationError) Field() string
Field function returns field value.
func (ListProjectsReqValidationError) Key ¶
func (e ListProjectsReqValidationError) Key() bool
Key function returns key value.
func (ListProjectsReqValidationError) Reason ¶
func (e ListProjectsReqValidationError) Reason() string
Reason function returns reason value.
type ListProjectsResp ¶
type ListProjectsResp struct { Projects []*Project `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListProjectsResp) Descriptor ¶
func (*ListProjectsResp) Descriptor() ([]byte, []int)
func (*ListProjectsResp) GetProjects ¶
func (m *ListProjectsResp) GetProjects() []*Project
func (*ListProjectsResp) ProtoMessage ¶
func (*ListProjectsResp) ProtoMessage()
func (*ListProjectsResp) Reset ¶
func (m *ListProjectsResp) Reset()
func (*ListProjectsResp) String ¶
func (m *ListProjectsResp) String() string
func (*ListProjectsResp) Validate ¶
func (m *ListProjectsResp) Validate() error
Validate checks the field values on ListProjectsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListProjectsResp) XXX_DiscardUnknown ¶
func (m *ListProjectsResp) XXX_DiscardUnknown()
func (*ListProjectsResp) XXX_Marshal ¶
func (m *ListProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProjectsResp) XXX_Merge ¶
func (dst *ListProjectsResp) XXX_Merge(src proto.Message)
func (*ListProjectsResp) XXX_Size ¶
func (m *ListProjectsResp) XXX_Size() int
func (*ListProjectsResp) XXX_Unmarshal ¶
func (m *ListProjectsResp) XXX_Unmarshal(b []byte) error
type ListProjectsRespValidationError ¶
type ListProjectsRespValidationError struct {
// contains filtered or unexported fields
}
ListProjectsRespValidationError is the validation error returned by ListProjectsResp.Validate if the designated constraints aren't met.
func (ListProjectsRespValidationError) Cause ¶
func (e ListProjectsRespValidationError) Cause() error
Cause function returns cause value.
func (ListProjectsRespValidationError) Error ¶
func (e ListProjectsRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListProjectsRespValidationError) ErrorName ¶
func (e ListProjectsRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListProjectsRespValidationError) Field ¶
func (e ListProjectsRespValidationError) Field() string
Field function returns field value.
func (ListProjectsRespValidationError) Key ¶
func (e ListProjectsRespValidationError) Key() bool
Key function returns key value.
func (ListProjectsRespValidationError) Reason ¶
func (e ListProjectsRespValidationError) Reason() string
Reason function returns reason value.
type ListRolesReq ¶
type ListRolesReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListRolesReq) Descriptor ¶
func (*ListRolesReq) Descriptor() ([]byte, []int)
func (*ListRolesReq) ProtoMessage ¶
func (*ListRolesReq) ProtoMessage()
func (*ListRolesReq) Reset ¶
func (m *ListRolesReq) Reset()
func (*ListRolesReq) String ¶
func (m *ListRolesReq) String() string
func (*ListRolesReq) Validate ¶
func (m *ListRolesReq) Validate() error
Validate checks the field values on ListRolesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListRolesReq) XXX_DiscardUnknown ¶
func (m *ListRolesReq) XXX_DiscardUnknown()
func (*ListRolesReq) XXX_Marshal ¶
func (m *ListRolesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRolesReq) XXX_Merge ¶
func (dst *ListRolesReq) XXX_Merge(src proto.Message)
func (*ListRolesReq) XXX_Size ¶
func (m *ListRolesReq) XXX_Size() int
func (*ListRolesReq) XXX_Unmarshal ¶
func (m *ListRolesReq) XXX_Unmarshal(b []byte) error
type ListRolesReqValidationError ¶
type ListRolesReqValidationError struct {
// contains filtered or unexported fields
}
ListRolesReqValidationError is the validation error returned by ListRolesReq.Validate if the designated constraints aren't met.
func (ListRolesReqValidationError) Cause ¶
func (e ListRolesReqValidationError) Cause() error
Cause function returns cause value.
func (ListRolesReqValidationError) Error ¶
func (e ListRolesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListRolesReqValidationError) ErrorName ¶
func (e ListRolesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListRolesReqValidationError) Field ¶
func (e ListRolesReqValidationError) Field() string
Field function returns field value.
func (ListRolesReqValidationError) Key ¶
func (e ListRolesReqValidationError) Key() bool
Key function returns key value.
func (ListRolesReqValidationError) Reason ¶
func (e ListRolesReqValidationError) Reason() string
Reason function returns reason value.
type ListRolesResp ¶
type ListRolesResp struct { Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" toml:"roles,omitempty" mapstructure:"roles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ListRolesResp) Descriptor ¶
func (*ListRolesResp) Descriptor() ([]byte, []int)
func (*ListRolesResp) GetRoles ¶
func (m *ListRolesResp) GetRoles() []*Role
func (*ListRolesResp) ProtoMessage ¶
func (*ListRolesResp) ProtoMessage()
func (*ListRolesResp) Reset ¶
func (m *ListRolesResp) Reset()
func (*ListRolesResp) String ¶
func (m *ListRolesResp) String() string
func (*ListRolesResp) Validate ¶
func (m *ListRolesResp) Validate() error
Validate checks the field values on ListRolesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListRolesResp) XXX_DiscardUnknown ¶
func (m *ListRolesResp) XXX_DiscardUnknown()
func (*ListRolesResp) XXX_Marshal ¶
func (m *ListRolesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRolesResp) XXX_Merge ¶
func (dst *ListRolesResp) XXX_Merge(src proto.Message)
func (*ListRolesResp) XXX_Size ¶
func (m *ListRolesResp) XXX_Size() int
func (*ListRolesResp) XXX_Unmarshal ¶
func (m *ListRolesResp) XXX_Unmarshal(b []byte) error
type ListRolesRespValidationError ¶
type ListRolesRespValidationError struct {
// contains filtered or unexported fields
}
ListRolesRespValidationError is the validation error returned by ListRolesResp.Validate if the designated constraints aren't met.
func (ListRolesRespValidationError) Cause ¶
func (e ListRolesRespValidationError) Cause() error
Cause function returns cause value.
func (ListRolesRespValidationError) Error ¶
func (e ListRolesRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListRolesRespValidationError) ErrorName ¶
func (e ListRolesRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListRolesRespValidationError) Field ¶
func (e ListRolesRespValidationError) Field() string
Field function returns field value.
func (ListRolesRespValidationError) Key ¶
func (e ListRolesRespValidationError) Key() bool
Key function returns key value.
func (ListRolesRespValidationError) Reason ¶
func (e ListRolesRespValidationError) Reason() string
Reason function returns reason value.
type MigrateToV2Req ¶
type MigrateToV2Req struct { Flag Flag `` /* 154-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*MigrateToV2Req) Descriptor ¶
func (*MigrateToV2Req) Descriptor() ([]byte, []int)
func (*MigrateToV2Req) GetFlag ¶
func (m *MigrateToV2Req) GetFlag() Flag
func (*MigrateToV2Req) ProtoMessage ¶
func (*MigrateToV2Req) ProtoMessage()
func (*MigrateToV2Req) Reset ¶
func (m *MigrateToV2Req) Reset()
func (*MigrateToV2Req) String ¶
func (m *MigrateToV2Req) String() string
func (*MigrateToV2Req) Validate ¶
func (m *MigrateToV2Req) Validate() error
Validate checks the field values on MigrateToV2Req with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*MigrateToV2Req) XXX_DiscardUnknown ¶
func (m *MigrateToV2Req) XXX_DiscardUnknown()
func (*MigrateToV2Req) XXX_Marshal ¶
func (m *MigrateToV2Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MigrateToV2Req) XXX_Merge ¶
func (dst *MigrateToV2Req) XXX_Merge(src proto.Message)
func (*MigrateToV2Req) XXX_Size ¶
func (m *MigrateToV2Req) XXX_Size() int
func (*MigrateToV2Req) XXX_Unmarshal ¶
func (m *MigrateToV2Req) XXX_Unmarshal(b []byte) error
type MigrateToV2ReqValidationError ¶
type MigrateToV2ReqValidationError struct {
// contains filtered or unexported fields
}
MigrateToV2ReqValidationError is the validation error returned by MigrateToV2Req.Validate if the designated constraints aren't met.
func (MigrateToV2ReqValidationError) Cause ¶
func (e MigrateToV2ReqValidationError) Cause() error
Cause function returns cause value.
func (MigrateToV2ReqValidationError) Error ¶
func (e MigrateToV2ReqValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateToV2ReqValidationError) ErrorName ¶
func (e MigrateToV2ReqValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateToV2ReqValidationError) Field ¶
func (e MigrateToV2ReqValidationError) Field() string
Field function returns field value.
func (MigrateToV2ReqValidationError) Key ¶
func (e MigrateToV2ReqValidationError) Key() bool
Key function returns key value.
func (MigrateToV2ReqValidationError) Reason ¶
func (e MigrateToV2ReqValidationError) Reason() string
Reason function returns reason value.
type MigrateToV2Resp ¶
type MigrateToV2Resp struct { Reports []string `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*MigrateToV2Resp) Descriptor ¶
func (*MigrateToV2Resp) Descriptor() ([]byte, []int)
func (*MigrateToV2Resp) GetReports ¶
func (m *MigrateToV2Resp) GetReports() []string
func (*MigrateToV2Resp) ProtoMessage ¶
func (*MigrateToV2Resp) ProtoMessage()
func (*MigrateToV2Resp) Reset ¶
func (m *MigrateToV2Resp) Reset()
func (*MigrateToV2Resp) String ¶
func (m *MigrateToV2Resp) String() string
func (*MigrateToV2Resp) Validate ¶
func (m *MigrateToV2Resp) Validate() error
Validate checks the field values on MigrateToV2Resp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*MigrateToV2Resp) XXX_DiscardUnknown ¶
func (m *MigrateToV2Resp) XXX_DiscardUnknown()
func (*MigrateToV2Resp) XXX_Marshal ¶
func (m *MigrateToV2Resp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MigrateToV2Resp) XXX_Merge ¶
func (dst *MigrateToV2Resp) XXX_Merge(src proto.Message)
func (*MigrateToV2Resp) XXX_Size ¶
func (m *MigrateToV2Resp) XXX_Size() int
func (*MigrateToV2Resp) XXX_Unmarshal ¶
func (m *MigrateToV2Resp) XXX_Unmarshal(b []byte) error
type MigrateToV2RespValidationError ¶
type MigrateToV2RespValidationError struct {
// contains filtered or unexported fields
}
MigrateToV2RespValidationError is the validation error returned by MigrateToV2Resp.Validate if the designated constraints aren't met.
func (MigrateToV2RespValidationError) Cause ¶
func (e MigrateToV2RespValidationError) Cause() error
Cause function returns cause value.
func (MigrateToV2RespValidationError) Error ¶
func (e MigrateToV2RespValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateToV2RespValidationError) ErrorName ¶
func (e MigrateToV2RespValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateToV2RespValidationError) Field ¶
func (e MigrateToV2RespValidationError) Field() string
Field function returns field value.
func (MigrateToV2RespValidationError) Key ¶
func (e MigrateToV2RespValidationError) Key() bool
Key function returns key value.
func (MigrateToV2RespValidationError) Reason ¶
func (e MigrateToV2RespValidationError) Reason() string
Reason function returns reason value.
type MockProjectsClient ¶
type MockProjectsClient struct {
// contains filtered or unexported fields
}
MockProjectsClient is a mock of ProjectsClient interface
func NewMockProjectsClient ¶
func NewMockProjectsClient(ctrl *gomock.Controller) *MockProjectsClient
NewMockProjectsClient creates a new mock instance
func (*MockProjectsClient) CreateProject ¶
func (m *MockProjectsClient) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error)
CreateProject mocks base method
func (*MockProjectsClient) DeleteProject ¶
func (m *MockProjectsClient) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error)
DeleteProject mocks base method
func (*MockProjectsClient) EXPECT ¶
func (m *MockProjectsClient) EXPECT() *MockProjectsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProjectsClient) GetProject ¶
func (m *MockProjectsClient) GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error)
GetProject mocks base method
func (*MockProjectsClient) GetProjectRules ¶
func (m *MockProjectsClient) GetProjectRules(ctx context.Context, in *GetProjectRulesReq, opts ...grpc.CallOption) (*GetProjectRulesResp, error)
GetProjectRules mocks base method
func (*MockProjectsClient) HandleEvent ¶
func (m *MockProjectsClient) HandleEvent(ctx context.Context, in *event.EventMsg, opts ...grpc.CallOption) (*event.EventResponse, error)
HandleEvent mocks base method
func (*MockProjectsClient) ListProjectRules ¶
func (m *MockProjectsClient) ListProjectRules(ctx context.Context, in *ListProjectRulesReq, opts ...grpc.CallOption) (*ProjectCollectionRulesResp, error)
ListProjectRules mocks base method
func (*MockProjectsClient) ListProjects ¶
func (m *MockProjectsClient) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)
ListProjects mocks base method
func (*MockProjectsClient) ProjectUpdateCancel ¶
func (m *MockProjectsClient) ProjectUpdateCancel(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateCancelResp, error)
ProjectUpdateCancel mocks base method
func (*MockProjectsClient) ProjectUpdateStatus ¶
func (m *MockProjectsClient) ProjectUpdateStatus(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateStatusResp, error)
ProjectUpdateStatus mocks base method
func (*MockProjectsClient) UpdateProject ¶
func (m *MockProjectsClient) UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error)
UpdateProject mocks base method
type MockProjectsClientMockRecorder ¶
type MockProjectsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsClientMockRecorder is the mock recorder for MockProjectsClient
func (*MockProjectsClientMockRecorder) CreateProject ¶
func (mr *MockProjectsClientMockRecorder) CreateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject
func (*MockProjectsClientMockRecorder) DeleteProject ¶
func (mr *MockProjectsClientMockRecorder) DeleteProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject
func (*MockProjectsClientMockRecorder) GetProject ¶
func (mr *MockProjectsClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetProject indicates an expected call of GetProject
func (*MockProjectsClientMockRecorder) GetProjectRules ¶
func (mr *MockProjectsClientMockRecorder) GetProjectRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetProjectRules indicates an expected call of GetProjectRules
func (*MockProjectsClientMockRecorder) HandleEvent ¶
func (mr *MockProjectsClientMockRecorder) HandleEvent(ctx, in interface{}, opts ...interface{}) *gomock.Call
HandleEvent indicates an expected call of HandleEvent
func (*MockProjectsClientMockRecorder) ListProjectRules ¶
func (mr *MockProjectsClientMockRecorder) ListProjectRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListProjectRules indicates an expected call of ListProjectRules
func (*MockProjectsClientMockRecorder) ListProjects ¶
func (mr *MockProjectsClientMockRecorder) ListProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects
func (*MockProjectsClientMockRecorder) ProjectUpdateCancel ¶
func (mr *MockProjectsClientMockRecorder) ProjectUpdateCancel(ctx, in interface{}, opts ...interface{}) *gomock.Call
ProjectUpdateCancel indicates an expected call of ProjectUpdateCancel
func (*MockProjectsClientMockRecorder) ProjectUpdateStatus ¶
func (mr *MockProjectsClientMockRecorder) ProjectUpdateStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
ProjectUpdateStatus indicates an expected call of ProjectUpdateStatus
func (*MockProjectsClientMockRecorder) UpdateProject ¶
func (mr *MockProjectsClientMockRecorder) UpdateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject
type MockProjectsServer ¶
type MockProjectsServer struct {
// contains filtered or unexported fields
}
MockProjectsServer is a mock of ProjectsServer interface
func NewMockProjectsServer ¶
func NewMockProjectsServer(ctrl *gomock.Controller) *MockProjectsServer
NewMockProjectsServer creates a new mock instance
func (*MockProjectsServer) CreateProject ¶
func (m *MockProjectsServer) CreateProject(arg0 context.Context, arg1 *CreateProjectReq) (*CreateProjectResp, error)
CreateProject mocks base method
func (*MockProjectsServer) DeleteProject ¶
func (m *MockProjectsServer) DeleteProject(arg0 context.Context, arg1 *DeleteProjectReq) (*DeleteProjectResp, error)
DeleteProject mocks base method
func (*MockProjectsServer) EXPECT ¶
func (m *MockProjectsServer) EXPECT() *MockProjectsServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProjectsServer) GetProject ¶
func (m *MockProjectsServer) GetProject(arg0 context.Context, arg1 *GetProjectReq) (*GetProjectResp, error)
GetProject mocks base method
func (*MockProjectsServer) GetProjectRules ¶
func (m *MockProjectsServer) GetProjectRules(arg0 context.Context, arg1 *GetProjectRulesReq) (*GetProjectRulesResp, error)
GetProjectRules mocks base method
func (*MockProjectsServer) HandleEvent ¶
func (m *MockProjectsServer) HandleEvent(arg0 context.Context, arg1 *event.EventMsg) (*event.EventResponse, error)
HandleEvent mocks base method
func (*MockProjectsServer) ListProjectRules ¶
func (m *MockProjectsServer) ListProjectRules(arg0 context.Context, arg1 *ListProjectRulesReq) (*ProjectCollectionRulesResp, error)
ListProjectRules mocks base method
func (*MockProjectsServer) ListProjects ¶
func (m *MockProjectsServer) ListProjects(arg0 context.Context, arg1 *ListProjectsReq) (*ListProjectsResp, error)
ListProjects mocks base method
func (*MockProjectsServer) ProjectUpdateCancel ¶
func (m *MockProjectsServer) ProjectUpdateCancel(arg0 context.Context, arg1 *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error)
ProjectUpdateCancel mocks base method
func (*MockProjectsServer) ProjectUpdateStatus ¶
func (m *MockProjectsServer) ProjectUpdateStatus(arg0 context.Context, arg1 *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error)
ProjectUpdateStatus mocks base method
func (*MockProjectsServer) UpdateProject ¶
func (m *MockProjectsServer) UpdateProject(arg0 context.Context, arg1 *UpdateProjectReq) (*UpdateProjectResp, error)
UpdateProject mocks base method
type MockProjectsServerMockRecorder ¶
type MockProjectsServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsServerMockRecorder is the mock recorder for MockProjectsServer
func (*MockProjectsServerMockRecorder) CreateProject ¶
func (mr *MockProjectsServerMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject
func (*MockProjectsServerMockRecorder) DeleteProject ¶
func (mr *MockProjectsServerMockRecorder) DeleteProject(arg0, arg1 interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject
func (*MockProjectsServerMockRecorder) GetProject ¶
func (mr *MockProjectsServerMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
GetProject indicates an expected call of GetProject
func (*MockProjectsServerMockRecorder) GetProjectRules ¶
func (mr *MockProjectsServerMockRecorder) GetProjectRules(arg0, arg1 interface{}) *gomock.Call
GetProjectRules indicates an expected call of GetProjectRules
func (*MockProjectsServerMockRecorder) HandleEvent ¶
func (mr *MockProjectsServerMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call
HandleEvent indicates an expected call of HandleEvent
func (*MockProjectsServerMockRecorder) ListProjectRules ¶
func (mr *MockProjectsServerMockRecorder) ListProjectRules(arg0, arg1 interface{}) *gomock.Call
ListProjectRules indicates an expected call of ListProjectRules
func (*MockProjectsServerMockRecorder) ListProjects ¶
func (mr *MockProjectsServerMockRecorder) ListProjects(arg0, arg1 interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects
func (*MockProjectsServerMockRecorder) ProjectUpdateCancel ¶
func (mr *MockProjectsServerMockRecorder) ProjectUpdateCancel(arg0, arg1 interface{}) *gomock.Call
ProjectUpdateCancel indicates an expected call of ProjectUpdateCancel
func (*MockProjectsServerMockRecorder) ProjectUpdateStatus ¶
func (mr *MockProjectsServerMockRecorder) ProjectUpdateStatus(arg0, arg1 interface{}) *gomock.Call
ProjectUpdateStatus indicates an expected call of ProjectUpdateStatus
func (*MockProjectsServerMockRecorder) UpdateProject ¶
func (mr *MockProjectsServerMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject
type Pair ¶
type Pair struct { Resource string `` /* 129-byte string literal not displayed */ Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*Pair) Descriptor ¶
func (*Pair) GetResource ¶
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
func (*Pair) Validate ¶
Validate checks the field values on Pair with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Pair) XXX_DiscardUnknown ¶
func (m *Pair) XXX_DiscardUnknown()
func (*Pair) XXX_Unmarshal ¶
type PairValidationError ¶
type PairValidationError struct {
// contains filtered or unexported fields
}
PairValidationError is the validation error returned by Pair.Validate if the designated constraints aren't met.
func (PairValidationError) Cause ¶
func (e PairValidationError) Cause() error
Cause function returns cause value.
func (PairValidationError) Error ¶
func (e PairValidationError) Error() string
Error satisfies the builtin error interface
func (PairValidationError) ErrorName ¶
func (e PairValidationError) ErrorName() string
ErrorName returns error name.
func (PairValidationError) Field ¶
func (e PairValidationError) Field() string
Field function returns field value.
func (PairValidationError) Key ¶
func (e PairValidationError) Key() bool
Key function returns key value.
func (PairValidationError) Reason ¶
func (e PairValidationError) Reason() string
Reason function returns reason value.
type PoliciesClient ¶
type PoliciesClient interface { ReplacePolicyMembers(ctx context.Context, in *ReplacePolicyMembersReq, opts ...grpc.CallOption) (*ReplacePolicyMembersResp, error) CreatePolicy(ctx context.Context, in *CreatePolicyReq, opts ...grpc.CallOption) (*Policy, error) DeletePolicy(ctx context.Context, in *DeletePolicyReq, opts ...grpc.CallOption) (*DeletePolicyResp, error) ListPolicies(ctx context.Context, in *ListPoliciesReq, opts ...grpc.CallOption) (*ListPoliciesResp, error) GetPolicy(ctx context.Context, in *GetPolicyReq, opts ...grpc.CallOption) (*Policy, error) UpdatePolicy(ctx context.Context, in *UpdatePolicyReq, opts ...grpc.CallOption) (*Policy, error) MigrateToV2(ctx context.Context, in *MigrateToV2Req, opts ...grpc.CallOption) (*MigrateToV2Resp, error) GetPolicyVersion(ctx context.Context, in *GetPolicyVersionReq, opts ...grpc.CallOption) (*GetPolicyVersionResp, error) ResetToV1(ctx context.Context, in *ResetToV1Req, opts ...grpc.CallOption) (*ResetToV1Resp, error) CreateRole(ctx context.Context, in *CreateRoleReq, opts ...grpc.CallOption) (*Role, error) ListRoles(ctx context.Context, in *ListRolesReq, opts ...grpc.CallOption) (*ListRolesResp, error) GetRole(ctx context.Context, in *GetRoleReq, opts ...grpc.CallOption) (*Role, error) DeleteRole(ctx context.Context, in *DeleteRoleReq, opts ...grpc.CallOption) (*DeleteRoleResp, error) UpdateRole(ctx context.Context, in *UpdateRoleReq, opts ...grpc.CallOption) (*Role, error) ListPolicyMembers(ctx context.Context, in *ListPolicyMembersReq, opts ...grpc.CallOption) (*ListPolicyMembersResp, error) RemovePolicyMembers(ctx context.Context, in *RemovePolicyMembersReq, opts ...grpc.CallOption) (*RemovePolicyMembersResp, error) AddPolicyMembers(ctx context.Context, in *AddPolicyMembersReq, opts ...grpc.CallOption) (*AddPolicyMembersResp, error) PurgeSubjectFromPolicies(ctx context.Context, in *PurgeSubjectFromPoliciesReq, opts ...grpc.CallOption) (*PurgeSubjectFromPoliciesResp, error) }
PoliciesClient is the client API for Policies service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPoliciesClient ¶
func NewPoliciesClient(cc *grpc.ClientConn) PoliciesClient
type PoliciesServer ¶
type PoliciesServer interface { ReplacePolicyMembers(context.Context, *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error) CreatePolicy(context.Context, *CreatePolicyReq) (*Policy, error) DeletePolicy(context.Context, *DeletePolicyReq) (*DeletePolicyResp, error) ListPolicies(context.Context, *ListPoliciesReq) (*ListPoliciesResp, error) GetPolicy(context.Context, *GetPolicyReq) (*Policy, error) UpdatePolicy(context.Context, *UpdatePolicyReq) (*Policy, error) MigrateToV2(context.Context, *MigrateToV2Req) (*MigrateToV2Resp, error) GetPolicyVersion(context.Context, *GetPolicyVersionReq) (*GetPolicyVersionResp, error) ResetToV1(context.Context, *ResetToV1Req) (*ResetToV1Resp, error) CreateRole(context.Context, *CreateRoleReq) (*Role, error) ListRoles(context.Context, *ListRolesReq) (*ListRolesResp, error) GetRole(context.Context, *GetRoleReq) (*Role, error) DeleteRole(context.Context, *DeleteRoleReq) (*DeleteRoleResp, error) UpdateRole(context.Context, *UpdateRoleReq) (*Role, error) ListPolicyMembers(context.Context, *ListPolicyMembersReq) (*ListPolicyMembersResp, error) RemovePolicyMembers(context.Context, *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error) AddPolicyMembers(context.Context, *AddPolicyMembersReq) (*AddPolicyMembersResp, error) PurgeSubjectFromPolicies(context.Context, *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error) }
PoliciesServer is the server API for Policies service.
type PoliciesServerMock ¶
type PoliciesServerMock struct { ReplacePolicyMembersFunc func(context.Context, *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error) CreatePolicyFunc func(context.Context, *CreatePolicyReq) (*Policy, error) DeletePolicyFunc func(context.Context, *DeletePolicyReq) (*DeletePolicyResp, error) ListPoliciesFunc func(context.Context, *ListPoliciesReq) (*ListPoliciesResp, error) GetPolicyFunc func(context.Context, *GetPolicyReq) (*Policy, error) UpdatePolicyFunc func(context.Context, *UpdatePolicyReq) (*Policy, error) MigrateToV2Func func(context.Context, *MigrateToV2Req) (*MigrateToV2Resp, error) GetPolicyVersionFunc func(context.Context, *GetPolicyVersionReq) (*GetPolicyVersionResp, error) ResetToV1Func func(context.Context, *ResetToV1Req) (*ResetToV1Resp, error) CreateRoleFunc func(context.Context, *CreateRoleReq) (*Role, error) ListRolesFunc func(context.Context, *ListRolesReq) (*ListRolesResp, error) GetRoleFunc func(context.Context, *GetRoleReq) (*Role, error) DeleteRoleFunc func(context.Context, *DeleteRoleReq) (*DeleteRoleResp, error) UpdateRoleFunc func(context.Context, *UpdateRoleReq) (*Role, error) ListPolicyMembersFunc func(context.Context, *ListPolicyMembersReq) (*ListPolicyMembersResp, error) RemovePolicyMembersFunc func(context.Context, *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error) AddPolicyMembersFunc func(context.Context, *AddPolicyMembersReq) (*AddPolicyMembersResp, error) PurgeSubjectFromPoliciesFunc func(context.Context, *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error) // contains filtered or unexported fields }
PoliciesServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewPoliciesServerMock ¶
func NewPoliciesServerMock() *PoliciesServerMock
NewPoliciesServerMock gives you a fresh instance of PoliciesServerMock.
func NewPoliciesServerMockWithoutValidation ¶
func NewPoliciesServerMockWithoutValidation() *PoliciesServerMock
NewPoliciesServerMockWithoutValidation gives you a fresh instance of PoliciesServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*PoliciesServerMock) AddPolicyMembers ¶
func (m *PoliciesServerMock) AddPolicyMembers(ctx context.Context, req *AddPolicyMembersReq) (*AddPolicyMembersResp, error)
func (*PoliciesServerMock) CreatePolicy ¶
func (m *PoliciesServerMock) CreatePolicy(ctx context.Context, req *CreatePolicyReq) (*Policy, error)
func (*PoliciesServerMock) CreateRole ¶
func (m *PoliciesServerMock) CreateRole(ctx context.Context, req *CreateRoleReq) (*Role, error)
func (*PoliciesServerMock) DeletePolicy ¶
func (m *PoliciesServerMock) DeletePolicy(ctx context.Context, req *DeletePolicyReq) (*DeletePolicyResp, error)
func (*PoliciesServerMock) DeleteRole ¶
func (m *PoliciesServerMock) DeleteRole(ctx context.Context, req *DeleteRoleReq) (*DeleteRoleResp, error)
func (*PoliciesServerMock) GetPolicy ¶
func (m *PoliciesServerMock) GetPolicy(ctx context.Context, req *GetPolicyReq) (*Policy, error)
func (*PoliciesServerMock) GetPolicyVersion ¶
func (m *PoliciesServerMock) GetPolicyVersion(ctx context.Context, req *GetPolicyVersionReq) (*GetPolicyVersionResp, error)
func (*PoliciesServerMock) GetRole ¶
func (m *PoliciesServerMock) GetRole(ctx context.Context, req *GetRoleReq) (*Role, error)
func (*PoliciesServerMock) ListPolicies ¶
func (m *PoliciesServerMock) ListPolicies(ctx context.Context, req *ListPoliciesReq) (*ListPoliciesResp, error)
func (*PoliciesServerMock) ListPolicyMembers ¶
func (m *PoliciesServerMock) ListPolicyMembers(ctx context.Context, req *ListPolicyMembersReq) (*ListPolicyMembersResp, error)
func (*PoliciesServerMock) ListRoles ¶
func (m *PoliciesServerMock) ListRoles(ctx context.Context, req *ListRolesReq) (*ListRolesResp, error)
func (*PoliciesServerMock) MigrateToV2 ¶
func (m *PoliciesServerMock) MigrateToV2(ctx context.Context, req *MigrateToV2Req) (*MigrateToV2Resp, error)
func (*PoliciesServerMock) PurgeSubjectFromPolicies ¶
func (m *PoliciesServerMock) PurgeSubjectFromPolicies(ctx context.Context, req *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error)
func (*PoliciesServerMock) RemovePolicyMembers ¶
func (m *PoliciesServerMock) RemovePolicyMembers(ctx context.Context, req *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error)
func (*PoliciesServerMock) ReplacePolicyMembers ¶
func (m *PoliciesServerMock) ReplacePolicyMembers(ctx context.Context, req *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error)
func (*PoliciesServerMock) Reset ¶
func (m *PoliciesServerMock) Reset()
Reset resets all overridden functions
func (*PoliciesServerMock) ResetToV1 ¶
func (m *PoliciesServerMock) ResetToV1(ctx context.Context, req *ResetToV1Req) (*ResetToV1Resp, error)
func (*PoliciesServerMock) UpdatePolicy ¶
func (m *PoliciesServerMock) UpdatePolicy(ctx context.Context, req *UpdatePolicyReq) (*Policy, error)
func (*PoliciesServerMock) UpdateRole ¶
func (m *PoliciesServerMock) UpdateRole(ctx context.Context, req *UpdateRoleReq) (*Role, error)
type Policy ¶
type Policy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Type Type `` /* 154-byte string literal not displayed */ Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` Statements []*Statement `` /* 137-byte string literal not displayed */ Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*Policy) Descriptor ¶
func (*Policy) GetMembers ¶
func (*Policy) GetProjects ¶
func (*Policy) GetStatements ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) Validate ¶
Validate checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Policy) XXX_DiscardUnknown ¶
func (m *Policy) XXX_DiscardUnknown()
func (*Policy) XXX_Marshal ¶
func (*Policy) XXX_Unmarshal ¶
type PolicyValidationError ¶
type PolicyValidationError struct {
// contains filtered or unexported fields
}
PolicyValidationError is the validation error returned by Policy.Validate if the designated constraints aren't met.
func (PolicyValidationError) Cause ¶
func (e PolicyValidationError) Cause() error
Cause function returns cause value.
func (PolicyValidationError) Error ¶
func (e PolicyValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyValidationError) ErrorName ¶
func (e PolicyValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyValidationError) Field ¶
func (e PolicyValidationError) Field() string
Field function returns field value.
func (PolicyValidationError) Key ¶
func (e PolicyValidationError) Key() bool
Key function returns key value.
func (PolicyValidationError) Reason ¶
func (e PolicyValidationError) Reason() string
Reason function returns reason value.
type Project ¶
type Project struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Type Type `` /* 154-byte string literal not displayed */ Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*Project) Descriptor ¶
func (*Project) GetProjects ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) Validate ¶
Validate checks the field values on Project with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type ProjectCollectionRulesResp ¶
type ProjectCollectionRulesResp struct { ProjectRules map[string]*ProjectRules `` /* 255-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectCollectionRulesResp) Descriptor ¶
func (*ProjectCollectionRulesResp) Descriptor() ([]byte, []int)
func (*ProjectCollectionRulesResp) GetProjectRules ¶
func (m *ProjectCollectionRulesResp) GetProjectRules() map[string]*ProjectRules
func (*ProjectCollectionRulesResp) ProtoMessage ¶
func (*ProjectCollectionRulesResp) ProtoMessage()
func (*ProjectCollectionRulesResp) Reset ¶
func (m *ProjectCollectionRulesResp) Reset()
func (*ProjectCollectionRulesResp) String ¶
func (m *ProjectCollectionRulesResp) String() string
func (*ProjectCollectionRulesResp) Validate ¶
func (m *ProjectCollectionRulesResp) Validate() error
Validate checks the field values on ProjectCollectionRulesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectCollectionRulesResp) XXX_DiscardUnknown ¶
func (m *ProjectCollectionRulesResp) XXX_DiscardUnknown()
func (*ProjectCollectionRulesResp) XXX_Marshal ¶
func (m *ProjectCollectionRulesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectCollectionRulesResp) XXX_Merge ¶
func (dst *ProjectCollectionRulesResp) XXX_Merge(src proto.Message)
func (*ProjectCollectionRulesResp) XXX_Size ¶
func (m *ProjectCollectionRulesResp) XXX_Size() int
func (*ProjectCollectionRulesResp) XXX_Unmarshal ¶
func (m *ProjectCollectionRulesResp) XXX_Unmarshal(b []byte) error
type ProjectCollectionRulesRespValidationError ¶
type ProjectCollectionRulesRespValidationError struct {
// contains filtered or unexported fields
}
ProjectCollectionRulesRespValidationError is the validation error returned by ProjectCollectionRulesResp.Validate if the designated constraints aren't met.
func (ProjectCollectionRulesRespValidationError) Cause ¶
func (e ProjectCollectionRulesRespValidationError) Cause() error
Cause function returns cause value.
func (ProjectCollectionRulesRespValidationError) Error ¶
func (e ProjectCollectionRulesRespValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectCollectionRulesRespValidationError) ErrorName ¶
func (e ProjectCollectionRulesRespValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectCollectionRulesRespValidationError) Field ¶
func (e ProjectCollectionRulesRespValidationError) Field() string
Field function returns field value.
func (ProjectCollectionRulesRespValidationError) Key ¶
func (e ProjectCollectionRulesRespValidationError) Key() bool
Key function returns key value.
func (ProjectCollectionRulesRespValidationError) Reason ¶
func (e ProjectCollectionRulesRespValidationError) Reason() string
Reason function returns reason value.
type ProjectRule ¶
type ProjectRule struct { Type ProjectRuleTypes `` /* 166-byte string literal not displayed */ Conditions []*Condition `` /* 137-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectRule) Descriptor ¶
func (*ProjectRule) Descriptor() ([]byte, []int)
func (*ProjectRule) GetConditions ¶
func (m *ProjectRule) GetConditions() []*Condition
func (*ProjectRule) GetType ¶
func (m *ProjectRule) GetType() ProjectRuleTypes
func (*ProjectRule) ProtoMessage ¶
func (*ProjectRule) ProtoMessage()
func (*ProjectRule) Reset ¶
func (m *ProjectRule) Reset()
func (*ProjectRule) String ¶
func (m *ProjectRule) String() string
func (*ProjectRule) Validate ¶
func (m *ProjectRule) Validate() error
Validate checks the field values on ProjectRule with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectRule) XXX_DiscardUnknown ¶
func (m *ProjectRule) XXX_DiscardUnknown()
func (*ProjectRule) XXX_Marshal ¶
func (m *ProjectRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectRule) XXX_Merge ¶
func (dst *ProjectRule) XXX_Merge(src proto.Message)
func (*ProjectRule) XXX_Size ¶
func (m *ProjectRule) XXX_Size() int
func (*ProjectRule) XXX_Unmarshal ¶
func (m *ProjectRule) XXX_Unmarshal(b []byte) error
type ProjectRuleConditionTypes ¶
type ProjectRuleConditionTypes int32
const ( ProjectRuleConditionTypes_CHEF_SERVERS ProjectRuleConditionTypes = 0 ProjectRuleConditionTypes_CHEF_ORGS ProjectRuleConditionTypes = 1 ProjectRuleConditionTypes_CHEF_ENVIRONMENTS ProjectRuleConditionTypes = 2 ProjectRuleConditionTypes_ROLES ProjectRuleConditionTypes = 3 ProjectRuleConditionTypes_CHEF_TAGS ProjectRuleConditionTypes = 4 ProjectRuleConditionTypes_POLICY_GROUP ProjectRuleConditionTypes = 5 ProjectRuleConditionTypes_POLICY_NAME ProjectRuleConditionTypes = 6 )
func (ProjectRuleConditionTypes) EnumDescriptor ¶
func (ProjectRuleConditionTypes) EnumDescriptor() ([]byte, []int)
func (ProjectRuleConditionTypes) String ¶
func (x ProjectRuleConditionTypes) String() string
type ProjectRuleTypes ¶
type ProjectRuleTypes int32
const ( ProjectRuleTypes_NODE ProjectRuleTypes = 0 ProjectRuleTypes_EVENT ProjectRuleTypes = 1 )
func (ProjectRuleTypes) EnumDescriptor ¶
func (ProjectRuleTypes) EnumDescriptor() ([]byte, []int)
func (ProjectRuleTypes) String ¶
func (x ProjectRuleTypes) String() string
type ProjectRuleValidationError ¶
type ProjectRuleValidationError struct {
// contains filtered or unexported fields
}
ProjectRuleValidationError is the validation error returned by ProjectRule.Validate if the designated constraints aren't met.
func (ProjectRuleValidationError) Cause ¶
func (e ProjectRuleValidationError) Cause() error
Cause function returns cause value.
func (ProjectRuleValidationError) Error ¶
func (e ProjectRuleValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectRuleValidationError) ErrorName ¶
func (e ProjectRuleValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectRuleValidationError) Field ¶
func (e ProjectRuleValidationError) Field() string
Field function returns field value.
func (ProjectRuleValidationError) Key ¶
func (e ProjectRuleValidationError) Key() bool
Key function returns key value.
func (ProjectRuleValidationError) Reason ¶
func (e ProjectRuleValidationError) Reason() string
Reason function returns reason value.
type ProjectRules ¶
type ProjectRules struct { Rules []*ProjectRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectRules) Descriptor ¶
func (*ProjectRules) Descriptor() ([]byte, []int)
func (*ProjectRules) GetRules ¶
func (m *ProjectRules) GetRules() []*ProjectRule
func (*ProjectRules) ProtoMessage ¶
func (*ProjectRules) ProtoMessage()
func (*ProjectRules) Reset ¶
func (m *ProjectRules) Reset()
func (*ProjectRules) String ¶
func (m *ProjectRules) String() string
func (*ProjectRules) Validate ¶
func (m *ProjectRules) Validate() error
Validate checks the field values on ProjectRules with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectRules) XXX_DiscardUnknown ¶
func (m *ProjectRules) XXX_DiscardUnknown()
func (*ProjectRules) XXX_Marshal ¶
func (m *ProjectRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectRules) XXX_Merge ¶
func (dst *ProjectRules) XXX_Merge(src proto.Message)
func (*ProjectRules) XXX_Size ¶
func (m *ProjectRules) XXX_Size() int
func (*ProjectRules) XXX_Unmarshal ¶
func (m *ProjectRules) XXX_Unmarshal(b []byte) error
type ProjectRulesValidationError ¶
type ProjectRulesValidationError struct {
// contains filtered or unexported fields
}
ProjectRulesValidationError is the validation error returned by ProjectRules.Validate if the designated constraints aren't met.
func (ProjectRulesValidationError) Cause ¶
func (e ProjectRulesValidationError) Cause() error
Cause function returns cause value.
func (ProjectRulesValidationError) Error ¶
func (e ProjectRulesValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectRulesValidationError) ErrorName ¶
func (e ProjectRulesValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectRulesValidationError) Field ¶
func (e ProjectRulesValidationError) Field() string
Field function returns field value.
func (ProjectRulesValidationError) Key ¶
func (e ProjectRulesValidationError) Key() bool
Key function returns key value.
func (ProjectRulesValidationError) Reason ¶
func (e ProjectRulesValidationError) Reason() string
Reason function returns reason value.
type ProjectUpdateCancelReq ¶
type ProjectUpdateCancelReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectUpdateCancelReq) Descriptor ¶
func (*ProjectUpdateCancelReq) Descriptor() ([]byte, []int)
func (*ProjectUpdateCancelReq) ProtoMessage ¶
func (*ProjectUpdateCancelReq) ProtoMessage()
func (*ProjectUpdateCancelReq) Reset ¶
func (m *ProjectUpdateCancelReq) Reset()
func (*ProjectUpdateCancelReq) String ¶
func (m *ProjectUpdateCancelReq) String() string
func (*ProjectUpdateCancelReq) Validate ¶
func (m *ProjectUpdateCancelReq) Validate() error
Validate checks the field values on ProjectUpdateCancelReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectUpdateCancelReq) XXX_DiscardUnknown ¶
func (m *ProjectUpdateCancelReq) XXX_DiscardUnknown()
func (*ProjectUpdateCancelReq) XXX_Marshal ¶
func (m *ProjectUpdateCancelReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectUpdateCancelReq) XXX_Merge ¶
func (dst *ProjectUpdateCancelReq) XXX_Merge(src proto.Message)
func (*ProjectUpdateCancelReq) XXX_Size ¶
func (m *ProjectUpdateCancelReq) XXX_Size() int
func (*ProjectUpdateCancelReq) XXX_Unmarshal ¶
func (m *ProjectUpdateCancelReq) XXX_Unmarshal(b []byte) error
type ProjectUpdateCancelReqValidationError ¶
type ProjectUpdateCancelReqValidationError struct {
// contains filtered or unexported fields
}
ProjectUpdateCancelReqValidationError is the validation error returned by ProjectUpdateCancelReq.Validate if the designated constraints aren't met.
func (ProjectUpdateCancelReqValidationError) Cause ¶
func (e ProjectUpdateCancelReqValidationError) Cause() error
Cause function returns cause value.
func (ProjectUpdateCancelReqValidationError) Error ¶
func (e ProjectUpdateCancelReqValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectUpdateCancelReqValidationError) ErrorName ¶
func (e ProjectUpdateCancelReqValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectUpdateCancelReqValidationError) Field ¶
func (e ProjectUpdateCancelReqValidationError) Field() string
Field function returns field value.
func (ProjectUpdateCancelReqValidationError) Key ¶
func (e ProjectUpdateCancelReqValidationError) Key() bool
Key function returns key value.
func (ProjectUpdateCancelReqValidationError) Reason ¶
func (e ProjectUpdateCancelReqValidationError) Reason() string
Reason function returns reason value.
type ProjectUpdateCancelResp ¶
type ProjectUpdateCancelResp struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectUpdateCancelResp) Descriptor ¶
func (*ProjectUpdateCancelResp) Descriptor() ([]byte, []int)
func (*ProjectUpdateCancelResp) ProtoMessage ¶
func (*ProjectUpdateCancelResp) ProtoMessage()
func (*ProjectUpdateCancelResp) Reset ¶
func (m *ProjectUpdateCancelResp) Reset()
func (*ProjectUpdateCancelResp) String ¶
func (m *ProjectUpdateCancelResp) String() string
func (*ProjectUpdateCancelResp) Validate ¶
func (m *ProjectUpdateCancelResp) Validate() error
Validate checks the field values on ProjectUpdateCancelResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectUpdateCancelResp) XXX_DiscardUnknown ¶
func (m *ProjectUpdateCancelResp) XXX_DiscardUnknown()
func (*ProjectUpdateCancelResp) XXX_Marshal ¶
func (m *ProjectUpdateCancelResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectUpdateCancelResp) XXX_Merge ¶
func (dst *ProjectUpdateCancelResp) XXX_Merge(src proto.Message)
func (*ProjectUpdateCancelResp) XXX_Size ¶
func (m *ProjectUpdateCancelResp) XXX_Size() int
func (*ProjectUpdateCancelResp) XXX_Unmarshal ¶
func (m *ProjectUpdateCancelResp) XXX_Unmarshal(b []byte) error
type ProjectUpdateCancelRespValidationError ¶
type ProjectUpdateCancelRespValidationError struct {
// contains filtered or unexported fields
}
ProjectUpdateCancelRespValidationError is the validation error returned by ProjectUpdateCancelResp.Validate if the designated constraints aren't met.
func (ProjectUpdateCancelRespValidationError) Cause ¶
func (e ProjectUpdateCancelRespValidationError) Cause() error
Cause function returns cause value.
func (ProjectUpdateCancelRespValidationError) Error ¶
func (e ProjectUpdateCancelRespValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectUpdateCancelRespValidationError) ErrorName ¶
func (e ProjectUpdateCancelRespValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectUpdateCancelRespValidationError) Field ¶
func (e ProjectUpdateCancelRespValidationError) Field() string
Field function returns field value.
func (ProjectUpdateCancelRespValidationError) Key ¶
func (e ProjectUpdateCancelRespValidationError) Key() bool
Key function returns key value.
func (ProjectUpdateCancelRespValidationError) Reason ¶
func (e ProjectUpdateCancelRespValidationError) Reason() string
Reason function returns reason value.
type ProjectUpdateStatusReq ¶
type ProjectUpdateStatusReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectUpdateStatusReq) Descriptor ¶
func (*ProjectUpdateStatusReq) Descriptor() ([]byte, []int)
func (*ProjectUpdateStatusReq) ProtoMessage ¶
func (*ProjectUpdateStatusReq) ProtoMessage()
func (*ProjectUpdateStatusReq) Reset ¶
func (m *ProjectUpdateStatusReq) Reset()
func (*ProjectUpdateStatusReq) String ¶
func (m *ProjectUpdateStatusReq) String() string
func (*ProjectUpdateStatusReq) Validate ¶
func (m *ProjectUpdateStatusReq) Validate() error
Validate checks the field values on ProjectUpdateStatusReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectUpdateStatusReq) XXX_DiscardUnknown ¶
func (m *ProjectUpdateStatusReq) XXX_DiscardUnknown()
func (*ProjectUpdateStatusReq) XXX_Marshal ¶
func (m *ProjectUpdateStatusReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectUpdateStatusReq) XXX_Merge ¶
func (dst *ProjectUpdateStatusReq) XXX_Merge(src proto.Message)
func (*ProjectUpdateStatusReq) XXX_Size ¶
func (m *ProjectUpdateStatusReq) XXX_Size() int
func (*ProjectUpdateStatusReq) XXX_Unmarshal ¶
func (m *ProjectUpdateStatusReq) XXX_Unmarshal(b []byte) error
type ProjectUpdateStatusReqValidationError ¶
type ProjectUpdateStatusReqValidationError struct {
// contains filtered or unexported fields
}
ProjectUpdateStatusReqValidationError is the validation error returned by ProjectUpdateStatusReq.Validate if the designated constraints aren't met.
func (ProjectUpdateStatusReqValidationError) Cause ¶
func (e ProjectUpdateStatusReqValidationError) Cause() error
Cause function returns cause value.
func (ProjectUpdateStatusReqValidationError) Error ¶
func (e ProjectUpdateStatusReqValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectUpdateStatusReqValidationError) ErrorName ¶
func (e ProjectUpdateStatusReqValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectUpdateStatusReqValidationError) Field ¶
func (e ProjectUpdateStatusReqValidationError) Field() string
Field function returns field value.
func (ProjectUpdateStatusReqValidationError) Key ¶
func (e ProjectUpdateStatusReqValidationError) Key() bool
Key function returns key value.
func (ProjectUpdateStatusReqValidationError) Reason ¶
func (e ProjectUpdateStatusReqValidationError) Reason() string
Reason function returns reason value.
type ProjectUpdateStatusResp ¶
type ProjectUpdateStatusResp struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` EstimatedTimeCompelete *timestamp.Timestamp `` /* 221-byte string literal not displayed */ PercentageComplete float32 `` /* 199-byte string literal not displayed */ Failed bool `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` FailureMessage string `` /* 177-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectUpdateStatusResp) Descriptor ¶
func (*ProjectUpdateStatusResp) Descriptor() ([]byte, []int)
func (*ProjectUpdateStatusResp) GetEstimatedTimeCompelete ¶
func (m *ProjectUpdateStatusResp) GetEstimatedTimeCompelete() *timestamp.Timestamp
func (*ProjectUpdateStatusResp) GetFailed ¶
func (m *ProjectUpdateStatusResp) GetFailed() bool
func (*ProjectUpdateStatusResp) GetFailureMessage ¶
func (m *ProjectUpdateStatusResp) GetFailureMessage() string
func (*ProjectUpdateStatusResp) GetPercentageComplete ¶
func (m *ProjectUpdateStatusResp) GetPercentageComplete() float32
func (*ProjectUpdateStatusResp) GetState ¶
func (m *ProjectUpdateStatusResp) GetState() string
func (*ProjectUpdateStatusResp) ProtoMessage ¶
func (*ProjectUpdateStatusResp) ProtoMessage()
func (*ProjectUpdateStatusResp) Reset ¶
func (m *ProjectUpdateStatusResp) Reset()
func (*ProjectUpdateStatusResp) String ¶
func (m *ProjectUpdateStatusResp) String() string
func (*ProjectUpdateStatusResp) Validate ¶
func (m *ProjectUpdateStatusResp) Validate() error
Validate checks the field values on ProjectUpdateStatusResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectUpdateStatusResp) XXX_DiscardUnknown ¶
func (m *ProjectUpdateStatusResp) XXX_DiscardUnknown()
func (*ProjectUpdateStatusResp) XXX_Marshal ¶
func (m *ProjectUpdateStatusResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectUpdateStatusResp) XXX_Merge ¶
func (dst *ProjectUpdateStatusResp) XXX_Merge(src proto.Message)
func (*ProjectUpdateStatusResp) XXX_Size ¶
func (m *ProjectUpdateStatusResp) XXX_Size() int
func (*ProjectUpdateStatusResp) XXX_Unmarshal ¶
func (m *ProjectUpdateStatusResp) XXX_Unmarshal(b []byte) error
type ProjectUpdateStatusRespValidationError ¶
type ProjectUpdateStatusRespValidationError struct {
// contains filtered or unexported fields
}
ProjectUpdateStatusRespValidationError is the validation error returned by ProjectUpdateStatusResp.Validate if the designated constraints aren't met.
func (ProjectUpdateStatusRespValidationError) Cause ¶
func (e ProjectUpdateStatusRespValidationError) Cause() error
Cause function returns cause value.
func (ProjectUpdateStatusRespValidationError) Error ¶
func (e ProjectUpdateStatusRespValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectUpdateStatusRespValidationError) ErrorName ¶
func (e ProjectUpdateStatusRespValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectUpdateStatusRespValidationError) Field ¶
func (e ProjectUpdateStatusRespValidationError) Field() string
Field function returns field value.
func (ProjectUpdateStatusRespValidationError) Key ¶
func (e ProjectUpdateStatusRespValidationError) Key() bool
Key function returns key value.
func (ProjectUpdateStatusRespValidationError) Reason ¶
func (e ProjectUpdateStatusRespValidationError) Reason() string
Reason function returns reason value.
type ProjectValidationError ¶
type ProjectValidationError struct {
// contains filtered or unexported fields
}
ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.
func (ProjectValidationError) Cause ¶
func (e ProjectValidationError) Cause() error
Cause function returns cause value.
func (ProjectValidationError) Error ¶
func (e ProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectValidationError) ErrorName ¶
func (e ProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectValidationError) Field ¶
func (e ProjectValidationError) Field() string
Field function returns field value.
func (ProjectValidationError) Key ¶
func (e ProjectValidationError) Key() bool
Key function returns key value.
func (ProjectValidationError) Reason ¶
func (e ProjectValidationError) Reason() string
Reason function returns reason value.
type ProjectsAuthorizedReq ¶
type ProjectsAuthorizedReq struct { Subjects []string `` /* 129-byte string literal not displayed */ Resource string `` /* 129-byte string literal not displayed */ Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` ProjectsFilter []string `` /* 177-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectsAuthorizedReq) Descriptor ¶
func (*ProjectsAuthorizedReq) Descriptor() ([]byte, []int)
func (*ProjectsAuthorizedReq) GetAction ¶
func (m *ProjectsAuthorizedReq) GetAction() string
func (*ProjectsAuthorizedReq) GetProjectsFilter ¶
func (m *ProjectsAuthorizedReq) GetProjectsFilter() []string
func (*ProjectsAuthorizedReq) GetResource ¶
func (m *ProjectsAuthorizedReq) GetResource() string
func (*ProjectsAuthorizedReq) GetSubjects ¶
func (m *ProjectsAuthorizedReq) GetSubjects() []string
func (*ProjectsAuthorizedReq) ProtoMessage ¶
func (*ProjectsAuthorizedReq) ProtoMessage()
func (*ProjectsAuthorizedReq) Reset ¶
func (m *ProjectsAuthorizedReq) Reset()
func (*ProjectsAuthorizedReq) String ¶
func (m *ProjectsAuthorizedReq) String() string
func (*ProjectsAuthorizedReq) Validate ¶
func (m *ProjectsAuthorizedReq) Validate() error
Validate checks the field values on ProjectsAuthorizedReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectsAuthorizedReq) XXX_DiscardUnknown ¶
func (m *ProjectsAuthorizedReq) XXX_DiscardUnknown()
func (*ProjectsAuthorizedReq) XXX_Marshal ¶
func (m *ProjectsAuthorizedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectsAuthorizedReq) XXX_Merge ¶
func (dst *ProjectsAuthorizedReq) XXX_Merge(src proto.Message)
func (*ProjectsAuthorizedReq) XXX_Size ¶
func (m *ProjectsAuthorizedReq) XXX_Size() int
func (*ProjectsAuthorizedReq) XXX_Unmarshal ¶
func (m *ProjectsAuthorizedReq) XXX_Unmarshal(b []byte) error
type ProjectsAuthorizedReqValidationError ¶
type ProjectsAuthorizedReqValidationError struct {
// contains filtered or unexported fields
}
ProjectsAuthorizedReqValidationError is the validation error returned by ProjectsAuthorizedReq.Validate if the designated constraints aren't met.
func (ProjectsAuthorizedReqValidationError) Cause ¶
func (e ProjectsAuthorizedReqValidationError) Cause() error
Cause function returns cause value.
func (ProjectsAuthorizedReqValidationError) Error ¶
func (e ProjectsAuthorizedReqValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectsAuthorizedReqValidationError) ErrorName ¶
func (e ProjectsAuthorizedReqValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectsAuthorizedReqValidationError) Field ¶
func (e ProjectsAuthorizedReqValidationError) Field() string
Field function returns field value.
func (ProjectsAuthorizedReqValidationError) Key ¶
func (e ProjectsAuthorizedReqValidationError) Key() bool
Key function returns key value.
func (ProjectsAuthorizedReqValidationError) Reason ¶
func (e ProjectsAuthorizedReqValidationError) Reason() string
Reason function returns reason value.
type ProjectsAuthorizedResp ¶
type ProjectsAuthorizedResp struct { Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ProjectsAuthorizedResp) Descriptor ¶
func (*ProjectsAuthorizedResp) Descriptor() ([]byte, []int)
func (*ProjectsAuthorizedResp) GetProjects ¶
func (m *ProjectsAuthorizedResp) GetProjects() []string
func (*ProjectsAuthorizedResp) ProtoMessage ¶
func (*ProjectsAuthorizedResp) ProtoMessage()
func (*ProjectsAuthorizedResp) Reset ¶
func (m *ProjectsAuthorizedResp) Reset()
func (*ProjectsAuthorizedResp) String ¶
func (m *ProjectsAuthorizedResp) String() string
func (*ProjectsAuthorizedResp) Validate ¶
func (m *ProjectsAuthorizedResp) Validate() error
Validate checks the field values on ProjectsAuthorizedResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ProjectsAuthorizedResp) XXX_DiscardUnknown ¶
func (m *ProjectsAuthorizedResp) XXX_DiscardUnknown()
func (*ProjectsAuthorizedResp) XXX_Marshal ¶
func (m *ProjectsAuthorizedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectsAuthorizedResp) XXX_Merge ¶
func (dst *ProjectsAuthorizedResp) XXX_Merge(src proto.Message)
func (*ProjectsAuthorizedResp) XXX_Size ¶
func (m *ProjectsAuthorizedResp) XXX_Size() int
func (*ProjectsAuthorizedResp) XXX_Unmarshal ¶
func (m *ProjectsAuthorizedResp) XXX_Unmarshal(b []byte) error
type ProjectsAuthorizedRespValidationError ¶
type ProjectsAuthorizedRespValidationError struct {
// contains filtered or unexported fields
}
ProjectsAuthorizedRespValidationError is the validation error returned by ProjectsAuthorizedResp.Validate if the designated constraints aren't met.
func (ProjectsAuthorizedRespValidationError) Cause ¶
func (e ProjectsAuthorizedRespValidationError) Cause() error
Cause function returns cause value.
func (ProjectsAuthorizedRespValidationError) Error ¶
func (e ProjectsAuthorizedRespValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectsAuthorizedRespValidationError) ErrorName ¶
func (e ProjectsAuthorizedRespValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectsAuthorizedRespValidationError) Field ¶
func (e ProjectsAuthorizedRespValidationError) Field() string
Field function returns field value.
func (ProjectsAuthorizedRespValidationError) Key ¶
func (e ProjectsAuthorizedRespValidationError) Key() bool
Key function returns key value.
func (ProjectsAuthorizedRespValidationError) Reason ¶
func (e ProjectsAuthorizedRespValidationError) Reason() string
Reason function returns reason value.
type ProjectsClient ¶
type ProjectsClient interface { UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error) GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error) // Note: POC functions that are not ready to expose outside of our // spike (aka keep them out of the gateway for now). ListProjectRules(ctx context.Context, in *ListProjectRulesReq, opts ...grpc.CallOption) (*ProjectCollectionRulesResp, error) GetProjectRules(ctx context.Context, in *GetProjectRulesReq, opts ...grpc.CallOption) (*GetProjectRulesResp, error) HandleEvent(ctx context.Context, in *event.EventMsg, opts ...grpc.CallOption) (*event.EventResponse, error) ProjectUpdateStatus(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateStatusResp, error) ProjectUpdateCancel(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateCancelResp, error) }
ProjectsClient is the client API for Projects service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProjectsClient ¶
func NewProjectsClient(cc *grpc.ClientConn) ProjectsClient
type ProjectsServer ¶
type ProjectsServer interface { UpdateProject(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error) CreateProject(context.Context, *CreateProjectReq) (*CreateProjectResp, error) GetProject(context.Context, *GetProjectReq) (*GetProjectResp, error) DeleteProject(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error) ListProjects(context.Context, *ListProjectsReq) (*ListProjectsResp, error) // Note: POC functions that are not ready to expose outside of our // spike (aka keep them out of the gateway for now). ListProjectRules(context.Context, *ListProjectRulesReq) (*ProjectCollectionRulesResp, error) GetProjectRules(context.Context, *GetProjectRulesReq) (*GetProjectRulesResp, error) HandleEvent(context.Context, *event.EventMsg) (*event.EventResponse, error) ProjectUpdateStatus(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error) ProjectUpdateCancel(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error) }
ProjectsServer is the server API for Projects service.
type ProjectsServerMock ¶
type ProjectsServerMock struct { UpdateProjectFunc func(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error) CreateProjectFunc func(context.Context, *CreateProjectReq) (*CreateProjectResp, error) GetProjectFunc func(context.Context, *GetProjectReq) (*GetProjectResp, error) DeleteProjectFunc func(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error) ListProjectsFunc func(context.Context, *ListProjectsReq) (*ListProjectsResp, error) ListProjectRulesFunc func(context.Context, *ListProjectRulesReq) (*ProjectCollectionRulesResp, error) GetProjectRulesFunc func(context.Context, *GetProjectRulesReq) (*GetProjectRulesResp, error) HandleEventFunc func(context.Context, *event.EventMsg) (*event.EventResponse, error) ProjectUpdateStatusFunc func(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error) ProjectUpdateCancelFunc func(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error) // contains filtered or unexported fields }
ProjectsServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewProjectsServerMock ¶
func NewProjectsServerMock() *ProjectsServerMock
NewProjectsServerMock gives you a fresh instance of ProjectsServerMock.
func NewProjectsServerMockWithoutValidation ¶
func NewProjectsServerMockWithoutValidation() *ProjectsServerMock
NewProjectsServerMockWithoutValidation gives you a fresh instance of ProjectsServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*ProjectsServerMock) CreateProject ¶
func (m *ProjectsServerMock) CreateProject(ctx context.Context, req *CreateProjectReq) (*CreateProjectResp, error)
func (*ProjectsServerMock) DeleteProject ¶
func (m *ProjectsServerMock) DeleteProject(ctx context.Context, req *DeleteProjectReq) (*DeleteProjectResp, error)
func (*ProjectsServerMock) GetProject ¶
func (m *ProjectsServerMock) GetProject(ctx context.Context, req *GetProjectReq) (*GetProjectResp, error)
func (*ProjectsServerMock) GetProjectRules ¶
func (m *ProjectsServerMock) GetProjectRules(ctx context.Context, req *GetProjectRulesReq) (*GetProjectRulesResp, error)
func (*ProjectsServerMock) HandleEvent ¶
func (m *ProjectsServerMock) HandleEvent(ctx context.Context, req *event.EventMsg) (*event.EventResponse, error)
func (*ProjectsServerMock) ListProjectRules ¶
func (m *ProjectsServerMock) ListProjectRules(ctx context.Context, req *ListProjectRulesReq) (*ProjectCollectionRulesResp, error)
func (*ProjectsServerMock) ListProjects ¶
func (m *ProjectsServerMock) ListProjects(ctx context.Context, req *ListProjectsReq) (*ListProjectsResp, error)
func (*ProjectsServerMock) ProjectUpdateCancel ¶
func (m *ProjectsServerMock) ProjectUpdateCancel(ctx context.Context, req *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error)
func (*ProjectsServerMock) ProjectUpdateStatus ¶
func (m *ProjectsServerMock) ProjectUpdateStatus(ctx context.Context, req *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error)
func (*ProjectsServerMock) Reset ¶
func (m *ProjectsServerMock) Reset()
Reset resets all overridden functions
func (*ProjectsServerMock) UpdateProject ¶
func (m *ProjectsServerMock) UpdateProject(ctx context.Context, req *UpdateProjectReq) (*UpdateProjectResp, error)
type PurgeSubjectFromPoliciesReq ¶
type PurgeSubjectFromPoliciesReq struct { // Q: Right now, this allows purging subject wildcards (like "user:*"). // -- Do we want to restrict this to only complete subjects? Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty" toml:"subject,omitempty" mapstructure:"subject,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*PurgeSubjectFromPoliciesReq) Descriptor ¶
func (*PurgeSubjectFromPoliciesReq) Descriptor() ([]byte, []int)
func (*PurgeSubjectFromPoliciesReq) GetSubject ¶
func (m *PurgeSubjectFromPoliciesReq) GetSubject() string
func (*PurgeSubjectFromPoliciesReq) ProtoMessage ¶
func (*PurgeSubjectFromPoliciesReq) ProtoMessage()
func (*PurgeSubjectFromPoliciesReq) Reset ¶
func (m *PurgeSubjectFromPoliciesReq) Reset()
func (*PurgeSubjectFromPoliciesReq) String ¶
func (m *PurgeSubjectFromPoliciesReq) String() string
func (*PurgeSubjectFromPoliciesReq) Validate ¶
func (m *PurgeSubjectFromPoliciesReq) Validate() error
Validate checks the field values on PurgeSubjectFromPoliciesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PurgeSubjectFromPoliciesReq) XXX_DiscardUnknown ¶
func (m *PurgeSubjectFromPoliciesReq) XXX_DiscardUnknown()
func (*PurgeSubjectFromPoliciesReq) XXX_Marshal ¶
func (m *PurgeSubjectFromPoliciesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PurgeSubjectFromPoliciesReq) XXX_Merge ¶
func (dst *PurgeSubjectFromPoliciesReq) XXX_Merge(src proto.Message)
func (*PurgeSubjectFromPoliciesReq) XXX_Size ¶
func (m *PurgeSubjectFromPoliciesReq) XXX_Size() int
func (*PurgeSubjectFromPoliciesReq) XXX_Unmarshal ¶
func (m *PurgeSubjectFromPoliciesReq) XXX_Unmarshal(b []byte) error
type PurgeSubjectFromPoliciesReqValidationError ¶
type PurgeSubjectFromPoliciesReqValidationError struct {
// contains filtered or unexported fields
}
PurgeSubjectFromPoliciesReqValidationError is the validation error returned by PurgeSubjectFromPoliciesReq.Validate if the designated constraints aren't met.
func (PurgeSubjectFromPoliciesReqValidationError) Cause ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Cause() error
Cause function returns cause value.
func (PurgeSubjectFromPoliciesReqValidationError) Error ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Error() string
Error satisfies the builtin error interface
func (PurgeSubjectFromPoliciesReqValidationError) ErrorName ¶
func (e PurgeSubjectFromPoliciesReqValidationError) ErrorName() string
ErrorName returns error name.
func (PurgeSubjectFromPoliciesReqValidationError) Field ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Field() string
Field function returns field value.
func (PurgeSubjectFromPoliciesReqValidationError) Key ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Key() bool
Key function returns key value.
func (PurgeSubjectFromPoliciesReqValidationError) Reason ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Reason() string
Reason function returns reason value.
type PurgeSubjectFromPoliciesResp ¶
type PurgeSubjectFromPoliciesResp struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*PurgeSubjectFromPoliciesResp) Descriptor ¶
func (*PurgeSubjectFromPoliciesResp) Descriptor() ([]byte, []int)
func (*PurgeSubjectFromPoliciesResp) GetIds ¶
func (m *PurgeSubjectFromPoliciesResp) GetIds() []string
func (*PurgeSubjectFromPoliciesResp) ProtoMessage ¶
func (*PurgeSubjectFromPoliciesResp) ProtoMessage()
func (*PurgeSubjectFromPoliciesResp) Reset ¶
func (m *PurgeSubjectFromPoliciesResp) Reset()
func (*PurgeSubjectFromPoliciesResp) String ¶
func (m *PurgeSubjectFromPoliciesResp) String() string
func (*PurgeSubjectFromPoliciesResp) Validate ¶
func (m *PurgeSubjectFromPoliciesResp) Validate() error
Validate checks the field values on PurgeSubjectFromPoliciesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PurgeSubjectFromPoliciesResp) XXX_DiscardUnknown ¶
func (m *PurgeSubjectFromPoliciesResp) XXX_DiscardUnknown()
func (*PurgeSubjectFromPoliciesResp) XXX_Marshal ¶
func (m *PurgeSubjectFromPoliciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PurgeSubjectFromPoliciesResp) XXX_Merge ¶
func (dst *PurgeSubjectFromPoliciesResp) XXX_Merge(src proto.Message)
func (*PurgeSubjectFromPoliciesResp) XXX_Size ¶
func (m *PurgeSubjectFromPoliciesResp) XXX_Size() int
func (*PurgeSubjectFromPoliciesResp) XXX_Unmarshal ¶
func (m *PurgeSubjectFromPoliciesResp) XXX_Unmarshal(b []byte) error
type PurgeSubjectFromPoliciesRespValidationError ¶
type PurgeSubjectFromPoliciesRespValidationError struct {
// contains filtered or unexported fields
}
PurgeSubjectFromPoliciesRespValidationError is the validation error returned by PurgeSubjectFromPoliciesResp.Validate if the designated constraints aren't met.
func (PurgeSubjectFromPoliciesRespValidationError) Cause ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Cause() error
Cause function returns cause value.
func (PurgeSubjectFromPoliciesRespValidationError) Error ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Error() string
Error satisfies the builtin error interface
func (PurgeSubjectFromPoliciesRespValidationError) ErrorName ¶
func (e PurgeSubjectFromPoliciesRespValidationError) ErrorName() string
ErrorName returns error name.
func (PurgeSubjectFromPoliciesRespValidationError) Field ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Field() string
Field function returns field value.
func (PurgeSubjectFromPoliciesRespValidationError) Key ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Key() bool
Key function returns key value.
func (PurgeSubjectFromPoliciesRespValidationError) Reason ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Reason() string
Reason function returns reason value.
type RemovePolicyMembersReq ¶
type RemovePolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*RemovePolicyMembersReq) Descriptor ¶
func (*RemovePolicyMembersReq) Descriptor() ([]byte, []int)
func (*RemovePolicyMembersReq) GetId ¶
func (m *RemovePolicyMembersReq) GetId() string
func (*RemovePolicyMembersReq) GetMembers ¶
func (m *RemovePolicyMembersReq) GetMembers() []string
func (*RemovePolicyMembersReq) ProtoMessage ¶
func (*RemovePolicyMembersReq) ProtoMessage()
func (*RemovePolicyMembersReq) Reset ¶
func (m *RemovePolicyMembersReq) Reset()
func (*RemovePolicyMembersReq) String ¶
func (m *RemovePolicyMembersReq) String() string
func (*RemovePolicyMembersReq) Validate ¶
func (m *RemovePolicyMembersReq) Validate() error
Validate checks the field values on RemovePolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*RemovePolicyMembersReq) XXX_DiscardUnknown ¶
func (m *RemovePolicyMembersReq) XXX_DiscardUnknown()
func (*RemovePolicyMembersReq) XXX_Marshal ¶
func (m *RemovePolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePolicyMembersReq) XXX_Merge ¶
func (dst *RemovePolicyMembersReq) XXX_Merge(src proto.Message)
func (*RemovePolicyMembersReq) XXX_Size ¶
func (m *RemovePolicyMembersReq) XXX_Size() int
func (*RemovePolicyMembersReq) XXX_Unmarshal ¶
func (m *RemovePolicyMembersReq) XXX_Unmarshal(b []byte) error
type RemovePolicyMembersReqValidationError ¶
type RemovePolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
RemovePolicyMembersReqValidationError is the validation error returned by RemovePolicyMembersReq.Validate if the designated constraints aren't met.
func (RemovePolicyMembersReqValidationError) Cause ¶
func (e RemovePolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (RemovePolicyMembersReqValidationError) Error ¶
func (e RemovePolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePolicyMembersReqValidationError) ErrorName ¶
func (e RemovePolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePolicyMembersReqValidationError) Field ¶
func (e RemovePolicyMembersReqValidationError) Field() string
Field function returns field value.
func (RemovePolicyMembersReqValidationError) Key ¶
func (e RemovePolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (RemovePolicyMembersReqValidationError) Reason ¶
func (e RemovePolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type RemovePolicyMembersResp ¶
type RemovePolicyMembersResp struct { Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*RemovePolicyMembersResp) Descriptor ¶
func (*RemovePolicyMembersResp) Descriptor() ([]byte, []int)
func (*RemovePolicyMembersResp) GetMembers ¶
func (m *RemovePolicyMembersResp) GetMembers() []string
func (*RemovePolicyMembersResp) ProtoMessage ¶
func (*RemovePolicyMembersResp) ProtoMessage()
func (*RemovePolicyMembersResp) Reset ¶
func (m *RemovePolicyMembersResp) Reset()
func (*RemovePolicyMembersResp) String ¶
func (m *RemovePolicyMembersResp) String() string
func (*RemovePolicyMembersResp) Validate ¶
func (m *RemovePolicyMembersResp) Validate() error
Validate checks the field values on RemovePolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*RemovePolicyMembersResp) XXX_DiscardUnknown ¶
func (m *RemovePolicyMembersResp) XXX_DiscardUnknown()
func (*RemovePolicyMembersResp) XXX_Marshal ¶
func (m *RemovePolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePolicyMembersResp) XXX_Merge ¶
func (dst *RemovePolicyMembersResp) XXX_Merge(src proto.Message)
func (*RemovePolicyMembersResp) XXX_Size ¶
func (m *RemovePolicyMembersResp) XXX_Size() int
func (*RemovePolicyMembersResp) XXX_Unmarshal ¶
func (m *RemovePolicyMembersResp) XXX_Unmarshal(b []byte) error
type RemovePolicyMembersRespValidationError ¶
type RemovePolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
RemovePolicyMembersRespValidationError is the validation error returned by RemovePolicyMembersResp.Validate if the designated constraints aren't met.
func (RemovePolicyMembersRespValidationError) Cause ¶
func (e RemovePolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (RemovePolicyMembersRespValidationError) Error ¶
func (e RemovePolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePolicyMembersRespValidationError) ErrorName ¶
func (e RemovePolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePolicyMembersRespValidationError) Field ¶
func (e RemovePolicyMembersRespValidationError) Field() string
Field function returns field value.
func (RemovePolicyMembersRespValidationError) Key ¶
func (e RemovePolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (RemovePolicyMembersRespValidationError) Reason ¶
func (e RemovePolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type ReplacePolicyMembersReq ¶
type ReplacePolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ReplacePolicyMembersReq) Descriptor ¶
func (*ReplacePolicyMembersReq) Descriptor() ([]byte, []int)
func (*ReplacePolicyMembersReq) GetId ¶
func (m *ReplacePolicyMembersReq) GetId() string
func (*ReplacePolicyMembersReq) GetMembers ¶
func (m *ReplacePolicyMembersReq) GetMembers() []string
func (*ReplacePolicyMembersReq) ProtoMessage ¶
func (*ReplacePolicyMembersReq) ProtoMessage()
func (*ReplacePolicyMembersReq) Reset ¶
func (m *ReplacePolicyMembersReq) Reset()
func (*ReplacePolicyMembersReq) String ¶
func (m *ReplacePolicyMembersReq) String() string
func (*ReplacePolicyMembersReq) Validate ¶
func (m *ReplacePolicyMembersReq) Validate() error
Validate checks the field values on ReplacePolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ReplacePolicyMembersReq) XXX_DiscardUnknown ¶
func (m *ReplacePolicyMembersReq) XXX_DiscardUnknown()
func (*ReplacePolicyMembersReq) XXX_Marshal ¶
func (m *ReplacePolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplacePolicyMembersReq) XXX_Merge ¶
func (dst *ReplacePolicyMembersReq) XXX_Merge(src proto.Message)
func (*ReplacePolicyMembersReq) XXX_Size ¶
func (m *ReplacePolicyMembersReq) XXX_Size() int
func (*ReplacePolicyMembersReq) XXX_Unmarshal ¶
func (m *ReplacePolicyMembersReq) XXX_Unmarshal(b []byte) error
type ReplacePolicyMembersReqValidationError ¶
type ReplacePolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
ReplacePolicyMembersReqValidationError is the validation error returned by ReplacePolicyMembersReq.Validate if the designated constraints aren't met.
func (ReplacePolicyMembersReqValidationError) Cause ¶
func (e ReplacePolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (ReplacePolicyMembersReqValidationError) Error ¶
func (e ReplacePolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (ReplacePolicyMembersReqValidationError) ErrorName ¶
func (e ReplacePolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (ReplacePolicyMembersReqValidationError) Field ¶
func (e ReplacePolicyMembersReqValidationError) Field() string
Field function returns field value.
func (ReplacePolicyMembersReqValidationError) Key ¶
func (e ReplacePolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (ReplacePolicyMembersReqValidationError) Reason ¶
func (e ReplacePolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type ReplacePolicyMembersResp ¶
type ReplacePolicyMembersResp struct { Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ReplacePolicyMembersResp) Descriptor ¶
func (*ReplacePolicyMembersResp) Descriptor() ([]byte, []int)
func (*ReplacePolicyMembersResp) GetMembers ¶
func (m *ReplacePolicyMembersResp) GetMembers() []string
func (*ReplacePolicyMembersResp) ProtoMessage ¶
func (*ReplacePolicyMembersResp) ProtoMessage()
func (*ReplacePolicyMembersResp) Reset ¶
func (m *ReplacePolicyMembersResp) Reset()
func (*ReplacePolicyMembersResp) String ¶
func (m *ReplacePolicyMembersResp) String() string
func (*ReplacePolicyMembersResp) Validate ¶
func (m *ReplacePolicyMembersResp) Validate() error
Validate checks the field values on ReplacePolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ReplacePolicyMembersResp) XXX_DiscardUnknown ¶
func (m *ReplacePolicyMembersResp) XXX_DiscardUnknown()
func (*ReplacePolicyMembersResp) XXX_Marshal ¶
func (m *ReplacePolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplacePolicyMembersResp) XXX_Merge ¶
func (dst *ReplacePolicyMembersResp) XXX_Merge(src proto.Message)
func (*ReplacePolicyMembersResp) XXX_Size ¶
func (m *ReplacePolicyMembersResp) XXX_Size() int
func (*ReplacePolicyMembersResp) XXX_Unmarshal ¶
func (m *ReplacePolicyMembersResp) XXX_Unmarshal(b []byte) error
type ReplacePolicyMembersRespValidationError ¶
type ReplacePolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
ReplacePolicyMembersRespValidationError is the validation error returned by ReplacePolicyMembersResp.Validate if the designated constraints aren't met.
func (ReplacePolicyMembersRespValidationError) Cause ¶
func (e ReplacePolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (ReplacePolicyMembersRespValidationError) Error ¶
func (e ReplacePolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (ReplacePolicyMembersRespValidationError) ErrorName ¶
func (e ReplacePolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (ReplacePolicyMembersRespValidationError) Field ¶
func (e ReplacePolicyMembersRespValidationError) Field() string
Field function returns field value.
func (ReplacePolicyMembersRespValidationError) Key ¶
func (e ReplacePolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (ReplacePolicyMembersRespValidationError) Reason ¶
func (e ReplacePolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type ResetToV1Req ¶
type ResetToV1Req struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ResetToV1Req) Descriptor ¶
func (*ResetToV1Req) Descriptor() ([]byte, []int)
func (*ResetToV1Req) ProtoMessage ¶
func (*ResetToV1Req) ProtoMessage()
func (*ResetToV1Req) Reset ¶
func (m *ResetToV1Req) Reset()
func (*ResetToV1Req) String ¶
func (m *ResetToV1Req) String() string
func (*ResetToV1Req) Validate ¶
func (m *ResetToV1Req) Validate() error
Validate checks the field values on ResetToV1Req with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ResetToV1Req) XXX_DiscardUnknown ¶
func (m *ResetToV1Req) XXX_DiscardUnknown()
func (*ResetToV1Req) XXX_Marshal ¶
func (m *ResetToV1Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetToV1Req) XXX_Merge ¶
func (dst *ResetToV1Req) XXX_Merge(src proto.Message)
func (*ResetToV1Req) XXX_Size ¶
func (m *ResetToV1Req) XXX_Size() int
func (*ResetToV1Req) XXX_Unmarshal ¶
func (m *ResetToV1Req) XXX_Unmarshal(b []byte) error
type ResetToV1ReqValidationError ¶
type ResetToV1ReqValidationError struct {
// contains filtered or unexported fields
}
ResetToV1ReqValidationError is the validation error returned by ResetToV1Req.Validate if the designated constraints aren't met.
func (ResetToV1ReqValidationError) Cause ¶
func (e ResetToV1ReqValidationError) Cause() error
Cause function returns cause value.
func (ResetToV1ReqValidationError) Error ¶
func (e ResetToV1ReqValidationError) Error() string
Error satisfies the builtin error interface
func (ResetToV1ReqValidationError) ErrorName ¶
func (e ResetToV1ReqValidationError) ErrorName() string
ErrorName returns error name.
func (ResetToV1ReqValidationError) Field ¶
func (e ResetToV1ReqValidationError) Field() string
Field function returns field value.
func (ResetToV1ReqValidationError) Key ¶
func (e ResetToV1ReqValidationError) Key() bool
Key function returns key value.
func (ResetToV1ReqValidationError) Reason ¶
func (e ResetToV1ReqValidationError) Reason() string
Reason function returns reason value.
type ResetToV1Resp ¶
type ResetToV1Resp struct { XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*ResetToV1Resp) Descriptor ¶
func (*ResetToV1Resp) Descriptor() ([]byte, []int)
func (*ResetToV1Resp) ProtoMessage ¶
func (*ResetToV1Resp) ProtoMessage()
func (*ResetToV1Resp) Reset ¶
func (m *ResetToV1Resp) Reset()
func (*ResetToV1Resp) String ¶
func (m *ResetToV1Resp) String() string
func (*ResetToV1Resp) Validate ¶
func (m *ResetToV1Resp) Validate() error
Validate checks the field values on ResetToV1Resp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ResetToV1Resp) XXX_DiscardUnknown ¶
func (m *ResetToV1Resp) XXX_DiscardUnknown()
func (*ResetToV1Resp) XXX_Marshal ¶
func (m *ResetToV1Resp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetToV1Resp) XXX_Merge ¶
func (dst *ResetToV1Resp) XXX_Merge(src proto.Message)
func (*ResetToV1Resp) XXX_Size ¶
func (m *ResetToV1Resp) XXX_Size() int
func (*ResetToV1Resp) XXX_Unmarshal ¶
func (m *ResetToV1Resp) XXX_Unmarshal(b []byte) error
type ResetToV1RespValidationError ¶
type ResetToV1RespValidationError struct {
// contains filtered or unexported fields
}
ResetToV1RespValidationError is the validation error returned by ResetToV1Resp.Validate if the designated constraints aren't met.
func (ResetToV1RespValidationError) Cause ¶
func (e ResetToV1RespValidationError) Cause() error
Cause function returns cause value.
func (ResetToV1RespValidationError) Error ¶
func (e ResetToV1RespValidationError) Error() string
Error satisfies the builtin error interface
func (ResetToV1RespValidationError) ErrorName ¶
func (e ResetToV1RespValidationError) ErrorName() string
ErrorName returns error name.
func (ResetToV1RespValidationError) Field ¶
func (e ResetToV1RespValidationError) Field() string
Field function returns field value.
func (ResetToV1RespValidationError) Key ¶
func (e ResetToV1RespValidationError) Key() bool
Key function returns key value.
func (ResetToV1RespValidationError) Reason ¶
func (e ResetToV1RespValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Type Type `` /* 154-byte string literal not displayed */ Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*Role) Descriptor ¶
func (*Role) GetActions ¶
func (*Role) GetProjects ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) Validate ¶
Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Role) XXX_DiscardUnknown ¶
func (m *Role) XXX_DiscardUnknown()
func (*Role) XXX_Unmarshal ¶
type RoleValidationError ¶
type RoleValidationError struct {
// contains filtered or unexported fields
}
RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.
func (RoleValidationError) Cause ¶
func (e RoleValidationError) Cause() error
Cause function returns cause value.
func (RoleValidationError) Error ¶
func (e RoleValidationError) Error() string
Error satisfies the builtin error interface
func (RoleValidationError) ErrorName ¶
func (e RoleValidationError) ErrorName() string
ErrorName returns error name.
func (RoleValidationError) Field ¶
func (e RoleValidationError) Field() string
Field function returns field value.
func (RoleValidationError) Key ¶
func (e RoleValidationError) Key() bool
Key function returns key value.
func (RoleValidationError) Reason ¶
func (e RoleValidationError) Reason() string
Reason function returns reason value.
type Statement ¶
type Statement struct { Effect Statement_Effect `` /* 174-byte string literal not displayed */ // inline definitions Resources []string `` /* 133-byte string literal not displayed */ // this RE means: * OR *:verb OR svc:type:verb OR svc:* OR svc:*:verb OR svc:type:* Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` // references Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*Statement) Descriptor ¶
func (*Statement) GetActions ¶
func (*Statement) GetEffect ¶
func (m *Statement) GetEffect() Statement_Effect
func (*Statement) GetProjects ¶
func (*Statement) GetResources ¶
func (*Statement) ProtoMessage ¶
func (*Statement) ProtoMessage()
func (*Statement) Validate ¶
Validate checks the field values on Statement with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Statement) XXX_DiscardUnknown ¶
func (m *Statement) XXX_DiscardUnknown()
func (*Statement) XXX_Marshal ¶
func (*Statement) XXX_Unmarshal ¶
type StatementValidationError ¶
type StatementValidationError struct {
// contains filtered or unexported fields
}
StatementValidationError is the validation error returned by Statement.Validate if the designated constraints aren't met.
func (StatementValidationError) Cause ¶
func (e StatementValidationError) Cause() error
Cause function returns cause value.
func (StatementValidationError) Error ¶
func (e StatementValidationError) Error() string
Error satisfies the builtin error interface
func (StatementValidationError) ErrorName ¶
func (e StatementValidationError) ErrorName() string
ErrorName returns error name.
func (StatementValidationError) Field ¶
func (e StatementValidationError) Field() string
Field function returns field value.
func (StatementValidationError) Key ¶
func (e StatementValidationError) Key() bool
Key function returns key value.
func (StatementValidationError) Reason ¶
func (e StatementValidationError) Reason() string
Reason function returns reason value.
type Statement_Effect ¶
type Statement_Effect int32
const ( Statement_ALLOW Statement_Effect = 0 Statement_DENY Statement_Effect = 1 )
func (Statement_Effect) EnumDescriptor ¶
func (Statement_Effect) EnumDescriptor() ([]byte, []int)
func (Statement_Effect) String ¶
func (x Statement_Effect) String() string
type UpdatePolicyReq ¶
type UpdatePolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` Statements []*Statement `` /* 137-byte string literal not displayed */ Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
Note that update does not accept a type since users can only create custom type policies.
func (*UpdatePolicyReq) Descriptor ¶
func (*UpdatePolicyReq) Descriptor() ([]byte, []int)
func (*UpdatePolicyReq) GetId ¶
func (m *UpdatePolicyReq) GetId() string
func (*UpdatePolicyReq) GetMembers ¶
func (m *UpdatePolicyReq) GetMembers() []string
func (*UpdatePolicyReq) GetName ¶
func (m *UpdatePolicyReq) GetName() string
func (*UpdatePolicyReq) GetProjects ¶
func (m *UpdatePolicyReq) GetProjects() []string
func (*UpdatePolicyReq) GetStatements ¶
func (m *UpdatePolicyReq) GetStatements() []*Statement
func (*UpdatePolicyReq) ProtoMessage ¶
func (*UpdatePolicyReq) ProtoMessage()
func (*UpdatePolicyReq) Reset ¶
func (m *UpdatePolicyReq) Reset()
func (*UpdatePolicyReq) String ¶
func (m *UpdatePolicyReq) String() string
func (*UpdatePolicyReq) Validate ¶
func (m *UpdatePolicyReq) Validate() error
Validate checks the field values on UpdatePolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UpdatePolicyReq) XXX_DiscardUnknown ¶
func (m *UpdatePolicyReq) XXX_DiscardUnknown()
func (*UpdatePolicyReq) XXX_Marshal ¶
func (m *UpdatePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePolicyReq) XXX_Merge ¶
func (dst *UpdatePolicyReq) XXX_Merge(src proto.Message)
func (*UpdatePolicyReq) XXX_Size ¶
func (m *UpdatePolicyReq) XXX_Size() int
func (*UpdatePolicyReq) XXX_Unmarshal ¶
func (m *UpdatePolicyReq) XXX_Unmarshal(b []byte) error
type UpdatePolicyReqValidationError ¶
type UpdatePolicyReqValidationError struct {
// contains filtered or unexported fields
}
UpdatePolicyReqValidationError is the validation error returned by UpdatePolicyReq.Validate if the designated constraints aren't met.
func (UpdatePolicyReqValidationError) Cause ¶
func (e UpdatePolicyReqValidationError) Cause() error
Cause function returns cause value.
func (UpdatePolicyReqValidationError) Error ¶
func (e UpdatePolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePolicyReqValidationError) ErrorName ¶
func (e UpdatePolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePolicyReqValidationError) Field ¶
func (e UpdatePolicyReqValidationError) Field() string
Field function returns field value.
func (UpdatePolicyReqValidationError) Key ¶
func (e UpdatePolicyReqValidationError) Key() bool
Key function returns key value.
func (UpdatePolicyReqValidationError) Reason ¶
func (e UpdatePolicyReqValidationError) Reason() string
Reason function returns reason value.
type UpdateProjectReq ¶
type UpdateProjectReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*UpdateProjectReq) Descriptor ¶
func (*UpdateProjectReq) Descriptor() ([]byte, []int)
func (*UpdateProjectReq) GetId ¶
func (m *UpdateProjectReq) GetId() string
func (*UpdateProjectReq) GetName ¶
func (m *UpdateProjectReq) GetName() string
func (*UpdateProjectReq) ProtoMessage ¶
func (*UpdateProjectReq) ProtoMessage()
func (*UpdateProjectReq) Reset ¶
func (m *UpdateProjectReq) Reset()
func (*UpdateProjectReq) String ¶
func (m *UpdateProjectReq) String() string
func (*UpdateProjectReq) Validate ¶
func (m *UpdateProjectReq) Validate() error
Validate checks the field values on UpdateProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UpdateProjectReq) XXX_DiscardUnknown ¶
func (m *UpdateProjectReq) XXX_DiscardUnknown()
func (*UpdateProjectReq) XXX_Marshal ¶
func (m *UpdateProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateProjectReq) XXX_Merge ¶
func (dst *UpdateProjectReq) XXX_Merge(src proto.Message)
func (*UpdateProjectReq) XXX_Size ¶
func (m *UpdateProjectReq) XXX_Size() int
func (*UpdateProjectReq) XXX_Unmarshal ¶
func (m *UpdateProjectReq) XXX_Unmarshal(b []byte) error
type UpdateProjectReqValidationError ¶
type UpdateProjectReqValidationError struct {
// contains filtered or unexported fields
}
UpdateProjectReqValidationError is the validation error returned by UpdateProjectReq.Validate if the designated constraints aren't met.
func (UpdateProjectReqValidationError) Cause ¶
func (e UpdateProjectReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateProjectReqValidationError) Error ¶
func (e UpdateProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProjectReqValidationError) ErrorName ¶
func (e UpdateProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProjectReqValidationError) Field ¶
func (e UpdateProjectReqValidationError) Field() string
Field function returns field value.
func (UpdateProjectReqValidationError) Key ¶
func (e UpdateProjectReqValidationError) Key() bool
Key function returns key value.
func (UpdateProjectReqValidationError) Reason ¶
func (e UpdateProjectReqValidationError) Reason() string
Reason function returns reason value.
type UpdateProjectResp ¶
type UpdateProjectResp struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*UpdateProjectResp) Descriptor ¶
func (*UpdateProjectResp) Descriptor() ([]byte, []int)
func (*UpdateProjectResp) GetProject ¶
func (m *UpdateProjectResp) GetProject() *Project
func (*UpdateProjectResp) ProtoMessage ¶
func (*UpdateProjectResp) ProtoMessage()
func (*UpdateProjectResp) Reset ¶
func (m *UpdateProjectResp) Reset()
func (*UpdateProjectResp) String ¶
func (m *UpdateProjectResp) String() string
func (*UpdateProjectResp) Validate ¶
func (m *UpdateProjectResp) Validate() error
Validate checks the field values on UpdateProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UpdateProjectResp) XXX_DiscardUnknown ¶
func (m *UpdateProjectResp) XXX_DiscardUnknown()
func (*UpdateProjectResp) XXX_Marshal ¶
func (m *UpdateProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateProjectResp) XXX_Merge ¶
func (dst *UpdateProjectResp) XXX_Merge(src proto.Message)
func (*UpdateProjectResp) XXX_Size ¶
func (m *UpdateProjectResp) XXX_Size() int
func (*UpdateProjectResp) XXX_Unmarshal ¶
func (m *UpdateProjectResp) XXX_Unmarshal(b []byte) error
type UpdateProjectRespValidationError ¶
type UpdateProjectRespValidationError struct {
// contains filtered or unexported fields
}
UpdateProjectRespValidationError is the validation error returned by UpdateProjectResp.Validate if the designated constraints aren't met.
func (UpdateProjectRespValidationError) Cause ¶
func (e UpdateProjectRespValidationError) Cause() error
Cause function returns cause value.
func (UpdateProjectRespValidationError) Error ¶
func (e UpdateProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProjectRespValidationError) ErrorName ¶
func (e UpdateProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProjectRespValidationError) Field ¶
func (e UpdateProjectRespValidationError) Field() string
Field function returns field value.
func (UpdateProjectRespValidationError) Key ¶
func (e UpdateProjectRespValidationError) Key() bool
Key function returns key value.
func (UpdateProjectRespValidationError) Reason ¶
func (e UpdateProjectRespValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleReq ¶
type UpdateRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
func (*UpdateRoleReq) Descriptor ¶
func (*UpdateRoleReq) Descriptor() ([]byte, []int)
func (*UpdateRoleReq) GetActions ¶
func (m *UpdateRoleReq) GetActions() []string
func (*UpdateRoleReq) GetId ¶
func (m *UpdateRoleReq) GetId() string
func (*UpdateRoleReq) GetName ¶
func (m *UpdateRoleReq) GetName() string
func (*UpdateRoleReq) GetProjects ¶
func (m *UpdateRoleReq) GetProjects() []string
func (*UpdateRoleReq) ProtoMessage ¶
func (*UpdateRoleReq) ProtoMessage()
func (*UpdateRoleReq) Reset ¶
func (m *UpdateRoleReq) Reset()
func (*UpdateRoleReq) String ¶
func (m *UpdateRoleReq) String() string
func (*UpdateRoleReq) Validate ¶
func (m *UpdateRoleReq) Validate() error
Validate checks the field values on UpdateRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UpdateRoleReq) XXX_DiscardUnknown ¶
func (m *UpdateRoleReq) XXX_DiscardUnknown()
func (*UpdateRoleReq) XXX_Marshal ¶
func (m *UpdateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRoleReq) XXX_Merge ¶
func (dst *UpdateRoleReq) XXX_Merge(src proto.Message)
func (*UpdateRoleReq) XXX_Size ¶
func (m *UpdateRoleReq) XXX_Size() int
func (*UpdateRoleReq) XXX_Unmarshal ¶
func (m *UpdateRoleReq) XXX_Unmarshal(b []byte) error
type UpdateRoleReqValidationError ¶
type UpdateRoleReqValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleReqValidationError is the validation error returned by UpdateRoleReq.Validate if the designated constraints aren't met.
func (UpdateRoleReqValidationError) Cause ¶
func (e UpdateRoleReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleReqValidationError) Error ¶
func (e UpdateRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleReqValidationError) ErrorName ¶
func (e UpdateRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleReqValidationError) Field ¶
func (e UpdateRoleReqValidationError) Field() string
Field function returns field value.
func (UpdateRoleReqValidationError) Key ¶
func (e UpdateRoleReqValidationError) Key() bool
Key function returns key value.
func (UpdateRoleReqValidationError) Reason ¶
func (e UpdateRoleReqValidationError) Reason() string
Reason function returns reason value.
type Version ¶
type Version struct { Major Version_VersionNumber `` /* 175-byte string literal not displayed */ Minor Version_VersionNumber `` /* 175-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_unrecognized []byte `json:"-" toml:"-" mapstructure:"-,omitempty"` XXX_sizecache int32 `json:"-" toml:"-" mapstructure:"-,omitempty"` }
the only values that may be returned by GetPolicyVersion
func (*Version) Descriptor ¶
func (*Version) GetMajor ¶
func (m *Version) GetMajor() Version_VersionNumber
func (*Version) GetMinor ¶
func (m *Version) GetMinor() Version_VersionNumber
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) Validate ¶
Validate checks the field values on Version with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Version) XXX_DiscardUnknown ¶
func (m *Version) XXX_DiscardUnknown()
func (*Version) XXX_Marshal ¶
func (*Version) XXX_Unmarshal ¶
type VersionValidationError ¶
type VersionValidationError struct {
// contains filtered or unexported fields
}
VersionValidationError is the validation error returned by Version.Validate if the designated constraints aren't met.
func (VersionValidationError) Cause ¶
func (e VersionValidationError) Cause() error
Cause function returns cause value.
func (VersionValidationError) Error ¶
func (e VersionValidationError) Error() string
Error satisfies the builtin error interface
func (VersionValidationError) ErrorName ¶
func (e VersionValidationError) ErrorName() string
ErrorName returns error name.
func (VersionValidationError) Field ¶
func (e VersionValidationError) Field() string
Field function returns field value.
func (VersionValidationError) Key ¶
func (e VersionValidationError) Key() bool
Key function returns key value.
func (VersionValidationError) Reason ¶
func (e VersionValidationError) Reason() string
Reason function returns reason value.
type Version_VersionNumber ¶
type Version_VersionNumber int32
const ( Version_V0 Version_VersionNumber = 0 Version_V1 Version_VersionNumber = 1 Version_V2 Version_VersionNumber = 2 )
func (Version_VersionNumber) EnumDescriptor ¶
func (Version_VersionNumber) EnumDescriptor() ([]byte, []int)
func (Version_VersionNumber) String ¶
func (x Version_VersionNumber) String() string