Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterEnvHTTPServer(s *http.Server, srv EnvHTTPServer)
- func RegisterEnvServer(s grpc.ServiceRegistrar, srv EnvServer)
- type CreateEnvReply
- func (*CreateEnvReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEnvReply) GetId() uint32
- func (*CreateEnvReply) ProtoMessage()
- func (x *CreateEnvReply) ProtoReflect() protoreflect.Message
- func (x *CreateEnvReply) Reset()
- func (x *CreateEnvReply) String() string
- func (m *CreateEnvReply) Validate() error
- func (m *CreateEnvReply) ValidateAll() error
- type CreateEnvReplyMultiError
- type CreateEnvReplyValidationError
- func (e CreateEnvReplyValidationError) Cause() error
- func (e CreateEnvReplyValidationError) Error() string
- func (e CreateEnvReplyValidationError) ErrorName() string
- func (e CreateEnvReplyValidationError) Field() string
- func (e CreateEnvReplyValidationError) Key() bool
- func (e CreateEnvReplyValidationError) Reason() string
- type CreateEnvRequest
- func (*CreateEnvRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEnvRequest) GetDescription() string
- func (x *CreateEnvRequest) GetKeyword() string
- func (x *CreateEnvRequest) GetName() string
- func (x *CreateEnvRequest) GetStatus() bool
- func (*CreateEnvRequest) ProtoMessage()
- func (x *CreateEnvRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEnvRequest) Reset()
- func (x *CreateEnvRequest) String() string
- func (m *CreateEnvRequest) Validate() error
- func (m *CreateEnvRequest) ValidateAll() error
- type CreateEnvRequestMultiError
- type CreateEnvRequestValidationError
- func (e CreateEnvRequestValidationError) Cause() error
- func (e CreateEnvRequestValidationError) Error() string
- func (e CreateEnvRequestValidationError) ErrorName() string
- func (e CreateEnvRequestValidationError) Field() string
- func (e CreateEnvRequestValidationError) Key() bool
- func (e CreateEnvRequestValidationError) Reason() string
- type DeleteEnvReply
- func (*DeleteEnvReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteEnvReply) ProtoMessage()
- func (x *DeleteEnvReply) ProtoReflect() protoreflect.Message
- func (x *DeleteEnvReply) Reset()
- func (x *DeleteEnvReply) String() string
- func (m *DeleteEnvReply) Validate() error
- func (m *DeleteEnvReply) ValidateAll() error
- type DeleteEnvReplyMultiError
- type DeleteEnvReplyValidationError
- func (e DeleteEnvReplyValidationError) Cause() error
- func (e DeleteEnvReplyValidationError) Error() string
- func (e DeleteEnvReplyValidationError) ErrorName() string
- func (e DeleteEnvReplyValidationError) Field() string
- func (e DeleteEnvReplyValidationError) Key() bool
- func (e DeleteEnvReplyValidationError) Reason() string
- type DeleteEnvRequest
- func (*DeleteEnvRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEnvRequest) GetId() uint32
- func (*DeleteEnvRequest) ProtoMessage()
- func (x *DeleteEnvRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEnvRequest) Reset()
- func (x *DeleteEnvRequest) String() string
- func (m *DeleteEnvRequest) Validate() error
- func (m *DeleteEnvRequest) ValidateAll() error
- type DeleteEnvRequestMultiError
- type DeleteEnvRequestValidationError
- func (e DeleteEnvRequestValidationError) Cause() error
- func (e DeleteEnvRequestValidationError) Error() string
- func (e DeleteEnvRequestValidationError) ErrorName() string
- func (e DeleteEnvRequestValidationError) Field() string
- func (e DeleteEnvRequestValidationError) Key() bool
- func (e DeleteEnvRequestValidationError) Reason() string
- type EnvClient
- type EnvHTTPClient
- type EnvHTTPClientImpl
- func (c *EnvHTTPClientImpl) CreateEnv(ctx context.Context, in *CreateEnvRequest, opts ...http.CallOption) (*CreateEnvReply, error)
- func (c *EnvHTTPClientImpl) DeleteEnv(ctx context.Context, in *DeleteEnvRequest, opts ...http.CallOption) (*DeleteEnvReply, error)
- func (c *EnvHTTPClientImpl) GetEnvToken(ctx context.Context, in *GetEnvTokenRequest, opts ...http.CallOption) (*GetEnvTokenReply, error)
- func (c *EnvHTTPClientImpl) ListEnv(ctx context.Context, in *ListEnvRequest, opts ...http.CallOption) (*ListEnvReply, error)
- func (c *EnvHTTPClientImpl) ResetEnvToken(ctx context.Context, in *ResetEnvTokenRequest, opts ...http.CallOption) (*ResetEnvTokenReply, error)
- func (c *EnvHTTPClientImpl) UpdateEnv(ctx context.Context, in *UpdateEnvRequest, opts ...http.CallOption) (*UpdateEnvReply, error)
- type EnvHTTPServer
- type EnvServer
- type GetEnvReply
- func (*GetEnvReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetEnvReply) GetCreatedAt() uint32
- func (x *GetEnvReply) GetDescription() string
- func (x *GetEnvReply) GetId() uint32
- func (x *GetEnvReply) GetKeyword() string
- func (x *GetEnvReply) GetName() string
- func (x *GetEnvReply) GetStatus() bool
- func (x *GetEnvReply) GetUpdatedAt() uint32
- func (*GetEnvReply) ProtoMessage()
- func (x *GetEnvReply) ProtoReflect() protoreflect.Message
- func (x *GetEnvReply) Reset()
- func (x *GetEnvReply) String() string
- func (m *GetEnvReply) Validate() error
- func (m *GetEnvReply) ValidateAll() error
- type GetEnvReplyMultiError
- type GetEnvReplyValidationError
- func (e GetEnvReplyValidationError) Cause() error
- func (e GetEnvReplyValidationError) Error() string
- func (e GetEnvReplyValidationError) ErrorName() string
- func (e GetEnvReplyValidationError) Field() string
- func (e GetEnvReplyValidationError) Key() bool
- func (e GetEnvReplyValidationError) Reason() string
- type GetEnvRequest
- func (*GetEnvRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEnvRequest) GetId() uint32
- func (x *GetEnvRequest) GetKeyword() string
- func (*GetEnvRequest) ProtoMessage()
- func (x *GetEnvRequest) ProtoReflect() protoreflect.Message
- func (x *GetEnvRequest) Reset()
- func (x *GetEnvRequest) String() string
- func (m *GetEnvRequest) Validate() error
- func (m *GetEnvRequest) ValidateAll() error
- type GetEnvRequestMultiError
- type GetEnvRequestValidationError
- func (e GetEnvRequestValidationError) Cause() error
- func (e GetEnvRequestValidationError) Error() string
- func (e GetEnvRequestValidationError) ErrorName() string
- func (e GetEnvRequestValidationError) Field() string
- func (e GetEnvRequestValidationError) Key() bool
- func (e GetEnvRequestValidationError) Reason() string
- type GetEnvTokenReply
- func (*GetEnvTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetEnvTokenReply) GetToken() string
- func (*GetEnvTokenReply) ProtoMessage()
- func (x *GetEnvTokenReply) ProtoReflect() protoreflect.Message
- func (x *GetEnvTokenReply) Reset()
- func (x *GetEnvTokenReply) String() string
- func (m *GetEnvTokenReply) Validate() error
- func (m *GetEnvTokenReply) ValidateAll() error
- type GetEnvTokenReplyMultiError
- type GetEnvTokenReplyValidationError
- func (e GetEnvTokenReplyValidationError) Cause() error
- func (e GetEnvTokenReplyValidationError) Error() string
- func (e GetEnvTokenReplyValidationError) ErrorName() string
- func (e GetEnvTokenReplyValidationError) Field() string
- func (e GetEnvTokenReplyValidationError) Key() bool
- func (e GetEnvTokenReplyValidationError) Reason() string
- type GetEnvTokenRequest
- func (*GetEnvTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEnvTokenRequest) GetId() uint32
- func (*GetEnvTokenRequest) ProtoMessage()
- func (x *GetEnvTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetEnvTokenRequest) Reset()
- func (x *GetEnvTokenRequest) String() string
- func (m *GetEnvTokenRequest) Validate() error
- func (m *GetEnvTokenRequest) ValidateAll() error
- type GetEnvTokenRequestMultiError
- type GetEnvTokenRequestValidationError
- func (e GetEnvTokenRequestValidationError) Cause() error
- func (e GetEnvTokenRequestValidationError) Error() string
- func (e GetEnvTokenRequestValidationError) ErrorName() string
- func (e GetEnvTokenRequestValidationError) Field() string
- func (e GetEnvTokenRequestValidationError) Key() bool
- func (e GetEnvTokenRequestValidationError) Reason() string
- type ListEnvReply
- func (*ListEnvReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnvReply) GetList() []*ListEnvReply_Env
- func (x *ListEnvReply) GetTotal() uint32
- func (*ListEnvReply) ProtoMessage()
- func (x *ListEnvReply) ProtoReflect() protoreflect.Message
- func (x *ListEnvReply) Reset()
- func (x *ListEnvReply) String() string
- func (m *ListEnvReply) Validate() error
- func (m *ListEnvReply) ValidateAll() error
- type ListEnvReplyMultiError
- type ListEnvReplyValidationError
- func (e ListEnvReplyValidationError) Cause() error
- func (e ListEnvReplyValidationError) Error() string
- func (e ListEnvReplyValidationError) ErrorName() string
- func (e ListEnvReplyValidationError) Field() string
- func (e ListEnvReplyValidationError) Key() bool
- func (e ListEnvReplyValidationError) Reason() string
- type ListEnvReply_Env
- func (*ListEnvReply_Env) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnvReply_Env) GetCreatedAt() uint32
- func (x *ListEnvReply_Env) GetDescription() string
- func (x *ListEnvReply_Env) GetId() uint32
- func (x *ListEnvReply_Env) GetKeyword() string
- func (x *ListEnvReply_Env) GetName() string
- func (x *ListEnvReply_Env) GetStatus() bool
- func (x *ListEnvReply_Env) GetUpdatedAt() uint32
- func (*ListEnvReply_Env) ProtoMessage()
- func (x *ListEnvReply_Env) ProtoReflect() protoreflect.Message
- func (x *ListEnvReply_Env) Reset()
- func (x *ListEnvReply_Env) String() string
- func (m *ListEnvReply_Env) Validate() error
- func (m *ListEnvReply_Env) ValidateAll() error
- type ListEnvReply_EnvMultiError
- type ListEnvReply_EnvValidationError
- func (e ListEnvReply_EnvValidationError) Cause() error
- func (e ListEnvReply_EnvValidationError) Error() string
- func (e ListEnvReply_EnvValidationError) ErrorName() string
- func (e ListEnvReply_EnvValidationError) Field() string
- func (e ListEnvReply_EnvValidationError) Key() bool
- func (e ListEnvReply_EnvValidationError) Reason() string
- type ListEnvRequest
- func (*ListEnvRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnvRequest) GetKeyword() string
- func (x *ListEnvRequest) GetName() string
- func (x *ListEnvRequest) GetStatus() bool
- func (*ListEnvRequest) ProtoMessage()
- func (x *ListEnvRequest) ProtoReflect() protoreflect.Message
- func (x *ListEnvRequest) Reset()
- func (x *ListEnvRequest) String() string
- func (m *ListEnvRequest) Validate() error
- func (m *ListEnvRequest) ValidateAll() error
- type ListEnvRequestMultiError
- type ListEnvRequestValidationError
- func (e ListEnvRequestValidationError) Cause() error
- func (e ListEnvRequestValidationError) Error() string
- func (e ListEnvRequestValidationError) ErrorName() string
- func (e ListEnvRequestValidationError) Field() string
- func (e ListEnvRequestValidationError) Key() bool
- func (e ListEnvRequestValidationError) Reason() string
- type ResetEnvTokenReply
- func (*ResetEnvTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *ResetEnvTokenReply) GetToken() string
- func (*ResetEnvTokenReply) ProtoMessage()
- func (x *ResetEnvTokenReply) ProtoReflect() protoreflect.Message
- func (x *ResetEnvTokenReply) Reset()
- func (x *ResetEnvTokenReply) String() string
- func (m *ResetEnvTokenReply) Validate() error
- func (m *ResetEnvTokenReply) ValidateAll() error
- type ResetEnvTokenReplyMultiError
- type ResetEnvTokenReplyValidationError
- func (e ResetEnvTokenReplyValidationError) Cause() error
- func (e ResetEnvTokenReplyValidationError) Error() string
- func (e ResetEnvTokenReplyValidationError) ErrorName() string
- func (e ResetEnvTokenReplyValidationError) Field() string
- func (e ResetEnvTokenReplyValidationError) Key() bool
- func (e ResetEnvTokenReplyValidationError) Reason() string
- type ResetEnvTokenRequest
- func (*ResetEnvTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetEnvTokenRequest) GetId() uint32
- func (*ResetEnvTokenRequest) ProtoMessage()
- func (x *ResetEnvTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ResetEnvTokenRequest) Reset()
- func (x *ResetEnvTokenRequest) String() string
- func (m *ResetEnvTokenRequest) Validate() error
- func (m *ResetEnvTokenRequest) ValidateAll() error
- type ResetEnvTokenRequestMultiError
- type ResetEnvTokenRequestValidationError
- func (e ResetEnvTokenRequestValidationError) Cause() error
- func (e ResetEnvTokenRequestValidationError) Error() string
- func (e ResetEnvTokenRequestValidationError) ErrorName() string
- func (e ResetEnvTokenRequestValidationError) Field() string
- func (e ResetEnvTokenRequestValidationError) Key() bool
- func (e ResetEnvTokenRequestValidationError) Reason() string
- type UnimplementedEnvServer
- func (UnimplementedEnvServer) CreateEnv(context.Context, *CreateEnvRequest) (*CreateEnvReply, error)
- func (UnimplementedEnvServer) DeleteEnv(context.Context, *DeleteEnvRequest) (*DeleteEnvReply, error)
- func (UnimplementedEnvServer) GetEnvToken(context.Context, *GetEnvTokenRequest) (*GetEnvTokenReply, error)
- func (UnimplementedEnvServer) ListEnv(context.Context, *ListEnvRequest) (*ListEnvReply, error)
- func (UnimplementedEnvServer) ResetEnvToken(context.Context, *ResetEnvTokenRequest) (*ResetEnvTokenReply, error)
- func (UnimplementedEnvServer) UpdateEnv(context.Context, *UpdateEnvRequest) (*UpdateEnvReply, error)
- type UnsafeEnvServer
- type UpdateEnvReply
- func (*UpdateEnvReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateEnvReply) ProtoMessage()
- func (x *UpdateEnvReply) ProtoReflect() protoreflect.Message
- func (x *UpdateEnvReply) Reset()
- func (x *UpdateEnvReply) String() string
- func (m *UpdateEnvReply) Validate() error
- func (m *UpdateEnvReply) ValidateAll() error
- type UpdateEnvReplyMultiError
- type UpdateEnvReplyValidationError
- func (e UpdateEnvReplyValidationError) Cause() error
- func (e UpdateEnvReplyValidationError) Error() string
- func (e UpdateEnvReplyValidationError) ErrorName() string
- func (e UpdateEnvReplyValidationError) Field() string
- func (e UpdateEnvReplyValidationError) Key() bool
- func (e UpdateEnvReplyValidationError) Reason() string
- type UpdateEnvRequest
- func (*UpdateEnvRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEnvRequest) GetDescription() string
- func (x *UpdateEnvRequest) GetId() uint32
- func (x *UpdateEnvRequest) GetKeyword() string
- func (x *UpdateEnvRequest) GetName() string
- func (x *UpdateEnvRequest) GetStatus() bool
- func (*UpdateEnvRequest) ProtoMessage()
- func (x *UpdateEnvRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEnvRequest) Reset()
- func (x *UpdateEnvRequest) String() string
- func (m *UpdateEnvRequest) Validate() error
- func (m *UpdateEnvRequest) ValidateAll() error
- type UpdateEnvRequestMultiError
- type UpdateEnvRequestValidationError
- func (e UpdateEnvRequestValidationError) Cause() error
- func (e UpdateEnvRequestValidationError) Error() string
- func (e UpdateEnvRequestValidationError) ErrorName() string
- func (e UpdateEnvRequestValidationError) Field() string
- func (e UpdateEnvRequestValidationError) Key() bool
- func (e UpdateEnvRequestValidationError) Reason() string
Constants ¶
const ( Env_ListEnv_FullMethodName = "/configure.api.configure.env.v1.Env/ListEnv" Env_CreateEnv_FullMethodName = "/configure.api.configure.env.v1.Env/CreateEnv" Env_UpdateEnv_FullMethodName = "/configure.api.configure.env.v1.Env/UpdateEnv" Env_DeleteEnv_FullMethodName = "/configure.api.configure.env.v1.Env/DeleteEnv" Env_GetEnvToken_FullMethodName = "/configure.api.configure.env.v1.Env/GetEnvToken" Env_ResetEnvToken_FullMethodName = "/configure.api.configure.env.v1.Env/ResetEnvToken" )
const OperationEnvCreateEnv = "/configure.api.configure.env.v1.Env/CreateEnv"
const OperationEnvDeleteEnv = "/configure.api.configure.env.v1.Env/DeleteEnv"
const OperationEnvGetEnvToken = "/configure.api.configure.env.v1.Env/GetEnvToken"
const OperationEnvListEnv = "/configure.api.configure.env.v1.Env/ListEnv"
const OperationEnvResetEnvToken = "/configure.api.configure.env.v1.Env/ResetEnvToken"
const OperationEnvUpdateEnv = "/configure.api.configure.env.v1.Env/UpdateEnv"
Variables ¶
var Env_ServiceDesc = grpc.ServiceDesc{ ServiceName: "configure.api.configure.env.v1.Env", HandlerType: (*EnvServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListEnv", Handler: _Env_ListEnv_Handler, }, { MethodName: "CreateEnv", Handler: _Env_CreateEnv_Handler, }, { MethodName: "UpdateEnv", Handler: _Env_UpdateEnv_Handler, }, { MethodName: "DeleteEnv", Handler: _Env_DeleteEnv_Handler, }, { MethodName: "GetEnvToken", Handler: _Env_GetEnvToken_Handler, }, { MethodName: "ResetEnvToken", Handler: _Env_ResetEnvToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/configure/env/configure_env_service.proto", }
Env_ServiceDesc is the grpc.ServiceDesc for Env service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_configure_env_configure_env_proto protoreflect.FileDescriptor
var File_api_configure_env_configure_env_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEnvHTTPServer ¶
func RegisterEnvHTTPServer(s *http.Server, srv EnvHTTPServer)
func RegisterEnvServer ¶
func RegisterEnvServer(s grpc.ServiceRegistrar, srv EnvServer)
Types ¶
type CreateEnvReply ¶
type CreateEnvReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateEnvReply) Descriptor
deprecated
func (*CreateEnvReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnvReply.ProtoReflect.Descriptor instead.
func (*CreateEnvReply) GetId ¶
func (x *CreateEnvReply) GetId() uint32
func (*CreateEnvReply) ProtoMessage ¶
func (*CreateEnvReply) ProtoMessage()
func (*CreateEnvReply) ProtoReflect ¶
func (x *CreateEnvReply) ProtoReflect() protoreflect.Message
func (*CreateEnvReply) Reset ¶
func (x *CreateEnvReply) Reset()
func (*CreateEnvReply) String ¶
func (x *CreateEnvReply) String() string
func (*CreateEnvReply) Validate ¶
func (m *CreateEnvReply) Validate() error
Validate checks the field values on CreateEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateEnvReply) ValidateAll ¶
func (m *CreateEnvReply) ValidateAll() error
ValidateAll checks the field values on CreateEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateEnvReplyMultiError, or nil if none found.
type CreateEnvReplyMultiError ¶
type CreateEnvReplyMultiError []error
CreateEnvReplyMultiError is an error wrapping multiple validation errors returned by CreateEnvReply.ValidateAll() if the designated constraints aren't met.
func (CreateEnvReplyMultiError) AllErrors ¶
func (m CreateEnvReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateEnvReplyMultiError) Error ¶
func (m CreateEnvReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateEnvReplyValidationError ¶
type CreateEnvReplyValidationError struct {
// contains filtered or unexported fields
}
CreateEnvReplyValidationError is the validation error returned by CreateEnvReply.Validate if the designated constraints aren't met.
func (CreateEnvReplyValidationError) Cause ¶
func (e CreateEnvReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateEnvReplyValidationError) Error ¶
func (e CreateEnvReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEnvReplyValidationError) ErrorName ¶
func (e CreateEnvReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEnvReplyValidationError) Field ¶
func (e CreateEnvReplyValidationError) Field() string
Field function returns field value.
func (CreateEnvReplyValidationError) Key ¶
func (e CreateEnvReplyValidationError) Key() bool
Key function returns key value.
func (CreateEnvReplyValidationError) Reason ¶
func (e CreateEnvReplyValidationError) Reason() string
Reason function returns reason value.
type CreateEnvRequest ¶
type CreateEnvRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,3,opt,name=status,proto3,oneof" json:"status,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateEnvRequest) Descriptor
deprecated
func (*CreateEnvRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnvRequest.ProtoReflect.Descriptor instead.
func (*CreateEnvRequest) GetDescription ¶
func (x *CreateEnvRequest) GetDescription() string
func (*CreateEnvRequest) GetKeyword ¶
func (x *CreateEnvRequest) GetKeyword() string
func (*CreateEnvRequest) GetName ¶
func (x *CreateEnvRequest) GetName() string
func (*CreateEnvRequest) GetStatus ¶
func (x *CreateEnvRequest) GetStatus() bool
func (*CreateEnvRequest) ProtoMessage ¶
func (*CreateEnvRequest) ProtoMessage()
func (*CreateEnvRequest) ProtoReflect ¶
func (x *CreateEnvRequest) ProtoReflect() protoreflect.Message
func (*CreateEnvRequest) Reset ¶
func (x *CreateEnvRequest) Reset()
func (*CreateEnvRequest) String ¶
func (x *CreateEnvRequest) String() string
func (*CreateEnvRequest) Validate ¶
func (m *CreateEnvRequest) Validate() error
Validate checks the field values on CreateEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateEnvRequest) ValidateAll ¶
func (m *CreateEnvRequest) ValidateAll() error
ValidateAll checks the field values on CreateEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateEnvRequestMultiError, or nil if none found.
type CreateEnvRequestMultiError ¶
type CreateEnvRequestMultiError []error
CreateEnvRequestMultiError is an error wrapping multiple validation errors returned by CreateEnvRequest.ValidateAll() if the designated constraints aren't met.
func (CreateEnvRequestMultiError) AllErrors ¶
func (m CreateEnvRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateEnvRequestMultiError) Error ¶
func (m CreateEnvRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateEnvRequestValidationError ¶
type CreateEnvRequestValidationError struct {
// contains filtered or unexported fields
}
CreateEnvRequestValidationError is the validation error returned by CreateEnvRequest.Validate if the designated constraints aren't met.
func (CreateEnvRequestValidationError) Cause ¶
func (e CreateEnvRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateEnvRequestValidationError) Error ¶
func (e CreateEnvRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEnvRequestValidationError) ErrorName ¶
func (e CreateEnvRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEnvRequestValidationError) Field ¶
func (e CreateEnvRequestValidationError) Field() string
Field function returns field value.
func (CreateEnvRequestValidationError) Key ¶
func (e CreateEnvRequestValidationError) Key() bool
Key function returns key value.
func (CreateEnvRequestValidationError) Reason ¶
func (e CreateEnvRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteEnvReply ¶
type DeleteEnvReply struct {
// contains filtered or unexported fields
}
func (*DeleteEnvReply) Descriptor
deprecated
func (*DeleteEnvReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnvReply.ProtoReflect.Descriptor instead.
func (*DeleteEnvReply) ProtoMessage ¶
func (*DeleteEnvReply) ProtoMessage()
func (*DeleteEnvReply) ProtoReflect ¶
func (x *DeleteEnvReply) ProtoReflect() protoreflect.Message
func (*DeleteEnvReply) Reset ¶
func (x *DeleteEnvReply) Reset()
func (*DeleteEnvReply) String ¶
func (x *DeleteEnvReply) String() string
func (*DeleteEnvReply) Validate ¶
func (m *DeleteEnvReply) Validate() error
Validate checks the field values on DeleteEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteEnvReply) ValidateAll ¶
func (m *DeleteEnvReply) ValidateAll() error
ValidateAll checks the field values on DeleteEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteEnvReplyMultiError, or nil if none found.
type DeleteEnvReplyMultiError ¶
type DeleteEnvReplyMultiError []error
DeleteEnvReplyMultiError is an error wrapping multiple validation errors returned by DeleteEnvReply.ValidateAll() if the designated constraints aren't met.
func (DeleteEnvReplyMultiError) AllErrors ¶
func (m DeleteEnvReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteEnvReplyMultiError) Error ¶
func (m DeleteEnvReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteEnvReplyValidationError ¶
type DeleteEnvReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteEnvReplyValidationError is the validation error returned by DeleteEnvReply.Validate if the designated constraints aren't met.
func (DeleteEnvReplyValidationError) Cause ¶
func (e DeleteEnvReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteEnvReplyValidationError) Error ¶
func (e DeleteEnvReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEnvReplyValidationError) ErrorName ¶
func (e DeleteEnvReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEnvReplyValidationError) Field ¶
func (e DeleteEnvReplyValidationError) Field() string
Field function returns field value.
func (DeleteEnvReplyValidationError) Key ¶
func (e DeleteEnvReplyValidationError) Key() bool
Key function returns key value.
func (DeleteEnvReplyValidationError) Reason ¶
func (e DeleteEnvReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteEnvRequest ¶
type DeleteEnvRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteEnvRequest) Descriptor
deprecated
func (*DeleteEnvRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnvRequest.ProtoReflect.Descriptor instead.
func (*DeleteEnvRequest) GetId ¶
func (x *DeleteEnvRequest) GetId() uint32
func (*DeleteEnvRequest) ProtoMessage ¶
func (*DeleteEnvRequest) ProtoMessage()
func (*DeleteEnvRequest) ProtoReflect ¶
func (x *DeleteEnvRequest) ProtoReflect() protoreflect.Message
func (*DeleteEnvRequest) Reset ¶
func (x *DeleteEnvRequest) Reset()
func (*DeleteEnvRequest) String ¶
func (x *DeleteEnvRequest) String() string
func (*DeleteEnvRequest) Validate ¶
func (m *DeleteEnvRequest) Validate() error
Validate checks the field values on DeleteEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteEnvRequest) ValidateAll ¶
func (m *DeleteEnvRequest) ValidateAll() error
ValidateAll checks the field values on DeleteEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteEnvRequestMultiError, or nil if none found.
type DeleteEnvRequestMultiError ¶
type DeleteEnvRequestMultiError []error
DeleteEnvRequestMultiError is an error wrapping multiple validation errors returned by DeleteEnvRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteEnvRequestMultiError) AllErrors ¶
func (m DeleteEnvRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteEnvRequestMultiError) Error ¶
func (m DeleteEnvRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteEnvRequestValidationError ¶
type DeleteEnvRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteEnvRequestValidationError is the validation error returned by DeleteEnvRequest.Validate if the designated constraints aren't met.
func (DeleteEnvRequestValidationError) Cause ¶
func (e DeleteEnvRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteEnvRequestValidationError) Error ¶
func (e DeleteEnvRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEnvRequestValidationError) ErrorName ¶
func (e DeleteEnvRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEnvRequestValidationError) Field ¶
func (e DeleteEnvRequestValidationError) Field() string
Field function returns field value.
func (DeleteEnvRequestValidationError) Key ¶
func (e DeleteEnvRequestValidationError) Key() bool
Key function returns key value.
func (DeleteEnvRequestValidationError) Reason ¶
func (e DeleteEnvRequestValidationError) Reason() string
Reason function returns reason value.
type EnvClient ¶
type EnvClient interface { // ListEnv 获取环境信息列表 ListEnv(ctx context.Context, in *ListEnvRequest, opts ...grpc.CallOption) (*ListEnvReply, error) // CreateEnv 创建环境信息 CreateEnv(ctx context.Context, in *CreateEnvRequest, opts ...grpc.CallOption) (*CreateEnvReply, error) // UpdateEnv 更新环境信息 UpdateEnv(ctx context.Context, in *UpdateEnvRequest, opts ...grpc.CallOption) (*UpdateEnvReply, error) // DeleteEnv 删除环境信息 DeleteEnv(ctx context.Context, in *DeleteEnvRequest, opts ...grpc.CallOption) (*DeleteEnvReply, error) // GetEnvToken 获取环境token GetEnvToken(ctx context.Context, in *GetEnvTokenRequest, opts ...grpc.CallOption) (*GetEnvTokenReply, error) // ResetEnvToken 重置环境token ResetEnvToken(ctx context.Context, in *ResetEnvTokenRequest, opts ...grpc.CallOption) (*ResetEnvTokenReply, error) }
EnvClient is the client API for Env service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEnvClient ¶
func NewEnvClient(cc grpc.ClientConnInterface) EnvClient
type EnvHTTPClient ¶
type EnvHTTPClient interface { CreateEnv(ctx context.Context, req *CreateEnvRequest, opts ...http.CallOption) (rsp *CreateEnvReply, err error) DeleteEnv(ctx context.Context, req *DeleteEnvRequest, opts ...http.CallOption) (rsp *DeleteEnvReply, err error) GetEnvToken(ctx context.Context, req *GetEnvTokenRequest, opts ...http.CallOption) (rsp *GetEnvTokenReply, err error) ListEnv(ctx context.Context, req *ListEnvRequest, opts ...http.CallOption) (rsp *ListEnvReply, err error) ResetEnvToken(ctx context.Context, req *ResetEnvTokenRequest, opts ...http.CallOption) (rsp *ResetEnvTokenReply, err error) UpdateEnv(ctx context.Context, req *UpdateEnvRequest, opts ...http.CallOption) (rsp *UpdateEnvReply, err error) }
func NewEnvHTTPClient ¶
func NewEnvHTTPClient(client *http.Client) EnvHTTPClient
type EnvHTTPClientImpl ¶
type EnvHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*EnvHTTPClientImpl) CreateEnv ¶
func (c *EnvHTTPClientImpl) CreateEnv(ctx context.Context, in *CreateEnvRequest, opts ...http.CallOption) (*CreateEnvReply, error)
func (*EnvHTTPClientImpl) DeleteEnv ¶
func (c *EnvHTTPClientImpl) DeleteEnv(ctx context.Context, in *DeleteEnvRequest, opts ...http.CallOption) (*DeleteEnvReply, error)
func (*EnvHTTPClientImpl) GetEnvToken ¶
func (c *EnvHTTPClientImpl) GetEnvToken(ctx context.Context, in *GetEnvTokenRequest, opts ...http.CallOption) (*GetEnvTokenReply, error)
func (*EnvHTTPClientImpl) ListEnv ¶
func (c *EnvHTTPClientImpl) ListEnv(ctx context.Context, in *ListEnvRequest, opts ...http.CallOption) (*ListEnvReply, error)
func (*EnvHTTPClientImpl) ResetEnvToken ¶
func (c *EnvHTTPClientImpl) ResetEnvToken(ctx context.Context, in *ResetEnvTokenRequest, opts ...http.CallOption) (*ResetEnvTokenReply, error)
func (*EnvHTTPClientImpl) UpdateEnv ¶
func (c *EnvHTTPClientImpl) UpdateEnv(ctx context.Context, in *UpdateEnvRequest, opts ...http.CallOption) (*UpdateEnvReply, error)
type EnvHTTPServer ¶
type EnvHTTPServer interface { // CreateEnv CreateEnv 创建环境信息 CreateEnv(context.Context, *CreateEnvRequest) (*CreateEnvReply, error) // DeleteEnv DeleteEnv 删除环境信息 DeleteEnv(context.Context, *DeleteEnvRequest) (*DeleteEnvReply, error) // GetEnvToken GetEnvToken 获取环境token GetEnvToken(context.Context, *GetEnvTokenRequest) (*GetEnvTokenReply, error) // ListEnv ListEnv 获取环境信息列表 ListEnv(context.Context, *ListEnvRequest) (*ListEnvReply, error) // ResetEnvToken ResetEnvToken 重置环境token ResetEnvToken(context.Context, *ResetEnvTokenRequest) (*ResetEnvTokenReply, error) // UpdateEnv UpdateEnv 更新环境信息 UpdateEnv(context.Context, *UpdateEnvRequest) (*UpdateEnvReply, error) }
type EnvServer ¶
type EnvServer interface { // ListEnv 获取环境信息列表 ListEnv(context.Context, *ListEnvRequest) (*ListEnvReply, error) // CreateEnv 创建环境信息 CreateEnv(context.Context, *CreateEnvRequest) (*CreateEnvReply, error) // UpdateEnv 更新环境信息 UpdateEnv(context.Context, *UpdateEnvRequest) (*UpdateEnvReply, error) // DeleteEnv 删除环境信息 DeleteEnv(context.Context, *DeleteEnvRequest) (*DeleteEnvReply, error) // GetEnvToken 获取环境token GetEnvToken(context.Context, *GetEnvTokenRequest) (*GetEnvTokenReply, error) // ResetEnvToken 重置环境token ResetEnvToken(context.Context, *ResetEnvTokenRequest) (*ResetEnvTokenReply, error) // contains filtered or unexported methods }
EnvServer is the server API for Env service. All implementations must embed UnimplementedEnvServer for forward compatibility
type GetEnvReply ¶
type GetEnvReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*GetEnvReply) Descriptor
deprecated
func (*GetEnvReply) Descriptor() ([]byte, []int)
Deprecated: Use GetEnvReply.ProtoReflect.Descriptor instead.
func (*GetEnvReply) GetCreatedAt ¶
func (x *GetEnvReply) GetCreatedAt() uint32
func (*GetEnvReply) GetDescription ¶
func (x *GetEnvReply) GetDescription() string
func (*GetEnvReply) GetId ¶
func (x *GetEnvReply) GetId() uint32
func (*GetEnvReply) GetKeyword ¶
func (x *GetEnvReply) GetKeyword() string
func (*GetEnvReply) GetName ¶
func (x *GetEnvReply) GetName() string
func (*GetEnvReply) GetStatus ¶
func (x *GetEnvReply) GetStatus() bool
func (*GetEnvReply) GetUpdatedAt ¶
func (x *GetEnvReply) GetUpdatedAt() uint32
func (*GetEnvReply) ProtoMessage ¶
func (*GetEnvReply) ProtoMessage()
func (*GetEnvReply) ProtoReflect ¶
func (x *GetEnvReply) ProtoReflect() protoreflect.Message
func (*GetEnvReply) Reset ¶
func (x *GetEnvReply) Reset()
func (*GetEnvReply) String ¶
func (x *GetEnvReply) String() string
func (*GetEnvReply) Validate ¶
func (m *GetEnvReply) Validate() error
Validate checks the field values on GetEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetEnvReply) ValidateAll ¶
func (m *GetEnvReply) ValidateAll() error
ValidateAll checks the field values on GetEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEnvReplyMultiError, or nil if none found.
type GetEnvReplyMultiError ¶
type GetEnvReplyMultiError []error
GetEnvReplyMultiError is an error wrapping multiple validation errors returned by GetEnvReply.ValidateAll() if the designated constraints aren't met.
func (GetEnvReplyMultiError) AllErrors ¶
func (m GetEnvReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEnvReplyMultiError) Error ¶
func (m GetEnvReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetEnvReplyValidationError ¶
type GetEnvReplyValidationError struct {
// contains filtered or unexported fields
}
GetEnvReplyValidationError is the validation error returned by GetEnvReply.Validate if the designated constraints aren't met.
func (GetEnvReplyValidationError) Cause ¶
func (e GetEnvReplyValidationError) Cause() error
Cause function returns cause value.
func (GetEnvReplyValidationError) Error ¶
func (e GetEnvReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetEnvReplyValidationError) ErrorName ¶
func (e GetEnvReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetEnvReplyValidationError) Field ¶
func (e GetEnvReplyValidationError) Field() string
Field function returns field value.
func (GetEnvReplyValidationError) Key ¶
func (e GetEnvReplyValidationError) Key() bool
Key function returns key value.
func (GetEnvReplyValidationError) Reason ¶
func (e GetEnvReplyValidationError) Reason() string
Reason function returns reason value.
type GetEnvRequest ¶
type GetEnvRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Keyword *string `protobuf:"bytes,2,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*GetEnvRequest) Descriptor
deprecated
func (*GetEnvRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEnvRequest.ProtoReflect.Descriptor instead.
func (*GetEnvRequest) GetId ¶
func (x *GetEnvRequest) GetId() uint32
func (*GetEnvRequest) GetKeyword ¶
func (x *GetEnvRequest) GetKeyword() string
func (*GetEnvRequest) ProtoMessage ¶
func (*GetEnvRequest) ProtoMessage()
func (*GetEnvRequest) ProtoReflect ¶
func (x *GetEnvRequest) ProtoReflect() protoreflect.Message
func (*GetEnvRequest) Reset ¶
func (x *GetEnvRequest) Reset()
func (*GetEnvRequest) String ¶
func (x *GetEnvRequest) String() string
func (*GetEnvRequest) Validate ¶
func (m *GetEnvRequest) Validate() error
Validate checks the field values on GetEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetEnvRequest) ValidateAll ¶
func (m *GetEnvRequest) ValidateAll() error
ValidateAll checks the field values on GetEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEnvRequestMultiError, or nil if none found.
type GetEnvRequestMultiError ¶
type GetEnvRequestMultiError []error
GetEnvRequestMultiError is an error wrapping multiple validation errors returned by GetEnvRequest.ValidateAll() if the designated constraints aren't met.
func (GetEnvRequestMultiError) AllErrors ¶
func (m GetEnvRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEnvRequestMultiError) Error ¶
func (m GetEnvRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetEnvRequestValidationError ¶
type GetEnvRequestValidationError struct {
// contains filtered or unexported fields
}
GetEnvRequestValidationError is the validation error returned by GetEnvRequest.Validate if the designated constraints aren't met.
func (GetEnvRequestValidationError) Cause ¶
func (e GetEnvRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEnvRequestValidationError) Error ¶
func (e GetEnvRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEnvRequestValidationError) ErrorName ¶
func (e GetEnvRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEnvRequestValidationError) Field ¶
func (e GetEnvRequestValidationError) Field() string
Field function returns field value.
func (GetEnvRequestValidationError) Key ¶
func (e GetEnvRequestValidationError) Key() bool
Key function returns key value.
func (GetEnvRequestValidationError) Reason ¶
func (e GetEnvRequestValidationError) Reason() string
Reason function returns reason value.
type GetEnvTokenReply ¶
type GetEnvTokenReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetEnvTokenReply) Descriptor
deprecated
func (*GetEnvTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use GetEnvTokenReply.ProtoReflect.Descriptor instead.
func (*GetEnvTokenReply) GetToken ¶
func (x *GetEnvTokenReply) GetToken() string
func (*GetEnvTokenReply) ProtoMessage ¶
func (*GetEnvTokenReply) ProtoMessage()
func (*GetEnvTokenReply) ProtoReflect ¶
func (x *GetEnvTokenReply) ProtoReflect() protoreflect.Message
func (*GetEnvTokenReply) Reset ¶
func (x *GetEnvTokenReply) Reset()
func (*GetEnvTokenReply) String ¶
func (x *GetEnvTokenReply) String() string
func (*GetEnvTokenReply) Validate ¶
func (m *GetEnvTokenReply) Validate() error
Validate checks the field values on GetEnvTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetEnvTokenReply) ValidateAll ¶
func (m *GetEnvTokenReply) ValidateAll() error
ValidateAll checks the field values on GetEnvTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEnvTokenReplyMultiError, or nil if none found.
type GetEnvTokenReplyMultiError ¶
type GetEnvTokenReplyMultiError []error
GetEnvTokenReplyMultiError is an error wrapping multiple validation errors returned by GetEnvTokenReply.ValidateAll() if the designated constraints aren't met.
func (GetEnvTokenReplyMultiError) AllErrors ¶
func (m GetEnvTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEnvTokenReplyMultiError) Error ¶
func (m GetEnvTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetEnvTokenReplyValidationError ¶
type GetEnvTokenReplyValidationError struct {
// contains filtered or unexported fields
}
GetEnvTokenReplyValidationError is the validation error returned by GetEnvTokenReply.Validate if the designated constraints aren't met.
func (GetEnvTokenReplyValidationError) Cause ¶
func (e GetEnvTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (GetEnvTokenReplyValidationError) Error ¶
func (e GetEnvTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetEnvTokenReplyValidationError) ErrorName ¶
func (e GetEnvTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetEnvTokenReplyValidationError) Field ¶
func (e GetEnvTokenReplyValidationError) Field() string
Field function returns field value.
func (GetEnvTokenReplyValidationError) Key ¶
func (e GetEnvTokenReplyValidationError) Key() bool
Key function returns key value.
func (GetEnvTokenReplyValidationError) Reason ¶
func (e GetEnvTokenReplyValidationError) Reason() string
Reason function returns reason value.
type GetEnvTokenRequest ¶
type GetEnvTokenRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetEnvTokenRequest) Descriptor
deprecated
func (*GetEnvTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEnvTokenRequest.ProtoReflect.Descriptor instead.
func (*GetEnvTokenRequest) GetId ¶
func (x *GetEnvTokenRequest) GetId() uint32
func (*GetEnvTokenRequest) ProtoMessage ¶
func (*GetEnvTokenRequest) ProtoMessage()
func (*GetEnvTokenRequest) ProtoReflect ¶
func (x *GetEnvTokenRequest) ProtoReflect() protoreflect.Message
func (*GetEnvTokenRequest) Reset ¶
func (x *GetEnvTokenRequest) Reset()
func (*GetEnvTokenRequest) String ¶
func (x *GetEnvTokenRequest) String() string
func (*GetEnvTokenRequest) Validate ¶
func (m *GetEnvTokenRequest) Validate() error
Validate checks the field values on GetEnvTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetEnvTokenRequest) ValidateAll ¶
func (m *GetEnvTokenRequest) ValidateAll() error
ValidateAll checks the field values on GetEnvTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEnvTokenRequestMultiError, or nil if none found.
type GetEnvTokenRequestMultiError ¶
type GetEnvTokenRequestMultiError []error
GetEnvTokenRequestMultiError is an error wrapping multiple validation errors returned by GetEnvTokenRequest.ValidateAll() if the designated constraints aren't met.
func (GetEnvTokenRequestMultiError) AllErrors ¶
func (m GetEnvTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEnvTokenRequestMultiError) Error ¶
func (m GetEnvTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetEnvTokenRequestValidationError ¶
type GetEnvTokenRequestValidationError struct {
// contains filtered or unexported fields
}
GetEnvTokenRequestValidationError is the validation error returned by GetEnvTokenRequest.Validate if the designated constraints aren't met.
func (GetEnvTokenRequestValidationError) Cause ¶
func (e GetEnvTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEnvTokenRequestValidationError) Error ¶
func (e GetEnvTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEnvTokenRequestValidationError) ErrorName ¶
func (e GetEnvTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEnvTokenRequestValidationError) Field ¶
func (e GetEnvTokenRequestValidationError) Field() string
Field function returns field value.
func (GetEnvTokenRequestValidationError) Key ¶
func (e GetEnvTokenRequestValidationError) Key() bool
Key function returns key value.
func (GetEnvTokenRequestValidationError) Reason ¶
func (e GetEnvTokenRequestValidationError) Reason() string
Reason function returns reason value.
type ListEnvReply ¶
type ListEnvReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListEnvReply_Env `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListEnvReply) Descriptor
deprecated
func (*ListEnvReply) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvReply.ProtoReflect.Descriptor instead.
func (*ListEnvReply) GetList ¶
func (x *ListEnvReply) GetList() []*ListEnvReply_Env
func (*ListEnvReply) GetTotal ¶
func (x *ListEnvReply) GetTotal() uint32
func (*ListEnvReply) ProtoMessage ¶
func (*ListEnvReply) ProtoMessage()
func (*ListEnvReply) ProtoReflect ¶
func (x *ListEnvReply) ProtoReflect() protoreflect.Message
func (*ListEnvReply) Reset ¶
func (x *ListEnvReply) Reset()
func (*ListEnvReply) String ¶
func (x *ListEnvReply) String() string
func (*ListEnvReply) Validate ¶
func (m *ListEnvReply) Validate() error
Validate checks the field values on ListEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListEnvReply) ValidateAll ¶
func (m *ListEnvReply) ValidateAll() error
ValidateAll checks the field values on ListEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListEnvReplyMultiError, or nil if none found.
type ListEnvReplyMultiError ¶
type ListEnvReplyMultiError []error
ListEnvReplyMultiError is an error wrapping multiple validation errors returned by ListEnvReply.ValidateAll() if the designated constraints aren't met.
func (ListEnvReplyMultiError) AllErrors ¶
func (m ListEnvReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListEnvReplyMultiError) Error ¶
func (m ListEnvReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListEnvReplyValidationError ¶
type ListEnvReplyValidationError struct {
// contains filtered or unexported fields
}
ListEnvReplyValidationError is the validation error returned by ListEnvReply.Validate if the designated constraints aren't met.
func (ListEnvReplyValidationError) Cause ¶
func (e ListEnvReplyValidationError) Cause() error
Cause function returns cause value.
func (ListEnvReplyValidationError) Error ¶
func (e ListEnvReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListEnvReplyValidationError) ErrorName ¶
func (e ListEnvReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListEnvReplyValidationError) Field ¶
func (e ListEnvReplyValidationError) Field() string
Field function returns field value.
func (ListEnvReplyValidationError) Key ¶
func (e ListEnvReplyValidationError) Key() bool
Key function returns key value.
func (ListEnvReplyValidationError) Reason ¶
func (e ListEnvReplyValidationError) Reason() string
Reason function returns reason value.
type ListEnvReply_Env ¶
type ListEnvReply_Env struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListEnvReply_Env) Descriptor
deprecated
func (*ListEnvReply_Env) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvReply_Env.ProtoReflect.Descriptor instead.
func (*ListEnvReply_Env) GetCreatedAt ¶
func (x *ListEnvReply_Env) GetCreatedAt() uint32
func (*ListEnvReply_Env) GetDescription ¶
func (x *ListEnvReply_Env) GetDescription() string
func (*ListEnvReply_Env) GetId ¶
func (x *ListEnvReply_Env) GetId() uint32
func (*ListEnvReply_Env) GetKeyword ¶
func (x *ListEnvReply_Env) GetKeyword() string
func (*ListEnvReply_Env) GetName ¶
func (x *ListEnvReply_Env) GetName() string
func (*ListEnvReply_Env) GetStatus ¶
func (x *ListEnvReply_Env) GetStatus() bool
func (*ListEnvReply_Env) GetUpdatedAt ¶
func (x *ListEnvReply_Env) GetUpdatedAt() uint32
func (*ListEnvReply_Env) ProtoMessage ¶
func (*ListEnvReply_Env) ProtoMessage()
func (*ListEnvReply_Env) ProtoReflect ¶
func (x *ListEnvReply_Env) ProtoReflect() protoreflect.Message
func (*ListEnvReply_Env) Reset ¶
func (x *ListEnvReply_Env) Reset()
func (*ListEnvReply_Env) String ¶
func (x *ListEnvReply_Env) String() string
func (*ListEnvReply_Env) Validate ¶
func (m *ListEnvReply_Env) Validate() error
Validate checks the field values on ListEnvReply_Env with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListEnvReply_Env) ValidateAll ¶
func (m *ListEnvReply_Env) ValidateAll() error
ValidateAll checks the field values on ListEnvReply_Env with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListEnvReply_EnvMultiError, or nil if none found.
type ListEnvReply_EnvMultiError ¶
type ListEnvReply_EnvMultiError []error
ListEnvReply_EnvMultiError is an error wrapping multiple validation errors returned by ListEnvReply_Env.ValidateAll() if the designated constraints aren't met.
func (ListEnvReply_EnvMultiError) AllErrors ¶
func (m ListEnvReply_EnvMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListEnvReply_EnvMultiError) Error ¶
func (m ListEnvReply_EnvMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListEnvReply_EnvValidationError ¶
type ListEnvReply_EnvValidationError struct {
// contains filtered or unexported fields
}
ListEnvReply_EnvValidationError is the validation error returned by ListEnvReply_Env.Validate if the designated constraints aren't met.
func (ListEnvReply_EnvValidationError) Cause ¶
func (e ListEnvReply_EnvValidationError) Cause() error
Cause function returns cause value.
func (ListEnvReply_EnvValidationError) Error ¶
func (e ListEnvReply_EnvValidationError) Error() string
Error satisfies the builtin error interface
func (ListEnvReply_EnvValidationError) ErrorName ¶
func (e ListEnvReply_EnvValidationError) ErrorName() string
ErrorName returns error name.
func (ListEnvReply_EnvValidationError) Field ¶
func (e ListEnvReply_EnvValidationError) Field() string
Field function returns field value.
func (ListEnvReply_EnvValidationError) Key ¶
func (e ListEnvReply_EnvValidationError) Key() bool
Key function returns key value.
func (ListEnvReply_EnvValidationError) Reason ¶
func (e ListEnvReply_EnvValidationError) Reason() string
Reason function returns reason value.
type ListEnvRequest ¶
type ListEnvRequest struct { Keyword *string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Status *bool `protobuf:"varint,3,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListEnvRequest) Descriptor
deprecated
func (*ListEnvRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvRequest.ProtoReflect.Descriptor instead.
func (*ListEnvRequest) GetKeyword ¶
func (x *ListEnvRequest) GetKeyword() string
func (*ListEnvRequest) GetName ¶
func (x *ListEnvRequest) GetName() string
func (*ListEnvRequest) GetStatus ¶
func (x *ListEnvRequest) GetStatus() bool
func (*ListEnvRequest) ProtoMessage ¶
func (*ListEnvRequest) ProtoMessage()
func (*ListEnvRequest) ProtoReflect ¶
func (x *ListEnvRequest) ProtoReflect() protoreflect.Message
func (*ListEnvRequest) Reset ¶
func (x *ListEnvRequest) Reset()
func (*ListEnvRequest) String ¶
func (x *ListEnvRequest) String() string
func (*ListEnvRequest) Validate ¶
func (m *ListEnvRequest) Validate() error
Validate checks the field values on ListEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListEnvRequest) ValidateAll ¶
func (m *ListEnvRequest) ValidateAll() error
ValidateAll checks the field values on ListEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListEnvRequestMultiError, or nil if none found.
type ListEnvRequestMultiError ¶
type ListEnvRequestMultiError []error
ListEnvRequestMultiError is an error wrapping multiple validation errors returned by ListEnvRequest.ValidateAll() if the designated constraints aren't met.
func (ListEnvRequestMultiError) AllErrors ¶
func (m ListEnvRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListEnvRequestMultiError) Error ¶
func (m ListEnvRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListEnvRequestValidationError ¶
type ListEnvRequestValidationError struct {
// contains filtered or unexported fields
}
ListEnvRequestValidationError is the validation error returned by ListEnvRequest.Validate if the designated constraints aren't met.
func (ListEnvRequestValidationError) Cause ¶
func (e ListEnvRequestValidationError) Cause() error
Cause function returns cause value.
func (ListEnvRequestValidationError) Error ¶
func (e ListEnvRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListEnvRequestValidationError) ErrorName ¶
func (e ListEnvRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListEnvRequestValidationError) Field ¶
func (e ListEnvRequestValidationError) Field() string
Field function returns field value.
func (ListEnvRequestValidationError) Key ¶
func (e ListEnvRequestValidationError) Key() bool
Key function returns key value.
func (ListEnvRequestValidationError) Reason ¶
func (e ListEnvRequestValidationError) Reason() string
Reason function returns reason value.
type ResetEnvTokenReply ¶
type ResetEnvTokenReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ResetEnvTokenReply) Descriptor
deprecated
func (*ResetEnvTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use ResetEnvTokenReply.ProtoReflect.Descriptor instead.
func (*ResetEnvTokenReply) GetToken ¶
func (x *ResetEnvTokenReply) GetToken() string
func (*ResetEnvTokenReply) ProtoMessage ¶
func (*ResetEnvTokenReply) ProtoMessage()
func (*ResetEnvTokenReply) ProtoReflect ¶
func (x *ResetEnvTokenReply) ProtoReflect() protoreflect.Message
func (*ResetEnvTokenReply) Reset ¶
func (x *ResetEnvTokenReply) Reset()
func (*ResetEnvTokenReply) String ¶
func (x *ResetEnvTokenReply) String() string
func (*ResetEnvTokenReply) Validate ¶
func (m *ResetEnvTokenReply) Validate() error
Validate checks the field values on ResetEnvTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResetEnvTokenReply) ValidateAll ¶
func (m *ResetEnvTokenReply) ValidateAll() error
ValidateAll checks the field values on ResetEnvTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResetEnvTokenReplyMultiError, or nil if none found.
type ResetEnvTokenReplyMultiError ¶
type ResetEnvTokenReplyMultiError []error
ResetEnvTokenReplyMultiError is an error wrapping multiple validation errors returned by ResetEnvTokenReply.ValidateAll() if the designated constraints aren't met.
func (ResetEnvTokenReplyMultiError) AllErrors ¶
func (m ResetEnvTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetEnvTokenReplyMultiError) Error ¶
func (m ResetEnvTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetEnvTokenReplyValidationError ¶
type ResetEnvTokenReplyValidationError struct {
// contains filtered or unexported fields
}
ResetEnvTokenReplyValidationError is the validation error returned by ResetEnvTokenReply.Validate if the designated constraints aren't met.
func (ResetEnvTokenReplyValidationError) Cause ¶
func (e ResetEnvTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (ResetEnvTokenReplyValidationError) Error ¶
func (e ResetEnvTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ResetEnvTokenReplyValidationError) ErrorName ¶
func (e ResetEnvTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ResetEnvTokenReplyValidationError) Field ¶
func (e ResetEnvTokenReplyValidationError) Field() string
Field function returns field value.
func (ResetEnvTokenReplyValidationError) Key ¶
func (e ResetEnvTokenReplyValidationError) Key() bool
Key function returns key value.
func (ResetEnvTokenReplyValidationError) Reason ¶
func (e ResetEnvTokenReplyValidationError) Reason() string
Reason function returns reason value.
type ResetEnvTokenRequest ¶
type ResetEnvTokenRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResetEnvTokenRequest) Descriptor
deprecated
func (*ResetEnvTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetEnvTokenRequest.ProtoReflect.Descriptor instead.
func (*ResetEnvTokenRequest) GetId ¶
func (x *ResetEnvTokenRequest) GetId() uint32
func (*ResetEnvTokenRequest) ProtoMessage ¶
func (*ResetEnvTokenRequest) ProtoMessage()
func (*ResetEnvTokenRequest) ProtoReflect ¶
func (x *ResetEnvTokenRequest) ProtoReflect() protoreflect.Message
func (*ResetEnvTokenRequest) Reset ¶
func (x *ResetEnvTokenRequest) Reset()
func (*ResetEnvTokenRequest) String ¶
func (x *ResetEnvTokenRequest) String() string
func (*ResetEnvTokenRequest) Validate ¶
func (m *ResetEnvTokenRequest) Validate() error
Validate checks the field values on ResetEnvTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResetEnvTokenRequest) ValidateAll ¶
func (m *ResetEnvTokenRequest) ValidateAll() error
ValidateAll checks the field values on ResetEnvTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResetEnvTokenRequestMultiError, or nil if none found.
type ResetEnvTokenRequestMultiError ¶
type ResetEnvTokenRequestMultiError []error
ResetEnvTokenRequestMultiError is an error wrapping multiple validation errors returned by ResetEnvTokenRequest.ValidateAll() if the designated constraints aren't met.
func (ResetEnvTokenRequestMultiError) AllErrors ¶
func (m ResetEnvTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetEnvTokenRequestMultiError) Error ¶
func (m ResetEnvTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetEnvTokenRequestValidationError ¶
type ResetEnvTokenRequestValidationError struct {
// contains filtered or unexported fields
}
ResetEnvTokenRequestValidationError is the validation error returned by ResetEnvTokenRequest.Validate if the designated constraints aren't met.
func (ResetEnvTokenRequestValidationError) Cause ¶
func (e ResetEnvTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetEnvTokenRequestValidationError) Error ¶
func (e ResetEnvTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetEnvTokenRequestValidationError) ErrorName ¶
func (e ResetEnvTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetEnvTokenRequestValidationError) Field ¶
func (e ResetEnvTokenRequestValidationError) Field() string
Field function returns field value.
func (ResetEnvTokenRequestValidationError) Key ¶
func (e ResetEnvTokenRequestValidationError) Key() bool
Key function returns key value.
func (ResetEnvTokenRequestValidationError) Reason ¶
func (e ResetEnvTokenRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedEnvServer ¶
type UnimplementedEnvServer struct { }
UnimplementedEnvServer must be embedded to have forward compatible implementations.
func (UnimplementedEnvServer) CreateEnv ¶
func (UnimplementedEnvServer) CreateEnv(context.Context, *CreateEnvRequest) (*CreateEnvReply, error)
func (UnimplementedEnvServer) DeleteEnv ¶
func (UnimplementedEnvServer) DeleteEnv(context.Context, *DeleteEnvRequest) (*DeleteEnvReply, error)
func (UnimplementedEnvServer) GetEnvToken ¶
func (UnimplementedEnvServer) GetEnvToken(context.Context, *GetEnvTokenRequest) (*GetEnvTokenReply, error)
func (UnimplementedEnvServer) ListEnv ¶
func (UnimplementedEnvServer) ListEnv(context.Context, *ListEnvRequest) (*ListEnvReply, error)
func (UnimplementedEnvServer) ResetEnvToken ¶
func (UnimplementedEnvServer) ResetEnvToken(context.Context, *ResetEnvTokenRequest) (*ResetEnvTokenReply, error)
func (UnimplementedEnvServer) UpdateEnv ¶
func (UnimplementedEnvServer) UpdateEnv(context.Context, *UpdateEnvRequest) (*UpdateEnvReply, error)
type UnsafeEnvServer ¶
type UnsafeEnvServer interface {
// contains filtered or unexported methods
}
UnsafeEnvServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnvServer will result in compilation errors.
type UpdateEnvReply ¶
type UpdateEnvReply struct {
// contains filtered or unexported fields
}
func (*UpdateEnvReply) Descriptor
deprecated
func (*UpdateEnvReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnvReply.ProtoReflect.Descriptor instead.
func (*UpdateEnvReply) ProtoMessage ¶
func (*UpdateEnvReply) ProtoMessage()
func (*UpdateEnvReply) ProtoReflect ¶
func (x *UpdateEnvReply) ProtoReflect() protoreflect.Message
func (*UpdateEnvReply) Reset ¶
func (x *UpdateEnvReply) Reset()
func (*UpdateEnvReply) String ¶
func (x *UpdateEnvReply) String() string
func (*UpdateEnvReply) Validate ¶
func (m *UpdateEnvReply) Validate() error
Validate checks the field values on UpdateEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateEnvReply) ValidateAll ¶
func (m *UpdateEnvReply) ValidateAll() error
ValidateAll checks the field values on UpdateEnvReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateEnvReplyMultiError, or nil if none found.
type UpdateEnvReplyMultiError ¶
type UpdateEnvReplyMultiError []error
UpdateEnvReplyMultiError is an error wrapping multiple validation errors returned by UpdateEnvReply.ValidateAll() if the designated constraints aren't met.
func (UpdateEnvReplyMultiError) AllErrors ¶
func (m UpdateEnvReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateEnvReplyMultiError) Error ¶
func (m UpdateEnvReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateEnvReplyValidationError ¶
type UpdateEnvReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateEnvReplyValidationError is the validation error returned by UpdateEnvReply.Validate if the designated constraints aren't met.
func (UpdateEnvReplyValidationError) Cause ¶
func (e UpdateEnvReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateEnvReplyValidationError) Error ¶
func (e UpdateEnvReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEnvReplyValidationError) ErrorName ¶
func (e UpdateEnvReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEnvReplyValidationError) Field ¶
func (e UpdateEnvReplyValidationError) Field() string
Field function returns field value.
func (UpdateEnvReplyValidationError) Key ¶
func (e UpdateEnvReplyValidationError) Key() bool
Key function returns key value.
func (UpdateEnvReplyValidationError) Reason ¶
func (e UpdateEnvReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateEnvRequest ¶
type UpdateEnvRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateEnvRequest) Descriptor
deprecated
func (*UpdateEnvRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnvRequest.ProtoReflect.Descriptor instead.
func (*UpdateEnvRequest) GetDescription ¶
func (x *UpdateEnvRequest) GetDescription() string
func (*UpdateEnvRequest) GetId ¶
func (x *UpdateEnvRequest) GetId() uint32
func (*UpdateEnvRequest) GetKeyword ¶
func (x *UpdateEnvRequest) GetKeyword() string
func (*UpdateEnvRequest) GetName ¶
func (x *UpdateEnvRequest) GetName() string
func (*UpdateEnvRequest) GetStatus ¶
func (x *UpdateEnvRequest) GetStatus() bool
func (*UpdateEnvRequest) ProtoMessage ¶
func (*UpdateEnvRequest) ProtoMessage()
func (*UpdateEnvRequest) ProtoReflect ¶
func (x *UpdateEnvRequest) ProtoReflect() protoreflect.Message
func (*UpdateEnvRequest) Reset ¶
func (x *UpdateEnvRequest) Reset()
func (*UpdateEnvRequest) String ¶
func (x *UpdateEnvRequest) String() string
func (*UpdateEnvRequest) Validate ¶
func (m *UpdateEnvRequest) Validate() error
Validate checks the field values on UpdateEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateEnvRequest) ValidateAll ¶
func (m *UpdateEnvRequest) ValidateAll() error
ValidateAll checks the field values on UpdateEnvRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateEnvRequestMultiError, or nil if none found.
type UpdateEnvRequestMultiError ¶
type UpdateEnvRequestMultiError []error
UpdateEnvRequestMultiError is an error wrapping multiple validation errors returned by UpdateEnvRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateEnvRequestMultiError) AllErrors ¶
func (m UpdateEnvRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateEnvRequestMultiError) Error ¶
func (m UpdateEnvRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateEnvRequestValidationError ¶
type UpdateEnvRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateEnvRequestValidationError is the validation error returned by UpdateEnvRequest.Validate if the designated constraints aren't met.
func (UpdateEnvRequestValidationError) Cause ¶
func (e UpdateEnvRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateEnvRequestValidationError) Error ¶
func (e UpdateEnvRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEnvRequestValidationError) ErrorName ¶
func (e UpdateEnvRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEnvRequestValidationError) Field ¶
func (e UpdateEnvRequestValidationError) Field() string
Field function returns field value.
func (UpdateEnvRequestValidationError) Key ¶
func (e UpdateEnvRequestValidationError) Key() bool
Key function returns key value.
func (UpdateEnvRequestValidationError) Reason ¶
func (e UpdateEnvRequestValidationError) Reason() string
Reason function returns reason value.