v1

package
v0.0.0-...-0490640 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTeamsV1Server

func RegisterTeamsV1Server(s *grpc.Server, srv TeamsV1Server)

Types

type AddUsersReq

type AddUsersReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	UserIds              []string `` /* 142-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 (*AddUsersReq) Descriptor

func (*AddUsersReq) Descriptor() ([]byte, []int)

func (*AddUsersReq) GetId

func (m *AddUsersReq) GetId() string

func (*AddUsersReq) GetUserIds

func (m *AddUsersReq) GetUserIds() []string

func (*AddUsersReq) ProtoMessage

func (*AddUsersReq) ProtoMessage()

func (*AddUsersReq) Reset

func (m *AddUsersReq) Reset()

func (*AddUsersReq) String

func (m *AddUsersReq) String() string

func (*AddUsersReq) Validate

func (m *AddUsersReq) Validate() error

Validate checks the field values on AddUsersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AddUsersReq) XXX_DiscardUnknown

func (m *AddUsersReq) XXX_DiscardUnknown()

func (*AddUsersReq) XXX_Marshal

func (m *AddUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddUsersReq) XXX_Merge

func (dst *AddUsersReq) XXX_Merge(src proto.Message)

func (*AddUsersReq) XXX_Size

func (m *AddUsersReq) XXX_Size() int

func (*AddUsersReq) XXX_Unmarshal

func (m *AddUsersReq) XXX_Unmarshal(b []byte) error

type AddUsersReqValidationError

type AddUsersReqValidationError struct {
	// contains filtered or unexported fields
}

AddUsersReqValidationError is the validation error returned by AddUsersReq.Validate if the designated constraints aren't met.

func (AddUsersReqValidationError) Cause

Cause function returns cause value.

func (AddUsersReqValidationError) Error

Error satisfies the builtin error interface

func (AddUsersReqValidationError) ErrorName

func (e AddUsersReqValidationError) ErrorName() string

ErrorName returns error name.

func (AddUsersReqValidationError) Field

Field function returns field value.

func (AddUsersReqValidationError) Key

Key function returns key value.

func (AddUsersReqValidationError) Reason

Reason function returns reason value.

type AddUsersResp

type AddUsersResp struct {
	Team                 *Team    `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*AddUsersResp) Descriptor

func (*AddUsersResp) Descriptor() ([]byte, []int)

func (*AddUsersResp) GetTeam

func (m *AddUsersResp) GetTeam() *Team

func (*AddUsersResp) ProtoMessage

func (*AddUsersResp) ProtoMessage()

func (*AddUsersResp) Reset

func (m *AddUsersResp) Reset()

func (*AddUsersResp) String

func (m *AddUsersResp) String() string

func (*AddUsersResp) Validate

func (m *AddUsersResp) Validate() error

Validate checks the field values on AddUsersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AddUsersResp) XXX_DiscardUnknown

func (m *AddUsersResp) XXX_DiscardUnknown()

func (*AddUsersResp) XXX_Marshal

func (m *AddUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddUsersResp) XXX_Merge

func (dst *AddUsersResp) XXX_Merge(src proto.Message)

func (*AddUsersResp) XXX_Size

func (m *AddUsersResp) XXX_Size() int

func (*AddUsersResp) XXX_Unmarshal

func (m *AddUsersResp) XXX_Unmarshal(b []byte) error

type AddUsersRespValidationError

type AddUsersRespValidationError struct {
	// contains filtered or unexported fields
}

AddUsersRespValidationError is the validation error returned by AddUsersResp.Validate if the designated constraints aren't met.

func (AddUsersRespValidationError) Cause

Cause function returns cause value.

func (AddUsersRespValidationError) Error

Error satisfies the builtin error interface

func (AddUsersRespValidationError) ErrorName

func (e AddUsersRespValidationError) ErrorName() string

ErrorName returns error name.

func (AddUsersRespValidationError) Field

Field function returns field value.

func (AddUsersRespValidationError) Key

Key function returns key value.

func (AddUsersRespValidationError) Reason

Reason function returns reason value.

type CreateTeamReq

type CreateTeamReq struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Description          string   `` /* 141-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 (*CreateTeamReq) Descriptor

func (*CreateTeamReq) Descriptor() ([]byte, []int)

func (*CreateTeamReq) GetDescription

func (m *CreateTeamReq) GetDescription() string

func (*CreateTeamReq) GetName

func (m *CreateTeamReq) GetName() string

func (*CreateTeamReq) ProtoMessage

func (*CreateTeamReq) ProtoMessage()

func (*CreateTeamReq) Reset

func (m *CreateTeamReq) Reset()

func (*CreateTeamReq) String

func (m *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.

func (*CreateTeamReq) XXX_DiscardUnknown

func (m *CreateTeamReq) XXX_DiscardUnknown()

func (*CreateTeamReq) XXX_Marshal

func (m *CreateTeamReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTeamReq) XXX_Merge

func (dst *CreateTeamReq) XXX_Merge(src proto.Message)

func (*CreateTeamReq) XXX_Size

func (m *CreateTeamReq) XXX_Size() int

func (*CreateTeamReq) XXX_Unmarshal

func (m *CreateTeamReq) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (CreateTeamReqValidationError) Error

Error satisfies the builtin error interface

func (CreateTeamReqValidationError) ErrorName

func (e CreateTeamReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateTeamReqValidationError) Field

Field function returns field value.

func (CreateTeamReqValidationError) Key

Key function returns key value.

func (CreateTeamReqValidationError) Reason

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateTeamResp) Descriptor

func (*CreateTeamResp) Descriptor() ([]byte, []int)

func (*CreateTeamResp) GetTeam

func (m *CreateTeamResp) GetTeam() *Team

func (*CreateTeamResp) ProtoMessage

func (*CreateTeamResp) ProtoMessage()

func (*CreateTeamResp) Reset

func (m *CreateTeamResp) Reset()

func (*CreateTeamResp) String

func (m *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.

func (*CreateTeamResp) XXX_DiscardUnknown

func (m *CreateTeamResp) XXX_DiscardUnknown()

func (*CreateTeamResp) XXX_Marshal

func (m *CreateTeamResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTeamResp) XXX_Merge

func (dst *CreateTeamResp) XXX_Merge(src proto.Message)

func (*CreateTeamResp) XXX_Size

func (m *CreateTeamResp) XXX_Size() int

func (*CreateTeamResp) XXX_Unmarshal

func (m *CreateTeamResp) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (CreateTeamRespValidationError) Error

Error satisfies the builtin error interface

func (CreateTeamRespValidationError) ErrorName

func (e CreateTeamRespValidationError) ErrorName() string

ErrorName returns error name.

func (CreateTeamRespValidationError) Field

Field function returns field value.

func (CreateTeamRespValidationError) Key

Key function returns key value.

func (CreateTeamRespValidationError) Reason

Reason function returns reason value.

type DeleteTeamReq

type DeleteTeamReq 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 (*DeleteTeamReq) Descriptor

func (*DeleteTeamReq) Descriptor() ([]byte, []int)

func (*DeleteTeamReq) GetId

func (m *DeleteTeamReq) GetId() string

func (*DeleteTeamReq) ProtoMessage

func (*DeleteTeamReq) ProtoMessage()

func (*DeleteTeamReq) Reset

func (m *DeleteTeamReq) Reset()

func (*DeleteTeamReq) String

func (m *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.

func (*DeleteTeamReq) XXX_DiscardUnknown

func (m *DeleteTeamReq) XXX_DiscardUnknown()

func (*DeleteTeamReq) XXX_Marshal

func (m *DeleteTeamReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTeamReq) XXX_Merge

func (dst *DeleteTeamReq) XXX_Merge(src proto.Message)

func (*DeleteTeamReq) XXX_Size

func (m *DeleteTeamReq) XXX_Size() int

func (*DeleteTeamReq) XXX_Unmarshal

func (m *DeleteTeamReq) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (DeleteTeamReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteTeamReqValidationError) ErrorName

func (e DeleteTeamReqValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteTeamReqValidationError) Field

Field function returns field value.

func (DeleteTeamReqValidationError) Key

Key function returns key value.

func (DeleteTeamReqValidationError) Reason

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeleteTeamResp) Descriptor

func (*DeleteTeamResp) Descriptor() ([]byte, []int)

func (*DeleteTeamResp) GetTeam

func (m *DeleteTeamResp) GetTeam() *Team

func (*DeleteTeamResp) ProtoMessage

func (*DeleteTeamResp) ProtoMessage()

func (*DeleteTeamResp) Reset

func (m *DeleteTeamResp) Reset()

func (*DeleteTeamResp) String

func (m *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.

func (*DeleteTeamResp) XXX_DiscardUnknown

func (m *DeleteTeamResp) XXX_DiscardUnknown()

func (*DeleteTeamResp) XXX_Marshal

func (m *DeleteTeamResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTeamResp) XXX_Merge

func (dst *DeleteTeamResp) XXX_Merge(src proto.Message)

func (*DeleteTeamResp) XXX_Size

func (m *DeleteTeamResp) XXX_Size() int

func (*DeleteTeamResp) XXX_Unmarshal

func (m *DeleteTeamResp) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (DeleteTeamRespValidationError) Error

Error satisfies the builtin error interface

func (DeleteTeamRespValidationError) ErrorName

func (e DeleteTeamRespValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteTeamRespValidationError) Field

Field function returns field value.

func (DeleteTeamRespValidationError) Key

Key function returns key value.

func (DeleteTeamRespValidationError) Reason

Reason function returns reason value.

type GetTeamByNameReq

type GetTeamByNameReq struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetTeamByNameReq) Descriptor

func (*GetTeamByNameReq) Descriptor() ([]byte, []int)

func (*GetTeamByNameReq) GetName

func (m *GetTeamByNameReq) GetName() string

func (*GetTeamByNameReq) ProtoMessage

func (*GetTeamByNameReq) ProtoMessage()

func (*GetTeamByNameReq) Reset

func (m *GetTeamByNameReq) Reset()

func (*GetTeamByNameReq) String

func (m *GetTeamByNameReq) String() string

func (*GetTeamByNameReq) Validate

func (m *GetTeamByNameReq) Validate() error

Validate checks the field values on GetTeamByNameReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetTeamByNameReq) XXX_DiscardUnknown

func (m *GetTeamByNameReq) XXX_DiscardUnknown()

func (*GetTeamByNameReq) XXX_Marshal

func (m *GetTeamByNameReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamByNameReq) XXX_Merge

func (dst *GetTeamByNameReq) XXX_Merge(src proto.Message)

func (*GetTeamByNameReq) XXX_Size

func (m *GetTeamByNameReq) XXX_Size() int

func (*GetTeamByNameReq) XXX_Unmarshal

func (m *GetTeamByNameReq) XXX_Unmarshal(b []byte) error

type GetTeamByNameReqValidationError

type GetTeamByNameReqValidationError struct {
	// contains filtered or unexported fields
}

GetTeamByNameReqValidationError is the validation error returned by GetTeamByNameReq.Validate if the designated constraints aren't met.

func (GetTeamByNameReqValidationError) Cause

Cause function returns cause value.

func (GetTeamByNameReqValidationError) Error

Error satisfies the builtin error interface

func (GetTeamByNameReqValidationError) ErrorName

ErrorName returns error name.

func (GetTeamByNameReqValidationError) Field

Field function returns field value.

func (GetTeamByNameReqValidationError) Key

Key function returns key value.

func (GetTeamByNameReqValidationError) Reason

Reason function returns reason value.

type GetTeamByNameResp

type GetTeamByNameResp struct {
	Team                 *Team    `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetTeamByNameResp) Descriptor

func (*GetTeamByNameResp) Descriptor() ([]byte, []int)

func (*GetTeamByNameResp) GetTeam

func (m *GetTeamByNameResp) GetTeam() *Team

func (*GetTeamByNameResp) ProtoMessage

func (*GetTeamByNameResp) ProtoMessage()

func (*GetTeamByNameResp) Reset

func (m *GetTeamByNameResp) Reset()

func (*GetTeamByNameResp) String

func (m *GetTeamByNameResp) String() string

func (*GetTeamByNameResp) Validate

func (m *GetTeamByNameResp) Validate() error

Validate checks the field values on GetTeamByNameResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetTeamByNameResp) XXX_DiscardUnknown

func (m *GetTeamByNameResp) XXX_DiscardUnknown()

func (*GetTeamByNameResp) XXX_Marshal

func (m *GetTeamByNameResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamByNameResp) XXX_Merge

func (dst *GetTeamByNameResp) XXX_Merge(src proto.Message)

func (*GetTeamByNameResp) XXX_Size

func (m *GetTeamByNameResp) XXX_Size() int

func (*GetTeamByNameResp) XXX_Unmarshal

func (m *GetTeamByNameResp) XXX_Unmarshal(b []byte) error

type GetTeamByNameRespValidationError

type GetTeamByNameRespValidationError struct {
	// contains filtered or unexported fields
}

GetTeamByNameRespValidationError is the validation error returned by GetTeamByNameResp.Validate if the designated constraints aren't met.

func (GetTeamByNameRespValidationError) Cause

Cause function returns cause value.

func (GetTeamByNameRespValidationError) Error

Error satisfies the builtin error interface

func (GetTeamByNameRespValidationError) ErrorName

ErrorName returns error name.

func (GetTeamByNameRespValidationError) Field

Field function returns field value.

func (GetTeamByNameRespValidationError) Key

Key function returns key value.

func (GetTeamByNameRespValidationError) Reason

Reason function returns reason value.

type GetTeamReq

type GetTeamReq 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 (*GetTeamReq) Descriptor

func (*GetTeamReq) Descriptor() ([]byte, []int)

func (*GetTeamReq) GetId

func (m *GetTeamReq) GetId() string

func (*GetTeamReq) ProtoMessage

func (*GetTeamReq) ProtoMessage()

func (*GetTeamReq) Reset

func (m *GetTeamReq) Reset()

func (*GetTeamReq) String

func (m *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.

func (*GetTeamReq) XXX_DiscardUnknown

func (m *GetTeamReq) XXX_DiscardUnknown()

func (*GetTeamReq) XXX_Marshal

func (m *GetTeamReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamReq) XXX_Merge

func (dst *GetTeamReq) XXX_Merge(src proto.Message)

func (*GetTeamReq) XXX_Size

func (m *GetTeamReq) XXX_Size() int

func (*GetTeamReq) XXX_Unmarshal

func (m *GetTeamReq) XXX_Unmarshal(b []byte) error

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

Error satisfies the builtin error interface

func (GetTeamReqValidationError) ErrorName

func (e GetTeamReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetTeamReqValidationError) Field

Field function returns field value.

func (GetTeamReqValidationError) Key

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetTeamResp) Descriptor

func (*GetTeamResp) Descriptor() ([]byte, []int)

func (*GetTeamResp) GetTeam

func (m *GetTeamResp) GetTeam() *Team

func (*GetTeamResp) ProtoMessage

func (*GetTeamResp) ProtoMessage()

func (*GetTeamResp) Reset

func (m *GetTeamResp) Reset()

func (*GetTeamResp) String

func (m *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.

func (*GetTeamResp) XXX_DiscardUnknown

func (m *GetTeamResp) XXX_DiscardUnknown()

func (*GetTeamResp) XXX_Marshal

func (m *GetTeamResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamResp) XXX_Merge

func (dst *GetTeamResp) XXX_Merge(src proto.Message)

func (*GetTeamResp) XXX_Size

func (m *GetTeamResp) XXX_Size() int

func (*GetTeamResp) XXX_Unmarshal

func (m *GetTeamResp) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (GetTeamRespValidationError) Error

Error satisfies the builtin error interface

func (GetTeamRespValidationError) ErrorName

func (e GetTeamRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetTeamRespValidationError) Field

Field function returns field value.

func (GetTeamRespValidationError) Key

Key function returns key value.

func (GetTeamRespValidationError) Reason

Reason function returns reason value.

type GetTeamsForUserReq

type GetTeamsForUserReq struct {
	UserId               string   `` /* 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 (*GetTeamsForUserReq) Descriptor

func (*GetTeamsForUserReq) Descriptor() ([]byte, []int)

func (*GetTeamsForUserReq) GetUserId

func (m *GetTeamsForUserReq) GetUserId() string

func (*GetTeamsForUserReq) ProtoMessage

func (*GetTeamsForUserReq) ProtoMessage()

func (*GetTeamsForUserReq) Reset

func (m *GetTeamsForUserReq) Reset()

func (*GetTeamsForUserReq) String

func (m *GetTeamsForUserReq) String() string

func (*GetTeamsForUserReq) Validate

func (m *GetTeamsForUserReq) Validate() error

Validate checks the field values on GetTeamsForUserReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetTeamsForUserReq) XXX_DiscardUnknown

func (m *GetTeamsForUserReq) XXX_DiscardUnknown()

func (*GetTeamsForUserReq) XXX_Marshal

func (m *GetTeamsForUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamsForUserReq) XXX_Merge

func (dst *GetTeamsForUserReq) XXX_Merge(src proto.Message)

func (*GetTeamsForUserReq) XXX_Size

func (m *GetTeamsForUserReq) XXX_Size() int

func (*GetTeamsForUserReq) XXX_Unmarshal

func (m *GetTeamsForUserReq) XXX_Unmarshal(b []byte) error

type GetTeamsForUserReqValidationError

type GetTeamsForUserReqValidationError struct {
	// contains filtered or unexported fields
}

GetTeamsForUserReqValidationError is the validation error returned by GetTeamsForUserReq.Validate if the designated constraints aren't met.

func (GetTeamsForUserReqValidationError) Cause

Cause function returns cause value.

func (GetTeamsForUserReqValidationError) Error

Error satisfies the builtin error interface

func (GetTeamsForUserReqValidationError) ErrorName

ErrorName returns error name.

func (GetTeamsForUserReqValidationError) Field

Field function returns field value.

func (GetTeamsForUserReqValidationError) Key

Key function returns key value.

func (GetTeamsForUserReqValidationError) Reason

Reason function returns reason value.

type GetTeamsForUserResp

type GetTeamsForUserResp struct {
	Teams                []*Team  `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetTeamsForUserResp) Descriptor

func (*GetTeamsForUserResp) Descriptor() ([]byte, []int)

func (*GetTeamsForUserResp) GetTeams

func (m *GetTeamsForUserResp) GetTeams() []*Team

func (*GetTeamsForUserResp) ProtoMessage

func (*GetTeamsForUserResp) ProtoMessage()

func (*GetTeamsForUserResp) Reset

func (m *GetTeamsForUserResp) Reset()

func (*GetTeamsForUserResp) String

func (m *GetTeamsForUserResp) String() string

func (*GetTeamsForUserResp) Validate

func (m *GetTeamsForUserResp) Validate() error

Validate checks the field values on GetTeamsForUserResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetTeamsForUserResp) XXX_DiscardUnknown

func (m *GetTeamsForUserResp) XXX_DiscardUnknown()

func (*GetTeamsForUserResp) XXX_Marshal

func (m *GetTeamsForUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamsForUserResp) XXX_Merge

func (dst *GetTeamsForUserResp) XXX_Merge(src proto.Message)

func (*GetTeamsForUserResp) XXX_Size

func (m *GetTeamsForUserResp) XXX_Size() int

func (*GetTeamsForUserResp) XXX_Unmarshal

func (m *GetTeamsForUserResp) XXX_Unmarshal(b []byte) error

type GetTeamsForUserRespValidationError

type GetTeamsForUserRespValidationError struct {
	// contains filtered or unexported fields
}

GetTeamsForUserRespValidationError is the validation error returned by GetTeamsForUserResp.Validate if the designated constraints aren't met.

func (GetTeamsForUserRespValidationError) Cause

Cause function returns cause value.

func (GetTeamsForUserRespValidationError) Error

Error satisfies the builtin error interface

func (GetTeamsForUserRespValidationError) ErrorName

ErrorName returns error name.

func (GetTeamsForUserRespValidationError) Field

Field function returns field value.

func (GetTeamsForUserRespValidationError) Key

Key function returns key value.

func (GetTeamsForUserRespValidationError) Reason

Reason function returns reason value.

type GetTeamsReq

type GetTeamsReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetTeamsReq) Descriptor

func (*GetTeamsReq) Descriptor() ([]byte, []int)

func (*GetTeamsReq) ProtoMessage

func (*GetTeamsReq) ProtoMessage()

func (*GetTeamsReq) Reset

func (m *GetTeamsReq) Reset()

func (*GetTeamsReq) String

func (m *GetTeamsReq) String() string

func (*GetTeamsReq) Validate

func (m *GetTeamsReq) Validate() error

Validate checks the field values on GetTeamsReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetTeamsReq) XXX_DiscardUnknown

func (m *GetTeamsReq) XXX_DiscardUnknown()

func (*GetTeamsReq) XXX_Marshal

func (m *GetTeamsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamsReq) XXX_Merge

func (dst *GetTeamsReq) XXX_Merge(src proto.Message)

func (*GetTeamsReq) XXX_Size

func (m *GetTeamsReq) XXX_Size() int

func (*GetTeamsReq) XXX_Unmarshal

func (m *GetTeamsReq) XXX_Unmarshal(b []byte) error

type GetTeamsReqValidationError

type GetTeamsReqValidationError struct {
	// contains filtered or unexported fields
}

GetTeamsReqValidationError is the validation error returned by GetTeamsReq.Validate if the designated constraints aren't met.

func (GetTeamsReqValidationError) Cause

Cause function returns cause value.

func (GetTeamsReqValidationError) Error

Error satisfies the builtin error interface

func (GetTeamsReqValidationError) ErrorName

func (e GetTeamsReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetTeamsReqValidationError) Field

Field function returns field value.

func (GetTeamsReqValidationError) Key

Key function returns key value.

func (GetTeamsReqValidationError) Reason

Reason function returns reason value.

type GetTeamsResp

type GetTeamsResp struct {
	Teams                []*Team  `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty" toml:"teams,omitempty" mapstructure:"teams,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetTeamsResp) Descriptor

func (*GetTeamsResp) Descriptor() ([]byte, []int)

func (*GetTeamsResp) GetTeams

func (m *GetTeamsResp) GetTeams() []*Team

func (*GetTeamsResp) ProtoMessage

func (*GetTeamsResp) ProtoMessage()

func (*GetTeamsResp) Reset

func (m *GetTeamsResp) Reset()

func (*GetTeamsResp) String

func (m *GetTeamsResp) String() string

func (*GetTeamsResp) Validate

func (m *GetTeamsResp) Validate() error

Validate checks the field values on GetTeamsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetTeamsResp) XXX_DiscardUnknown

func (m *GetTeamsResp) XXX_DiscardUnknown()

func (*GetTeamsResp) XXX_Marshal

func (m *GetTeamsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTeamsResp) XXX_Merge

func (dst *GetTeamsResp) XXX_Merge(src proto.Message)

func (*GetTeamsResp) XXX_Size

func (m *GetTeamsResp) XXX_Size() int

func (*GetTeamsResp) XXX_Unmarshal

func (m *GetTeamsResp) XXX_Unmarshal(b []byte) error

type GetTeamsRespValidationError

type GetTeamsRespValidationError struct {
	// contains filtered or unexported fields
}

GetTeamsRespValidationError is the validation error returned by GetTeamsResp.Validate if the designated constraints aren't met.

func (GetTeamsRespValidationError) Cause

Cause function returns cause value.

func (GetTeamsRespValidationError) Error

Error satisfies the builtin error interface

func (GetTeamsRespValidationError) ErrorName

func (e GetTeamsRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetTeamsRespValidationError) Field

Field function returns field value.

func (GetTeamsRespValidationError) Key

Key function returns key value.

func (GetTeamsRespValidationError) Reason

Reason function returns reason value.

type GetUsersReq

type GetUsersReq 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 (*GetUsersReq) Descriptor

func (*GetUsersReq) Descriptor() ([]byte, []int)

func (*GetUsersReq) GetId

func (m *GetUsersReq) GetId() string

func (*GetUsersReq) ProtoMessage

func (*GetUsersReq) ProtoMessage()

func (*GetUsersReq) Reset

func (m *GetUsersReq) Reset()

func (*GetUsersReq) String

func (m *GetUsersReq) String() string

func (*GetUsersReq) Validate

func (m *GetUsersReq) Validate() error

Validate checks the field values on GetUsersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetUsersReq) XXX_DiscardUnknown

func (m *GetUsersReq) XXX_DiscardUnknown()

func (*GetUsersReq) XXX_Marshal

func (m *GetUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsersReq) XXX_Merge

func (dst *GetUsersReq) XXX_Merge(src proto.Message)

func (*GetUsersReq) XXX_Size

func (m *GetUsersReq) XXX_Size() int

func (*GetUsersReq) XXX_Unmarshal

func (m *GetUsersReq) XXX_Unmarshal(b []byte) error

type GetUsersReqValidationError

type GetUsersReqValidationError struct {
	// contains filtered or unexported fields
}

GetUsersReqValidationError is the validation error returned by GetUsersReq.Validate if the designated constraints aren't met.

func (GetUsersReqValidationError) Cause

Cause function returns cause value.

func (GetUsersReqValidationError) Error

Error satisfies the builtin error interface

func (GetUsersReqValidationError) ErrorName

func (e GetUsersReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetUsersReqValidationError) Field

Field function returns field value.

func (GetUsersReqValidationError) Key

Key function returns key value.

func (GetUsersReqValidationError) Reason

Reason function returns reason value.

type GetUsersResp

type GetUsersResp struct {
	UserIds              []string `` /* 142-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 (*GetUsersResp) Descriptor

func (*GetUsersResp) Descriptor() ([]byte, []int)

func (*GetUsersResp) GetUserIds

func (m *GetUsersResp) GetUserIds() []string

func (*GetUsersResp) ProtoMessage

func (*GetUsersResp) ProtoMessage()

func (*GetUsersResp) Reset

func (m *GetUsersResp) Reset()

func (*GetUsersResp) String

func (m *GetUsersResp) String() string

func (*GetUsersResp) Validate

func (m *GetUsersResp) Validate() error

Validate checks the field values on GetUsersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetUsersResp) XXX_DiscardUnknown

func (m *GetUsersResp) XXX_DiscardUnknown()

func (*GetUsersResp) XXX_Marshal

func (m *GetUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsersResp) XXX_Merge

func (dst *GetUsersResp) XXX_Merge(src proto.Message)

func (*GetUsersResp) XXX_Size

func (m *GetUsersResp) XXX_Size() int

func (*GetUsersResp) XXX_Unmarshal

func (m *GetUsersResp) XXX_Unmarshal(b []byte) error

type GetUsersRespValidationError

type GetUsersRespValidationError struct {
	// contains filtered or unexported fields
}

GetUsersRespValidationError is the validation error returned by GetUsersResp.Validate if the designated constraints aren't met.

func (GetUsersRespValidationError) Cause

Cause function returns cause value.

func (GetUsersRespValidationError) Error

Error satisfies the builtin error interface

func (GetUsersRespValidationError) ErrorName

func (e GetUsersRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetUsersRespValidationError) Field

Field function returns field value.

func (GetUsersRespValidationError) Key

Key function returns key value.

func (GetUsersRespValidationError) Reason

Reason function returns reason value.

type PurgeUserMembershipReq

type PurgeUserMembershipReq struct {
	UserId               string   `` /* 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 (*PurgeUserMembershipReq) Descriptor

func (*PurgeUserMembershipReq) Descriptor() ([]byte, []int)

func (*PurgeUserMembershipReq) GetUserId

func (m *PurgeUserMembershipReq) GetUserId() string

func (*PurgeUserMembershipReq) ProtoMessage

func (*PurgeUserMembershipReq) ProtoMessage()

func (*PurgeUserMembershipReq) Reset

func (m *PurgeUserMembershipReq) Reset()

func (*PurgeUserMembershipReq) String

func (m *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.

func (*PurgeUserMembershipReq) XXX_DiscardUnknown

func (m *PurgeUserMembershipReq) XXX_DiscardUnknown()

func (*PurgeUserMembershipReq) XXX_Marshal

func (m *PurgeUserMembershipReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgeUserMembershipReq) XXX_Merge

func (dst *PurgeUserMembershipReq) XXX_Merge(src proto.Message)

func (*PurgeUserMembershipReq) XXX_Size

func (m *PurgeUserMembershipReq) XXX_Size() int

func (*PurgeUserMembershipReq) XXX_Unmarshal

func (m *PurgeUserMembershipReq) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (PurgeUserMembershipReqValidationError) Error

Error satisfies the builtin error interface

func (PurgeUserMembershipReqValidationError) ErrorName

ErrorName returns error name.

func (PurgeUserMembershipReqValidationError) Field

Field function returns field value.

func (PurgeUserMembershipReqValidationError) Key

Key function returns key value.

func (PurgeUserMembershipReqValidationError) Reason

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*PurgeUserMembershipResp) Descriptor

func (*PurgeUserMembershipResp) Descriptor() ([]byte, []int)

func (*PurgeUserMembershipResp) GetIds

func (m *PurgeUserMembershipResp) GetIds() []string

func (*PurgeUserMembershipResp) ProtoMessage

func (*PurgeUserMembershipResp) ProtoMessage()

func (*PurgeUserMembershipResp) Reset

func (m *PurgeUserMembershipResp) Reset()

func (*PurgeUserMembershipResp) String

func (m *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.

func (*PurgeUserMembershipResp) XXX_DiscardUnknown

func (m *PurgeUserMembershipResp) XXX_DiscardUnknown()

func (*PurgeUserMembershipResp) XXX_Marshal

func (m *PurgeUserMembershipResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgeUserMembershipResp) XXX_Merge

func (dst *PurgeUserMembershipResp) XXX_Merge(src proto.Message)

func (*PurgeUserMembershipResp) XXX_Size

func (m *PurgeUserMembershipResp) XXX_Size() int

func (*PurgeUserMembershipResp) XXX_Unmarshal

func (m *PurgeUserMembershipResp) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (PurgeUserMembershipRespValidationError) Error

Error satisfies the builtin error interface

func (PurgeUserMembershipRespValidationError) ErrorName

ErrorName returns error name.

func (PurgeUserMembershipRespValidationError) Field

Field function returns field value.

func (PurgeUserMembershipRespValidationError) Key

Key function returns key value.

func (PurgeUserMembershipRespValidationError) Reason

Reason function returns reason value.

type RemoveUsersReq

type RemoveUsersReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	UserIds              []string `` /* 142-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 (*RemoveUsersReq) Descriptor

func (*RemoveUsersReq) Descriptor() ([]byte, []int)

func (*RemoveUsersReq) GetId

func (m *RemoveUsersReq) GetId() string

func (*RemoveUsersReq) GetUserIds

func (m *RemoveUsersReq) GetUserIds() []string

func (*RemoveUsersReq) ProtoMessage

func (*RemoveUsersReq) ProtoMessage()

func (*RemoveUsersReq) Reset

func (m *RemoveUsersReq) Reset()

func (*RemoveUsersReq) String

func (m *RemoveUsersReq) String() string

func (*RemoveUsersReq) Validate

func (m *RemoveUsersReq) Validate() error

Validate checks the field values on RemoveUsersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RemoveUsersReq) XXX_DiscardUnknown

func (m *RemoveUsersReq) XXX_DiscardUnknown()

func (*RemoveUsersReq) XXX_Marshal

func (m *RemoveUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveUsersReq) XXX_Merge

func (dst *RemoveUsersReq) XXX_Merge(src proto.Message)

func (*RemoveUsersReq) XXX_Size

func (m *RemoveUsersReq) XXX_Size() int

func (*RemoveUsersReq) XXX_Unmarshal

func (m *RemoveUsersReq) XXX_Unmarshal(b []byte) error

type RemoveUsersReqValidationError

type RemoveUsersReqValidationError struct {
	// contains filtered or unexported fields
}

RemoveUsersReqValidationError is the validation error returned by RemoveUsersReq.Validate if the designated constraints aren't met.

func (RemoveUsersReqValidationError) Cause

Cause function returns cause value.

func (RemoveUsersReqValidationError) Error

Error satisfies the builtin error interface

func (RemoveUsersReqValidationError) ErrorName

func (e RemoveUsersReqValidationError) ErrorName() string

ErrorName returns error name.

func (RemoveUsersReqValidationError) Field

Field function returns field value.

func (RemoveUsersReqValidationError) Key

Key function returns key value.

func (RemoveUsersReqValidationError) Reason

Reason function returns reason value.

type RemoveUsersResp

type RemoveUsersResp struct {
	Team                 *Team    `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" toml:"team,omitempty" mapstructure:"team,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*RemoveUsersResp) Descriptor

func (*RemoveUsersResp) Descriptor() ([]byte, []int)

func (*RemoveUsersResp) GetTeam

func (m *RemoveUsersResp) GetTeam() *Team

func (*RemoveUsersResp) ProtoMessage

func (*RemoveUsersResp) ProtoMessage()

func (*RemoveUsersResp) Reset

func (m *RemoveUsersResp) Reset()

func (*RemoveUsersResp) String

func (m *RemoveUsersResp) String() string

func (*RemoveUsersResp) Validate

func (m *RemoveUsersResp) Validate() error

Validate checks the field values on RemoveUsersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RemoveUsersResp) XXX_DiscardUnknown

func (m *RemoveUsersResp) XXX_DiscardUnknown()

func (*RemoveUsersResp) XXX_Marshal

func (m *RemoveUsersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveUsersResp) XXX_Merge

func (dst *RemoveUsersResp) XXX_Merge(src proto.Message)

func (*RemoveUsersResp) XXX_Size

func (m *RemoveUsersResp) XXX_Size() int

func (*RemoveUsersResp) XXX_Unmarshal

func (m *RemoveUsersResp) XXX_Unmarshal(b []byte) error

type RemoveUsersRespValidationError

type RemoveUsersRespValidationError struct {
	// contains filtered or unexported fields
}

RemoveUsersRespValidationError is the validation error returned by RemoveUsersResp.Validate if the designated constraints aren't met.

func (RemoveUsersRespValidationError) Cause

Cause function returns cause value.

func (RemoveUsersRespValidationError) Error

Error satisfies the builtin error interface

func (RemoveUsersRespValidationError) ErrorName

func (e RemoveUsersRespValidationError) ErrorName() string

ErrorName returns error name.

func (RemoveUsersRespValidationError) Field

Field function returns field value.

func (RemoveUsersRespValidationError) Key

Key function returns key value.

func (RemoveUsersRespValidationError) Reason

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"`
	Description          string   `` /* 141-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 (*Team) Descriptor

func (*Team) Descriptor() ([]byte, []int)

func (*Team) GetDescription

func (m *Team) GetDescription() string

func (*Team) GetId

func (m *Team) GetId() string

func (*Team) GetName

func (m *Team) GetName() string

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) Reset

func (m *Team) Reset()

func (*Team) String

func (m *Team) String() string

func (*Team) Validate

func (m *Team) Validate() error

Validate checks the field values on Team with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Team) XXX_DiscardUnknown

func (m *Team) XXX_DiscardUnknown()

func (*Team) XXX_Marshal

func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Team) XXX_Merge

func (dst *Team) XXX_Merge(src proto.Message)

func (*Team) XXX_Size

func (m *Team) XXX_Size() int

func (*Team) XXX_Unmarshal

func (m *Team) XXX_Unmarshal(b []byte) error

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 TeamsV1Client

type TeamsV1Client interface {
	GetVersion(ctx context.Context, in *version.VersionInfoRequest, opts ...grpc.CallOption) (*version.VersionInfo, 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)
	GetTeams(ctx context.Context, in *GetTeamsReq, opts ...grpc.CallOption) (*GetTeamsResp, error)
	GetTeam(ctx context.Context, in *GetTeamReq, opts ...grpc.CallOption) (*GetTeamResp, error)
	AddUsers(ctx context.Context, in *AddUsersReq, opts ...grpc.CallOption) (*AddUsersResp, error)
	RemoveUsers(ctx context.Context, in *RemoveUsersReq, opts ...grpc.CallOption) (*RemoveUsersResp, error)
	GetTeamsForUser(ctx context.Context, in *GetTeamsForUserReq, opts ...grpc.CallOption) (*GetTeamsForUserResp, error)
	GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersResp, error)
	// Domain-specific functions not used in gateway API.
	// TODO (tc) We should add V2 versions if we wanna deprecate this GRPC service.
	// We'll also need to update any domain-service that uses these functions / this service
	// to use the V2 service.
	PurgeUserMembership(ctx context.Context, in *PurgeUserMembershipReq, opts ...grpc.CallOption) (*PurgeUserMembershipResp, error)
	GetTeamByName(ctx context.Context, in *GetTeamByNameReq, opts ...grpc.CallOption) (*GetTeamByNameResp, error)
}

TeamsV1Client is the client API for TeamsV1 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTeamsV1Client

func NewTeamsV1Client(cc *grpc.ClientConn) TeamsV1Client

type TeamsV1Server

type TeamsV1Server interface {
	GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
	CreateTeam(context.Context, *CreateTeamReq) (*CreateTeamResp, error)
	UpdateTeam(context.Context, *UpdateTeamReq) (*UpdateTeamResp, error)
	DeleteTeam(context.Context, *DeleteTeamReq) (*DeleteTeamResp, error)
	GetTeams(context.Context, *GetTeamsReq) (*GetTeamsResp, error)
	GetTeam(context.Context, *GetTeamReq) (*GetTeamResp, error)
	AddUsers(context.Context, *AddUsersReq) (*AddUsersResp, error)
	RemoveUsers(context.Context, *RemoveUsersReq) (*RemoveUsersResp, error)
	GetTeamsForUser(context.Context, *GetTeamsForUserReq) (*GetTeamsForUserResp, error)
	GetUsers(context.Context, *GetUsersReq) (*GetUsersResp, error)
	// Domain-specific functions not used in gateway API.
	// TODO (tc) We should add V2 versions if we wanna deprecate this GRPC service.
	// We'll also need to update any domain-service that uses these functions / this service
	// to use the V2 service.
	PurgeUserMembership(context.Context, *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error)
	GetTeamByName(context.Context, *GetTeamByNameReq) (*GetTeamByNameResp, error)
}

TeamsV1Server is the server API for TeamsV1 service.

type TeamsV1ServerMock

type TeamsV1ServerMock struct {
	GetVersionFunc          func(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
	CreateTeamFunc          func(context.Context, *CreateTeamReq) (*CreateTeamResp, error)
	UpdateTeamFunc          func(context.Context, *UpdateTeamReq) (*UpdateTeamResp, error)
	DeleteTeamFunc          func(context.Context, *DeleteTeamReq) (*DeleteTeamResp, error)
	GetTeamsFunc            func(context.Context, *GetTeamsReq) (*GetTeamsResp, error)
	GetTeamFunc             func(context.Context, *GetTeamReq) (*GetTeamResp, error)
	AddUsersFunc            func(context.Context, *AddUsersReq) (*AddUsersResp, error)
	RemoveUsersFunc         func(context.Context, *RemoveUsersReq) (*RemoveUsersResp, error)
	GetTeamsForUserFunc     func(context.Context, *GetTeamsForUserReq) (*GetTeamsForUserResp, error)
	GetUsersFunc            func(context.Context, *GetUsersReq) (*GetUsersResp, error)
	PurgeUserMembershipFunc func(context.Context, *PurgeUserMembershipReq) (*PurgeUserMembershipResp, error)
	GetTeamByNameFunc       func(context.Context, *GetTeamByNameReq) (*GetTeamByNameResp, error)
	// contains filtered or unexported fields
}

TeamsV1ServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns

func NewTeamsV1ServerMock

func NewTeamsV1ServerMock() *TeamsV1ServerMock

NewTeamsV1ServerMock gives you a fresh instance of TeamsV1ServerMock.

func NewTeamsV1ServerMockWithoutValidation

func NewTeamsV1ServerMockWithoutValidation() *TeamsV1ServerMock

NewTeamsV1ServerMockWithoutValidation gives you a fresh instance of TeamsV1ServerMock which does not attempt to validate requests before passing them to their respective '*Func'.

func (*TeamsV1ServerMock) AddUsers

func (m *TeamsV1ServerMock) AddUsers(ctx context.Context, req *AddUsersReq) (*AddUsersResp, error)

func (*TeamsV1ServerMock) CreateTeam

func (m *TeamsV1ServerMock) CreateTeam(ctx context.Context, req *CreateTeamReq) (*CreateTeamResp, error)

func (*TeamsV1ServerMock) DeleteTeam

func (m *TeamsV1ServerMock) DeleteTeam(ctx context.Context, req *DeleteTeamReq) (*DeleteTeamResp, error)

func (*TeamsV1ServerMock) GetTeam

func (m *TeamsV1ServerMock) GetTeam(ctx context.Context, req *GetTeamReq) (*GetTeamResp, error)

func (*TeamsV1ServerMock) GetTeamByName

func (m *TeamsV1ServerMock) GetTeamByName(ctx context.Context, req *GetTeamByNameReq) (*GetTeamByNameResp, error)

func (*TeamsV1ServerMock) GetTeams

func (m *TeamsV1ServerMock) GetTeams(ctx context.Context, req *GetTeamsReq) (*GetTeamsResp, error)

func (*TeamsV1ServerMock) GetTeamsForUser

func (*TeamsV1ServerMock) GetUsers

func (m *TeamsV1ServerMock) GetUsers(ctx context.Context, req *GetUsersReq) (*GetUsersResp, error)

func (*TeamsV1ServerMock) GetVersion

func (*TeamsV1ServerMock) PurgeUserMembership

func (*TeamsV1ServerMock) RemoveUsers

func (m *TeamsV1ServerMock) RemoveUsers(ctx context.Context, req *RemoveUsersReq) (*RemoveUsersResp, error)

func (*TeamsV1ServerMock) Reset

func (m *TeamsV1ServerMock) Reset()

Reset resets all overridden functions

func (*TeamsV1ServerMock) UpdateTeam

func (m *TeamsV1ServerMock) UpdateTeam(ctx context.Context, req *UpdateTeamReq) (*UpdateTeamResp, error)

type UpdateTeamReq

type UpdateTeamReq 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"`
	Description          string   `` /* 141-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 (*UpdateTeamReq) Descriptor

func (*UpdateTeamReq) Descriptor() ([]byte, []int)

func (*UpdateTeamReq) GetDescription

func (m *UpdateTeamReq) GetDescription() string

func (*UpdateTeamReq) GetId

func (m *UpdateTeamReq) GetId() string

func (*UpdateTeamReq) GetName

func (m *UpdateTeamReq) GetName() string

func (*UpdateTeamReq) ProtoMessage

func (*UpdateTeamReq) ProtoMessage()

func (*UpdateTeamReq) Reset

func (m *UpdateTeamReq) Reset()

func (*UpdateTeamReq) String

func (m *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.

func (*UpdateTeamReq) XXX_DiscardUnknown

func (m *UpdateTeamReq) XXX_DiscardUnknown()

func (*UpdateTeamReq) XXX_Marshal

func (m *UpdateTeamReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateTeamReq) XXX_Merge

func (dst *UpdateTeamReq) XXX_Merge(src proto.Message)

func (*UpdateTeamReq) XXX_Size

func (m *UpdateTeamReq) XXX_Size() int

func (*UpdateTeamReq) XXX_Unmarshal

func (m *UpdateTeamReq) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (UpdateTeamReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateTeamReqValidationError) ErrorName

func (e UpdateTeamReqValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateTeamReqValidationError) Field

Field function returns field value.

func (UpdateTeamReqValidationError) Key

Key function returns key value.

func (UpdateTeamReqValidationError) Reason

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*UpdateTeamResp) Descriptor

func (*UpdateTeamResp) Descriptor() ([]byte, []int)

func (*UpdateTeamResp) GetTeam

func (m *UpdateTeamResp) GetTeam() *Team

func (*UpdateTeamResp) ProtoMessage

func (*UpdateTeamResp) ProtoMessage()

func (*UpdateTeamResp) Reset

func (m *UpdateTeamResp) Reset()

func (*UpdateTeamResp) String

func (m *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.

func (*UpdateTeamResp) XXX_DiscardUnknown

func (m *UpdateTeamResp) XXX_DiscardUnknown()

func (*UpdateTeamResp) XXX_Marshal

func (m *UpdateTeamResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateTeamResp) XXX_Merge

func (dst *UpdateTeamResp) XXX_Merge(src proto.Message)

func (*UpdateTeamResp) XXX_Size

func (m *UpdateTeamResp) XXX_Size() int

func (*UpdateTeamResp) XXX_Unmarshal

func (m *UpdateTeamResp) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (UpdateTeamRespValidationError) Error

Error satisfies the builtin error interface

func (UpdateTeamRespValidationError) ErrorName

func (e UpdateTeamRespValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateTeamRespValidationError) Field

Field function returns field value.

func (UpdateTeamRespValidationError) Key

Key function returns key value.

func (UpdateTeamRespValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL