Documentation ¶
Index ¶
- Variables
- func RegisterTeamsServiceServer(s *grpc.Server, srv TeamsServiceServer)
- type AddTeamMembersReq
- func (*AddTeamMembersReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddTeamMembersReq) GetId() string
- func (x *AddTeamMembersReq) GetUserIds() []string
- func (*AddTeamMembersReq) ProtoMessage()
- func (x *AddTeamMembersReq) ProtoReflect() protoreflect.Message
- func (x *AddTeamMembersReq) Reset()
- func (x *AddTeamMembersReq) String() string
- func (m *AddTeamMembersReq) Validate() error
- type AddTeamMembersReqValidationError
- func (e AddTeamMembersReqValidationError) Cause() error
- func (e AddTeamMembersReqValidationError) Error() string
- func (e AddTeamMembersReqValidationError) ErrorName() string
- func (e AddTeamMembersReqValidationError) Field() string
- func (e AddTeamMembersReqValidationError) Key() bool
- func (e AddTeamMembersReqValidationError) Reason() string
- type AddTeamMembersResp
- func (*AddTeamMembersResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddTeamMembersResp) GetUserIds() []string
- func (*AddTeamMembersResp) ProtoMessage()
- func (x *AddTeamMembersResp) ProtoReflect() protoreflect.Message
- func (x *AddTeamMembersResp) Reset()
- func (x *AddTeamMembersResp) String() string
- func (m *AddTeamMembersResp) Validate() error
- type AddTeamMembersRespValidationError
- func (e AddTeamMembersRespValidationError) Cause() error
- func (e AddTeamMembersRespValidationError) Error() string
- func (e AddTeamMembersRespValidationError) ErrorName() string
- func (e AddTeamMembersRespValidationError) Field() string
- func (e AddTeamMembersRespValidationError) Key() bool
- func (e AddTeamMembersRespValidationError) Reason() string
- type CreateTeamReq
- func (*CreateTeamReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTeamReq) GetId() string
- func (x *CreateTeamReq) GetName() string
- func (x *CreateTeamReq) GetProjects() []string
- func (*CreateTeamReq) ProtoMessage()
- func (x *CreateTeamReq) ProtoReflect() protoreflect.Message
- func (x *CreateTeamReq) Reset()
- func (x *CreateTeamReq) String() string
- func (m *CreateTeamReq) Validate() error
- type CreateTeamReqValidationError
- func (e CreateTeamReqValidationError) Cause() error
- func (e CreateTeamReqValidationError) Error() string
- func (e CreateTeamReqValidationError) ErrorName() string
- func (e CreateTeamReqValidationError) Field() string
- func (e CreateTeamReqValidationError) Key() bool
- func (e CreateTeamReqValidationError) Reason() string
- type CreateTeamResp
- func (*CreateTeamResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTeamResp) GetTeam() *Team
- func (*CreateTeamResp) ProtoMessage()
- func (x *CreateTeamResp) ProtoReflect() protoreflect.Message
- func (x *CreateTeamResp) Reset()
- func (x *CreateTeamResp) String() string
- func (m *CreateTeamResp) Validate() error
- type CreateTeamRespValidationError
- func (e CreateTeamRespValidationError) Cause() error
- func (e CreateTeamRespValidationError) Error() string
- func (e CreateTeamRespValidationError) ErrorName() string
- func (e CreateTeamRespValidationError) Field() string
- func (e CreateTeamRespValidationError) Key() bool
- func (e CreateTeamRespValidationError) Reason() string
- type DeleteTeamReq
- func (*DeleteTeamReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTeamReq) GetId() string
- func (*DeleteTeamReq) ProtoMessage()
- func (x *DeleteTeamReq) ProtoReflect() protoreflect.Message
- func (x *DeleteTeamReq) Reset()
- func (x *DeleteTeamReq) String() string
- func (m *DeleteTeamReq) Validate() error
- type DeleteTeamReqValidationError
- func (e DeleteTeamReqValidationError) Cause() error
- func (e DeleteTeamReqValidationError) Error() string
- func (e DeleteTeamReqValidationError) ErrorName() string
- func (e DeleteTeamReqValidationError) Field() string
- func (e DeleteTeamReqValidationError) Key() bool
- func (e DeleteTeamReqValidationError) Reason() string
- type DeleteTeamResp
- func (*DeleteTeamResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTeamResp) GetTeam() *Team
- func (*DeleteTeamResp) ProtoMessage()
- func (x *DeleteTeamResp) ProtoReflect() protoreflect.Message
- func (x *DeleteTeamResp) Reset()
- func (x *DeleteTeamResp) String() string
- func (m *DeleteTeamResp) Validate() error
- type DeleteTeamRespValidationError
- func (e DeleteTeamRespValidationError) Cause() error
- func (e DeleteTeamRespValidationError) Error() string
- func (e DeleteTeamRespValidationError) ErrorName() string
- func (e DeleteTeamRespValidationError) Field() string
- func (e DeleteTeamRespValidationError) Key() bool
- func (e DeleteTeamRespValidationError) Reason() string
- type GetTeamMembershipReq
- func (*GetTeamMembershipReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetTeamMembershipReq) GetId() string
- func (*GetTeamMembershipReq) ProtoMessage()
- func (x *GetTeamMembershipReq) ProtoReflect() protoreflect.Message
- func (x *GetTeamMembershipReq) Reset()
- func (x *GetTeamMembershipReq) String() string
- func (m *GetTeamMembershipReq) Validate() error
- type GetTeamMembershipReqValidationError
- func (e GetTeamMembershipReqValidationError) Cause() error
- func (e GetTeamMembershipReqValidationError) Error() string
- func (e GetTeamMembershipReqValidationError) ErrorName() string
- func (e GetTeamMembershipReqValidationError) Field() string
- func (e GetTeamMembershipReqValidationError) Key() bool
- func (e GetTeamMembershipReqValidationError) Reason() string
- type GetTeamMembershipResp
- func (*GetTeamMembershipResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetTeamMembershipResp) GetUserIds() []string
- func (*GetTeamMembershipResp) ProtoMessage()
- func (x *GetTeamMembershipResp) ProtoReflect() protoreflect.Message
- func (x *GetTeamMembershipResp) Reset()
- func (x *GetTeamMembershipResp) String() string
- func (m *GetTeamMembershipResp) Validate() error
- type GetTeamMembershipRespValidationError
- func (e GetTeamMembershipRespValidationError) Cause() error
- func (e GetTeamMembershipRespValidationError) Error() string
- func (e GetTeamMembershipRespValidationError) ErrorName() string
- func (e GetTeamMembershipRespValidationError) Field() string
- func (e GetTeamMembershipRespValidationError) Key() bool
- func (e GetTeamMembershipRespValidationError) Reason() string
- type GetTeamReq
- type GetTeamReqValidationError
- type GetTeamResp
- type GetTeamRespValidationError
- func (e GetTeamRespValidationError) Cause() error
- func (e GetTeamRespValidationError) Error() string
- func (e GetTeamRespValidationError) ErrorName() string
- func (e GetTeamRespValidationError) Field() string
- func (e GetTeamRespValidationError) Key() bool
- func (e GetTeamRespValidationError) Reason() string
- type GetTeamsForMemberReq
- func (*GetTeamsForMemberReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetTeamsForMemberReq) GetUserId() string
- func (*GetTeamsForMemberReq) ProtoMessage()
- func (x *GetTeamsForMemberReq) ProtoReflect() protoreflect.Message
- func (x *GetTeamsForMemberReq) Reset()
- func (x *GetTeamsForMemberReq) String() string
- func (m *GetTeamsForMemberReq) Validate() error
- type GetTeamsForMemberReqValidationError
- func (e GetTeamsForMemberReqValidationError) Cause() error
- func (e GetTeamsForMemberReqValidationError) Error() string
- func (e GetTeamsForMemberReqValidationError) ErrorName() string
- func (e GetTeamsForMemberReqValidationError) Field() string
- func (e GetTeamsForMemberReqValidationError) Key() bool
- func (e GetTeamsForMemberReqValidationError) Reason() string
- type GetTeamsForMemberResp
- func (*GetTeamsForMemberResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetTeamsForMemberResp) GetTeams() []*Team
- func (*GetTeamsForMemberResp) ProtoMessage()
- func (x *GetTeamsForMemberResp) ProtoReflect() protoreflect.Message
- func (x *GetTeamsForMemberResp) Reset()
- func (x *GetTeamsForMemberResp) String() string
- func (m *GetTeamsForMemberResp) Validate() error
- type GetTeamsForMemberRespValidationError
- func (e GetTeamsForMemberRespValidationError) Cause() error
- func (e GetTeamsForMemberRespValidationError) Error() string
- func (e GetTeamsForMemberRespValidationError) ErrorName() string
- func (e GetTeamsForMemberRespValidationError) Field() string
- func (e GetTeamsForMemberRespValidationError) Key() bool
- func (e GetTeamsForMemberRespValidationError) Reason() string
- type ListTeamsReq
- type ListTeamsReqValidationError
- func (e ListTeamsReqValidationError) Cause() error
- func (e ListTeamsReqValidationError) Error() string
- func (e ListTeamsReqValidationError) ErrorName() string
- func (e ListTeamsReqValidationError) Field() string
- func (e ListTeamsReqValidationError) Key() bool
- func (e ListTeamsReqValidationError) Reason() string
- type ListTeamsResp
- func (*ListTeamsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListTeamsResp) GetTeams() []*Team
- func (*ListTeamsResp) ProtoMessage()
- func (x *ListTeamsResp) ProtoReflect() protoreflect.Message
- func (x *ListTeamsResp) Reset()
- func (x *ListTeamsResp) String() string
- func (m *ListTeamsResp) Validate() error
- type ListTeamsRespValidationError
- func (e ListTeamsRespValidationError) Cause() error
- func (e ListTeamsRespValidationError) Error() string
- func (e ListTeamsRespValidationError) ErrorName() string
- func (e ListTeamsRespValidationError) Field() string
- func (e ListTeamsRespValidationError) Key() bool
- func (e ListTeamsRespValidationError) Reason() string
- type PurgeUserMembershipReq
- func (*PurgeUserMembershipReq) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeUserMembershipReq) GetUserId() string
- func (*PurgeUserMembershipReq) ProtoMessage()
- func (x *PurgeUserMembershipReq) ProtoReflect() protoreflect.Message
- func (x *PurgeUserMembershipReq) Reset()
- func (x *PurgeUserMembershipReq) String() string
- func (m *PurgeUserMembershipReq) Validate() error
- type PurgeUserMembershipReqValidationError
- func (e PurgeUserMembershipReqValidationError) Cause() error
- func (e PurgeUserMembershipReqValidationError) Error() string
- func (e PurgeUserMembershipReqValidationError) ErrorName() string
- func (e PurgeUserMembershipReqValidationError) Field() string
- func (e PurgeUserMembershipReqValidationError) Key() bool
- func (e PurgeUserMembershipReqValidationError) Reason() string
- type PurgeUserMembershipResp
- func (*PurgeUserMembershipResp) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeUserMembershipResp) GetIds() []string
- func (*PurgeUserMembershipResp) ProtoMessage()
- func (x *PurgeUserMembershipResp) ProtoReflect() protoreflect.Message
- func (x *PurgeUserMembershipResp) Reset()
- func (x *PurgeUserMembershipResp) String() string
- func (m *PurgeUserMembershipResp) Validate() error
- type PurgeUserMembershipRespValidationError
- func (e PurgeUserMembershipRespValidationError) Cause() error
- func (e PurgeUserMembershipRespValidationError) Error() string
- func (e PurgeUserMembershipRespValidationError) ErrorName() string
- func (e PurgeUserMembershipRespValidationError) Field() string
- func (e PurgeUserMembershipRespValidationError) Key() bool
- func (e PurgeUserMembershipRespValidationError) Reason() string
- type RemoveTeamMembersReq
- func (*RemoveTeamMembersReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTeamMembersReq) GetId() string
- func (x *RemoveTeamMembersReq) GetUserIds() []string
- func (*RemoveTeamMembersReq) ProtoMessage()
- func (x *RemoveTeamMembersReq) ProtoReflect() protoreflect.Message
- func (x *RemoveTeamMembersReq) Reset()
- func (x *RemoveTeamMembersReq) String() string
- func (m *RemoveTeamMembersReq) Validate() error
- type RemoveTeamMembersReqValidationError
- func (e RemoveTeamMembersReqValidationError) Cause() error
- func (e RemoveTeamMembersReqValidationError) Error() string
- func (e RemoveTeamMembersReqValidationError) ErrorName() string
- func (e RemoveTeamMembersReqValidationError) Field() string
- func (e RemoveTeamMembersReqValidationError) Key() bool
- func (e RemoveTeamMembersReqValidationError) Reason() string
- type RemoveTeamMembersResp
- func (*RemoveTeamMembersResp) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTeamMembersResp) GetUserIds() []string
- func (*RemoveTeamMembersResp) ProtoMessage()
- func (x *RemoveTeamMembersResp) ProtoReflect() protoreflect.Message
- func (x *RemoveTeamMembersResp) Reset()
- func (x *RemoveTeamMembersResp) String() string
- func (m *RemoveTeamMembersResp) Validate() error
- type RemoveTeamMembersRespValidationError
- func (e RemoveTeamMembersRespValidationError) Cause() error
- func (e RemoveTeamMembersRespValidationError) Error() string
- func (e RemoveTeamMembersRespValidationError) ErrorName() string
- func (e RemoveTeamMembersRespValidationError) Field() string
- func (e RemoveTeamMembersRespValidationError) Key() bool
- func (e RemoveTeamMembersRespValidationError) Reason() string
- type ResetToV1Req
- 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
- 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 Team
- func (*Team) Descriptor() ([]byte, []int)deprecated
- func (x *Team) GetId() string
- func (x *Team) GetName() string
- func (x *Team) GetProjects() []string
- func (*Team) ProtoMessage()
- func (x *Team) ProtoReflect() protoreflect.Message
- func (x *Team) Reset()
- func (x *Team) String() string
- func (m *Team) Validate() error
- type TeamValidationError
- type TeamsServiceClient
- type TeamsServiceServer
- type TeamsServiceServerMock
- func (m *TeamsServiceServerMock) AddTeamMembers(ctx context.Context, req *AddTeamMembersReq) (*AddTeamMembersResp, error)
- func (m *TeamsServiceServerMock) CreateTeam(ctx context.Context, req *CreateTeamReq) (*CreateTeamResp, error)
- func (m *TeamsServiceServerMock) DeleteTeam(ctx context.Context, req *DeleteTeamReq) (*DeleteTeamResp, error)
- func (m *TeamsServiceServerMock) GetTeam(ctx context.Context, req *GetTeamReq) (*GetTeamResp, error)
- func (m *TeamsServiceServerMock) GetTeamMembership(ctx context.Context, req *GetTeamMembershipReq) (*GetTeamMembershipResp, error)
- func (m *TeamsServiceServerMock) GetTeamsForMember(ctx context.Context, req *GetTeamsForMemberReq) (*GetTeamsForMemberResp, error)
- func (m *TeamsServiceServerMock) GetVersion(ctx context.Context, req *version.VersionInfoRequest) (*version.VersionInfo, error)
- func (m *TeamsServiceServerMock) ListTeams(ctx context.Context, req *ListTeamsReq) (*ListTeamsResp, error)
- func (m *TeamsServiceServerMock) PurgeUserMembership(ctx context.Context, req *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error)
- func (m *TeamsServiceServerMock) RemoveTeamMembers(ctx context.Context, req *RemoveTeamMembersReq) (*RemoveTeamMembersResp, error)
- func (m *TeamsServiceServerMock) Reset()
- func (m *TeamsServiceServerMock) UpdateTeam(ctx context.Context, req *UpdateTeamReq) (*UpdateTeamResp, error)
- type UnimplementedTeamsServiceServer
- func (*UnimplementedTeamsServiceServer) AddTeamMembers(context.Context, *AddTeamMembersReq) (*AddTeamMembersResp, error)
- func (*UnimplementedTeamsServiceServer) CreateTeam(context.Context, *CreateTeamReq) (*CreateTeamResp, error)
- func (*UnimplementedTeamsServiceServer) DeleteTeam(context.Context, *DeleteTeamReq) (*DeleteTeamResp, error)
- func (*UnimplementedTeamsServiceServer) GetTeam(context.Context, *GetTeamReq) (*GetTeamResp, error)
- func (*UnimplementedTeamsServiceServer) GetTeamMembership(context.Context, *GetTeamMembershipReq) (*GetTeamMembershipResp, error)
- func (*UnimplementedTeamsServiceServer) GetTeamsForMember(context.Context, *GetTeamsForMemberReq) (*GetTeamsForMemberResp, error)
- func (*UnimplementedTeamsServiceServer) GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
- func (*UnimplementedTeamsServiceServer) ListTeams(context.Context, *ListTeamsReq) (*ListTeamsResp, error)
- func (*UnimplementedTeamsServiceServer) PurgeUserMembership(context.Context, *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error)
- func (*UnimplementedTeamsServiceServer) RemoveTeamMembers(context.Context, *RemoveTeamMembersReq) (*RemoveTeamMembersResp, error)
- func (*UnimplementedTeamsServiceServer) UpdateTeam(context.Context, *UpdateTeamReq) (*UpdateTeamResp, error)
- type UpdateTeamReq
- func (*UpdateTeamReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTeamReq) GetId() string
- func (x *UpdateTeamReq) GetName() string
- func (x *UpdateTeamReq) GetProjects() []string
- func (*UpdateTeamReq) ProtoMessage()
- func (x *UpdateTeamReq) ProtoReflect() protoreflect.Message
- func (x *UpdateTeamReq) Reset()
- func (x *UpdateTeamReq) String() string
- func (m *UpdateTeamReq) Validate() error
- type UpdateTeamReqValidationError
- func (e UpdateTeamReqValidationError) Cause() error
- func (e UpdateTeamReqValidationError) Error() string
- func (e UpdateTeamReqValidationError) ErrorName() string
- func (e UpdateTeamReqValidationError) Field() string
- func (e UpdateTeamReqValidationError) Key() bool
- func (e UpdateTeamReqValidationError) Reason() string
- type UpdateTeamResp
- func (*UpdateTeamResp) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTeamResp) GetTeam() *Team
- func (*UpdateTeamResp) ProtoMessage()
- func (x *UpdateTeamResp) ProtoReflect() protoreflect.Message
- func (x *UpdateTeamResp) Reset()
- func (x *UpdateTeamResp) String() string
- func (m *UpdateTeamResp) Validate() error
- type UpdateTeamRespValidationError
- func (e UpdateTeamRespValidationError) Cause() error
- func (e UpdateTeamRespValidationError) Error() string
- func (e UpdateTeamRespValidationError) ErrorName() string
- func (e UpdateTeamRespValidationError) Field() string
- func (e UpdateTeamRespValidationError) Key() bool
- func (e UpdateTeamRespValidationError) Reason() string
- type UpgradeToV2Req
- type UpgradeToV2ReqValidationError
- func (e UpgradeToV2ReqValidationError) Cause() error
- func (e UpgradeToV2ReqValidationError) Error() string
- func (e UpgradeToV2ReqValidationError) ErrorName() string
- func (e UpgradeToV2ReqValidationError) Field() string
- func (e UpgradeToV2ReqValidationError) Key() bool
- func (e UpgradeToV2ReqValidationError) Reason() string
- type UpgradeToV2Resp
- type UpgradeToV2RespValidationError
- func (e UpgradeToV2RespValidationError) Cause() error
- func (e UpgradeToV2RespValidationError) Error() string
- func (e UpgradeToV2RespValidationError) ErrorName() string
- func (e UpgradeToV2RespValidationError) Field() string
- func (e UpgradeToV2RespValidationError) Key() bool
- func (e UpgradeToV2RespValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_interservice_teams_teams_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTeamsServiceServer ¶
func RegisterTeamsServiceServer(s *grpc.Server, srv TeamsServiceServer)
Types ¶
type AddTeamMembersReq ¶
type AddTeamMembersReq struct { // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // However, this regex works for V1 and V2 User IDs. UserIds []string `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddTeamMembersReq) Descriptor
deprecated
func (*AddTeamMembersReq) Descriptor() ([]byte, []int)
Deprecated: Use AddTeamMembersReq.ProtoReflect.Descriptor instead.
func (*AddTeamMembersReq) GetId ¶
func (x *AddTeamMembersReq) GetId() string
func (*AddTeamMembersReq) GetUserIds ¶
func (x *AddTeamMembersReq) GetUserIds() []string
func (*AddTeamMembersReq) ProtoMessage ¶
func (*AddTeamMembersReq) ProtoMessage()
func (*AddTeamMembersReq) ProtoReflect ¶
func (x *AddTeamMembersReq) ProtoReflect() protoreflect.Message
func (*AddTeamMembersReq) Reset ¶
func (x *AddTeamMembersReq) Reset()
func (*AddTeamMembersReq) String ¶
func (x *AddTeamMembersReq) String() string
func (*AddTeamMembersReq) Validate ¶
func (m *AddTeamMembersReq) Validate() error
Validate checks the field values on AddTeamMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddTeamMembersReqValidationError ¶
type AddTeamMembersReqValidationError struct {
// contains filtered or unexported fields
}
AddTeamMembersReqValidationError is the validation error returned by AddTeamMembersReq.Validate if the designated constraints aren't met.
func (AddTeamMembersReqValidationError) Cause ¶
func (e AddTeamMembersReqValidationError) Cause() error
Cause function returns cause value.
func (AddTeamMembersReqValidationError) Error ¶
func (e AddTeamMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (AddTeamMembersReqValidationError) ErrorName ¶
func (e AddTeamMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (AddTeamMembersReqValidationError) Field ¶
func (e AddTeamMembersReqValidationError) Field() string
Field function returns field value.
func (AddTeamMembersReqValidationError) Key ¶
func (e AddTeamMembersReqValidationError) Key() bool
Key function returns key value.
func (AddTeamMembersReqValidationError) Reason ¶
func (e AddTeamMembersReqValidationError) Reason() string
Reason function returns reason value.
type AddTeamMembersResp ¶
type AddTeamMembersResp struct { UserIds []string `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddTeamMembersResp) Descriptor
deprecated
func (*AddTeamMembersResp) Descriptor() ([]byte, []int)
Deprecated: Use AddTeamMembersResp.ProtoReflect.Descriptor instead.
func (*AddTeamMembersResp) GetUserIds ¶
func (x *AddTeamMembersResp) GetUserIds() []string
func (*AddTeamMembersResp) ProtoMessage ¶
func (*AddTeamMembersResp) ProtoMessage()
func (*AddTeamMembersResp) ProtoReflect ¶
func (x *AddTeamMembersResp) ProtoReflect() protoreflect.Message
func (*AddTeamMembersResp) Reset ¶
func (x *AddTeamMembersResp) Reset()
func (*AddTeamMembersResp) String ¶
func (x *AddTeamMembersResp) String() string
func (*AddTeamMembersResp) Validate ¶
func (m *AddTeamMembersResp) Validate() error
Validate checks the field values on AddTeamMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddTeamMembersRespValidationError ¶
type AddTeamMembersRespValidationError struct {
// contains filtered or unexported fields
}
AddTeamMembersRespValidationError is the validation error returned by AddTeamMembersResp.Validate if the designated constraints aren't met.
func (AddTeamMembersRespValidationError) Cause ¶
func (e AddTeamMembersRespValidationError) Cause() error
Cause function returns cause value.
func (AddTeamMembersRespValidationError) Error ¶
func (e AddTeamMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (AddTeamMembersRespValidationError) ErrorName ¶
func (e AddTeamMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (AddTeamMembersRespValidationError) Field ¶
func (e AddTeamMembersRespValidationError) Field() string
Field function returns field value.
func (AddTeamMembersRespValidationError) Key ¶
func (e AddTeamMembersRespValidationError) Key() bool
Key function returns key value.
func (AddTeamMembersRespValidationError) Reason ¶
func (e AddTeamMembersRespValidationError) Reason() string
Reason function returns reason value.
type CreateTeamReq ¶
type CreateTeamReq 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"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateTeamReq) Descriptor
deprecated
func (*CreateTeamReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateTeamReq.ProtoReflect.Descriptor instead.
func (*CreateTeamReq) GetId ¶
func (x *CreateTeamReq) GetId() string
func (*CreateTeamReq) GetName ¶
func (x *CreateTeamReq) GetName() string
func (*CreateTeamReq) GetProjects ¶
func (x *CreateTeamReq) GetProjects() []string
func (*CreateTeamReq) ProtoMessage ¶
func (*CreateTeamReq) ProtoMessage()
func (*CreateTeamReq) ProtoReflect ¶
func (x *CreateTeamReq) ProtoReflect() protoreflect.Message
func (*CreateTeamReq) Reset ¶
func (x *CreateTeamReq) Reset()
func (*CreateTeamReq) String ¶
func (x *CreateTeamReq) String() string
func (*CreateTeamReq) Validate ¶
func (m *CreateTeamReq) Validate() error
Validate checks the field values on CreateTeamReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateTeamReqValidationError ¶
type CreateTeamReqValidationError struct {
// contains filtered or unexported fields
}
CreateTeamReqValidationError is the validation error returned by CreateTeamReq.Validate if the designated constraints aren't met.
func (CreateTeamReqValidationError) Cause ¶
func (e CreateTeamReqValidationError) Cause() error
Cause function returns cause value.
func (CreateTeamReqValidationError) Error ¶
func (e CreateTeamReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTeamReqValidationError) ErrorName ¶
func (e CreateTeamReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTeamReqValidationError) Field ¶
func (e CreateTeamReqValidationError) Field() string
Field function returns field value.
func (CreateTeamReqValidationError) Key ¶
func (e CreateTeamReqValidationError) Key() bool
Key function returns key value.
func (CreateTeamReqValidationError) Reason ¶
func (e CreateTeamReqValidationError) Reason() string
Reason function returns reason value.
type CreateTeamResp ¶
type CreateTeamResp struct { Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` // contains filtered or unexported fields }
func (*CreateTeamResp) Descriptor
deprecated
func (*CreateTeamResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateTeamResp.ProtoReflect.Descriptor instead.
func (*CreateTeamResp) GetTeam ¶
func (x *CreateTeamResp) GetTeam() *Team
func (*CreateTeamResp) ProtoMessage ¶
func (*CreateTeamResp) ProtoMessage()
func (*CreateTeamResp) ProtoReflect ¶
func (x *CreateTeamResp) ProtoReflect() protoreflect.Message
func (*CreateTeamResp) Reset ¶
func (x *CreateTeamResp) Reset()
func (*CreateTeamResp) String ¶
func (x *CreateTeamResp) String() string
func (*CreateTeamResp) Validate ¶
func (m *CreateTeamResp) Validate() error
Validate checks the field values on CreateTeamResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateTeamRespValidationError ¶
type CreateTeamRespValidationError struct {
// contains filtered or unexported fields
}
CreateTeamRespValidationError is the validation error returned by CreateTeamResp.Validate if the designated constraints aren't met.
func (CreateTeamRespValidationError) Cause ¶
func (e CreateTeamRespValidationError) Cause() error
Cause function returns cause value.
func (CreateTeamRespValidationError) Error ¶
func (e CreateTeamRespValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTeamRespValidationError) ErrorName ¶
func (e CreateTeamRespValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTeamRespValidationError) Field ¶
func (e CreateTeamRespValidationError) Field() string
Field function returns field value.
func (CreateTeamRespValidationError) Key ¶
func (e CreateTeamRespValidationError) Key() bool
Key function returns key value.
func (CreateTeamRespValidationError) Reason ¶
func (e CreateTeamRespValidationError) Reason() string
Reason function returns reason value.
type DeleteTeamReq ¶
type DeleteTeamReq struct { // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTeamReq) Descriptor
deprecated
func (*DeleteTeamReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTeamReq.ProtoReflect.Descriptor instead.
func (*DeleteTeamReq) GetId ¶
func (x *DeleteTeamReq) GetId() string
func (*DeleteTeamReq) ProtoMessage ¶
func (*DeleteTeamReq) ProtoMessage()
func (*DeleteTeamReq) ProtoReflect ¶
func (x *DeleteTeamReq) ProtoReflect() protoreflect.Message
func (*DeleteTeamReq) Reset ¶
func (x *DeleteTeamReq) Reset()
func (*DeleteTeamReq) String ¶
func (x *DeleteTeamReq) String() string
func (*DeleteTeamReq) Validate ¶
func (m *DeleteTeamReq) Validate() error
Validate checks the field values on DeleteTeamReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteTeamReqValidationError ¶
type DeleteTeamReqValidationError struct {
// contains filtered or unexported fields
}
DeleteTeamReqValidationError is the validation error returned by DeleteTeamReq.Validate if the designated constraints aren't met.
func (DeleteTeamReqValidationError) Cause ¶
func (e DeleteTeamReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteTeamReqValidationError) Error ¶
func (e DeleteTeamReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTeamReqValidationError) ErrorName ¶
func (e DeleteTeamReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTeamReqValidationError) Field ¶
func (e DeleteTeamReqValidationError) Field() string
Field function returns field value.
func (DeleteTeamReqValidationError) Key ¶
func (e DeleteTeamReqValidationError) Key() bool
Key function returns key value.
func (DeleteTeamReqValidationError) Reason ¶
func (e DeleteTeamReqValidationError) Reason() string
Reason function returns reason value.
type DeleteTeamResp ¶
type DeleteTeamResp struct { Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` // contains filtered or unexported fields }
func (*DeleteTeamResp) Descriptor
deprecated
func (*DeleteTeamResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTeamResp.ProtoReflect.Descriptor instead.
func (*DeleteTeamResp) GetTeam ¶
func (x *DeleteTeamResp) GetTeam() *Team
func (*DeleteTeamResp) ProtoMessage ¶
func (*DeleteTeamResp) ProtoMessage()
func (*DeleteTeamResp) ProtoReflect ¶
func (x *DeleteTeamResp) ProtoReflect() protoreflect.Message
func (*DeleteTeamResp) Reset ¶
func (x *DeleteTeamResp) Reset()
func (*DeleteTeamResp) String ¶
func (x *DeleteTeamResp) String() string
func (*DeleteTeamResp) Validate ¶
func (m *DeleteTeamResp) Validate() error
Validate checks the field values on DeleteTeamResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteTeamRespValidationError ¶
type DeleteTeamRespValidationError struct {
// contains filtered or unexported fields
}
DeleteTeamRespValidationError is the validation error returned by DeleteTeamResp.Validate if the designated constraints aren't met.
func (DeleteTeamRespValidationError) Cause ¶
func (e DeleteTeamRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteTeamRespValidationError) Error ¶
func (e DeleteTeamRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTeamRespValidationError) ErrorName ¶
func (e DeleteTeamRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTeamRespValidationError) Field ¶
func (e DeleteTeamRespValidationError) Field() string
Field function returns field value.
func (DeleteTeamRespValidationError) Key ¶
func (e DeleteTeamRespValidationError) Key() bool
Key function returns key value.
func (DeleteTeamRespValidationError) Reason ¶
func (e DeleteTeamRespValidationError) Reason() string
Reason function returns reason value.
type GetTeamMembershipReq ¶
type GetTeamMembershipReq struct { // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTeamMembershipReq) Descriptor
deprecated
func (*GetTeamMembershipReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamMembershipReq.ProtoReflect.Descriptor instead.
func (*GetTeamMembershipReq) GetId ¶
func (x *GetTeamMembershipReq) GetId() string
func (*GetTeamMembershipReq) ProtoMessage ¶
func (*GetTeamMembershipReq) ProtoMessage()
func (*GetTeamMembershipReq) ProtoReflect ¶
func (x *GetTeamMembershipReq) ProtoReflect() protoreflect.Message
func (*GetTeamMembershipReq) Reset ¶
func (x *GetTeamMembershipReq) Reset()
func (*GetTeamMembershipReq) String ¶
func (x *GetTeamMembershipReq) String() string
func (*GetTeamMembershipReq) Validate ¶
func (m *GetTeamMembershipReq) Validate() error
Validate checks the field values on GetTeamMembershipReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetTeamMembershipReqValidationError ¶
type GetTeamMembershipReqValidationError struct {
// contains filtered or unexported fields
}
GetTeamMembershipReqValidationError is the validation error returned by GetTeamMembershipReq.Validate if the designated constraints aren't met.
func (GetTeamMembershipReqValidationError) Cause ¶
func (e GetTeamMembershipReqValidationError) Cause() error
Cause function returns cause value.
func (GetTeamMembershipReqValidationError) Error ¶
func (e GetTeamMembershipReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetTeamMembershipReqValidationError) ErrorName ¶
func (e GetTeamMembershipReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetTeamMembershipReqValidationError) Field ¶
func (e GetTeamMembershipReqValidationError) Field() string
Field function returns field value.
func (GetTeamMembershipReqValidationError) Key ¶
func (e GetTeamMembershipReqValidationError) Key() bool
Key function returns key value.
func (GetTeamMembershipReqValidationError) Reason ¶
func (e GetTeamMembershipReqValidationError) Reason() string
Reason function returns reason value.
type GetTeamMembershipResp ¶
type GetTeamMembershipResp struct { UserIds []string `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetTeamMembershipResp) Descriptor
deprecated
func (*GetTeamMembershipResp) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamMembershipResp.ProtoReflect.Descriptor instead.
func (*GetTeamMembershipResp) GetUserIds ¶
func (x *GetTeamMembershipResp) GetUserIds() []string
func (*GetTeamMembershipResp) ProtoMessage ¶
func (*GetTeamMembershipResp) ProtoMessage()
func (*GetTeamMembershipResp) ProtoReflect ¶
func (x *GetTeamMembershipResp) ProtoReflect() protoreflect.Message
func (*GetTeamMembershipResp) Reset ¶
func (x *GetTeamMembershipResp) Reset()
func (*GetTeamMembershipResp) String ¶
func (x *GetTeamMembershipResp) String() string
func (*GetTeamMembershipResp) Validate ¶
func (m *GetTeamMembershipResp) Validate() error
Validate checks the field values on GetTeamMembershipResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetTeamMembershipRespValidationError ¶
type GetTeamMembershipRespValidationError struct {
// contains filtered or unexported fields
}
GetTeamMembershipRespValidationError is the validation error returned by GetTeamMembershipResp.Validate if the designated constraints aren't met.
func (GetTeamMembershipRespValidationError) Cause ¶
func (e GetTeamMembershipRespValidationError) Cause() error
Cause function returns cause value.
func (GetTeamMembershipRespValidationError) Error ¶
func (e GetTeamMembershipRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetTeamMembershipRespValidationError) ErrorName ¶
func (e GetTeamMembershipRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetTeamMembershipRespValidationError) Field ¶
func (e GetTeamMembershipRespValidationError) Field() string
Field function returns field value.
func (GetTeamMembershipRespValidationError) Key ¶
func (e GetTeamMembershipRespValidationError) Key() bool
Key function returns key value.
func (GetTeamMembershipRespValidationError) Reason ¶
func (e GetTeamMembershipRespValidationError) Reason() string
Reason function returns reason value.
type GetTeamReq ¶
type GetTeamReq struct { // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTeamReq) Descriptor
deprecated
func (*GetTeamReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamReq.ProtoReflect.Descriptor instead.
func (*GetTeamReq) GetId ¶
func (x *GetTeamReq) GetId() string
func (*GetTeamReq) ProtoMessage ¶
func (*GetTeamReq) ProtoMessage()
func (*GetTeamReq) ProtoReflect ¶
func (x *GetTeamReq) ProtoReflect() protoreflect.Message
func (*GetTeamReq) Reset ¶
func (x *GetTeamReq) Reset()
func (*GetTeamReq) String ¶
func (x *GetTeamReq) String() string
func (*GetTeamReq) Validate ¶
func (m *GetTeamReq) Validate() error
Validate checks the field values on GetTeamReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetTeamReqValidationError ¶
type GetTeamReqValidationError struct {
// contains filtered or unexported fields
}
GetTeamReqValidationError is the validation error returned by GetTeamReq.Validate if the designated constraints aren't met.
func (GetTeamReqValidationError) Cause ¶
func (e GetTeamReqValidationError) Cause() error
Cause function returns cause value.
func (GetTeamReqValidationError) Error ¶
func (e GetTeamReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetTeamReqValidationError) ErrorName ¶
func (e GetTeamReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetTeamReqValidationError) Field ¶
func (e GetTeamReqValidationError) Field() string
Field function returns field value.
func (GetTeamReqValidationError) Key ¶
func (e GetTeamReqValidationError) Key() bool
Key function returns key value.
func (GetTeamReqValidationError) Reason ¶
func (e GetTeamReqValidationError) Reason() string
Reason function returns reason value.
type GetTeamResp ¶
type GetTeamResp struct { Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` // contains filtered or unexported fields }
func (*GetTeamResp) Descriptor
deprecated
func (*GetTeamResp) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamResp.ProtoReflect.Descriptor instead.
func (*GetTeamResp) GetTeam ¶
func (x *GetTeamResp) GetTeam() *Team
func (*GetTeamResp) ProtoMessage ¶
func (*GetTeamResp) ProtoMessage()
func (*GetTeamResp) ProtoReflect ¶
func (x *GetTeamResp) ProtoReflect() protoreflect.Message
func (*GetTeamResp) Reset ¶
func (x *GetTeamResp) Reset()
func (*GetTeamResp) String ¶
func (x *GetTeamResp) String() string
func (*GetTeamResp) Validate ¶
func (m *GetTeamResp) Validate() error
Validate checks the field values on GetTeamResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetTeamRespValidationError ¶
type GetTeamRespValidationError struct {
// contains filtered or unexported fields
}
GetTeamRespValidationError is the validation error returned by GetTeamResp.Validate if the designated constraints aren't met.
func (GetTeamRespValidationError) Cause ¶
func (e GetTeamRespValidationError) Cause() error
Cause function returns cause value.
func (GetTeamRespValidationError) Error ¶
func (e GetTeamRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetTeamRespValidationError) ErrorName ¶
func (e GetTeamRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetTeamRespValidationError) Field ¶
func (e GetTeamRespValidationError) Field() string
Field function returns field value.
func (GetTeamRespValidationError) Key ¶
func (e GetTeamRespValidationError) Key() bool
Key function returns key value.
func (GetTeamRespValidationError) Reason ¶
func (e GetTeamRespValidationError) Reason() string
Reason function returns reason value.
type GetTeamsForMemberReq ¶
type GetTeamsForMemberReq struct { UserId string `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetTeamsForMemberReq) Descriptor
deprecated
func (*GetTeamsForMemberReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamsForMemberReq.ProtoReflect.Descriptor instead.
func (*GetTeamsForMemberReq) GetUserId ¶
func (x *GetTeamsForMemberReq) GetUserId() string
func (*GetTeamsForMemberReq) ProtoMessage ¶
func (*GetTeamsForMemberReq) ProtoMessage()
func (*GetTeamsForMemberReq) ProtoReflect ¶
func (x *GetTeamsForMemberReq) ProtoReflect() protoreflect.Message
func (*GetTeamsForMemberReq) Reset ¶
func (x *GetTeamsForMemberReq) Reset()
func (*GetTeamsForMemberReq) String ¶
func (x *GetTeamsForMemberReq) String() string
func (*GetTeamsForMemberReq) Validate ¶
func (m *GetTeamsForMemberReq) Validate() error
Validate checks the field values on GetTeamsForMemberReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetTeamsForMemberReqValidationError ¶
type GetTeamsForMemberReqValidationError struct {
// contains filtered or unexported fields
}
GetTeamsForMemberReqValidationError is the validation error returned by GetTeamsForMemberReq.Validate if the designated constraints aren't met.
func (GetTeamsForMemberReqValidationError) Cause ¶
func (e GetTeamsForMemberReqValidationError) Cause() error
Cause function returns cause value.
func (GetTeamsForMemberReqValidationError) Error ¶
func (e GetTeamsForMemberReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetTeamsForMemberReqValidationError) ErrorName ¶
func (e GetTeamsForMemberReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetTeamsForMemberReqValidationError) Field ¶
func (e GetTeamsForMemberReqValidationError) Field() string
Field function returns field value.
func (GetTeamsForMemberReqValidationError) Key ¶
func (e GetTeamsForMemberReqValidationError) Key() bool
Key function returns key value.
func (GetTeamsForMemberReqValidationError) Reason ¶
func (e GetTeamsForMemberReqValidationError) Reason() string
Reason function returns reason value.
type GetTeamsForMemberResp ¶
type GetTeamsForMemberResp struct { Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` // contains filtered or unexported fields }
func (*GetTeamsForMemberResp) Descriptor
deprecated
func (*GetTeamsForMemberResp) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamsForMemberResp.ProtoReflect.Descriptor instead.
func (*GetTeamsForMemberResp) GetTeams ¶
func (x *GetTeamsForMemberResp) GetTeams() []*Team
func (*GetTeamsForMemberResp) ProtoMessage ¶
func (*GetTeamsForMemberResp) ProtoMessage()
func (*GetTeamsForMemberResp) ProtoReflect ¶
func (x *GetTeamsForMemberResp) ProtoReflect() protoreflect.Message
func (*GetTeamsForMemberResp) Reset ¶
func (x *GetTeamsForMemberResp) Reset()
func (*GetTeamsForMemberResp) String ¶
func (x *GetTeamsForMemberResp) String() string
func (*GetTeamsForMemberResp) Validate ¶
func (m *GetTeamsForMemberResp) Validate() error
Validate checks the field values on GetTeamsForMemberResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetTeamsForMemberRespValidationError ¶
type GetTeamsForMemberRespValidationError struct {
// contains filtered or unexported fields
}
GetTeamsForMemberRespValidationError is the validation error returned by GetTeamsForMemberResp.Validate if the designated constraints aren't met.
func (GetTeamsForMemberRespValidationError) Cause ¶
func (e GetTeamsForMemberRespValidationError) Cause() error
Cause function returns cause value.
func (GetTeamsForMemberRespValidationError) Error ¶
func (e GetTeamsForMemberRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetTeamsForMemberRespValidationError) ErrorName ¶
func (e GetTeamsForMemberRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetTeamsForMemberRespValidationError) Field ¶
func (e GetTeamsForMemberRespValidationError) Field() string
Field function returns field value.
func (GetTeamsForMemberRespValidationError) Key ¶
func (e GetTeamsForMemberRespValidationError) Key() bool
Key function returns key value.
func (GetTeamsForMemberRespValidationError) Reason ¶
func (e GetTeamsForMemberRespValidationError) Reason() string
Reason function returns reason value.
type ListTeamsReq ¶
type ListTeamsReq struct {
// contains filtered or unexported fields
}
func (*ListTeamsReq) Descriptor
deprecated
func (*ListTeamsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListTeamsReq.ProtoReflect.Descriptor instead.
func (*ListTeamsReq) ProtoMessage ¶
func (*ListTeamsReq) ProtoMessage()
func (*ListTeamsReq) ProtoReflect ¶
func (x *ListTeamsReq) ProtoReflect() protoreflect.Message
func (*ListTeamsReq) Reset ¶
func (x *ListTeamsReq) Reset()
func (*ListTeamsReq) String ¶
func (x *ListTeamsReq) String() string
func (*ListTeamsReq) Validate ¶
func (m *ListTeamsReq) Validate() error
Validate checks the field values on ListTeamsReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListTeamsReqValidationError ¶
type ListTeamsReqValidationError struct {
// contains filtered or unexported fields
}
ListTeamsReqValidationError is the validation error returned by ListTeamsReq.Validate if the designated constraints aren't met.
func (ListTeamsReqValidationError) Cause ¶
func (e ListTeamsReqValidationError) Cause() error
Cause function returns cause value.
func (ListTeamsReqValidationError) Error ¶
func (e ListTeamsReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListTeamsReqValidationError) ErrorName ¶
func (e ListTeamsReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListTeamsReqValidationError) Field ¶
func (e ListTeamsReqValidationError) Field() string
Field function returns field value.
func (ListTeamsReqValidationError) Key ¶
func (e ListTeamsReqValidationError) Key() bool
Key function returns key value.
func (ListTeamsReqValidationError) Reason ¶
func (e ListTeamsReqValidationError) Reason() string
Reason function returns reason value.
type ListTeamsResp ¶
type ListTeamsResp struct { Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"` // contains filtered or unexported fields }
func (*ListTeamsResp) Descriptor
deprecated
func (*ListTeamsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListTeamsResp.ProtoReflect.Descriptor instead.
func (*ListTeamsResp) GetTeams ¶
func (x *ListTeamsResp) GetTeams() []*Team
func (*ListTeamsResp) ProtoMessage ¶
func (*ListTeamsResp) ProtoMessage()
func (*ListTeamsResp) ProtoReflect ¶
func (x *ListTeamsResp) ProtoReflect() protoreflect.Message
func (*ListTeamsResp) Reset ¶
func (x *ListTeamsResp) Reset()
func (*ListTeamsResp) String ¶
func (x *ListTeamsResp) String() string
func (*ListTeamsResp) Validate ¶
func (m *ListTeamsResp) Validate() error
Validate checks the field values on ListTeamsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListTeamsRespValidationError ¶
type ListTeamsRespValidationError struct {
// contains filtered or unexported fields
}
ListTeamsRespValidationError is the validation error returned by ListTeamsResp.Validate if the designated constraints aren't met.
func (ListTeamsRespValidationError) Cause ¶
func (e ListTeamsRespValidationError) Cause() error
Cause function returns cause value.
func (ListTeamsRespValidationError) Error ¶
func (e ListTeamsRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListTeamsRespValidationError) ErrorName ¶
func (e ListTeamsRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListTeamsRespValidationError) Field ¶
func (e ListTeamsRespValidationError) Field() string
Field function returns field value.
func (ListTeamsRespValidationError) Key ¶
func (e ListTeamsRespValidationError) Key() bool
Key function returns key value.
func (ListTeamsRespValidationError) Reason ¶
func (e ListTeamsRespValidationError) Reason() string
Reason function returns reason value.
type PurgeUserMembershipReq ¶
type PurgeUserMembershipReq struct { UserId string `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PurgeUserMembershipReq) Descriptor
deprecated
func (*PurgeUserMembershipReq) Descriptor() ([]byte, []int)
Deprecated: Use PurgeUserMembershipReq.ProtoReflect.Descriptor instead.
func (*PurgeUserMembershipReq) GetUserId ¶
func (x *PurgeUserMembershipReq) GetUserId() string
func (*PurgeUserMembershipReq) ProtoMessage ¶
func (*PurgeUserMembershipReq) ProtoMessage()
func (*PurgeUserMembershipReq) ProtoReflect ¶
func (x *PurgeUserMembershipReq) ProtoReflect() protoreflect.Message
func (*PurgeUserMembershipReq) Reset ¶
func (x *PurgeUserMembershipReq) Reset()
func (*PurgeUserMembershipReq) String ¶
func (x *PurgeUserMembershipReq) String() string
func (*PurgeUserMembershipReq) Validate ¶
func (m *PurgeUserMembershipReq) Validate() error
Validate checks the field values on PurgeUserMembershipReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PurgeUserMembershipReqValidationError ¶
type PurgeUserMembershipReqValidationError struct {
// contains filtered or unexported fields
}
PurgeUserMembershipReqValidationError is the validation error returned by PurgeUserMembershipReq.Validate if the designated constraints aren't met.
func (PurgeUserMembershipReqValidationError) Cause ¶
func (e PurgeUserMembershipReqValidationError) Cause() error
Cause function returns cause value.
func (PurgeUserMembershipReqValidationError) Error ¶
func (e PurgeUserMembershipReqValidationError) Error() string
Error satisfies the builtin error interface
func (PurgeUserMembershipReqValidationError) ErrorName ¶
func (e PurgeUserMembershipReqValidationError) ErrorName() string
ErrorName returns error name.
func (PurgeUserMembershipReqValidationError) Field ¶
func (e PurgeUserMembershipReqValidationError) Field() string
Field function returns field value.
func (PurgeUserMembershipReqValidationError) Key ¶
func (e PurgeUserMembershipReqValidationError) Key() bool
Key function returns key value.
func (PurgeUserMembershipReqValidationError) Reason ¶
func (e PurgeUserMembershipReqValidationError) Reason() string
Reason function returns reason value.
type PurgeUserMembershipResp ¶
type PurgeUserMembershipResp struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` // contains filtered or unexported fields }
func (*PurgeUserMembershipResp) Descriptor
deprecated
func (*PurgeUserMembershipResp) Descriptor() ([]byte, []int)
Deprecated: Use PurgeUserMembershipResp.ProtoReflect.Descriptor instead.
func (*PurgeUserMembershipResp) GetIds ¶
func (x *PurgeUserMembershipResp) GetIds() []string
func (*PurgeUserMembershipResp) ProtoMessage ¶
func (*PurgeUserMembershipResp) ProtoMessage()
func (*PurgeUserMembershipResp) ProtoReflect ¶
func (x *PurgeUserMembershipResp) ProtoReflect() protoreflect.Message
func (*PurgeUserMembershipResp) Reset ¶
func (x *PurgeUserMembershipResp) Reset()
func (*PurgeUserMembershipResp) String ¶
func (x *PurgeUserMembershipResp) String() string
func (*PurgeUserMembershipResp) Validate ¶
func (m *PurgeUserMembershipResp) Validate() error
Validate checks the field values on PurgeUserMembershipResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PurgeUserMembershipRespValidationError ¶
type PurgeUserMembershipRespValidationError struct {
// contains filtered or unexported fields
}
PurgeUserMembershipRespValidationError is the validation error returned by PurgeUserMembershipResp.Validate if the designated constraints aren't met.
func (PurgeUserMembershipRespValidationError) Cause ¶
func (e PurgeUserMembershipRespValidationError) Cause() error
Cause function returns cause value.
func (PurgeUserMembershipRespValidationError) Error ¶
func (e PurgeUserMembershipRespValidationError) Error() string
Error satisfies the builtin error interface
func (PurgeUserMembershipRespValidationError) ErrorName ¶
func (e PurgeUserMembershipRespValidationError) ErrorName() string
ErrorName returns error name.
func (PurgeUserMembershipRespValidationError) Field ¶
func (e PurgeUserMembershipRespValidationError) Field() string
Field function returns field value.
func (PurgeUserMembershipRespValidationError) Key ¶
func (e PurgeUserMembershipRespValidationError) Key() bool
Key function returns key value.
func (PurgeUserMembershipRespValidationError) Reason ¶
func (e PurgeUserMembershipRespValidationError) Reason() string
Reason function returns reason value.
type RemoveTeamMembersReq ¶
type RemoveTeamMembersReq struct { // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // However, this regex works for V1 and V2 User IDs. UserIds []string `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveTeamMembersReq) Descriptor
deprecated
func (*RemoveTeamMembersReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTeamMembersReq.ProtoReflect.Descriptor instead.
func (*RemoveTeamMembersReq) GetId ¶
func (x *RemoveTeamMembersReq) GetId() string
func (*RemoveTeamMembersReq) GetUserIds ¶
func (x *RemoveTeamMembersReq) GetUserIds() []string
func (*RemoveTeamMembersReq) ProtoMessage ¶
func (*RemoveTeamMembersReq) ProtoMessage()
func (*RemoveTeamMembersReq) ProtoReflect ¶
func (x *RemoveTeamMembersReq) ProtoReflect() protoreflect.Message
func (*RemoveTeamMembersReq) Reset ¶
func (x *RemoveTeamMembersReq) Reset()
func (*RemoveTeamMembersReq) String ¶
func (x *RemoveTeamMembersReq) String() string
func (*RemoveTeamMembersReq) Validate ¶
func (m *RemoveTeamMembersReq) Validate() error
Validate checks the field values on RemoveTeamMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveTeamMembersReqValidationError ¶
type RemoveTeamMembersReqValidationError struct {
// contains filtered or unexported fields
}
RemoveTeamMembersReqValidationError is the validation error returned by RemoveTeamMembersReq.Validate if the designated constraints aren't met.
func (RemoveTeamMembersReqValidationError) Cause ¶
func (e RemoveTeamMembersReqValidationError) Cause() error
Cause function returns cause value.
func (RemoveTeamMembersReqValidationError) Error ¶
func (e RemoveTeamMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveTeamMembersReqValidationError) ErrorName ¶
func (e RemoveTeamMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveTeamMembersReqValidationError) Field ¶
func (e RemoveTeamMembersReqValidationError) Field() string
Field function returns field value.
func (RemoveTeamMembersReqValidationError) Key ¶
func (e RemoveTeamMembersReqValidationError) Key() bool
Key function returns key value.
func (RemoveTeamMembersReqValidationError) Reason ¶
func (e RemoveTeamMembersReqValidationError) Reason() string
Reason function returns reason value.
type RemoveTeamMembersResp ¶
type RemoveTeamMembersResp struct { UserIds []string `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RemoveTeamMembersResp) Descriptor
deprecated
func (*RemoveTeamMembersResp) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTeamMembersResp.ProtoReflect.Descriptor instead.
func (*RemoveTeamMembersResp) GetUserIds ¶
func (x *RemoveTeamMembersResp) GetUserIds() []string
func (*RemoveTeamMembersResp) ProtoMessage ¶
func (*RemoveTeamMembersResp) ProtoMessage()
func (*RemoveTeamMembersResp) ProtoReflect ¶
func (x *RemoveTeamMembersResp) ProtoReflect() protoreflect.Message
func (*RemoveTeamMembersResp) Reset ¶
func (x *RemoveTeamMembersResp) Reset()
func (*RemoveTeamMembersResp) String ¶
func (x *RemoveTeamMembersResp) String() string
func (*RemoveTeamMembersResp) Validate ¶
func (m *RemoveTeamMembersResp) Validate() error
Validate checks the field values on RemoveTeamMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveTeamMembersRespValidationError ¶
type RemoveTeamMembersRespValidationError struct {
// contains filtered or unexported fields
}
RemoveTeamMembersRespValidationError is the validation error returned by RemoveTeamMembersResp.Validate if the designated constraints aren't met.
func (RemoveTeamMembersRespValidationError) Cause ¶
func (e RemoveTeamMembersRespValidationError) Cause() error
Cause function returns cause value.
func (RemoveTeamMembersRespValidationError) Error ¶
func (e RemoveTeamMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveTeamMembersRespValidationError) ErrorName ¶
func (e RemoveTeamMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveTeamMembersRespValidationError) Field ¶
func (e RemoveTeamMembersRespValidationError) Field() string
Field function returns field value.
func (RemoveTeamMembersRespValidationError) Key ¶
func (e RemoveTeamMembersRespValidationError) Key() bool
Key function returns key value.
func (RemoveTeamMembersRespValidationError) Reason ¶
func (e RemoveTeamMembersRespValidationError) Reason() string
Reason function returns reason value.
type ResetToV1Req ¶
type ResetToV1Req struct {
// contains filtered or unexported fields
}
func (*ResetToV1Req) Descriptor
deprecated
func (*ResetToV1Req) Descriptor() ([]byte, []int)
Deprecated: Use ResetToV1Req.ProtoReflect.Descriptor instead.
func (*ResetToV1Req) ProtoMessage ¶
func (*ResetToV1Req) ProtoMessage()
func (*ResetToV1Req) ProtoReflect ¶
func (x *ResetToV1Req) ProtoReflect() protoreflect.Message
func (*ResetToV1Req) Reset ¶
func (x *ResetToV1Req) Reset()
func (*ResetToV1Req) String ¶
func (x *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.
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 {
// contains filtered or unexported fields
}
func (*ResetToV1Resp) Descriptor
deprecated
func (*ResetToV1Resp) Descriptor() ([]byte, []int)
Deprecated: Use ResetToV1Resp.ProtoReflect.Descriptor instead.
func (*ResetToV1Resp) ProtoMessage ¶
func (*ResetToV1Resp) ProtoMessage()
func (*ResetToV1Resp) ProtoReflect ¶
func (x *ResetToV1Resp) ProtoReflect() protoreflect.Message
func (*ResetToV1Resp) Reset ¶
func (x *ResetToV1Resp) Reset()
func (*ResetToV1Resp) String ¶
func (x *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.
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 Team ¶
type Team 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"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Team) Descriptor
deprecated
func (*Team) GetProjects ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) ProtoReflect ¶
func (x *Team) ProtoReflect() protoreflect.Message
type TeamValidationError ¶
type TeamValidationError struct {
// contains filtered or unexported fields
}
TeamValidationError is the validation error returned by Team.Validate if the designated constraints aren't met.
func (TeamValidationError) Cause ¶
func (e TeamValidationError) Cause() error
Cause function returns cause value.
func (TeamValidationError) Error ¶
func (e TeamValidationError) Error() string
Error satisfies the builtin error interface
func (TeamValidationError) ErrorName ¶
func (e TeamValidationError) ErrorName() string
ErrorName returns error name.
func (TeamValidationError) Field ¶
func (e TeamValidationError) Field() string
Field function returns field value.
func (TeamValidationError) Key ¶
func (e TeamValidationError) Key() bool
Key function returns key value.
func (TeamValidationError) Reason ¶
func (e TeamValidationError) Reason() string
Reason function returns reason value.
type TeamsServiceClient ¶
type TeamsServiceClient interface { GetVersion(ctx context.Context, in *version.VersionInfoRequest, opts ...grpc.CallOption) (*version.VersionInfo, error) GetTeam(ctx context.Context, in *GetTeamReq, opts ...grpc.CallOption) (*GetTeamResp, error) ListTeams(ctx context.Context, in *ListTeamsReq, opts ...grpc.CallOption) (*ListTeamsResp, error) CreateTeam(ctx context.Context, in *CreateTeamReq, opts ...grpc.CallOption) (*CreateTeamResp, error) UpdateTeam(ctx context.Context, in *UpdateTeamReq, opts ...grpc.CallOption) (*UpdateTeamResp, error) DeleteTeam(ctx context.Context, in *DeleteTeamReq, opts ...grpc.CallOption) (*DeleteTeamResp, error) AddTeamMembers(ctx context.Context, in *AddTeamMembersReq, opts ...grpc.CallOption) (*AddTeamMembersResp, error) RemoveTeamMembers(ctx context.Context, in *RemoveTeamMembersReq, opts ...grpc.CallOption) (*RemoveTeamMembersResp, error) GetTeamsForMember(ctx context.Context, in *GetTeamsForMemberReq, opts ...grpc.CallOption) (*GetTeamsForMemberResp, error) GetTeamMembership(ctx context.Context, in *GetTeamMembershipReq, opts ...grpc.CallOption) (*GetTeamMembershipResp, error) PurgeUserMembership(ctx context.Context, in *PurgeUserMembershipReq, opts ...grpc.CallOption) (*PurgeUserMembershipResp, error) }
TeamsServiceClient is the client API for TeamsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTeamsServiceClient ¶
func NewTeamsServiceClient(cc grpc.ClientConnInterface) TeamsServiceClient
type TeamsServiceServer ¶
type TeamsServiceServer interface { GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error) GetTeam(context.Context, *GetTeamReq) (*GetTeamResp, error) ListTeams(context.Context, *ListTeamsReq) (*ListTeamsResp, error) CreateTeam(context.Context, *CreateTeamReq) (*CreateTeamResp, error) UpdateTeam(context.Context, *UpdateTeamReq) (*UpdateTeamResp, error) DeleteTeam(context.Context, *DeleteTeamReq) (*DeleteTeamResp, error) AddTeamMembers(context.Context, *AddTeamMembersReq) (*AddTeamMembersResp, error) RemoveTeamMembers(context.Context, *RemoveTeamMembersReq) (*RemoveTeamMembersResp, error) GetTeamsForMember(context.Context, *GetTeamsForMemberReq) (*GetTeamsForMemberResp, error) GetTeamMembership(context.Context, *GetTeamMembershipReq) (*GetTeamMembershipResp, error) PurgeUserMembership(context.Context, *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error) }
TeamsServiceServer is the server API for TeamsService service.
type TeamsServiceServerMock ¶
type TeamsServiceServerMock struct { GetVersionFunc func(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error) GetTeamFunc func(context.Context, *GetTeamReq) (*GetTeamResp, error) ListTeamsFunc func(context.Context, *ListTeamsReq) (*ListTeamsResp, error) CreateTeamFunc func(context.Context, *CreateTeamReq) (*CreateTeamResp, error) UpdateTeamFunc func(context.Context, *UpdateTeamReq) (*UpdateTeamResp, error) DeleteTeamFunc func(context.Context, *DeleteTeamReq) (*DeleteTeamResp, error) AddTeamMembersFunc func(context.Context, *AddTeamMembersReq) (*AddTeamMembersResp, error) RemoveTeamMembersFunc func(context.Context, *RemoveTeamMembersReq) (*RemoveTeamMembersResp, error) GetTeamsForMemberFunc func(context.Context, *GetTeamsForMemberReq) (*GetTeamsForMemberResp, error) GetTeamMembershipFunc func(context.Context, *GetTeamMembershipReq) (*GetTeamMembershipResp, error) PurgeUserMembershipFunc func(context.Context, *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error) // contains filtered or unexported fields }
TeamsServiceServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewTeamsServiceServerMock ¶
func NewTeamsServiceServerMock() *TeamsServiceServerMock
NewTeamsServiceServerMock gives you a fresh instance of TeamsServiceServerMock.
func NewTeamsServiceServerMockWithoutValidation ¶
func NewTeamsServiceServerMockWithoutValidation() *TeamsServiceServerMock
NewTeamsServiceServerMockWithoutValidation gives you a fresh instance of TeamsServiceServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*TeamsServiceServerMock) AddTeamMembers ¶
func (m *TeamsServiceServerMock) AddTeamMembers(ctx context.Context, req *AddTeamMembersReq) (*AddTeamMembersResp, error)
func (*TeamsServiceServerMock) CreateTeam ¶
func (m *TeamsServiceServerMock) CreateTeam(ctx context.Context, req *CreateTeamReq) (*CreateTeamResp, error)
func (*TeamsServiceServerMock) DeleteTeam ¶
func (m *TeamsServiceServerMock) DeleteTeam(ctx context.Context, req *DeleteTeamReq) (*DeleteTeamResp, error)
func (*TeamsServiceServerMock) GetTeam ¶
func (m *TeamsServiceServerMock) GetTeam(ctx context.Context, req *GetTeamReq) (*GetTeamResp, error)
func (*TeamsServiceServerMock) GetTeamMembership ¶
func (m *TeamsServiceServerMock) GetTeamMembership(ctx context.Context, req *GetTeamMembershipReq) (*GetTeamMembershipResp, error)
func (*TeamsServiceServerMock) GetTeamsForMember ¶
func (m *TeamsServiceServerMock) GetTeamsForMember(ctx context.Context, req *GetTeamsForMemberReq) (*GetTeamsForMemberResp, error)
func (*TeamsServiceServerMock) GetVersion ¶
func (m *TeamsServiceServerMock) GetVersion(ctx context.Context, req *version.VersionInfoRequest) (*version.VersionInfo, error)
func (*TeamsServiceServerMock) ListTeams ¶
func (m *TeamsServiceServerMock) ListTeams(ctx context.Context, req *ListTeamsReq) (*ListTeamsResp, error)
func (*TeamsServiceServerMock) PurgeUserMembership ¶
func (m *TeamsServiceServerMock) PurgeUserMembership(ctx context.Context, req *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error)
func (*TeamsServiceServerMock) RemoveTeamMembers ¶
func (m *TeamsServiceServerMock) RemoveTeamMembers(ctx context.Context, req *RemoveTeamMembersReq) (*RemoveTeamMembersResp, error)
func (*TeamsServiceServerMock) Reset ¶
func (m *TeamsServiceServerMock) Reset()
Reset resets all overridden functions
func (*TeamsServiceServerMock) UpdateTeam ¶
func (m *TeamsServiceServerMock) UpdateTeam(ctx context.Context, req *UpdateTeamReq) (*UpdateTeamResp, error)
type UnimplementedTeamsServiceServer ¶
type UnimplementedTeamsServiceServer struct { }
UnimplementedTeamsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTeamsServiceServer) AddTeamMembers ¶
func (*UnimplementedTeamsServiceServer) AddTeamMembers(context.Context, *AddTeamMembersReq) (*AddTeamMembersResp, error)
func (*UnimplementedTeamsServiceServer) CreateTeam ¶
func (*UnimplementedTeamsServiceServer) CreateTeam(context.Context, *CreateTeamReq) (*CreateTeamResp, error)
func (*UnimplementedTeamsServiceServer) DeleteTeam ¶
func (*UnimplementedTeamsServiceServer) DeleteTeam(context.Context, *DeleteTeamReq) (*DeleteTeamResp, error)
func (*UnimplementedTeamsServiceServer) GetTeam ¶
func (*UnimplementedTeamsServiceServer) GetTeam(context.Context, *GetTeamReq) (*GetTeamResp, error)
func (*UnimplementedTeamsServiceServer) GetTeamMembership ¶
func (*UnimplementedTeamsServiceServer) GetTeamMembership(context.Context, *GetTeamMembershipReq) (*GetTeamMembershipResp, error)
func (*UnimplementedTeamsServiceServer) GetTeamsForMember ¶
func (*UnimplementedTeamsServiceServer) GetTeamsForMember(context.Context, *GetTeamsForMemberReq) (*GetTeamsForMemberResp, error)
func (*UnimplementedTeamsServiceServer) GetVersion ¶
func (*UnimplementedTeamsServiceServer) GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
func (*UnimplementedTeamsServiceServer) ListTeams ¶
func (*UnimplementedTeamsServiceServer) ListTeams(context.Context, *ListTeamsReq) (*ListTeamsResp, error)
func (*UnimplementedTeamsServiceServer) PurgeUserMembership ¶
func (*UnimplementedTeamsServiceServer) PurgeUserMembership(context.Context, *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error)
func (*UnimplementedTeamsServiceServer) RemoveTeamMembers ¶
func (*UnimplementedTeamsServiceServer) RemoveTeamMembers(context.Context, *RemoveTeamMembersReq) (*RemoveTeamMembersResp, error)
func (*UnimplementedTeamsServiceServer) UpdateTeam ¶
func (*UnimplementedTeamsServiceServer) UpdateTeam(context.Context, *UpdateTeamReq) (*UpdateTeamResp, error)
type UpdateTeamReq ¶
type UpdateTeamReq struct { // TODO (tc): We can't make this more restrictive until we migrate // existing IDs post-GA. 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"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateTeamReq) Descriptor
deprecated
func (*UpdateTeamReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTeamReq.ProtoReflect.Descriptor instead.
func (*UpdateTeamReq) GetId ¶
func (x *UpdateTeamReq) GetId() string
func (*UpdateTeamReq) GetName ¶
func (x *UpdateTeamReq) GetName() string
func (*UpdateTeamReq) GetProjects ¶
func (x *UpdateTeamReq) GetProjects() []string
func (*UpdateTeamReq) ProtoMessage ¶
func (*UpdateTeamReq) ProtoMessage()
func (*UpdateTeamReq) ProtoReflect ¶
func (x *UpdateTeamReq) ProtoReflect() protoreflect.Message
func (*UpdateTeamReq) Reset ¶
func (x *UpdateTeamReq) Reset()
func (*UpdateTeamReq) String ¶
func (x *UpdateTeamReq) String() string
func (*UpdateTeamReq) Validate ¶
func (m *UpdateTeamReq) Validate() error
Validate checks the field values on UpdateTeamReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateTeamReqValidationError ¶
type UpdateTeamReqValidationError struct {
// contains filtered or unexported fields
}
UpdateTeamReqValidationError is the validation error returned by UpdateTeamReq.Validate if the designated constraints aren't met.
func (UpdateTeamReqValidationError) Cause ¶
func (e UpdateTeamReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateTeamReqValidationError) Error ¶
func (e UpdateTeamReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTeamReqValidationError) ErrorName ¶
func (e UpdateTeamReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTeamReqValidationError) Field ¶
func (e UpdateTeamReqValidationError) Field() string
Field function returns field value.
func (UpdateTeamReqValidationError) Key ¶
func (e UpdateTeamReqValidationError) Key() bool
Key function returns key value.
func (UpdateTeamReqValidationError) Reason ¶
func (e UpdateTeamReqValidationError) Reason() string
Reason function returns reason value.
type UpdateTeamResp ¶
type UpdateTeamResp struct { Team *Team `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"` // contains filtered or unexported fields }
func (*UpdateTeamResp) Descriptor
deprecated
func (*UpdateTeamResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTeamResp.ProtoReflect.Descriptor instead.
func (*UpdateTeamResp) GetTeam ¶
func (x *UpdateTeamResp) GetTeam() *Team
func (*UpdateTeamResp) ProtoMessage ¶
func (*UpdateTeamResp) ProtoMessage()
func (*UpdateTeamResp) ProtoReflect ¶
func (x *UpdateTeamResp) ProtoReflect() protoreflect.Message
func (*UpdateTeamResp) Reset ¶
func (x *UpdateTeamResp) Reset()
func (*UpdateTeamResp) String ¶
func (x *UpdateTeamResp) String() string
func (*UpdateTeamResp) Validate ¶
func (m *UpdateTeamResp) Validate() error
Validate checks the field values on UpdateTeamResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateTeamRespValidationError ¶
type UpdateTeamRespValidationError struct {
// contains filtered or unexported fields
}
UpdateTeamRespValidationError is the validation error returned by UpdateTeamResp.Validate if the designated constraints aren't met.
func (UpdateTeamRespValidationError) Cause ¶
func (e UpdateTeamRespValidationError) Cause() error
Cause function returns cause value.
func (UpdateTeamRespValidationError) Error ¶
func (e UpdateTeamRespValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTeamRespValidationError) ErrorName ¶
func (e UpdateTeamRespValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTeamRespValidationError) Field ¶
func (e UpdateTeamRespValidationError) Field() string
Field function returns field value.
func (UpdateTeamRespValidationError) Key ¶
func (e UpdateTeamRespValidationError) Key() bool
Key function returns key value.
func (UpdateTeamRespValidationError) Reason ¶
func (e UpdateTeamRespValidationError) Reason() string
Reason function returns reason value.
type UpgradeToV2Req ¶
type UpgradeToV2Req struct {
// contains filtered or unexported fields
}
func (*UpgradeToV2Req) Descriptor
deprecated
func (*UpgradeToV2Req) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeToV2Req.ProtoReflect.Descriptor instead.
func (*UpgradeToV2Req) ProtoMessage ¶
func (*UpgradeToV2Req) ProtoMessage()
func (*UpgradeToV2Req) ProtoReflect ¶
func (x *UpgradeToV2Req) ProtoReflect() protoreflect.Message
func (*UpgradeToV2Req) Reset ¶
func (x *UpgradeToV2Req) Reset()
func (*UpgradeToV2Req) String ¶
func (x *UpgradeToV2Req) String() string
func (*UpgradeToV2Req) Validate ¶
func (m *UpgradeToV2Req) Validate() error
Validate checks the field values on UpgradeToV2Req with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpgradeToV2ReqValidationError ¶
type UpgradeToV2ReqValidationError struct {
// contains filtered or unexported fields
}
UpgradeToV2ReqValidationError is the validation error returned by UpgradeToV2Req.Validate if the designated constraints aren't met.
func (UpgradeToV2ReqValidationError) Cause ¶
func (e UpgradeToV2ReqValidationError) Cause() error
Cause function returns cause value.
func (UpgradeToV2ReqValidationError) Error ¶
func (e UpgradeToV2ReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpgradeToV2ReqValidationError) ErrorName ¶
func (e UpgradeToV2ReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpgradeToV2ReqValidationError) Field ¶
func (e UpgradeToV2ReqValidationError) Field() string
Field function returns field value.
func (UpgradeToV2ReqValidationError) Key ¶
func (e UpgradeToV2ReqValidationError) Key() bool
Key function returns key value.
func (UpgradeToV2ReqValidationError) Reason ¶
func (e UpgradeToV2ReqValidationError) Reason() string
Reason function returns reason value.
type UpgradeToV2Resp ¶
type UpgradeToV2Resp struct {
// contains filtered or unexported fields
}
func (*UpgradeToV2Resp) Descriptor
deprecated
func (*UpgradeToV2Resp) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeToV2Resp.ProtoReflect.Descriptor instead.
func (*UpgradeToV2Resp) ProtoMessage ¶
func (*UpgradeToV2Resp) ProtoMessage()
func (*UpgradeToV2Resp) ProtoReflect ¶
func (x *UpgradeToV2Resp) ProtoReflect() protoreflect.Message
func (*UpgradeToV2Resp) Reset ¶
func (x *UpgradeToV2Resp) Reset()
func (*UpgradeToV2Resp) String ¶
func (x *UpgradeToV2Resp) String() string
func (*UpgradeToV2Resp) Validate ¶
func (m *UpgradeToV2Resp) Validate() error
Validate checks the field values on UpgradeToV2Resp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpgradeToV2RespValidationError ¶
type UpgradeToV2RespValidationError struct {
// contains filtered or unexported fields
}
UpgradeToV2RespValidationError is the validation error returned by UpgradeToV2Resp.Validate if the designated constraints aren't met.
func (UpgradeToV2RespValidationError) Cause ¶
func (e UpgradeToV2RespValidationError) Cause() error
Cause function returns cause value.
func (UpgradeToV2RespValidationError) Error ¶
func (e UpgradeToV2RespValidationError) Error() string
Error satisfies the builtin error interface
func (UpgradeToV2RespValidationError) ErrorName ¶
func (e UpgradeToV2RespValidationError) ErrorName() string
ErrorName returns error name.
func (UpgradeToV2RespValidationError) Field ¶
func (e UpgradeToV2RespValidationError) Field() string
Field function returns field value.
func (UpgradeToV2RespValidationError) Key ¶
func (e UpgradeToV2RespValidationError) Key() bool
Key function returns key value.
func (UpgradeToV2RespValidationError) Reason ¶
func (e UpgradeToV2RespValidationError) Reason() string
Reason function returns reason value.