Documentation ¶
Overview ¶
Package project is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterProjectHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProjectHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectClient) error
- func RegisterProjectHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProjectHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectServer) error
- func RegisterProjectServer(s grpc.ServiceRegistrar, srv ProjectServer)
- type AllContainersRequest
- func (*AllContainersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllContainersRequest) GetId() int32
- func (*AllContainersRequest) ProtoMessage()
- func (x *AllContainersRequest) ProtoReflect() protoreflect.Message
- func (x *AllContainersRequest) Reset()
- func (x *AllContainersRequest) String() string
- func (m *AllContainersRequest) Validate() error
- func (m *AllContainersRequest) ValidateAll() error
- type AllContainersRequestMultiError
- type AllContainersRequestValidationError
- func (e AllContainersRequestValidationError) Cause() error
- func (e AllContainersRequestValidationError) Error() string
- func (e AllContainersRequestValidationError) ErrorName() string
- func (e AllContainersRequestValidationError) Field() string
- func (e AllContainersRequestValidationError) Key() bool
- func (e AllContainersRequestValidationError) Reason() string
- type AllContainersResponse
- func (*AllContainersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllContainersResponse) GetItems() []*types.StateContainer
- func (*AllContainersResponse) ProtoMessage()
- func (x *AllContainersResponse) ProtoReflect() protoreflect.Message
- func (x *AllContainersResponse) Reset()
- func (x *AllContainersResponse) String() string
- func (m *AllContainersResponse) Validate() error
- func (m *AllContainersResponse) ValidateAll() error
- type AllContainersResponseMultiError
- type AllContainersResponseValidationError
- func (e AllContainersResponseValidationError) Cause() error
- func (e AllContainersResponseValidationError) Error() string
- func (e AllContainersResponseValidationError) ErrorName() string
- func (e AllContainersResponseValidationError) Field() string
- func (e AllContainersResponseValidationError) Key() bool
- func (e AllContainersResponseValidationError) Reason() string
- type ApplyRequest
- func (*ApplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyRequest) GetAtomic() bool
- func (x *ApplyRequest) GetConfig() string
- func (x *ApplyRequest) GetExtraValues() []*websocket.ExtraValue
- func (x *ApplyRequest) GetGitBranch() string
- func (x *ApplyRequest) GetGitCommit() string
- func (x *ApplyRequest) GetInstallTimeoutSeconds() int32
- func (x *ApplyRequest) GetName() string
- func (x *ApplyRequest) GetNamespaceId() int32
- func (x *ApplyRequest) GetRepoId() int32
- func (x *ApplyRequest) GetSendPercent() bool
- func (x *ApplyRequest) GetVersion() int32
- func (x *ApplyRequest) GetWebsocketSync() bool
- func (*ApplyRequest) ProtoMessage()
- func (x *ApplyRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyRequest) Reset()
- func (x *ApplyRequest) String() string
- func (m *ApplyRequest) Validate() error
- func (m *ApplyRequest) ValidateAll() error
- type ApplyRequestMultiError
- type ApplyRequestValidationError
- func (e ApplyRequestValidationError) Cause() error
- func (e ApplyRequestValidationError) Error() string
- func (e ApplyRequestValidationError) ErrorName() string
- func (e ApplyRequestValidationError) Field() string
- func (e ApplyRequestValidationError) Key() bool
- func (e ApplyRequestValidationError) Reason() string
- type ApplyResponse
- func (*ApplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyResponse) GetMetadata() *websocket.Metadata
- func (x *ApplyResponse) GetProject() *types.ProjectModel
- func (*ApplyResponse) ProtoMessage()
- func (x *ApplyResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyResponse) Reset()
- func (x *ApplyResponse) String() string
- func (m *ApplyResponse) Validate() error
- func (m *ApplyResponse) ValidateAll() error
- type ApplyResponseMultiError
- type ApplyResponseValidationError
- func (e ApplyResponseValidationError) Cause() error
- func (e ApplyResponseValidationError) Error() string
- func (e ApplyResponseValidationError) ErrorName() string
- func (e ApplyResponseValidationError) Field() string
- func (e ApplyResponseValidationError) Key() bool
- func (e ApplyResponseValidationError) Reason() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetId() int32
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) Validate() error
- func (m *DeleteRequest) ValidateAll() error
- type DeleteRequestMultiError
- type DeleteRequestValidationError
- func (e DeleteRequestValidationError) Cause() error
- func (e DeleteRequestValidationError) Error() string
- func (e DeleteRequestValidationError) ErrorName() string
- func (e DeleteRequestValidationError) Field() string
- func (e DeleteRequestValidationError) Key() bool
- func (e DeleteRequestValidationError) Reason() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- func (m *DeleteResponse) Validate() error
- func (m *DeleteResponse) ValidateAll() error
- type DeleteResponseMultiError
- type DeleteResponseValidationError
- func (e DeleteResponseValidationError) Cause() error
- func (e DeleteResponseValidationError) Error() string
- func (e DeleteResponseValidationError) ErrorName() string
- func (e DeleteResponseValidationError) Field() string
- func (e DeleteResponseValidationError) Key() bool
- func (e DeleteResponseValidationError) Reason() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetPage() int32
- func (x *ListRequest) GetPageSize() int32
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- func (m *ListRequest) Validate() error
- func (m *ListRequest) ValidateAll() error
- type ListRequestMultiError
- type ListRequestValidationError
- func (e ListRequestValidationError) Cause() error
- func (e ListRequestValidationError) Error() string
- func (e ListRequestValidationError) ErrorName() string
- func (e ListRequestValidationError) Field() string
- func (e ListRequestValidationError) Key() bool
- func (e ListRequestValidationError) Reason() string
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetCount() int32
- func (x *ListResponse) GetItems() []*types.ProjectModel
- func (x *ListResponse) GetPage() int32
- func (x *ListResponse) GetPageSize() int32
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- func (m *ListResponse) Validate() error
- func (m *ListResponse) ValidateAll() error
- type ListResponseMultiError
- type ListResponseValidationError
- func (e ListResponseValidationError) Cause() error
- func (e ListResponseValidationError) Error() string
- func (e ListResponseValidationError) ErrorName() string
- func (e ListResponseValidationError) Field() string
- func (e ListResponseValidationError) Key() bool
- func (e ListResponseValidationError) Reason() string
- type MemoryCpuAndEndpointsRequest
- func (*MemoryCpuAndEndpointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryCpuAndEndpointsRequest) GetId() int32
- func (*MemoryCpuAndEndpointsRequest) ProtoMessage()
- func (x *MemoryCpuAndEndpointsRequest) ProtoReflect() protoreflect.Message
- func (x *MemoryCpuAndEndpointsRequest) Reset()
- func (x *MemoryCpuAndEndpointsRequest) String() string
- func (m *MemoryCpuAndEndpointsRequest) Validate() error
- func (m *MemoryCpuAndEndpointsRequest) ValidateAll() error
- type MemoryCpuAndEndpointsRequestMultiError
- type MemoryCpuAndEndpointsRequestValidationError
- func (e MemoryCpuAndEndpointsRequestValidationError) Cause() error
- func (e MemoryCpuAndEndpointsRequestValidationError) Error() string
- func (e MemoryCpuAndEndpointsRequestValidationError) ErrorName() string
- func (e MemoryCpuAndEndpointsRequestValidationError) Field() string
- func (e MemoryCpuAndEndpointsRequestValidationError) Key() bool
- func (e MemoryCpuAndEndpointsRequestValidationError) Reason() string
- type MemoryCpuAndEndpointsResponse
- func (*MemoryCpuAndEndpointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryCpuAndEndpointsResponse) GetCpu() string
- func (x *MemoryCpuAndEndpointsResponse) GetMemory() string
- func (x *MemoryCpuAndEndpointsResponse) GetUrls() []*types.ServiceEndpoint
- func (*MemoryCpuAndEndpointsResponse) ProtoMessage()
- func (x *MemoryCpuAndEndpointsResponse) ProtoReflect() protoreflect.Message
- func (x *MemoryCpuAndEndpointsResponse) Reset()
- func (x *MemoryCpuAndEndpointsResponse) String() string
- func (m *MemoryCpuAndEndpointsResponse) Validate() error
- func (m *MemoryCpuAndEndpointsResponse) ValidateAll() error
- type MemoryCpuAndEndpointsResponseMultiError
- type MemoryCpuAndEndpointsResponseValidationError
- func (e MemoryCpuAndEndpointsResponseValidationError) Cause() error
- func (e MemoryCpuAndEndpointsResponseValidationError) Error() string
- func (e MemoryCpuAndEndpointsResponseValidationError) ErrorName() string
- func (e MemoryCpuAndEndpointsResponseValidationError) Field() string
- func (e MemoryCpuAndEndpointsResponseValidationError) Key() bool
- func (e MemoryCpuAndEndpointsResponseValidationError) Reason() string
- type ProjectClient
- type ProjectServer
- type Project_ApplyClient
- type Project_ApplyServer
- type ShowRequest
- func (*ShowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShowRequest) GetId() int32
- 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) GetItem() *types.ProjectModel
- 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 UnimplementedProjectServer
- func (UnimplementedProjectServer) AllContainers(context.Context, *AllContainersRequest) (*AllContainersResponse, error)
- func (UnimplementedProjectServer) Apply(*ApplyRequest, Project_ApplyServer) error
- func (UnimplementedProjectServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedProjectServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedProjectServer) MemoryCpuAndEndpoints(context.Context, *MemoryCpuAndEndpointsRequest) (*MemoryCpuAndEndpointsResponse, error)
- func (UnimplementedProjectServer) Show(context.Context, *ShowRequest) (*ShowResponse, error)
- func (UnimplementedProjectServer) Version(context.Context, *VersionRequest) (*VersionResponse, error)
- func (UnimplementedProjectServer) WebApply(context.Context, *WebApplyRequest) (*WebApplyResponse, error)
- type UnsafeProjectServer
- type VersionRequest
- func (*VersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VersionRequest) GetId() int32
- func (*VersionRequest) ProtoMessage()
- func (x *VersionRequest) ProtoReflect() protoreflect.Message
- func (x *VersionRequest) Reset()
- func (x *VersionRequest) String() string
- func (m *VersionRequest) Validate() error
- func (m *VersionRequest) ValidateAll() error
- type VersionRequestMultiError
- type VersionRequestValidationError
- func (e VersionRequestValidationError) Cause() error
- func (e VersionRequestValidationError) Error() string
- func (e VersionRequestValidationError) ErrorName() string
- func (e VersionRequestValidationError) Field() string
- func (e VersionRequestValidationError) Key() bool
- func (e VersionRequestValidationError) Reason() string
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetVersion() int32
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
- func (m *VersionResponse) Validate() error
- func (m *VersionResponse) ValidateAll() error
- type VersionResponseMultiError
- type VersionResponseValidationError
- func (e VersionResponseValidationError) Cause() error
- func (e VersionResponseValidationError) Error() string
- func (e VersionResponseValidationError) ErrorName() string
- func (e VersionResponseValidationError) Field() string
- func (e VersionResponseValidationError) Key() bool
- func (e VersionResponseValidationError) Reason() string
- type WebApplyRequest
- func (*WebApplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WebApplyRequest) GetConfig() string
- func (x *WebApplyRequest) GetDryRun() bool
- func (x *WebApplyRequest) GetExtraValues() []*websocket.ExtraValue
- func (x *WebApplyRequest) GetGitBranch() string
- func (x *WebApplyRequest) GetGitCommit() string
- func (x *WebApplyRequest) GetName() string
- func (x *WebApplyRequest) GetNamespaceId() int32
- func (x *WebApplyRequest) GetRepoId() int32
- func (x *WebApplyRequest) GetVersion() int32
- func (*WebApplyRequest) ProtoMessage()
- func (x *WebApplyRequest) ProtoReflect() protoreflect.Message
- func (x *WebApplyRequest) Reset()
- func (x *WebApplyRequest) String() string
- func (m *WebApplyRequest) Validate() error
- func (m *WebApplyRequest) ValidateAll() error
- type WebApplyRequestMultiError
- type WebApplyRequestValidationError
- func (e WebApplyRequestValidationError) Cause() error
- func (e WebApplyRequestValidationError) Error() string
- func (e WebApplyRequestValidationError) ErrorName() string
- func (e WebApplyRequestValidationError) Field() string
- func (e WebApplyRequestValidationError) Key() bool
- func (e WebApplyRequestValidationError) Reason() string
- type WebApplyResponse
- func (*WebApplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WebApplyResponse) GetDryRun() bool
- func (x *WebApplyResponse) GetProject() *types.ProjectModel
- func (x *WebApplyResponse) GetYamlFiles() []string
- func (*WebApplyResponse) ProtoMessage()
- func (x *WebApplyResponse) ProtoReflect() protoreflect.Message
- func (x *WebApplyResponse) Reset()
- func (x *WebApplyResponse) String() string
- func (m *WebApplyResponse) Validate() error
- func (m *WebApplyResponse) ValidateAll() error
- type WebApplyResponseMultiError
- type WebApplyResponseValidationError
- func (e WebApplyResponseValidationError) Cause() error
- func (e WebApplyResponseValidationError) Error() string
- func (e WebApplyResponseValidationError) ErrorName() string
- func (e WebApplyResponseValidationError) Field() string
- func (e WebApplyResponseValidationError) Key() bool
- func (e WebApplyResponseValidationError) Reason() string
Constants ¶
const ( Project_List_FullMethodName = "/project.Project/List" Project_Apply_FullMethodName = "/project.Project/Apply" Project_WebApply_FullMethodName = "/project.Project/WebApply" Project_Show_FullMethodName = "/project.Project/Show" Project_MemoryCpuAndEndpoints_FullMethodName = "/project.Project/MemoryCpuAndEndpoints" Project_Version_FullMethodName = "/project.Project/Version" Project_Delete_FullMethodName = "/project.Project/Delete" Project_AllContainers_FullMethodName = "/project.Project/AllContainers" )
Variables ¶
var File_project_project_proto protoreflect.FileDescriptor
var Project_ServiceDesc = grpc.ServiceDesc{ ServiceName: "project.Project", HandlerType: (*ProjectServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Project_List_Handler, }, { MethodName: "WebApply", Handler: _Project_WebApply_Handler, }, { MethodName: "Show", Handler: _Project_Show_Handler, }, { MethodName: "MemoryCpuAndEndpoints", Handler: _Project_MemoryCpuAndEndpoints_Handler, }, { MethodName: "Version", Handler: _Project_Version_Handler, }, { MethodName: "Delete", Handler: _Project_Delete_Handler, }, { MethodName: "AllContainers", Handler: _Project_AllContainers_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Apply", Handler: _Project_Apply_Handler, ServerStreams: true, }, }, Metadata: "project/project.proto", }
Project_ServiceDesc is the grpc.ServiceDesc for Project service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectHandler ¶
func RegisterProjectHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProjectHandler registers the http handlers for service Project to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProjectHandlerClient ¶
func RegisterProjectHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectClient) error
RegisterProjectHandlerClient registers the http handlers for service Project to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProjectClient" to call the correct interceptors.
func RegisterProjectHandlerFromEndpoint ¶
func RegisterProjectHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProjectHandlerFromEndpoint is same as RegisterProjectHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProjectHandlerServer ¶
func RegisterProjectHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectServer) error
RegisterProjectHandlerServer registers the http handlers for service Project to "mux". UnaryRPC :call ProjectServer 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 RegisterProjectHandlerFromEndpoint instead.
func RegisterProjectServer ¶
func RegisterProjectServer(s grpc.ServiceRegistrar, srv ProjectServer)
Types ¶
type AllContainersRequest ¶
type AllContainersRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AllContainersRequest) Descriptor
deprecated
func (*AllContainersRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllContainersRequest.ProtoReflect.Descriptor instead.
func (*AllContainersRequest) GetId ¶
func (x *AllContainersRequest) GetId() int32
func (*AllContainersRequest) ProtoMessage ¶
func (*AllContainersRequest) ProtoMessage()
func (*AllContainersRequest) ProtoReflect ¶
func (x *AllContainersRequest) ProtoReflect() protoreflect.Message
func (*AllContainersRequest) Reset ¶
func (x *AllContainersRequest) Reset()
func (*AllContainersRequest) String ¶
func (x *AllContainersRequest) String() string
func (*AllContainersRequest) Validate ¶
func (m *AllContainersRequest) Validate() error
Validate checks the field values on AllContainersRequest 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 (*AllContainersRequest) ValidateAll ¶
func (m *AllContainersRequest) ValidateAll() error
ValidateAll checks the field values on AllContainersRequest 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 AllContainersRequestMultiError, or nil if none found.
type AllContainersRequestMultiError ¶
type AllContainersRequestMultiError []error
AllContainersRequestMultiError is an error wrapping multiple validation errors returned by AllContainersRequest.ValidateAll() if the designated constraints aren't met.
func (AllContainersRequestMultiError) AllErrors ¶
func (m AllContainersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllContainersRequestMultiError) Error ¶
func (m AllContainersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllContainersRequestValidationError ¶
type AllContainersRequestValidationError struct {
// contains filtered or unexported fields
}
AllContainersRequestValidationError is the validation error returned by AllContainersRequest.Validate if the designated constraints aren't met.
func (AllContainersRequestValidationError) Cause ¶
func (e AllContainersRequestValidationError) Cause() error
Cause function returns cause value.
func (AllContainersRequestValidationError) Error ¶
func (e AllContainersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AllContainersRequestValidationError) ErrorName ¶
func (e AllContainersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AllContainersRequestValidationError) Field ¶
func (e AllContainersRequestValidationError) Field() string
Field function returns field value.
func (AllContainersRequestValidationError) Key ¶
func (e AllContainersRequestValidationError) Key() bool
Key function returns key value.
func (AllContainersRequestValidationError) Reason ¶
func (e AllContainersRequestValidationError) Reason() string
Reason function returns reason value.
type AllContainersResponse ¶
type AllContainersResponse struct { Items []*types.StateContainer `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AllContainersResponse) Descriptor
deprecated
func (*AllContainersResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllContainersResponse.ProtoReflect.Descriptor instead.
func (*AllContainersResponse) GetItems ¶
func (x *AllContainersResponse) GetItems() []*types.StateContainer
func (*AllContainersResponse) ProtoMessage ¶
func (*AllContainersResponse) ProtoMessage()
func (*AllContainersResponse) ProtoReflect ¶
func (x *AllContainersResponse) ProtoReflect() protoreflect.Message
func (*AllContainersResponse) Reset ¶
func (x *AllContainersResponse) Reset()
func (*AllContainersResponse) String ¶
func (x *AllContainersResponse) String() string
func (*AllContainersResponse) Validate ¶
func (m *AllContainersResponse) Validate() error
Validate checks the field values on AllContainersResponse 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 (*AllContainersResponse) ValidateAll ¶
func (m *AllContainersResponse) ValidateAll() error
ValidateAll checks the field values on AllContainersResponse 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 AllContainersResponseMultiError, or nil if none found.
type AllContainersResponseMultiError ¶
type AllContainersResponseMultiError []error
AllContainersResponseMultiError is an error wrapping multiple validation errors returned by AllContainersResponse.ValidateAll() if the designated constraints aren't met.
func (AllContainersResponseMultiError) AllErrors ¶
func (m AllContainersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllContainersResponseMultiError) Error ¶
func (m AllContainersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllContainersResponseValidationError ¶
type AllContainersResponseValidationError struct {
// contains filtered or unexported fields
}
AllContainersResponseValidationError is the validation error returned by AllContainersResponse.Validate if the designated constraints aren't met.
func (AllContainersResponseValidationError) Cause ¶
func (e AllContainersResponseValidationError) Cause() error
Cause function returns cause value.
func (AllContainersResponseValidationError) Error ¶
func (e AllContainersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AllContainersResponseValidationError) ErrorName ¶
func (e AllContainersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AllContainersResponseValidationError) Field ¶
func (e AllContainersResponseValidationError) Field() string
Field function returns field value.
func (AllContainersResponseValidationError) Key ¶
func (e AllContainersResponseValidationError) Key() bool
Key function returns key value.
func (AllContainersResponseValidationError) Reason ¶
func (e AllContainersResponseValidationError) Reason() string
Reason function returns reason value.
type ApplyRequest ¶
type ApplyRequest struct { NamespaceId int32 `protobuf:"varint,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // name 不传就使用 git 默认的 name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` RepoId int32 `protobuf:"varint,3,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` GitBranch string `protobuf:"bytes,4,opt,name=git_branch,json=gitBranch,proto3" json:"git_branch,omitempty"` // git_commit 不传就用最新的 commit GitCommit string `protobuf:"bytes,5,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` Config string `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` Atomic bool `protobuf:"varint,7,opt,name=atomic,proto3" json:"atomic,omitempty"` WebsocketSync bool `protobuf:"varint,8,opt,name=websocket_sync,json=websocketSync,proto3" json:"websocket_sync,omitempty"` ExtraValues []*websocket.ExtraValue `protobuf:"bytes,9,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` // 部署超时时间 InstallTimeoutSeconds int32 `` /* 128-byte string literal not displayed */ // 发送百分比 SendPercent bool `protobuf:"varint,11,opt,name=send_percent,json=sendPercent,proto3" json:"send_percent,omitempty"` // 版本号, 创建时可以不传 Version *int32 `protobuf:"varint,12,opt,name=version,proto3,oneof" json:"version,omitempty"` // contains filtered or unexported fields }
ApplyRequest same as ProjectInput
func (*ApplyRequest) Descriptor
deprecated
func (*ApplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRequest.ProtoReflect.Descriptor instead.
func (*ApplyRequest) GetAtomic ¶
func (x *ApplyRequest) GetAtomic() bool
func (*ApplyRequest) GetConfig ¶
func (x *ApplyRequest) GetConfig() string
func (*ApplyRequest) GetExtraValues ¶
func (x *ApplyRequest) GetExtraValues() []*websocket.ExtraValue
func (*ApplyRequest) GetGitBranch ¶
func (x *ApplyRequest) GetGitBranch() string
func (*ApplyRequest) GetGitCommit ¶
func (x *ApplyRequest) GetGitCommit() string
func (*ApplyRequest) GetInstallTimeoutSeconds ¶
func (x *ApplyRequest) GetInstallTimeoutSeconds() int32
func (*ApplyRequest) GetName ¶
func (x *ApplyRequest) GetName() string
func (*ApplyRequest) GetNamespaceId ¶
func (x *ApplyRequest) GetNamespaceId() int32
func (*ApplyRequest) GetRepoId ¶
func (x *ApplyRequest) GetRepoId() int32
func (*ApplyRequest) GetSendPercent ¶
func (x *ApplyRequest) GetSendPercent() bool
func (*ApplyRequest) GetVersion ¶
func (x *ApplyRequest) GetVersion() int32
func (*ApplyRequest) GetWebsocketSync ¶
func (x *ApplyRequest) GetWebsocketSync() bool
func (*ApplyRequest) ProtoMessage ¶
func (*ApplyRequest) ProtoMessage()
func (*ApplyRequest) ProtoReflect ¶
func (x *ApplyRequest) ProtoReflect() protoreflect.Message
func (*ApplyRequest) Reset ¶
func (x *ApplyRequest) Reset()
func (*ApplyRequest) String ¶
func (x *ApplyRequest) String() string
func (*ApplyRequest) Validate ¶
func (m *ApplyRequest) Validate() error
Validate checks the field values on ApplyRequest 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 (*ApplyRequest) ValidateAll ¶
func (m *ApplyRequest) ValidateAll() error
ValidateAll checks the field values on ApplyRequest 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 ApplyRequestMultiError, or nil if none found.
type ApplyRequestMultiError ¶
type ApplyRequestMultiError []error
ApplyRequestMultiError is an error wrapping multiple validation errors returned by ApplyRequest.ValidateAll() if the designated constraints aren't met.
func (ApplyRequestMultiError) AllErrors ¶
func (m ApplyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyRequestMultiError) Error ¶
func (m ApplyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyRequestValidationError ¶
type ApplyRequestValidationError struct {
// contains filtered or unexported fields
}
ApplyRequestValidationError is the validation error returned by ApplyRequest.Validate if the designated constraints aren't met.
func (ApplyRequestValidationError) Cause ¶
func (e ApplyRequestValidationError) Cause() error
Cause function returns cause value.
func (ApplyRequestValidationError) Error ¶
func (e ApplyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyRequestValidationError) ErrorName ¶
func (e ApplyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyRequestValidationError) Field ¶
func (e ApplyRequestValidationError) Field() string
Field function returns field value.
func (ApplyRequestValidationError) Key ¶
func (e ApplyRequestValidationError) Key() bool
Key function returns key value.
func (ApplyRequestValidationError) Reason ¶
func (e ApplyRequestValidationError) Reason() string
Reason function returns reason value.
type ApplyResponse ¶
type ApplyResponse struct { Metadata *websocket.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Project *types.ProjectModel `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*ApplyResponse) Descriptor
deprecated
func (*ApplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyResponse.ProtoReflect.Descriptor instead.
func (*ApplyResponse) GetMetadata ¶
func (x *ApplyResponse) GetMetadata() *websocket.Metadata
func (*ApplyResponse) GetProject ¶
func (x *ApplyResponse) GetProject() *types.ProjectModel
func (*ApplyResponse) ProtoMessage ¶
func (*ApplyResponse) ProtoMessage()
func (*ApplyResponse) ProtoReflect ¶
func (x *ApplyResponse) ProtoReflect() protoreflect.Message
func (*ApplyResponse) Reset ¶
func (x *ApplyResponse) Reset()
func (*ApplyResponse) String ¶
func (x *ApplyResponse) String() string
func (*ApplyResponse) Validate ¶
func (m *ApplyResponse) Validate() error
Validate checks the field values on ApplyResponse 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 (*ApplyResponse) ValidateAll ¶
func (m *ApplyResponse) ValidateAll() error
ValidateAll checks the field values on ApplyResponse 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 ApplyResponseMultiError, or nil if none found.
type ApplyResponseMultiError ¶
type ApplyResponseMultiError []error
ApplyResponseMultiError is an error wrapping multiple validation errors returned by ApplyResponse.ValidateAll() if the designated constraints aren't met.
func (ApplyResponseMultiError) AllErrors ¶
func (m ApplyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyResponseMultiError) Error ¶
func (m ApplyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyResponseValidationError ¶
type ApplyResponseValidationError struct {
// contains filtered or unexported fields
}
ApplyResponseValidationError is the validation error returned by ApplyResponse.Validate if the designated constraints aren't met.
func (ApplyResponseValidationError) Cause ¶
func (e ApplyResponseValidationError) Cause() error
Cause function returns cause value.
func (ApplyResponseValidationError) Error ¶
func (e ApplyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyResponseValidationError) ErrorName ¶
func (e ApplyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyResponseValidationError) Field ¶
func (e ApplyResponseValidationError) Field() string
Field function returns field value.
func (ApplyResponseValidationError) Key ¶
func (e ApplyResponseValidationError) Key() bool
Key function returns key value.
func (ApplyResponseValidationError) Reason ¶
func (e ApplyResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteRequest ¶
type DeleteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetId ¶
func (x *DeleteRequest) GetId() int32
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (m *DeleteRequest) Validate() error
Validate checks the field values on DeleteRequest 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 (*DeleteRequest) ValidateAll ¶
func (m *DeleteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRequest 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 DeleteRequestMultiError, or nil if none found.
type DeleteRequestMultiError ¶
type DeleteRequestMultiError []error
DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRequestMultiError) AllErrors ¶
func (m DeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRequestMultiError) Error ¶
func (m DeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRequestValidationError ¶
type DeleteRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.
func (DeleteRequestValidationError) Cause ¶
func (e DeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRequestValidationError) Error ¶
func (e DeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRequestValidationError) ErrorName ¶
func (e DeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRequestValidationError) Field ¶
func (e DeleteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRequestValidationError) Key ¶
func (e DeleteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRequestValidationError) Reason ¶
func (e DeleteRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
func (*DeleteResponse) Validate ¶
func (m *DeleteResponse) Validate() error
Validate checks the field values on DeleteResponse 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 (*DeleteResponse) ValidateAll ¶
func (m *DeleteResponse) ValidateAll() error
ValidateAll checks the field values on DeleteResponse 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 DeleteResponseMultiError, or nil if none found.
type DeleteResponseMultiError ¶
type DeleteResponseMultiError []error
DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteResponseMultiError) AllErrors ¶
func (m DeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteResponseMultiError) Error ¶
func (m DeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteResponseValidationError ¶
type DeleteResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.
func (DeleteResponseValidationError) Cause ¶
func (e DeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteResponseValidationError) Error ¶
func (e DeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResponseValidationError) ErrorName ¶
func (e DeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResponseValidationError) Field ¶
func (e DeleteResponseValidationError) Field() string
Field function returns field value.
func (DeleteResponseValidationError) Key ¶
func (e DeleteResponseValidationError) Key() bool
Key function returns key value.
func (DeleteResponseValidationError) Reason ¶
func (e DeleteResponseValidationError) Reason() string
Reason function returns reason value.
type ListRequest ¶
type ListRequest struct { Page *int32 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"` PageSize *int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetPage ¶
func (x *ListRequest) GetPage() int32
func (*ListRequest) GetPageSize ¶
func (x *ListRequest) GetPageSize() int32
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
func (*ListRequest) Validate ¶
func (m *ListRequest) Validate() error
Validate checks the field values on ListRequest 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 (*ListRequest) ValidateAll ¶
func (m *ListRequest) ValidateAll() error
ValidateAll checks the field values on ListRequest 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 ListRequestMultiError, or nil if none found.
type ListRequestMultiError ¶
type ListRequestMultiError []error
ListRequestMultiError is an error wrapping multiple validation errors returned by ListRequest.ValidateAll() if the designated constraints aren't met.
func (ListRequestMultiError) AllErrors ¶
func (m ListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRequestMultiError) Error ¶
func (m ListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRequestValidationError ¶
type ListRequestValidationError struct {
// contains filtered or unexported fields
}
ListRequestValidationError is the validation error returned by ListRequest.Validate if the designated constraints aren't met.
func (ListRequestValidationError) Cause ¶
func (e ListRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRequestValidationError) Error ¶
func (e ListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRequestValidationError) ErrorName ¶
func (e ListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRequestValidationError) Field ¶
func (e ListRequestValidationError) Field() string
Field function returns field value.
func (ListRequestValidationError) Key ¶
func (e ListRequestValidationError) Key() bool
Key function returns key value.
func (ListRequestValidationError) Reason ¶
func (e ListRequestValidationError) Reason() string
Reason function returns reason value.
type ListResponse ¶
type ListResponse struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Items []*types.ProjectModel `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetCount ¶
func (x *ListResponse) GetCount() int32
func (*ListResponse) GetItems ¶
func (x *ListResponse) GetItems() []*types.ProjectModel
func (*ListResponse) GetPage ¶
func (x *ListResponse) GetPage() int32
func (*ListResponse) GetPageSize ¶
func (x *ListResponse) GetPageSize() int32
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
func (*ListResponse) Validate ¶
func (m *ListResponse) Validate() error
Validate checks the field values on ListResponse 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 (*ListResponse) ValidateAll ¶
func (m *ListResponse) ValidateAll() error
ValidateAll checks the field values on ListResponse 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 ListResponseMultiError, or nil if none found.
type ListResponseMultiError ¶
type ListResponseMultiError []error
ListResponseMultiError is an error wrapping multiple validation errors returned by ListResponse.ValidateAll() if the designated constraints aren't met.
func (ListResponseMultiError) AllErrors ¶
func (m ListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResponseMultiError) Error ¶
func (m ListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResponseValidationError ¶
type ListResponseValidationError struct {
// contains filtered or unexported fields
}
ListResponseValidationError is the validation error returned by ListResponse.Validate if the designated constraints aren't met.
func (ListResponseValidationError) Cause ¶
func (e ListResponseValidationError) Cause() error
Cause function returns cause value.
func (ListResponseValidationError) Error ¶
func (e ListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListResponseValidationError) ErrorName ¶
func (e ListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListResponseValidationError) Field ¶
func (e ListResponseValidationError) Field() string
Field function returns field value.
func (ListResponseValidationError) Key ¶
func (e ListResponseValidationError) Key() bool
Key function returns key value.
func (ListResponseValidationError) Reason ¶
func (e ListResponseValidationError) Reason() string
Reason function returns reason value.
type MemoryCpuAndEndpointsRequest ¶
type MemoryCpuAndEndpointsRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MemoryCpuAndEndpointsRequest) Descriptor
deprecated
func (*MemoryCpuAndEndpointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MemoryCpuAndEndpointsRequest.ProtoReflect.Descriptor instead.
func (*MemoryCpuAndEndpointsRequest) GetId ¶
func (x *MemoryCpuAndEndpointsRequest) GetId() int32
func (*MemoryCpuAndEndpointsRequest) ProtoMessage ¶
func (*MemoryCpuAndEndpointsRequest) ProtoMessage()
func (*MemoryCpuAndEndpointsRequest) ProtoReflect ¶
func (x *MemoryCpuAndEndpointsRequest) ProtoReflect() protoreflect.Message
func (*MemoryCpuAndEndpointsRequest) Reset ¶
func (x *MemoryCpuAndEndpointsRequest) Reset()
func (*MemoryCpuAndEndpointsRequest) String ¶
func (x *MemoryCpuAndEndpointsRequest) String() string
func (*MemoryCpuAndEndpointsRequest) Validate ¶
func (m *MemoryCpuAndEndpointsRequest) Validate() error
Validate checks the field values on MemoryCpuAndEndpointsRequest 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 (*MemoryCpuAndEndpointsRequest) ValidateAll ¶
func (m *MemoryCpuAndEndpointsRequest) ValidateAll() error
ValidateAll checks the field values on MemoryCpuAndEndpointsRequest 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 MemoryCpuAndEndpointsRequestMultiError, or nil if none found.
type MemoryCpuAndEndpointsRequestMultiError ¶
type MemoryCpuAndEndpointsRequestMultiError []error
MemoryCpuAndEndpointsRequestMultiError is an error wrapping multiple validation errors returned by MemoryCpuAndEndpointsRequest.ValidateAll() if the designated constraints aren't met.
func (MemoryCpuAndEndpointsRequestMultiError) AllErrors ¶
func (m MemoryCpuAndEndpointsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemoryCpuAndEndpointsRequestMultiError) Error ¶
func (m MemoryCpuAndEndpointsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemoryCpuAndEndpointsRequestValidationError ¶
type MemoryCpuAndEndpointsRequestValidationError struct {
// contains filtered or unexported fields
}
MemoryCpuAndEndpointsRequestValidationError is the validation error returned by MemoryCpuAndEndpointsRequest.Validate if the designated constraints aren't met.
func (MemoryCpuAndEndpointsRequestValidationError) Cause ¶
func (e MemoryCpuAndEndpointsRequestValidationError) Cause() error
Cause function returns cause value.
func (MemoryCpuAndEndpointsRequestValidationError) Error ¶
func (e MemoryCpuAndEndpointsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MemoryCpuAndEndpointsRequestValidationError) ErrorName ¶
func (e MemoryCpuAndEndpointsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MemoryCpuAndEndpointsRequestValidationError) Field ¶
func (e MemoryCpuAndEndpointsRequestValidationError) Field() string
Field function returns field value.
func (MemoryCpuAndEndpointsRequestValidationError) Key ¶
func (e MemoryCpuAndEndpointsRequestValidationError) Key() bool
Key function returns key value.
func (MemoryCpuAndEndpointsRequestValidationError) Reason ¶
func (e MemoryCpuAndEndpointsRequestValidationError) Reason() string
Reason function returns reason value.
type MemoryCpuAndEndpointsResponse ¶
type MemoryCpuAndEndpointsResponse struct { Urls []*types.ServiceEndpoint `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` Cpu string `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory string `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
func (*MemoryCpuAndEndpointsResponse) Descriptor
deprecated
func (*MemoryCpuAndEndpointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MemoryCpuAndEndpointsResponse.ProtoReflect.Descriptor instead.
func (*MemoryCpuAndEndpointsResponse) GetCpu ¶
func (x *MemoryCpuAndEndpointsResponse) GetCpu() string
func (*MemoryCpuAndEndpointsResponse) GetMemory ¶
func (x *MemoryCpuAndEndpointsResponse) GetMemory() string
func (*MemoryCpuAndEndpointsResponse) GetUrls ¶
func (x *MemoryCpuAndEndpointsResponse) GetUrls() []*types.ServiceEndpoint
func (*MemoryCpuAndEndpointsResponse) ProtoMessage ¶
func (*MemoryCpuAndEndpointsResponse) ProtoMessage()
func (*MemoryCpuAndEndpointsResponse) ProtoReflect ¶
func (x *MemoryCpuAndEndpointsResponse) ProtoReflect() protoreflect.Message
func (*MemoryCpuAndEndpointsResponse) Reset ¶
func (x *MemoryCpuAndEndpointsResponse) Reset()
func (*MemoryCpuAndEndpointsResponse) String ¶
func (x *MemoryCpuAndEndpointsResponse) String() string
func (*MemoryCpuAndEndpointsResponse) Validate ¶
func (m *MemoryCpuAndEndpointsResponse) Validate() error
Validate checks the field values on MemoryCpuAndEndpointsResponse 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 (*MemoryCpuAndEndpointsResponse) ValidateAll ¶
func (m *MemoryCpuAndEndpointsResponse) ValidateAll() error
ValidateAll checks the field values on MemoryCpuAndEndpointsResponse 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 MemoryCpuAndEndpointsResponseMultiError, or nil if none found.
type MemoryCpuAndEndpointsResponseMultiError ¶
type MemoryCpuAndEndpointsResponseMultiError []error
MemoryCpuAndEndpointsResponseMultiError is an error wrapping multiple validation errors returned by MemoryCpuAndEndpointsResponse.ValidateAll() if the designated constraints aren't met.
func (MemoryCpuAndEndpointsResponseMultiError) AllErrors ¶
func (m MemoryCpuAndEndpointsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemoryCpuAndEndpointsResponseMultiError) Error ¶
func (m MemoryCpuAndEndpointsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemoryCpuAndEndpointsResponseValidationError ¶
type MemoryCpuAndEndpointsResponseValidationError struct {
// contains filtered or unexported fields
}
MemoryCpuAndEndpointsResponseValidationError is the validation error returned by MemoryCpuAndEndpointsResponse.Validate if the designated constraints aren't met.
func (MemoryCpuAndEndpointsResponseValidationError) Cause ¶
func (e MemoryCpuAndEndpointsResponseValidationError) Cause() error
Cause function returns cause value.
func (MemoryCpuAndEndpointsResponseValidationError) Error ¶
func (e MemoryCpuAndEndpointsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MemoryCpuAndEndpointsResponseValidationError) ErrorName ¶
func (e MemoryCpuAndEndpointsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MemoryCpuAndEndpointsResponseValidationError) Field ¶
func (e MemoryCpuAndEndpointsResponseValidationError) Field() string
Field function returns field value.
func (MemoryCpuAndEndpointsResponseValidationError) Key ¶
func (e MemoryCpuAndEndpointsResponseValidationError) Key() bool
Key function returns key value.
func (MemoryCpuAndEndpointsResponseValidationError) Reason ¶
func (e MemoryCpuAndEndpointsResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectClient ¶
type ProjectClient interface { // List 获取项目列表 List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // Apply grpc 创建/更新项目 Apply(ctx context.Context, in *ApplyRequest, opts ...grpc.CallOption) (Project_ApplyClient, error) // WebApply 创建/更新/DryRun 项目 WebApply(ctx context.Context, in *WebApplyRequest, opts ...grpc.CallOption) (*WebApplyResponse, error) // Show 项目详情 Show(ctx context.Context, in *ShowRequest, opts ...grpc.CallOption) (*ShowResponse, error) MemoryCpuAndEndpoints(ctx context.Context, in *MemoryCpuAndEndpointsRequest, opts ...grpc.CallOption) (*MemoryCpuAndEndpointsResponse, error) // Version 版本号, 如果不存在则返回 0 Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) // Delete 删除项目 Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // AllContainers 获取项目下的所有 pod AllContainers(ctx context.Context, in *AllContainersRequest, opts ...grpc.CallOption) (*AllContainersResponse, error) }
ProjectClient is the client API for Project 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 NewProjectClient ¶
func NewProjectClient(cc grpc.ClientConnInterface) ProjectClient
type ProjectServer ¶
type ProjectServer interface { // List 获取项目列表 List(context.Context, *ListRequest) (*ListResponse, error) // Apply grpc 创建/更新项目 Apply(*ApplyRequest, Project_ApplyServer) error // WebApply 创建/更新/DryRun 项目 WebApply(context.Context, *WebApplyRequest) (*WebApplyResponse, error) // Show 项目详情 Show(context.Context, *ShowRequest) (*ShowResponse, error) MemoryCpuAndEndpoints(context.Context, *MemoryCpuAndEndpointsRequest) (*MemoryCpuAndEndpointsResponse, error) // Version 版本号, 如果不存在则返回 0 Version(context.Context, *VersionRequest) (*VersionResponse, error) // Delete 删除项目 Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // AllContainers 获取项目下的所有 pod AllContainers(context.Context, *AllContainersRequest) (*AllContainersResponse, error) // contains filtered or unexported methods }
ProjectServer is the server API for Project service. All implementations must embed UnimplementedProjectServer for forward compatibility
type Project_ApplyClient ¶
type Project_ApplyClient interface { Recv() (*ApplyResponse, error) grpc.ClientStream }
type Project_ApplyServer ¶
type Project_ApplyServer interface { Send(*ApplyResponse) error grpc.ServerStream }
type ShowRequest ¶
type ShowRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ShowRequest) Descriptor
deprecated
func (*ShowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowRequest.ProtoReflect.Descriptor instead.
func (*ShowRequest) GetId ¶
func (x *ShowRequest) GetId() int32
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 { Item *types.ProjectModel `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*ShowResponse) Descriptor
deprecated
func (*ShowResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowResponse.ProtoReflect.Descriptor instead.
func (*ShowResponse) GetItem ¶
func (x *ShowResponse) GetItem() *types.ProjectModel
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 UnimplementedProjectServer ¶
type UnimplementedProjectServer struct { }
UnimplementedProjectServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectServer) AllContainers ¶
func (UnimplementedProjectServer) AllContainers(context.Context, *AllContainersRequest) (*AllContainersResponse, error)
func (UnimplementedProjectServer) Apply ¶
func (UnimplementedProjectServer) Apply(*ApplyRequest, Project_ApplyServer) error
func (UnimplementedProjectServer) Delete ¶
func (UnimplementedProjectServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedProjectServer) List ¶
func (UnimplementedProjectServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedProjectServer) MemoryCpuAndEndpoints ¶
func (UnimplementedProjectServer) MemoryCpuAndEndpoints(context.Context, *MemoryCpuAndEndpointsRequest) (*MemoryCpuAndEndpointsResponse, error)
func (UnimplementedProjectServer) Show ¶
func (UnimplementedProjectServer) Show(context.Context, *ShowRequest) (*ShowResponse, error)
func (UnimplementedProjectServer) Version ¶
func (UnimplementedProjectServer) Version(context.Context, *VersionRequest) (*VersionResponse, error)
func (UnimplementedProjectServer) WebApply ¶
func (UnimplementedProjectServer) WebApply(context.Context, *WebApplyRequest) (*WebApplyResponse, error)
type UnsafeProjectServer ¶
type UnsafeProjectServer interface {
// contains filtered or unexported methods
}
UnsafeProjectServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectServer will result in compilation errors.
type VersionRequest ¶
type VersionRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*VersionRequest) Descriptor
deprecated
func (*VersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.
func (*VersionRequest) GetId ¶
func (x *VersionRequest) GetId() int32
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) ProtoReflect ¶
func (x *VersionRequest) ProtoReflect() protoreflect.Message
func (*VersionRequest) Reset ¶
func (x *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (x *VersionRequest) String() string
func (*VersionRequest) Validate ¶
func (m *VersionRequest) Validate() error
Validate checks the field values on VersionRequest 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 (*VersionRequest) ValidateAll ¶
func (m *VersionRequest) ValidateAll() error
ValidateAll checks the field values on VersionRequest 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 VersionRequestMultiError, or nil if none found.
type VersionRequestMultiError ¶
type VersionRequestMultiError []error
VersionRequestMultiError is an error wrapping multiple validation errors returned by VersionRequest.ValidateAll() if the designated constraints aren't met.
func (VersionRequestMultiError) AllErrors ¶
func (m VersionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionRequestMultiError) Error ¶
func (m VersionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionRequestValidationError ¶
type VersionRequestValidationError struct {
// contains filtered or unexported fields
}
VersionRequestValidationError is the validation error returned by VersionRequest.Validate if the designated constraints aren't met.
func (VersionRequestValidationError) Cause ¶
func (e VersionRequestValidationError) Cause() error
Cause function returns cause value.
func (VersionRequestValidationError) Error ¶
func (e VersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VersionRequestValidationError) ErrorName ¶
func (e VersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VersionRequestValidationError) Field ¶
func (e VersionRequestValidationError) Field() string
Field function returns field value.
func (VersionRequestValidationError) Key ¶
func (e VersionRequestValidationError) Key() bool
Key function returns key value.
func (VersionRequestValidationError) Reason ¶
func (e VersionRequestValidationError) Reason() string
Reason function returns reason value.
type VersionResponse ¶
type VersionResponse struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() int32
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
func (*VersionResponse) Validate ¶
func (m *VersionResponse) Validate() error
Validate checks the field values on VersionResponse 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 (*VersionResponse) ValidateAll ¶
func (m *VersionResponse) ValidateAll() error
ValidateAll checks the field values on VersionResponse 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 VersionResponseMultiError, or nil if none found.
type VersionResponseMultiError ¶
type VersionResponseMultiError []error
VersionResponseMultiError is an error wrapping multiple validation errors returned by VersionResponse.ValidateAll() if the designated constraints aren't met.
func (VersionResponseMultiError) AllErrors ¶
func (m VersionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionResponseMultiError) Error ¶
func (m VersionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionResponseValidationError ¶
type VersionResponseValidationError struct {
// contains filtered or unexported fields
}
VersionResponseValidationError is the validation error returned by VersionResponse.Validate if the designated constraints aren't met.
func (VersionResponseValidationError) Cause ¶
func (e VersionResponseValidationError) Cause() error
Cause function returns cause value.
func (VersionResponseValidationError) Error ¶
func (e VersionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (VersionResponseValidationError) ErrorName ¶
func (e VersionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (VersionResponseValidationError) Field ¶
func (e VersionResponseValidationError) Field() string
Field function returns field value.
func (VersionResponseValidationError) Key ¶
func (e VersionResponseValidationError) Key() bool
Key function returns key value.
func (VersionResponseValidationError) Reason ¶
func (e VersionResponseValidationError) Reason() string
Reason function returns reason value.
type WebApplyRequest ¶
type WebApplyRequest struct { NamespaceId int32 `protobuf:"varint,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` RepoId int32 `protobuf:"varint,3,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` GitBranch string `protobuf:"bytes,4,opt,name=git_branch,json=gitBranch,proto3" json:"git_branch,omitempty"` // git_commit 不传就用最新的 commit GitCommit string `protobuf:"bytes,5,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` Config string `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` ExtraValues []*websocket.ExtraValue `protobuf:"bytes,7,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` // 版本号, dryRun 时可以不传 Version *int32 `protobuf:"varint,8,opt,name=version,proto3,oneof" json:"version,omitempty"` DryRun bool `protobuf:"varint,9,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*WebApplyRequest) Descriptor
deprecated
func (*WebApplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use WebApplyRequest.ProtoReflect.Descriptor instead.
func (*WebApplyRequest) GetConfig ¶
func (x *WebApplyRequest) GetConfig() string
func (*WebApplyRequest) GetDryRun ¶
func (x *WebApplyRequest) GetDryRun() bool
func (*WebApplyRequest) GetExtraValues ¶
func (x *WebApplyRequest) GetExtraValues() []*websocket.ExtraValue
func (*WebApplyRequest) GetGitBranch ¶
func (x *WebApplyRequest) GetGitBranch() string
func (*WebApplyRequest) GetGitCommit ¶
func (x *WebApplyRequest) GetGitCommit() string
func (*WebApplyRequest) GetName ¶
func (x *WebApplyRequest) GetName() string
func (*WebApplyRequest) GetNamespaceId ¶
func (x *WebApplyRequest) GetNamespaceId() int32
func (*WebApplyRequest) GetRepoId ¶
func (x *WebApplyRequest) GetRepoId() int32
func (*WebApplyRequest) GetVersion ¶
func (x *WebApplyRequest) GetVersion() int32
func (*WebApplyRequest) ProtoMessage ¶
func (*WebApplyRequest) ProtoMessage()
func (*WebApplyRequest) ProtoReflect ¶
func (x *WebApplyRequest) ProtoReflect() protoreflect.Message
func (*WebApplyRequest) Reset ¶
func (x *WebApplyRequest) Reset()
func (*WebApplyRequest) String ¶
func (x *WebApplyRequest) String() string
func (*WebApplyRequest) Validate ¶
func (m *WebApplyRequest) Validate() error
Validate checks the field values on WebApplyRequest 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 (*WebApplyRequest) ValidateAll ¶
func (m *WebApplyRequest) ValidateAll() error
ValidateAll checks the field values on WebApplyRequest 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 WebApplyRequestMultiError, or nil if none found.
type WebApplyRequestMultiError ¶
type WebApplyRequestMultiError []error
WebApplyRequestMultiError is an error wrapping multiple validation errors returned by WebApplyRequest.ValidateAll() if the designated constraints aren't met.
func (WebApplyRequestMultiError) AllErrors ¶
func (m WebApplyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebApplyRequestMultiError) Error ¶
func (m WebApplyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebApplyRequestValidationError ¶
type WebApplyRequestValidationError struct {
// contains filtered or unexported fields
}
WebApplyRequestValidationError is the validation error returned by WebApplyRequest.Validate if the designated constraints aren't met.
func (WebApplyRequestValidationError) Cause ¶
func (e WebApplyRequestValidationError) Cause() error
Cause function returns cause value.
func (WebApplyRequestValidationError) Error ¶
func (e WebApplyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WebApplyRequestValidationError) ErrorName ¶
func (e WebApplyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WebApplyRequestValidationError) Field ¶
func (e WebApplyRequestValidationError) Field() string
Field function returns field value.
func (WebApplyRequestValidationError) Key ¶
func (e WebApplyRequestValidationError) Key() bool
Key function returns key value.
func (WebApplyRequestValidationError) Reason ¶
func (e WebApplyRequestValidationError) Reason() string
Reason function returns reason value.
type WebApplyResponse ¶
type WebApplyResponse struct { YamlFiles []string `protobuf:"bytes,1,rep,name=yaml_files,json=yamlFiles,proto3" json:"yaml_files,omitempty"` Project *types.ProjectModel `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*WebApplyResponse) Descriptor
deprecated
func (*WebApplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use WebApplyResponse.ProtoReflect.Descriptor instead.
func (*WebApplyResponse) GetDryRun ¶
func (x *WebApplyResponse) GetDryRun() bool
func (*WebApplyResponse) GetProject ¶
func (x *WebApplyResponse) GetProject() *types.ProjectModel
func (*WebApplyResponse) GetYamlFiles ¶
func (x *WebApplyResponse) GetYamlFiles() []string
func (*WebApplyResponse) ProtoMessage ¶
func (*WebApplyResponse) ProtoMessage()
func (*WebApplyResponse) ProtoReflect ¶
func (x *WebApplyResponse) ProtoReflect() protoreflect.Message
func (*WebApplyResponse) Reset ¶
func (x *WebApplyResponse) Reset()
func (*WebApplyResponse) String ¶
func (x *WebApplyResponse) String() string
func (*WebApplyResponse) Validate ¶
func (m *WebApplyResponse) Validate() error
Validate checks the field values on WebApplyResponse 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 (*WebApplyResponse) ValidateAll ¶
func (m *WebApplyResponse) ValidateAll() error
ValidateAll checks the field values on WebApplyResponse 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 WebApplyResponseMultiError, or nil if none found.
type WebApplyResponseMultiError ¶
type WebApplyResponseMultiError []error
WebApplyResponseMultiError is an error wrapping multiple validation errors returned by WebApplyResponse.ValidateAll() if the designated constraints aren't met.
func (WebApplyResponseMultiError) AllErrors ¶
func (m WebApplyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebApplyResponseMultiError) Error ¶
func (m WebApplyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebApplyResponseValidationError ¶
type WebApplyResponseValidationError struct {
// contains filtered or unexported fields
}
WebApplyResponseValidationError is the validation error returned by WebApplyResponse.Validate if the designated constraints aren't met.
func (WebApplyResponseValidationError) Cause ¶
func (e WebApplyResponseValidationError) Cause() error
Cause function returns cause value.
func (WebApplyResponseValidationError) Error ¶
func (e WebApplyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WebApplyResponseValidationError) ErrorName ¶
func (e WebApplyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WebApplyResponseValidationError) Field ¶
func (e WebApplyResponseValidationError) Field() string
Field function returns field value.
func (WebApplyResponseValidationError) Key ¶
func (e WebApplyResponseValidationError) Key() bool
Key function returns key value.
func (WebApplyResponseValidationError) Reason ¶
func (e WebApplyResponseValidationError) Reason() string
Reason function returns reason value.