Documentation
¶
Index ¶
- Variables
- type CreateModuleByNameRequest
- func (*CreateModuleByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModuleByNameRequest) GetDefaultBranch() string
- func (x *CreateModuleByNameRequest) GetDescription() string
- func (x *CreateModuleByNameRequest) GetName() string
- func (x *CreateModuleByNameRequest) GetVisibility() EVisibility
- func (*CreateModuleByNameRequest) ProtoMessage()
- func (x *CreateModuleByNameRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModuleByNameRequest) Reset()
- func (x *CreateModuleByNameRequest) String() string
- type CreateModuleByNameResponse
- func (*CreateModuleByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModuleByNameResponse) GetModule() *Module
- func (*CreateModuleByNameResponse) ProtoMessage()
- func (x *CreateModuleByNameResponse) ProtoReflect() protoreflect.Message
- func (x *CreateModuleByNameResponse) Reset()
- func (x *CreateModuleByNameResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetDescription() string
- func (x *CreateUserRequest) GetUsername() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- type EVisibility
- func (EVisibility) Descriptor() protoreflect.EnumDescriptor
- func (x EVisibility) Enum() *EVisibility
- func (EVisibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x EVisibility) Number() protoreflect.EnumNumber
- func (x EVisibility) String() string
- func (EVisibility) Type() protoreflect.EnumType
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetCreateTime() *timestamppb.Timestamp
- func (x *Module) GetDefaultBranch() string
- func (x *Module) GetDescription() string
- func (x *Module) GetId() string
- func (x *Module) GetName() string
- func (x *Module) GetOwnerId() string
- func (x *Module) GetUpdateTime() *timestamppb.Timestamp
- func (x *Module) GetVisibility() EVisibility
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetDescription() string
- func (x *User) GetId() string
- func (x *User) GetUpdateTime() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EVisibility_name = map[int32]string{ 0: "E_VISIBILITY_UNSPECIFIED", 1: "E_VISIBILITY_PUBLIC", 2: "E_VISIBILITY_PRIVATE", } EVisibility_value = map[string]int32{ "E_VISIBILITY_UNSPECIFIED": 0, "E_VISIBILITY_PUBLIC": 1, "E_VISIBILITY_PRIVATE": 2, } )
Enum value maps for EVisibility.
View Source
var File_api_registry_v1_module_proto protoreflect.FileDescriptor
View Source
var File_api_registry_v1_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateModuleByNameRequest ¶
type CreateModuleByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Visibility EVisibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=hades.api.registry.v1.EVisibility" json:"visibility,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` DefaultBranch string `protobuf:"bytes,4,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` // contains filtered or unexported fields }
func (*CreateModuleByNameRequest) Descriptor
deprecated
func (*CreateModuleByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModuleByNameRequest.ProtoReflect.Descriptor instead.
func (*CreateModuleByNameRequest) GetDefaultBranch ¶
func (x *CreateModuleByNameRequest) GetDefaultBranch() string
func (*CreateModuleByNameRequest) GetDescription ¶
func (x *CreateModuleByNameRequest) GetDescription() string
func (*CreateModuleByNameRequest) GetName ¶
func (x *CreateModuleByNameRequest) GetName() string
func (*CreateModuleByNameRequest) GetVisibility ¶
func (x *CreateModuleByNameRequest) GetVisibility() EVisibility
func (*CreateModuleByNameRequest) ProtoMessage ¶
func (*CreateModuleByNameRequest) ProtoMessage()
func (*CreateModuleByNameRequest) ProtoReflect ¶
func (x *CreateModuleByNameRequest) ProtoReflect() protoreflect.Message
func (*CreateModuleByNameRequest) Reset ¶
func (x *CreateModuleByNameRequest) Reset()
func (*CreateModuleByNameRequest) String ¶
func (x *CreateModuleByNameRequest) String() string
type CreateModuleByNameResponse ¶
type CreateModuleByNameResponse struct { Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
func (*CreateModuleByNameResponse) Descriptor
deprecated
func (*CreateModuleByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateModuleByNameResponse.ProtoReflect.Descriptor instead.
func (*CreateModuleByNameResponse) GetModule ¶
func (x *CreateModuleByNameResponse) GetModule() *Module
func (*CreateModuleByNameResponse) ProtoMessage ¶
func (*CreateModuleByNameResponse) ProtoMessage()
func (*CreateModuleByNameResponse) ProtoReflect ¶
func (x *CreateModuleByNameResponse) ProtoReflect() protoreflect.Message
func (*CreateModuleByNameResponse) Reset ¶
func (x *CreateModuleByNameResponse) Reset()
func (*CreateModuleByNameResponse) String ¶
func (x *CreateModuleByNameResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetDescription ¶
func (x *CreateUserRequest) GetDescription() string
func (*CreateUserRequest) GetUsername ¶
func (x *CreateUserRequest) GetUsername() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type EVisibility ¶
type EVisibility int32
const ( EVisibility_E_VISIBILITY_UNSPECIFIED EVisibility = 0 EVisibility_E_VISIBILITY_PUBLIC EVisibility = 1 EVisibility_E_VISIBILITY_PRIVATE EVisibility = 2 )
func (EVisibility) Descriptor ¶
func (EVisibility) Descriptor() protoreflect.EnumDescriptor
func (EVisibility) Enum ¶
func (x EVisibility) Enum() *EVisibility
func (EVisibility) EnumDescriptor
deprecated
func (EVisibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use EVisibility.Descriptor instead.
func (EVisibility) Number ¶
func (x EVisibility) Number() protoreflect.EnumNumber
func (EVisibility) String ¶
func (x EVisibility) String() string
func (EVisibility) Type ¶
func (EVisibility) Type() protoreflect.EnumType
type Module ¶
type Module struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // module name // unique Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // module owner id OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // module visibility Visibility EVisibility `protobuf:"varint,6,opt,name=visibility,proto3,enum=hades.api.registry.v1.EVisibility" json:"visibility,omitempty"` // module description Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // module default branch DefaultBranch string `protobuf:"bytes,8,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` // contains filtered or unexported fields }
func (*Module) Descriptor
deprecated
func (*Module) GetCreateTime ¶
func (x *Module) GetCreateTime() *timestamppb.Timestamp
func (*Module) GetDefaultBranch ¶
func (*Module) GetDescription ¶
func (*Module) GetOwnerId ¶
func (*Module) GetUpdateTime ¶
func (x *Module) GetUpdateTime() *timestamppb.Timestamp
func (*Module) GetVisibility ¶
func (x *Module) GetVisibility() EVisibility
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` // User Description Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreateTime ¶
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetDescription ¶
func (*User) GetUpdateTime ¶
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.