Documentation
¶
Overview ¶
Package gitconfig is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterGitConfigHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGitConfigHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitConfigClient) error
- func RegisterGitConfigHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGitConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitConfigServer) error
- func RegisterGitConfigServer(s grpc.ServiceRegistrar, srv GitConfigServer)
- type DefaultChartValuesRequest
- func (*DefaultChartValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultChartValuesRequest) GetBranch() string
- func (x *DefaultChartValuesRequest) GetGitProjectId() int64
- func (*DefaultChartValuesRequest) ProtoMessage()
- func (x *DefaultChartValuesRequest) ProtoReflect() protoreflect.Message
- func (x *DefaultChartValuesRequest) Reset()
- func (x *DefaultChartValuesRequest) String() string
- func (m *DefaultChartValuesRequest) Validate() error
- func (m *DefaultChartValuesRequest) ValidateAll() error
- type DefaultChartValuesRequestMultiError
- type DefaultChartValuesRequestValidationError
- func (e DefaultChartValuesRequestValidationError) Cause() error
- func (e DefaultChartValuesRequestValidationError) Error() string
- func (e DefaultChartValuesRequestValidationError) ErrorName() string
- func (e DefaultChartValuesRequestValidationError) Field() string
- func (e DefaultChartValuesRequestValidationError) Key() bool
- func (e DefaultChartValuesRequestValidationError) Reason() string
- type DefaultChartValuesResponse
- func (*DefaultChartValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultChartValuesResponse) GetValue() string
- func (*DefaultChartValuesResponse) ProtoMessage()
- func (x *DefaultChartValuesResponse) ProtoReflect() protoreflect.Message
- func (x *DefaultChartValuesResponse) Reset()
- func (x *DefaultChartValuesResponse) String() string
- func (m *DefaultChartValuesResponse) Validate() error
- func (m *DefaultChartValuesResponse) ValidateAll() error
- type DefaultChartValuesResponseMultiError
- type DefaultChartValuesResponseValidationError
- func (e DefaultChartValuesResponseValidationError) Cause() error
- func (e DefaultChartValuesResponseValidationError) Error() string
- func (e DefaultChartValuesResponseValidationError) ErrorName() string
- func (e DefaultChartValuesResponseValidationError) Field() string
- func (e DefaultChartValuesResponseValidationError) Key() bool
- func (e DefaultChartValuesResponseValidationError) Reason() string
- type FileRequest
- func (*FileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileRequest) GetBranch() string
- func (x *FileRequest) GetGitProjectId() string
- func (*FileRequest) ProtoMessage()
- func (x *FileRequest) ProtoReflect() protoreflect.Message
- func (x *FileRequest) Reset()
- func (x *FileRequest) String() string
- func (m *FileRequest) Validate() error
- func (m *FileRequest) ValidateAll() error
- type FileRequestMultiError
- type FileRequestValidationError
- func (e FileRequestValidationError) Cause() error
- func (e FileRequestValidationError) Error() string
- func (e FileRequestValidationError) ErrorName() string
- func (e FileRequestValidationError) Field() string
- func (e FileRequestValidationError) Key() bool
- func (e FileRequestValidationError) Reason() string
- type FileResponse
- func (*FileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileResponse) GetData() string
- func (x *FileResponse) GetElements() []*mars.Element
- func (x *FileResponse) GetType() string
- func (*FileResponse) ProtoMessage()
- func (x *FileResponse) ProtoReflect() protoreflect.Message
- func (x *FileResponse) Reset()
- func (x *FileResponse) String() string
- func (m *FileResponse) Validate() error
- func (m *FileResponse) ValidateAll() error
- type FileResponseMultiError
- type FileResponseValidationError
- func (e FileResponseValidationError) Cause() error
- func (e FileResponseValidationError) Error() string
- func (e FileResponseValidationError) ErrorName() string
- func (e FileResponseValidationError) Field() string
- func (e FileResponseValidationError) Key() bool
- func (e FileResponseValidationError) Reason() string
- type GitConfigClient
- type GitConfigServer
- type GlobalConfigRequest
- func (*GlobalConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalConfigRequest) GetGitProjectId() int64
- func (*GlobalConfigRequest) ProtoMessage()
- func (x *GlobalConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GlobalConfigRequest) Reset()
- func (x *GlobalConfigRequest) String() string
- func (m *GlobalConfigRequest) Validate() error
- func (m *GlobalConfigRequest) ValidateAll() error
- type GlobalConfigRequestMultiError
- type GlobalConfigRequestValidationError
- func (e GlobalConfigRequestValidationError) Cause() error
- func (e GlobalConfigRequestValidationError) Error() string
- func (e GlobalConfigRequestValidationError) ErrorName() string
- func (e GlobalConfigRequestValidationError) Field() string
- func (e GlobalConfigRequestValidationError) Key() bool
- func (e GlobalConfigRequestValidationError) Reason() string
- type GlobalConfigResponse
- func (*GlobalConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalConfigResponse) GetConfig() *mars.Config
- func (x *GlobalConfigResponse) GetEnabled() bool
- func (*GlobalConfigResponse) ProtoMessage()
- func (x *GlobalConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GlobalConfigResponse) Reset()
- func (x *GlobalConfigResponse) String() string
- func (m *GlobalConfigResponse) Validate() error
- func (m *GlobalConfigResponse) ValidateAll() error
- type GlobalConfigResponseMultiError
- type GlobalConfigResponseValidationError
- func (e GlobalConfigResponseValidationError) Cause() error
- func (e GlobalConfigResponseValidationError) Error() string
- func (e GlobalConfigResponseValidationError) ErrorName() string
- func (e GlobalConfigResponseValidationError) Field() string
- func (e GlobalConfigResponseValidationError) Key() bool
- func (e GlobalConfigResponseValidationError) Reason() string
- type ShowRequest
- func (*ShowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShowRequest) GetBranch() string
- func (x *ShowRequest) GetGitProjectId() int64
- func (*ShowRequest) ProtoMessage()
- func (x *ShowRequest) ProtoReflect() protoreflect.Message
- func (x *ShowRequest) Reset()
- func (x *ShowRequest) String() string
- func (m *ShowRequest) Validate() error
- func (m *ShowRequest) ValidateAll() error
- type ShowRequestMultiError
- type ShowRequestValidationError
- func (e ShowRequestValidationError) Cause() error
- func (e ShowRequestValidationError) Error() string
- func (e ShowRequestValidationError) ErrorName() string
- func (e ShowRequestValidationError) Field() string
- func (e ShowRequestValidationError) Key() bool
- func (e ShowRequestValidationError) Reason() string
- type ShowResponse
- func (*ShowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowResponse) GetBranch() string
- func (x *ShowResponse) GetConfig() *mars.Config
- func (*ShowResponse) ProtoMessage()
- func (x *ShowResponse) ProtoReflect() protoreflect.Message
- func (x *ShowResponse) Reset()
- func (x *ShowResponse) String() string
- func (m *ShowResponse) Validate() error
- func (m *ShowResponse) ValidateAll() error
- type ShowResponseMultiError
- type ShowResponseValidationError
- func (e ShowResponseValidationError) Cause() error
- func (e ShowResponseValidationError) Error() string
- func (e ShowResponseValidationError) ErrorName() string
- func (e ShowResponseValidationError) Field() string
- func (e ShowResponseValidationError) Key() bool
- func (e ShowResponseValidationError) Reason() string
- type ToggleGlobalStatusRequest
- func (*ToggleGlobalStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleGlobalStatusRequest) GetEnabled() bool
- func (x *ToggleGlobalStatusRequest) GetGitProjectId() int64
- func (*ToggleGlobalStatusRequest) ProtoMessage()
- func (x *ToggleGlobalStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleGlobalStatusRequest) Reset()
- func (x *ToggleGlobalStatusRequest) String() string
- func (m *ToggleGlobalStatusRequest) Validate() error
- func (m *ToggleGlobalStatusRequest) ValidateAll() error
- type ToggleGlobalStatusRequestMultiError
- type ToggleGlobalStatusRequestValidationError
- func (e ToggleGlobalStatusRequestValidationError) Cause() error
- func (e ToggleGlobalStatusRequestValidationError) Error() string
- func (e ToggleGlobalStatusRequestValidationError) ErrorName() string
- func (e ToggleGlobalStatusRequestValidationError) Field() string
- func (e ToggleGlobalStatusRequestValidationError) Key() bool
- func (e ToggleGlobalStatusRequestValidationError) Reason() string
- type ToggleGlobalStatusResponse
- func (*ToggleGlobalStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (*ToggleGlobalStatusResponse) ProtoMessage()
- func (x *ToggleGlobalStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleGlobalStatusResponse) Reset()
- func (x *ToggleGlobalStatusResponse) String() string
- func (m *ToggleGlobalStatusResponse) Validate() error
- func (m *ToggleGlobalStatusResponse) ValidateAll() error
- type ToggleGlobalStatusResponseMultiError
- type ToggleGlobalStatusResponseValidationError
- func (e ToggleGlobalStatusResponseValidationError) Cause() error
- func (e ToggleGlobalStatusResponseValidationError) Error() string
- func (e ToggleGlobalStatusResponseValidationError) ErrorName() string
- func (e ToggleGlobalStatusResponseValidationError) Field() string
- func (e ToggleGlobalStatusResponseValidationError) Key() bool
- func (e ToggleGlobalStatusResponseValidationError) Reason() string
- type UnimplementedGitConfigServer
- func (UnimplementedGitConfigServer) GetDefaultChartValues(context.Context, *DefaultChartValuesRequest) (*DefaultChartValuesResponse, error)
- func (UnimplementedGitConfigServer) GlobalConfig(context.Context, *GlobalConfigRequest) (*GlobalConfigResponse, error)
- func (UnimplementedGitConfigServer) Show(context.Context, *ShowRequest) (*ShowResponse, error)
- func (UnimplementedGitConfigServer) ToggleGlobalStatus(context.Context, *ToggleGlobalStatusRequest) (*ToggleGlobalStatusResponse, error)
- func (UnimplementedGitConfigServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeGitConfigServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetConfig() *mars.Config
- func (x *UpdateRequest) GetGitProjectId() int64
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- func (m *UpdateRequest) Validate() error
- func (m *UpdateRequest) ValidateAll() error
- type UpdateRequestMultiError
- type UpdateRequestValidationError
- func (e UpdateRequestValidationError) Cause() error
- func (e UpdateRequestValidationError) Error() string
- func (e UpdateRequestValidationError) ErrorName() string
- func (e UpdateRequestValidationError) Field() string
- func (e UpdateRequestValidationError) Key() bool
- func (e UpdateRequestValidationError) Reason() string
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetConfig() *mars.Config
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- func (m *UpdateResponse) Validate() error
- func (m *UpdateResponse) ValidateAll() error
- type UpdateResponseMultiError
- type UpdateResponseValidationError
- func (e UpdateResponseValidationError) Cause() error
- func (e UpdateResponseValidationError) Error() string
- func (e UpdateResponseValidationError) ErrorName() string
- func (e UpdateResponseValidationError) Field() string
- func (e UpdateResponseValidationError) Key() bool
- func (e UpdateResponseValidationError) Reason() string
Constants ¶
const ( GitConfig_Show_FullMethodName = "/gitconfig.GitConfig/Show" GitConfig_GlobalConfig_FullMethodName = "/gitconfig.GitConfig/GlobalConfig" GitConfig_ToggleGlobalStatus_FullMethodName = "/gitconfig.GitConfig/ToggleGlobalStatus" GitConfig_Update_FullMethodName = "/gitconfig.GitConfig/Update" GitConfig_GetDefaultChartValues_FullMethodName = "/gitconfig.GitConfig/GetDefaultChartValues" )
Variables ¶
var File_gitconfig_gitconfig_proto protoreflect.FileDescriptor
var GitConfig_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitconfig.GitConfig", HandlerType: (*GitConfigServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Show", Handler: _GitConfig_Show_Handler, }, { MethodName: "GlobalConfig", Handler: _GitConfig_GlobalConfig_Handler, }, { MethodName: "ToggleGlobalStatus", Handler: _GitConfig_ToggleGlobalStatus_Handler, }, { MethodName: "Update", Handler: _GitConfig_Update_Handler, }, { MethodName: "GetDefaultChartValues", Handler: _GitConfig_GetDefaultChartValues_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gitconfig/gitconfig.proto", }
GitConfig_ServiceDesc is the grpc.ServiceDesc for GitConfig service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGitConfigHandler ¶
func RegisterGitConfigHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGitConfigHandler registers the http handlers for service GitConfig to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGitConfigHandlerClient ¶
func RegisterGitConfigHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitConfigClient) error
RegisterGitConfigHandlerClient registers the http handlers for service GitConfig to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GitConfigClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GitConfigClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GitConfigClient" to call the correct interceptors.
func RegisterGitConfigHandlerFromEndpoint ¶
func RegisterGitConfigHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGitConfigHandlerFromEndpoint is same as RegisterGitConfigHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGitConfigHandlerServer ¶
func RegisterGitConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitConfigServer) error
RegisterGitConfigHandlerServer registers the http handlers for service GitConfig to "mux". UnaryRPC :call GitConfigServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGitConfigHandlerFromEndpoint instead.
func RegisterGitConfigServer ¶
func RegisterGitConfigServer(s grpc.ServiceRegistrar, srv GitConfigServer)
Types ¶
type DefaultChartValuesRequest ¶
type DefaultChartValuesRequest struct { GitProjectId int64 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*DefaultChartValuesRequest) Descriptor
deprecated
func (*DefaultChartValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DefaultChartValuesRequest.ProtoReflect.Descriptor instead.
func (*DefaultChartValuesRequest) GetBranch ¶
func (x *DefaultChartValuesRequest) GetBranch() string
func (*DefaultChartValuesRequest) GetGitProjectId ¶
func (x *DefaultChartValuesRequest) GetGitProjectId() int64
func (*DefaultChartValuesRequest) ProtoMessage ¶
func (*DefaultChartValuesRequest) ProtoMessage()
func (*DefaultChartValuesRequest) ProtoReflect ¶
func (x *DefaultChartValuesRequest) ProtoReflect() protoreflect.Message
func (*DefaultChartValuesRequest) Reset ¶
func (x *DefaultChartValuesRequest) Reset()
func (*DefaultChartValuesRequest) String ¶
func (x *DefaultChartValuesRequest) String() string
func (*DefaultChartValuesRequest) Validate ¶
func (m *DefaultChartValuesRequest) Validate() error
Validate checks the field values on DefaultChartValuesRequest 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 (*DefaultChartValuesRequest) ValidateAll ¶
func (m *DefaultChartValuesRequest) ValidateAll() error
ValidateAll checks the field values on DefaultChartValuesRequest 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 DefaultChartValuesRequestMultiError, or nil if none found.
type DefaultChartValuesRequestMultiError ¶
type DefaultChartValuesRequestMultiError []error
DefaultChartValuesRequestMultiError is an error wrapping multiple validation errors returned by DefaultChartValuesRequest.ValidateAll() if the designated constraints aren't met.
func (DefaultChartValuesRequestMultiError) AllErrors ¶
func (m DefaultChartValuesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DefaultChartValuesRequestMultiError) Error ¶
func (m DefaultChartValuesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DefaultChartValuesRequestValidationError ¶
type DefaultChartValuesRequestValidationError struct {
// contains filtered or unexported fields
}
DefaultChartValuesRequestValidationError is the validation error returned by DefaultChartValuesRequest.Validate if the designated constraints aren't met.
func (DefaultChartValuesRequestValidationError) Cause ¶
func (e DefaultChartValuesRequestValidationError) Cause() error
Cause function returns cause value.
func (DefaultChartValuesRequestValidationError) Error ¶
func (e DefaultChartValuesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DefaultChartValuesRequestValidationError) ErrorName ¶
func (e DefaultChartValuesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DefaultChartValuesRequestValidationError) Field ¶
func (e DefaultChartValuesRequestValidationError) Field() string
Field function returns field value.
func (DefaultChartValuesRequestValidationError) Key ¶
func (e DefaultChartValuesRequestValidationError) Key() bool
Key function returns key value.
func (DefaultChartValuesRequestValidationError) Reason ¶
func (e DefaultChartValuesRequestValidationError) Reason() string
Reason function returns reason value.
type DefaultChartValuesResponse ¶
type DefaultChartValuesResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DefaultChartValuesResponse) Descriptor
deprecated
func (*DefaultChartValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DefaultChartValuesResponse.ProtoReflect.Descriptor instead.
func (*DefaultChartValuesResponse) GetValue ¶
func (x *DefaultChartValuesResponse) GetValue() string
func (*DefaultChartValuesResponse) ProtoMessage ¶
func (*DefaultChartValuesResponse) ProtoMessage()
func (*DefaultChartValuesResponse) ProtoReflect ¶
func (x *DefaultChartValuesResponse) ProtoReflect() protoreflect.Message
func (*DefaultChartValuesResponse) Reset ¶
func (x *DefaultChartValuesResponse) Reset()
func (*DefaultChartValuesResponse) String ¶
func (x *DefaultChartValuesResponse) String() string
func (*DefaultChartValuesResponse) Validate ¶
func (m *DefaultChartValuesResponse) Validate() error
Validate checks the field values on DefaultChartValuesResponse 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 (*DefaultChartValuesResponse) ValidateAll ¶
func (m *DefaultChartValuesResponse) ValidateAll() error
ValidateAll checks the field values on DefaultChartValuesResponse 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 DefaultChartValuesResponseMultiError, or nil if none found.
type DefaultChartValuesResponseMultiError ¶
type DefaultChartValuesResponseMultiError []error
DefaultChartValuesResponseMultiError is an error wrapping multiple validation errors returned by DefaultChartValuesResponse.ValidateAll() if the designated constraints aren't met.
func (DefaultChartValuesResponseMultiError) AllErrors ¶
func (m DefaultChartValuesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DefaultChartValuesResponseMultiError) Error ¶
func (m DefaultChartValuesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DefaultChartValuesResponseValidationError ¶
type DefaultChartValuesResponseValidationError struct {
// contains filtered or unexported fields
}
DefaultChartValuesResponseValidationError is the validation error returned by DefaultChartValuesResponse.Validate if the designated constraints aren't met.
func (DefaultChartValuesResponseValidationError) Cause ¶
func (e DefaultChartValuesResponseValidationError) Cause() error
Cause function returns cause value.
func (DefaultChartValuesResponseValidationError) Error ¶
func (e DefaultChartValuesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DefaultChartValuesResponseValidationError) ErrorName ¶
func (e DefaultChartValuesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DefaultChartValuesResponseValidationError) Field ¶
func (e DefaultChartValuesResponseValidationError) Field() string
Field function returns field value.
func (DefaultChartValuesResponseValidationError) Key ¶
func (e DefaultChartValuesResponseValidationError) Key() bool
Key function returns key value.
func (DefaultChartValuesResponseValidationError) Reason ¶
func (e DefaultChartValuesResponseValidationError) Reason() string
Reason function returns reason value.
type FileRequest ¶
type FileRequest struct { GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*FileRequest) Descriptor
deprecated
func (*FileRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileRequest.ProtoReflect.Descriptor instead.
func (*FileRequest) GetBranch ¶
func (x *FileRequest) GetBranch() string
func (*FileRequest) GetGitProjectId ¶
func (x *FileRequest) GetGitProjectId() string
func (*FileRequest) ProtoMessage ¶
func (*FileRequest) ProtoMessage()
func (*FileRequest) ProtoReflect ¶
func (x *FileRequest) ProtoReflect() protoreflect.Message
func (*FileRequest) Reset ¶
func (x *FileRequest) Reset()
func (*FileRequest) String ¶
func (x *FileRequest) String() string
func (*FileRequest) Validate ¶
func (m *FileRequest) Validate() error
Validate checks the field values on FileRequest 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 (*FileRequest) ValidateAll ¶
func (m *FileRequest) ValidateAll() error
ValidateAll checks the field values on FileRequest 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 FileRequestMultiError, or nil if none found.
type FileRequestMultiError ¶
type FileRequestMultiError []error
FileRequestMultiError is an error wrapping multiple validation errors returned by FileRequest.ValidateAll() if the designated constraints aren't met.
func (FileRequestMultiError) AllErrors ¶
func (m FileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileRequestMultiError) Error ¶
func (m FileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileRequestValidationError ¶
type FileRequestValidationError struct {
// contains filtered or unexported fields
}
FileRequestValidationError is the validation error returned by FileRequest.Validate if the designated constraints aren't met.
func (FileRequestValidationError) Cause ¶
func (e FileRequestValidationError) Cause() error
Cause function returns cause value.
func (FileRequestValidationError) Error ¶
func (e FileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FileRequestValidationError) ErrorName ¶
func (e FileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FileRequestValidationError) Field ¶
func (e FileRequestValidationError) Field() string
Field function returns field value.
func (FileRequestValidationError) Key ¶
func (e FileRequestValidationError) Key() bool
Key function returns key value.
func (FileRequestValidationError) Reason ¶
func (e FileRequestValidationError) Reason() string
Reason function returns reason value.
type FileResponse ¶
type FileResponse struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Elements []*mars.Element `protobuf:"bytes,3,rep,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
func (*FileResponse) Descriptor
deprecated
func (*FileResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileResponse.ProtoReflect.Descriptor instead.
func (*FileResponse) GetData ¶
func (x *FileResponse) GetData() string
func (*FileResponse) GetElements ¶
func (x *FileResponse) GetElements() []*mars.Element
func (*FileResponse) GetType ¶
func (x *FileResponse) GetType() string
func (*FileResponse) ProtoMessage ¶
func (*FileResponse) ProtoMessage()
func (*FileResponse) ProtoReflect ¶
func (x *FileResponse) ProtoReflect() protoreflect.Message
func (*FileResponse) Reset ¶
func (x *FileResponse) Reset()
func (*FileResponse) String ¶
func (x *FileResponse) String() string
func (*FileResponse) Validate ¶
func (m *FileResponse) Validate() error
Validate checks the field values on FileResponse 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 (*FileResponse) ValidateAll ¶
func (m *FileResponse) ValidateAll() error
ValidateAll checks the field values on FileResponse 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 FileResponseMultiError, or nil if none found.
type FileResponseMultiError ¶
type FileResponseMultiError []error
FileResponseMultiError is an error wrapping multiple validation errors returned by FileResponse.ValidateAll() if the designated constraints aren't met.
func (FileResponseMultiError) AllErrors ¶
func (m FileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileResponseMultiError) Error ¶
func (m FileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileResponseValidationError ¶
type FileResponseValidationError struct {
// contains filtered or unexported fields
}
FileResponseValidationError is the validation error returned by FileResponse.Validate if the designated constraints aren't met.
func (FileResponseValidationError) Cause ¶
func (e FileResponseValidationError) Cause() error
Cause function returns cause value.
func (FileResponseValidationError) Error ¶
func (e FileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FileResponseValidationError) ErrorName ¶
func (e FileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FileResponseValidationError) Field ¶
func (e FileResponseValidationError) Field() string
Field function returns field value.
func (FileResponseValidationError) Key ¶
func (e FileResponseValidationError) Key() bool
Key function returns key value.
func (FileResponseValidationError) Reason ¶
func (e FileResponseValidationError) Reason() string
Reason function returns reason value.
type GitConfigClient ¶
type GitConfigClient interface { // Show 查看项目配置 Show(ctx context.Context, in *ShowRequest, opts ...grpc.CallOption) (*ShowResponse, error) // GlobalConfig 查看项目 GlobalConfig 配置 GlobalConfig(ctx context.Context, in *GlobalConfigRequest, opts ...grpc.CallOption) (*GlobalConfigResponse, error) // ToggleGlobalStatus 开启/关闭全局配置 ToggleGlobalStatus(ctx context.Context, in *ToggleGlobalStatusRequest, opts ...grpc.CallOption) (*ToggleGlobalStatusResponse, error) // Update 更新全局配置 Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // GetDefaultChartValues 获取项目 helm charts 的默认 values.yaml GetDefaultChartValues(ctx context.Context, in *DefaultChartValuesRequest, opts ...grpc.CallOption) (*DefaultChartValuesResponse, error) }
GitConfigClient is the client API for GitConfig service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGitConfigClient ¶
func NewGitConfigClient(cc grpc.ClientConnInterface) GitConfigClient
type GitConfigServer ¶
type GitConfigServer interface { // Show 查看项目配置 Show(context.Context, *ShowRequest) (*ShowResponse, error) // GlobalConfig 查看项目 GlobalConfig 配置 GlobalConfig(context.Context, *GlobalConfigRequest) (*GlobalConfigResponse, error) // ToggleGlobalStatus 开启/关闭全局配置 ToggleGlobalStatus(context.Context, *ToggleGlobalStatusRequest) (*ToggleGlobalStatusResponse, error) // Update 更新全局配置 Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // GetDefaultChartValues 获取项目 helm charts 的默认 values.yaml GetDefaultChartValues(context.Context, *DefaultChartValuesRequest) (*DefaultChartValuesResponse, error) // contains filtered or unexported methods }
GitConfigServer is the server API for GitConfig service. All implementations must embed UnimplementedGitConfigServer for forward compatibility
type GlobalConfigRequest ¶
type GlobalConfigRequest struct { GitProjectId int64 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` // contains filtered or unexported fields }
func (*GlobalConfigRequest) Descriptor
deprecated
func (*GlobalConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GlobalConfigRequest.ProtoReflect.Descriptor instead.
func (*GlobalConfigRequest) GetGitProjectId ¶
func (x *GlobalConfigRequest) GetGitProjectId() int64
func (*GlobalConfigRequest) ProtoMessage ¶
func (*GlobalConfigRequest) ProtoMessage()
func (*GlobalConfigRequest) ProtoReflect ¶
func (x *GlobalConfigRequest) ProtoReflect() protoreflect.Message
func (*GlobalConfigRequest) Reset ¶
func (x *GlobalConfigRequest) Reset()
func (*GlobalConfigRequest) String ¶
func (x *GlobalConfigRequest) String() string
func (*GlobalConfigRequest) Validate ¶
func (m *GlobalConfigRequest) Validate() error
Validate checks the field values on GlobalConfigRequest 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 (*GlobalConfigRequest) ValidateAll ¶
func (m *GlobalConfigRequest) ValidateAll() error
ValidateAll checks the field values on GlobalConfigRequest 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 GlobalConfigRequestMultiError, or nil if none found.
type GlobalConfigRequestMultiError ¶
type GlobalConfigRequestMultiError []error
GlobalConfigRequestMultiError is an error wrapping multiple validation errors returned by GlobalConfigRequest.ValidateAll() if the designated constraints aren't met.
func (GlobalConfigRequestMultiError) AllErrors ¶
func (m GlobalConfigRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GlobalConfigRequestMultiError) Error ¶
func (m GlobalConfigRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GlobalConfigRequestValidationError ¶
type GlobalConfigRequestValidationError struct {
// contains filtered or unexported fields
}
GlobalConfigRequestValidationError is the validation error returned by GlobalConfigRequest.Validate if the designated constraints aren't met.
func (GlobalConfigRequestValidationError) Cause ¶
func (e GlobalConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (GlobalConfigRequestValidationError) Error ¶
func (e GlobalConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GlobalConfigRequestValidationError) ErrorName ¶
func (e GlobalConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GlobalConfigRequestValidationError) Field ¶
func (e GlobalConfigRequestValidationError) Field() string
Field function returns field value.
func (GlobalConfigRequestValidationError) Key ¶
func (e GlobalConfigRequestValidationError) Key() bool
Key function returns key value.
func (GlobalConfigRequestValidationError) Reason ¶
func (e GlobalConfigRequestValidationError) Reason() string
Reason function returns reason value.
type GlobalConfigResponse ¶
type GlobalConfigResponse struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Config *mars.Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GlobalConfigResponse) Descriptor
deprecated
func (*GlobalConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GlobalConfigResponse.ProtoReflect.Descriptor instead.
func (*GlobalConfigResponse) GetConfig ¶
func (x *GlobalConfigResponse) GetConfig() *mars.Config
func (*GlobalConfigResponse) GetEnabled ¶
func (x *GlobalConfigResponse) GetEnabled() bool
func (*GlobalConfigResponse) ProtoMessage ¶
func (*GlobalConfigResponse) ProtoMessage()
func (*GlobalConfigResponse) ProtoReflect ¶
func (x *GlobalConfigResponse) ProtoReflect() protoreflect.Message
func (*GlobalConfigResponse) Reset ¶
func (x *GlobalConfigResponse) Reset()
func (*GlobalConfigResponse) String ¶
func (x *GlobalConfigResponse) String() string
func (*GlobalConfigResponse) Validate ¶
func (m *GlobalConfigResponse) Validate() error
Validate checks the field values on GlobalConfigResponse 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 (*GlobalConfigResponse) ValidateAll ¶
func (m *GlobalConfigResponse) ValidateAll() error
ValidateAll checks the field values on GlobalConfigResponse 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 GlobalConfigResponseMultiError, or nil if none found.
type GlobalConfigResponseMultiError ¶
type GlobalConfigResponseMultiError []error
GlobalConfigResponseMultiError is an error wrapping multiple validation errors returned by GlobalConfigResponse.ValidateAll() if the designated constraints aren't met.
func (GlobalConfigResponseMultiError) AllErrors ¶
func (m GlobalConfigResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GlobalConfigResponseMultiError) Error ¶
func (m GlobalConfigResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GlobalConfigResponseValidationError ¶
type GlobalConfigResponseValidationError struct {
// contains filtered or unexported fields
}
GlobalConfigResponseValidationError is the validation error returned by GlobalConfigResponse.Validate if the designated constraints aren't met.
func (GlobalConfigResponseValidationError) Cause ¶
func (e GlobalConfigResponseValidationError) Cause() error
Cause function returns cause value.
func (GlobalConfigResponseValidationError) Error ¶
func (e GlobalConfigResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GlobalConfigResponseValidationError) ErrorName ¶
func (e GlobalConfigResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GlobalConfigResponseValidationError) Field ¶
func (e GlobalConfigResponseValidationError) Field() string
Field function returns field value.
func (GlobalConfigResponseValidationError) Key ¶
func (e GlobalConfigResponseValidationError) Key() bool
Key function returns key value.
func (GlobalConfigResponseValidationError) Reason ¶
func (e GlobalConfigResponseValidationError) Reason() string
Reason function returns reason value.
type ShowRequest ¶
type ShowRequest struct { GitProjectId int64 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*ShowRequest) Descriptor
deprecated
func (*ShowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowRequest.ProtoReflect.Descriptor instead.
func (*ShowRequest) GetBranch ¶
func (x *ShowRequest) GetBranch() string
func (*ShowRequest) GetGitProjectId ¶
func (x *ShowRequest) GetGitProjectId() int64
func (*ShowRequest) ProtoMessage ¶
func (*ShowRequest) ProtoMessage()
func (*ShowRequest) ProtoReflect ¶
func (x *ShowRequest) ProtoReflect() protoreflect.Message
func (*ShowRequest) Reset ¶
func (x *ShowRequest) Reset()
func (*ShowRequest) String ¶
func (x *ShowRequest) String() string
func (*ShowRequest) Validate ¶
func (m *ShowRequest) Validate() error
Validate checks the field values on ShowRequest 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 (*ShowRequest) ValidateAll ¶
func (m *ShowRequest) ValidateAll() error
ValidateAll checks the field values on ShowRequest 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 ShowRequestMultiError, or nil if none found.
type ShowRequestMultiError ¶
type ShowRequestMultiError []error
ShowRequestMultiError is an error wrapping multiple validation errors returned by ShowRequest.ValidateAll() if the designated constraints aren't met.
func (ShowRequestMultiError) AllErrors ¶
func (m ShowRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShowRequestMultiError) Error ¶
func (m ShowRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShowRequestValidationError ¶
type ShowRequestValidationError struct {
// contains filtered or unexported fields
}
ShowRequestValidationError is the validation error returned by ShowRequest.Validate if the designated constraints aren't met.
func (ShowRequestValidationError) Cause ¶
func (e ShowRequestValidationError) Cause() error
Cause function returns cause value.
func (ShowRequestValidationError) Error ¶
func (e ShowRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ShowRequestValidationError) ErrorName ¶
func (e ShowRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ShowRequestValidationError) Field ¶
func (e ShowRequestValidationError) Field() string
Field function returns field value.
func (ShowRequestValidationError) Key ¶
func (e ShowRequestValidationError) Key() bool
Key function returns key value.
func (ShowRequestValidationError) Reason ¶
func (e ShowRequestValidationError) Reason() string
Reason function returns reason value.
type ShowResponse ¶
type ShowResponse struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` Config *mars.Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*ShowResponse) Descriptor
deprecated
func (*ShowResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowResponse.ProtoReflect.Descriptor instead.
func (*ShowResponse) GetBranch ¶
func (x *ShowResponse) GetBranch() string
func (*ShowResponse) GetConfig ¶
func (x *ShowResponse) GetConfig() *mars.Config
func (*ShowResponse) ProtoMessage ¶
func (*ShowResponse) ProtoMessage()
func (*ShowResponse) ProtoReflect ¶
func (x *ShowResponse) ProtoReflect() protoreflect.Message
func (*ShowResponse) Reset ¶
func (x *ShowResponse) Reset()
func (*ShowResponse) String ¶
func (x *ShowResponse) String() string
func (*ShowResponse) Validate ¶
func (m *ShowResponse) Validate() error
Validate checks the field values on ShowResponse 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 (*ShowResponse) ValidateAll ¶
func (m *ShowResponse) ValidateAll() error
ValidateAll checks the field values on ShowResponse 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 ShowResponseMultiError, or nil if none found.
type ShowResponseMultiError ¶
type ShowResponseMultiError []error
ShowResponseMultiError is an error wrapping multiple validation errors returned by ShowResponse.ValidateAll() if the designated constraints aren't met.
func (ShowResponseMultiError) AllErrors ¶
func (m ShowResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShowResponseMultiError) Error ¶
func (m ShowResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShowResponseValidationError ¶
type ShowResponseValidationError struct {
// contains filtered or unexported fields
}
ShowResponseValidationError is the validation error returned by ShowResponse.Validate if the designated constraints aren't met.
func (ShowResponseValidationError) Cause ¶
func (e ShowResponseValidationError) Cause() error
Cause function returns cause value.
func (ShowResponseValidationError) Error ¶
func (e ShowResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ShowResponseValidationError) ErrorName ¶
func (e ShowResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ShowResponseValidationError) Field ¶
func (e ShowResponseValidationError) Field() string
Field function returns field value.
func (ShowResponseValidationError) Key ¶
func (e ShowResponseValidationError) Key() bool
Key function returns key value.
func (ShowResponseValidationError) Reason ¶
func (e ShowResponseValidationError) Reason() string
Reason function returns reason value.
type ToggleGlobalStatusRequest ¶
type ToggleGlobalStatusRequest struct { GitProjectId int64 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*ToggleGlobalStatusRequest) Descriptor
deprecated
func (*ToggleGlobalStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleGlobalStatusRequest.ProtoReflect.Descriptor instead.
func (*ToggleGlobalStatusRequest) GetEnabled ¶
func (x *ToggleGlobalStatusRequest) GetEnabled() bool
func (*ToggleGlobalStatusRequest) GetGitProjectId ¶
func (x *ToggleGlobalStatusRequest) GetGitProjectId() int64
func (*ToggleGlobalStatusRequest) ProtoMessage ¶
func (*ToggleGlobalStatusRequest) ProtoMessage()
func (*ToggleGlobalStatusRequest) ProtoReflect ¶
func (x *ToggleGlobalStatusRequest) ProtoReflect() protoreflect.Message
func (*ToggleGlobalStatusRequest) Reset ¶
func (x *ToggleGlobalStatusRequest) Reset()
func (*ToggleGlobalStatusRequest) String ¶
func (x *ToggleGlobalStatusRequest) String() string
func (*ToggleGlobalStatusRequest) Validate ¶
func (m *ToggleGlobalStatusRequest) Validate() error
Validate checks the field values on ToggleGlobalStatusRequest 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 (*ToggleGlobalStatusRequest) ValidateAll ¶
func (m *ToggleGlobalStatusRequest) ValidateAll() error
ValidateAll checks the field values on ToggleGlobalStatusRequest 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 ToggleGlobalStatusRequestMultiError, or nil if none found.
type ToggleGlobalStatusRequestMultiError ¶
type ToggleGlobalStatusRequestMultiError []error
ToggleGlobalStatusRequestMultiError is an error wrapping multiple validation errors returned by ToggleGlobalStatusRequest.ValidateAll() if the designated constraints aren't met.
func (ToggleGlobalStatusRequestMultiError) AllErrors ¶
func (m ToggleGlobalStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleGlobalStatusRequestMultiError) Error ¶
func (m ToggleGlobalStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleGlobalStatusRequestValidationError ¶
type ToggleGlobalStatusRequestValidationError struct {
// contains filtered or unexported fields
}
ToggleGlobalStatusRequestValidationError is the validation error returned by ToggleGlobalStatusRequest.Validate if the designated constraints aren't met.
func (ToggleGlobalStatusRequestValidationError) Cause ¶
func (e ToggleGlobalStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (ToggleGlobalStatusRequestValidationError) Error ¶
func (e ToggleGlobalStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleGlobalStatusRequestValidationError) ErrorName ¶
func (e ToggleGlobalStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleGlobalStatusRequestValidationError) Field ¶
func (e ToggleGlobalStatusRequestValidationError) Field() string
Field function returns field value.
func (ToggleGlobalStatusRequestValidationError) Key ¶
func (e ToggleGlobalStatusRequestValidationError) Key() bool
Key function returns key value.
func (ToggleGlobalStatusRequestValidationError) Reason ¶
func (e ToggleGlobalStatusRequestValidationError) Reason() string
Reason function returns reason value.
type ToggleGlobalStatusResponse ¶
type ToggleGlobalStatusResponse struct {
// contains filtered or unexported fields
}
func (*ToggleGlobalStatusResponse) Descriptor
deprecated
func (*ToggleGlobalStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleGlobalStatusResponse.ProtoReflect.Descriptor instead.
func (*ToggleGlobalStatusResponse) ProtoMessage ¶
func (*ToggleGlobalStatusResponse) ProtoMessage()
func (*ToggleGlobalStatusResponse) ProtoReflect ¶
func (x *ToggleGlobalStatusResponse) ProtoReflect() protoreflect.Message
func (*ToggleGlobalStatusResponse) Reset ¶
func (x *ToggleGlobalStatusResponse) Reset()
func (*ToggleGlobalStatusResponse) String ¶
func (x *ToggleGlobalStatusResponse) String() string
func (*ToggleGlobalStatusResponse) Validate ¶
func (m *ToggleGlobalStatusResponse) Validate() error
Validate checks the field values on ToggleGlobalStatusResponse 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 (*ToggleGlobalStatusResponse) ValidateAll ¶
func (m *ToggleGlobalStatusResponse) ValidateAll() error
ValidateAll checks the field values on ToggleGlobalStatusResponse 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 ToggleGlobalStatusResponseMultiError, or nil if none found.
type ToggleGlobalStatusResponseMultiError ¶
type ToggleGlobalStatusResponseMultiError []error
ToggleGlobalStatusResponseMultiError is an error wrapping multiple validation errors returned by ToggleGlobalStatusResponse.ValidateAll() if the designated constraints aren't met.
func (ToggleGlobalStatusResponseMultiError) AllErrors ¶
func (m ToggleGlobalStatusResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleGlobalStatusResponseMultiError) Error ¶
func (m ToggleGlobalStatusResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleGlobalStatusResponseValidationError ¶
type ToggleGlobalStatusResponseValidationError struct {
// contains filtered or unexported fields
}
ToggleGlobalStatusResponseValidationError is the validation error returned by ToggleGlobalStatusResponse.Validate if the designated constraints aren't met.
func (ToggleGlobalStatusResponseValidationError) Cause ¶
func (e ToggleGlobalStatusResponseValidationError) Cause() error
Cause function returns cause value.
func (ToggleGlobalStatusResponseValidationError) Error ¶
func (e ToggleGlobalStatusResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleGlobalStatusResponseValidationError) ErrorName ¶
func (e ToggleGlobalStatusResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleGlobalStatusResponseValidationError) Field ¶
func (e ToggleGlobalStatusResponseValidationError) Field() string
Field function returns field value.
func (ToggleGlobalStatusResponseValidationError) Key ¶
func (e ToggleGlobalStatusResponseValidationError) Key() bool
Key function returns key value.
func (ToggleGlobalStatusResponseValidationError) Reason ¶
func (e ToggleGlobalStatusResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedGitConfigServer ¶
type UnimplementedGitConfigServer struct { }
UnimplementedGitConfigServer must be embedded to have forward compatible implementations.
func (UnimplementedGitConfigServer) GetDefaultChartValues ¶
func (UnimplementedGitConfigServer) GetDefaultChartValues(context.Context, *DefaultChartValuesRequest) (*DefaultChartValuesResponse, error)
func (UnimplementedGitConfigServer) GlobalConfig ¶
func (UnimplementedGitConfigServer) GlobalConfig(context.Context, *GlobalConfigRequest) (*GlobalConfigResponse, error)
func (UnimplementedGitConfigServer) Show ¶
func (UnimplementedGitConfigServer) Show(context.Context, *ShowRequest) (*ShowResponse, error)
func (UnimplementedGitConfigServer) ToggleGlobalStatus ¶
func (UnimplementedGitConfigServer) ToggleGlobalStatus(context.Context, *ToggleGlobalStatusRequest) (*ToggleGlobalStatusResponse, error)
func (UnimplementedGitConfigServer) Update ¶
func (UnimplementedGitConfigServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeGitConfigServer ¶
type UnsafeGitConfigServer interface {
// contains filtered or unexported methods
}
UnsafeGitConfigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitConfigServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { GitProjectId int64 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"` Config *mars.Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetConfig ¶
func (x *UpdateRequest) GetConfig() *mars.Config
func (*UpdateRequest) GetGitProjectId ¶
func (x *UpdateRequest) GetGitProjectId() int64
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
func (*UpdateRequest) Validate ¶
func (m *UpdateRequest) Validate() error
Validate checks the field values on UpdateRequest 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 (*UpdateRequest) ValidateAll ¶
func (m *UpdateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRequest 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 UpdateRequestMultiError, or nil if none found.
type UpdateRequestMultiError ¶
type UpdateRequestMultiError []error
UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRequestMultiError) AllErrors ¶
func (m UpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRequestMultiError) Error ¶
func (m UpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRequestValidationError ¶
type UpdateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.
func (UpdateRequestValidationError) Cause ¶
func (e UpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRequestValidationError) Error ¶
func (e UpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRequestValidationError) ErrorName ¶
func (e UpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRequestValidationError) Field ¶
func (e UpdateRequestValidationError) Field() string
Field function returns field value.
func (UpdateRequestValidationError) Key ¶
func (e UpdateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRequestValidationError) Reason ¶
func (e UpdateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateResponse ¶
type UpdateResponse struct { Config *mars.Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetConfig ¶
func (x *UpdateResponse) GetConfig() *mars.Config
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
func (*UpdateResponse) Validate ¶
func (m *UpdateResponse) Validate() error
Validate checks the field values on UpdateResponse 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 (*UpdateResponse) ValidateAll ¶
func (m *UpdateResponse) ValidateAll() error
ValidateAll checks the field values on UpdateResponse 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 UpdateResponseMultiError, or nil if none found.
type UpdateResponseMultiError ¶
type UpdateResponseMultiError []error
UpdateResponseMultiError is an error wrapping multiple validation errors returned by UpdateResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateResponseMultiError) AllErrors ¶
func (m UpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResponseMultiError) Error ¶
func (m UpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResponseValidationError ¶
type UpdateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.
func (UpdateResponseValidationError) Cause ¶
func (e UpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateResponseValidationError) Error ¶
func (e UpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResponseValidationError) ErrorName ¶
func (e UpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResponseValidationError) Field ¶
func (e UpdateResponseValidationError) Field() string
Field function returns field value.
func (UpdateResponseValidationError) Key ¶
func (e UpdateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateResponseValidationError) Reason ¶
func (e UpdateResponseValidationError) Reason() string
Reason function returns reason value.