Documentation ¶
Overview ¶
Package project is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- 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 ProjectAllPodContainersRequest
- func (*ProjectAllPodContainersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectAllPodContainersRequest) GetProjectId() int64
- func (*ProjectAllPodContainersRequest) ProtoMessage()
- func (x *ProjectAllPodContainersRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectAllPodContainersRequest) Reset()
- func (x *ProjectAllPodContainersRequest) String() string
- func (m *ProjectAllPodContainersRequest) Validate() error
- func (m *ProjectAllPodContainersRequest) ValidateAll() error
- type ProjectAllPodContainersRequestMultiError
- type ProjectAllPodContainersRequestValidationError
- func (e ProjectAllPodContainersRequestValidationError) Cause() error
- func (e ProjectAllPodContainersRequestValidationError) Error() string
- func (e ProjectAllPodContainersRequestValidationError) ErrorName() string
- func (e ProjectAllPodContainersRequestValidationError) Field() string
- func (e ProjectAllPodContainersRequestValidationError) Key() bool
- func (e ProjectAllPodContainersRequestValidationError) Reason() string
- type ProjectAllPodContainersResponse
- func (*ProjectAllPodContainersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectAllPodContainersResponse) GetData() []*ProjectPodLog
- func (*ProjectAllPodContainersResponse) ProtoMessage()
- func (x *ProjectAllPodContainersResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectAllPodContainersResponse) Reset()
- func (x *ProjectAllPodContainersResponse) String() string
- func (m *ProjectAllPodContainersResponse) Validate() error
- func (m *ProjectAllPodContainersResponse) ValidateAll() error
- type ProjectAllPodContainersResponseMultiError
- type ProjectAllPodContainersResponseValidationError
- func (e ProjectAllPodContainersResponseValidationError) Cause() error
- func (e ProjectAllPodContainersResponseValidationError) Error() string
- func (e ProjectAllPodContainersResponseValidationError) ErrorName() string
- func (e ProjectAllPodContainersResponseValidationError) Field() string
- func (e ProjectAllPodContainersResponseValidationError) Key() bool
- func (e ProjectAllPodContainersResponseValidationError) Reason() string
- type ProjectApplyRequest
- func (*ProjectApplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectApplyRequest) GetAtomic() bool
- func (x *ProjectApplyRequest) GetConfig() string
- func (x *ProjectApplyRequest) GetExtraValues() []*websocket.ProjectExtraItem
- func (x *ProjectApplyRequest) GetGitlabBranch() string
- func (x *ProjectApplyRequest) GetGitlabCommit() string
- func (x *ProjectApplyRequest) GetGitlabProjectId() int64
- func (x *ProjectApplyRequest) GetName() string
- func (x *ProjectApplyRequest) GetNamespaceId() int64
- func (x *ProjectApplyRequest) GetWebsocketSync() bool
- func (*ProjectApplyRequest) ProtoMessage()
- func (x *ProjectApplyRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectApplyRequest) Reset()
- func (x *ProjectApplyRequest) String() string
- func (m *ProjectApplyRequest) Validate() error
- func (m *ProjectApplyRequest) ValidateAll() error
- type ProjectApplyRequestMultiError
- type ProjectApplyRequestValidationError
- func (e ProjectApplyRequestValidationError) Cause() error
- func (e ProjectApplyRequestValidationError) Error() string
- func (e ProjectApplyRequestValidationError) ErrorName() string
- func (e ProjectApplyRequestValidationError) Field() string
- func (e ProjectApplyRequestValidationError) Key() bool
- func (e ProjectApplyRequestValidationError) Reason() string
- type ProjectApplyResponse
- func (*ProjectApplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectApplyResponse) GetMetadata() *websocket.Metadata
- func (x *ProjectApplyResponse) GetProject() *model.ProjectModel
- func (*ProjectApplyResponse) ProtoMessage()
- func (x *ProjectApplyResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectApplyResponse) Reset()
- func (x *ProjectApplyResponse) String() string
- func (m *ProjectApplyResponse) Validate() error
- func (m *ProjectApplyResponse) ValidateAll() error
- type ProjectApplyResponseMultiError
- type ProjectApplyResponseValidationError
- func (e ProjectApplyResponseValidationError) Cause() error
- func (e ProjectApplyResponseValidationError) Error() string
- func (e ProjectApplyResponseValidationError) ErrorName() string
- func (e ProjectApplyResponseValidationError) Field() string
- func (e ProjectApplyResponseValidationError) Key() bool
- func (e ProjectApplyResponseValidationError) Reason() string
- type ProjectClient
- type ProjectDeleteRequest
- func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectDeleteRequest) GetProjectId() int64
- func (*ProjectDeleteRequest) ProtoMessage()
- func (x *ProjectDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectDeleteRequest) Reset()
- func (x *ProjectDeleteRequest) String() string
- func (m *ProjectDeleteRequest) Validate() error
- func (m *ProjectDeleteRequest) ValidateAll() error
- type ProjectDeleteRequestMultiError
- type ProjectDeleteRequestValidationError
- func (e ProjectDeleteRequestValidationError) Cause() error
- func (e ProjectDeleteRequestValidationError) Error() string
- func (e ProjectDeleteRequestValidationError) ErrorName() string
- func (e ProjectDeleteRequestValidationError) Field() string
- func (e ProjectDeleteRequestValidationError) Key() bool
- func (e ProjectDeleteRequestValidationError) Reason() string
- type ProjectDeleteResponse
- func (*ProjectDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*ProjectDeleteResponse) ProtoMessage()
- func (x *ProjectDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectDeleteResponse) Reset()
- func (x *ProjectDeleteResponse) String() string
- func (m *ProjectDeleteResponse) Validate() error
- func (m *ProjectDeleteResponse) ValidateAll() error
- type ProjectDeleteResponseMultiError
- type ProjectDeleteResponseValidationError
- func (e ProjectDeleteResponseValidationError) Cause() error
- func (e ProjectDeleteResponseValidationError) Error() string
- func (e ProjectDeleteResponseValidationError) ErrorName() string
- func (e ProjectDeleteResponseValidationError) Field() string
- func (e ProjectDeleteResponseValidationError) Key() bool
- func (e ProjectDeleteResponseValidationError) Reason() string
- type ProjectIsPodExistsRequest
- func (*ProjectIsPodExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectIsPodExistsRequest) GetNamespace() string
- func (x *ProjectIsPodExistsRequest) GetPod() string
- func (*ProjectIsPodExistsRequest) ProtoMessage()
- func (x *ProjectIsPodExistsRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectIsPodExistsRequest) Reset()
- func (x *ProjectIsPodExistsRequest) String() string
- func (m *ProjectIsPodExistsRequest) Validate() error
- func (m *ProjectIsPodExistsRequest) ValidateAll() error
- type ProjectIsPodExistsRequestMultiError
- type ProjectIsPodExistsRequestValidationError
- func (e ProjectIsPodExistsRequestValidationError) Cause() error
- func (e ProjectIsPodExistsRequestValidationError) Error() string
- func (e ProjectIsPodExistsRequestValidationError) ErrorName() string
- func (e ProjectIsPodExistsRequestValidationError) Field() string
- func (e ProjectIsPodExistsRequestValidationError) Key() bool
- func (e ProjectIsPodExistsRequestValidationError) Reason() string
- type ProjectIsPodExistsResponse
- func (*ProjectIsPodExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectIsPodExistsResponse) GetExists() bool
- func (*ProjectIsPodExistsResponse) ProtoMessage()
- func (x *ProjectIsPodExistsResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectIsPodExistsResponse) Reset()
- func (x *ProjectIsPodExistsResponse) String() string
- func (m *ProjectIsPodExistsResponse) Validate() error
- func (m *ProjectIsPodExistsResponse) ValidateAll() error
- type ProjectIsPodExistsResponseMultiError
- type ProjectIsPodExistsResponseValidationError
- func (e ProjectIsPodExistsResponseValidationError) Cause() error
- func (e ProjectIsPodExistsResponseValidationError) Error() string
- func (e ProjectIsPodExistsResponseValidationError) ErrorName() string
- func (e ProjectIsPodExistsResponseValidationError) Field() string
- func (e ProjectIsPodExistsResponseValidationError) Key() bool
- func (e ProjectIsPodExistsResponseValidationError) Reason() string
- type ProjectIsPodRunningRequest
- func (*ProjectIsPodRunningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectIsPodRunningRequest) GetNamespace() string
- func (x *ProjectIsPodRunningRequest) GetPod() string
- func (*ProjectIsPodRunningRequest) ProtoMessage()
- func (x *ProjectIsPodRunningRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectIsPodRunningRequest) Reset()
- func (x *ProjectIsPodRunningRequest) String() string
- func (m *ProjectIsPodRunningRequest) Validate() error
- func (m *ProjectIsPodRunningRequest) ValidateAll() error
- type ProjectIsPodRunningRequestMultiError
- type ProjectIsPodRunningRequestValidationError
- func (e ProjectIsPodRunningRequestValidationError) Cause() error
- func (e ProjectIsPodRunningRequestValidationError) Error() string
- func (e ProjectIsPodRunningRequestValidationError) ErrorName() string
- func (e ProjectIsPodRunningRequestValidationError) Field() string
- func (e ProjectIsPodRunningRequestValidationError) Key() bool
- func (e ProjectIsPodRunningRequestValidationError) Reason() string
- type ProjectIsPodRunningResponse
- func (*ProjectIsPodRunningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectIsPodRunningResponse) GetReason() string
- func (x *ProjectIsPodRunningResponse) GetRunning() bool
- func (*ProjectIsPodRunningResponse) ProtoMessage()
- func (x *ProjectIsPodRunningResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectIsPodRunningResponse) Reset()
- func (x *ProjectIsPodRunningResponse) String() string
- func (m *ProjectIsPodRunningResponse) Validate() error
- func (m *ProjectIsPodRunningResponse) ValidateAll() error
- type ProjectIsPodRunningResponseMultiError
- type ProjectIsPodRunningResponseValidationError
- func (e ProjectIsPodRunningResponseValidationError) Cause() error
- func (e ProjectIsPodRunningResponseValidationError) Error() string
- func (e ProjectIsPodRunningResponseValidationError) ErrorName() string
- func (e ProjectIsPodRunningResponseValidationError) Field() string
- func (e ProjectIsPodRunningResponseValidationError) Key() bool
- func (e ProjectIsPodRunningResponseValidationError) Reason() string
- type ProjectListRequest
- func (*ProjectListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectListRequest) GetPage() int64
- func (x *ProjectListRequest) GetPageSize() int64
- func (*ProjectListRequest) ProtoMessage()
- func (x *ProjectListRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectListRequest) Reset()
- func (x *ProjectListRequest) String() string
- func (m *ProjectListRequest) Validate() error
- func (m *ProjectListRequest) ValidateAll() error
- type ProjectListRequestMultiError
- type ProjectListRequestValidationError
- func (e ProjectListRequestValidationError) Cause() error
- func (e ProjectListRequestValidationError) Error() string
- func (e ProjectListRequestValidationError) ErrorName() string
- func (e ProjectListRequestValidationError) Field() string
- func (e ProjectListRequestValidationError) Key() bool
- func (e ProjectListRequestValidationError) Reason() string
- type ProjectListResponse
- func (*ProjectListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectListResponse) GetCount() int64
- func (x *ProjectListResponse) GetData() []*model.ProjectModel
- func (x *ProjectListResponse) GetPage() int64
- func (x *ProjectListResponse) GetPageSize() int64
- func (*ProjectListResponse) ProtoMessage()
- func (x *ProjectListResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectListResponse) Reset()
- func (x *ProjectListResponse) String() string
- func (m *ProjectListResponse) Validate() error
- func (m *ProjectListResponse) ValidateAll() error
- type ProjectListResponseMultiError
- type ProjectListResponseValidationError
- func (e ProjectListResponseValidationError) Cause() error
- func (e ProjectListResponseValidationError) Error() string
- func (e ProjectListResponseValidationError) ErrorName() string
- func (e ProjectListResponseValidationError) Field() string
- func (e ProjectListResponseValidationError) Key() bool
- func (e ProjectListResponseValidationError) Reason() string
- type ProjectPodContainerLogRequest
- func (*ProjectPodContainerLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPodContainerLogRequest) GetContainer() string
- func (x *ProjectPodContainerLogRequest) GetPod() string
- func (x *ProjectPodContainerLogRequest) GetProjectId() int64
- func (*ProjectPodContainerLogRequest) ProtoMessage()
- func (x *ProjectPodContainerLogRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectPodContainerLogRequest) Reset()
- func (x *ProjectPodContainerLogRequest) String() string
- func (m *ProjectPodContainerLogRequest) Validate() error
- func (m *ProjectPodContainerLogRequest) ValidateAll() error
- type ProjectPodContainerLogRequestMultiError
- type ProjectPodContainerLogRequestValidationError
- func (e ProjectPodContainerLogRequestValidationError) Cause() error
- func (e ProjectPodContainerLogRequestValidationError) Error() string
- func (e ProjectPodContainerLogRequestValidationError) ErrorName() string
- func (e ProjectPodContainerLogRequestValidationError) Field() string
- func (e ProjectPodContainerLogRequestValidationError) Key() bool
- func (e ProjectPodContainerLogRequestValidationError) Reason() string
- type ProjectPodContainerLogResponse
- func (*ProjectPodContainerLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPodContainerLogResponse) GetData() *ProjectPodLog
- func (*ProjectPodContainerLogResponse) ProtoMessage()
- func (x *ProjectPodContainerLogResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectPodContainerLogResponse) Reset()
- func (x *ProjectPodContainerLogResponse) String() string
- func (m *ProjectPodContainerLogResponse) Validate() error
- func (m *ProjectPodContainerLogResponse) ValidateAll() error
- type ProjectPodContainerLogResponseMultiError
- type ProjectPodContainerLogResponseValidationError
- func (e ProjectPodContainerLogResponseValidationError) Cause() error
- func (e ProjectPodContainerLogResponseValidationError) Error() string
- func (e ProjectPodContainerLogResponseValidationError) ErrorName() string
- func (e ProjectPodContainerLogResponseValidationError) Field() string
- func (e ProjectPodContainerLogResponseValidationError) Key() bool
- func (e ProjectPodContainerLogResponseValidationError) Reason() string
- type ProjectPodLog
- func (*ProjectPodLog) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPodLog) GetContainerName() string
- func (x *ProjectPodLog) GetLog() string
- func (x *ProjectPodLog) GetNamespace() string
- func (x *ProjectPodLog) GetPodName() string
- func (*ProjectPodLog) ProtoMessage()
- func (x *ProjectPodLog) ProtoReflect() protoreflect.Message
- func (x *ProjectPodLog) Reset()
- func (x *ProjectPodLog) String() string
- func (m *ProjectPodLog) Validate() error
- func (m *ProjectPodLog) ValidateAll() error
- type ProjectPodLogMultiError
- type ProjectPodLogValidationError
- func (e ProjectPodLogValidationError) Cause() error
- func (e ProjectPodLogValidationError) Error() string
- func (e ProjectPodLogValidationError) ErrorName() string
- func (e ProjectPodLogValidationError) Field() string
- func (e ProjectPodLogValidationError) Key() bool
- func (e ProjectPodLogValidationError) Reason() string
- type ProjectServer
- type ProjectShowRequest
- func (*ProjectShowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectShowRequest) GetProjectId() int64
- func (*ProjectShowRequest) ProtoMessage()
- func (x *ProjectShowRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectShowRequest) Reset()
- func (x *ProjectShowRequest) String() string
- func (m *ProjectShowRequest) Validate() error
- func (m *ProjectShowRequest) ValidateAll() error
- type ProjectShowRequestMultiError
- type ProjectShowRequestValidationError
- func (e ProjectShowRequestValidationError) Cause() error
- func (e ProjectShowRequestValidationError) Error() string
- func (e ProjectShowRequestValidationError) ErrorName() string
- func (e ProjectShowRequestValidationError) Field() string
- func (e ProjectShowRequestValidationError) Key() bool
- func (e ProjectShowRequestValidationError) Reason() string
- type ProjectShowResponse
- func (*ProjectShowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectShowResponse) GetAtomic() bool
- func (x *ProjectShowResponse) GetConfig() string
- func (x *ProjectShowResponse) GetConfigType() string
- func (x *ProjectShowResponse) GetCpu() string
- func (x *ProjectShowResponse) GetCreatedAt() string
- func (x *ProjectShowResponse) GetDockerImage() string
- func (x *ProjectShowResponse) GetElements() []*mars.Element
- func (x *ProjectShowResponse) GetExtraValues() []*websocket.ProjectExtraItem
- func (x *ProjectShowResponse) GetGitlabBranch() string
- func (x *ProjectShowResponse) GetGitlabCommit() string
- func (x *ProjectShowResponse) GetGitlabCommitAuthor() string
- func (x *ProjectShowResponse) GetGitlabCommitDate() string
- func (x *ProjectShowResponse) GetGitlabCommitTitle() string
- func (x *ProjectShowResponse) GetGitlabCommitWebUrl() string
- func (x *ProjectShowResponse) GetGitlabProjectId() int64
- func (x *ProjectShowResponse) GetHumanizeCreatedAt() string
- func (x *ProjectShowResponse) GetHumanizeUpdatedAt() string
- func (x *ProjectShowResponse) GetId() int64
- func (x *ProjectShowResponse) GetMemory() string
- func (x *ProjectShowResponse) GetName() string
- func (x *ProjectShowResponse) GetNamespace() *ProjectShowResponse_Namespace
- func (x *ProjectShowResponse) GetOverrideValues() string
- func (x *ProjectShowResponse) GetUpdatedAt() string
- func (x *ProjectShowResponse) GetUrls() []*namespace.NamespaceServiceEndpoint
- func (*ProjectShowResponse) ProtoMessage()
- func (x *ProjectShowResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectShowResponse) Reset()
- func (x *ProjectShowResponse) String() string
- func (m *ProjectShowResponse) Validate() error
- func (m *ProjectShowResponse) ValidateAll() error
- type ProjectShowResponseMultiError
- type ProjectShowResponseValidationError
- func (e ProjectShowResponseValidationError) Cause() error
- func (e ProjectShowResponseValidationError) Error() string
- func (e ProjectShowResponseValidationError) ErrorName() string
- func (e ProjectShowResponseValidationError) Field() string
- func (e ProjectShowResponseValidationError) Key() bool
- func (e ProjectShowResponseValidationError) Reason() string
- type ProjectShowResponse_Namespace
- func (*ProjectShowResponse_Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectShowResponse_Namespace) GetId() int64
- func (x *ProjectShowResponse_Namespace) GetName() string
- func (*ProjectShowResponse_Namespace) ProtoMessage()
- func (x *ProjectShowResponse_Namespace) ProtoReflect() protoreflect.Message
- func (x *ProjectShowResponse_Namespace) Reset()
- func (x *ProjectShowResponse_Namespace) String() string
- func (m *ProjectShowResponse_Namespace) Validate() error
- func (m *ProjectShowResponse_Namespace) ValidateAll() error
- type ProjectShowResponse_NamespaceMultiError
- type ProjectShowResponse_NamespaceValidationError
- func (e ProjectShowResponse_NamespaceValidationError) Cause() error
- func (e ProjectShowResponse_NamespaceValidationError) Error() string
- func (e ProjectShowResponse_NamespaceValidationError) ErrorName() string
- func (e ProjectShowResponse_NamespaceValidationError) Field() string
- func (e ProjectShowResponse_NamespaceValidationError) Key() bool
- func (e ProjectShowResponse_NamespaceValidationError) Reason() string
- type Project_ApplyClient
- type Project_ApplyServer
- type Project_StreamPodContainerLogClient
- type Project_StreamPodContainerLogServer
- type UnimplementedProjectServer
- func (UnimplementedProjectServer) AllPodContainers(context.Context, *ProjectAllPodContainersRequest) (*ProjectAllPodContainersResponse, error)
- func (UnimplementedProjectServer) Apply(*ProjectApplyRequest, Project_ApplyServer) error
- func (UnimplementedProjectServer) Delete(context.Context, *ProjectDeleteRequest) (*ProjectDeleteResponse, error)
- func (UnimplementedProjectServer) IsPodExists(context.Context, *ProjectIsPodExistsRequest) (*ProjectIsPodExistsResponse, error)
- func (UnimplementedProjectServer) IsPodRunning(context.Context, *ProjectIsPodRunningRequest) (*ProjectIsPodRunningResponse, error)
- func (UnimplementedProjectServer) List(context.Context, *ProjectListRequest) (*ProjectListResponse, error)
- func (UnimplementedProjectServer) PodContainerLog(context.Context, *ProjectPodContainerLogRequest) (*ProjectPodContainerLogResponse, error)
- func (UnimplementedProjectServer) Show(context.Context, *ProjectShowRequest) (*ProjectShowResponse, error)
- func (UnimplementedProjectServer) StreamPodContainerLog(*ProjectPodContainerLogRequest, Project_StreamPodContainerLogServer) error
- type UnsafeProjectServer
Constants ¶
This section is empty.
Variables ¶
var File_project_project_proto protoreflect.FileDescriptor
var Project_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Project", HandlerType: (*ProjectServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Project_List_Handler, }, { MethodName: "Delete", Handler: _Project_Delete_Handler, }, { MethodName: "Show", Handler: _Project_Show_Handler, }, { MethodName: "IsPodRunning", Handler: _Project_IsPodRunning_Handler, }, { MethodName: "IsPodExists", Handler: _Project_IsPodExists_Handler, }, { MethodName: "AllPodContainers", Handler: _Project_AllPodContainers_Handler, }, { MethodName: "PodContainerLog", Handler: _Project_PodContainerLog_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Apply", Handler: _Project_Apply_Handler, ServerStreams: true, }, { StreamName: "StreamPodContainerLog", Handler: _Project_StreamPodContainerLog_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 ProjectAllPodContainersRequest ¶
type ProjectAllPodContainersRequest struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ProjectAllPodContainersRequest) Descriptor
deprecated
func (*ProjectAllPodContainersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectAllPodContainersRequest.ProtoReflect.Descriptor instead.
func (*ProjectAllPodContainersRequest) GetProjectId ¶
func (x *ProjectAllPodContainersRequest) GetProjectId() int64
func (*ProjectAllPodContainersRequest) ProtoMessage ¶
func (*ProjectAllPodContainersRequest) ProtoMessage()
func (*ProjectAllPodContainersRequest) ProtoReflect ¶
func (x *ProjectAllPodContainersRequest) ProtoReflect() protoreflect.Message
func (*ProjectAllPodContainersRequest) Reset ¶
func (x *ProjectAllPodContainersRequest) Reset()
func (*ProjectAllPodContainersRequest) String ¶
func (x *ProjectAllPodContainersRequest) String() string
func (*ProjectAllPodContainersRequest) Validate ¶
func (m *ProjectAllPodContainersRequest) Validate() error
Validate checks the field values on ProjectAllPodContainersRequest 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 (*ProjectAllPodContainersRequest) ValidateAll ¶
func (m *ProjectAllPodContainersRequest) ValidateAll() error
ValidateAll checks the field values on ProjectAllPodContainersRequest 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 ProjectAllPodContainersRequestMultiError, or nil if none found.
type ProjectAllPodContainersRequestMultiError ¶
type ProjectAllPodContainersRequestMultiError []error
ProjectAllPodContainersRequestMultiError is an error wrapping multiple validation errors returned by ProjectAllPodContainersRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectAllPodContainersRequestMultiError) AllErrors ¶
func (m ProjectAllPodContainersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectAllPodContainersRequestMultiError) Error ¶
func (m ProjectAllPodContainersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectAllPodContainersRequestValidationError ¶
type ProjectAllPodContainersRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectAllPodContainersRequestValidationError is the validation error returned by ProjectAllPodContainersRequest.Validate if the designated constraints aren't met.
func (ProjectAllPodContainersRequestValidationError) Cause ¶
func (e ProjectAllPodContainersRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectAllPodContainersRequestValidationError) Error ¶
func (e ProjectAllPodContainersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectAllPodContainersRequestValidationError) ErrorName ¶
func (e ProjectAllPodContainersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectAllPodContainersRequestValidationError) Field ¶
func (e ProjectAllPodContainersRequestValidationError) Field() string
Field function returns field value.
func (ProjectAllPodContainersRequestValidationError) Key ¶
func (e ProjectAllPodContainersRequestValidationError) Key() bool
Key function returns key value.
func (ProjectAllPodContainersRequestValidationError) Reason ¶
func (e ProjectAllPodContainersRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectAllPodContainersResponse ¶
type ProjectAllPodContainersResponse struct { Data []*ProjectPodLog `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProjectAllPodContainersResponse) Descriptor
deprecated
func (*ProjectAllPodContainersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectAllPodContainersResponse.ProtoReflect.Descriptor instead.
func (*ProjectAllPodContainersResponse) GetData ¶
func (x *ProjectAllPodContainersResponse) GetData() []*ProjectPodLog
func (*ProjectAllPodContainersResponse) ProtoMessage ¶
func (*ProjectAllPodContainersResponse) ProtoMessage()
func (*ProjectAllPodContainersResponse) ProtoReflect ¶
func (x *ProjectAllPodContainersResponse) ProtoReflect() protoreflect.Message
func (*ProjectAllPodContainersResponse) Reset ¶
func (x *ProjectAllPodContainersResponse) Reset()
func (*ProjectAllPodContainersResponse) String ¶
func (x *ProjectAllPodContainersResponse) String() string
func (*ProjectAllPodContainersResponse) Validate ¶
func (m *ProjectAllPodContainersResponse) Validate() error
Validate checks the field values on ProjectAllPodContainersResponse 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 (*ProjectAllPodContainersResponse) ValidateAll ¶
func (m *ProjectAllPodContainersResponse) ValidateAll() error
ValidateAll checks the field values on ProjectAllPodContainersResponse 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 ProjectAllPodContainersResponseMultiError, or nil if none found.
type ProjectAllPodContainersResponseMultiError ¶
type ProjectAllPodContainersResponseMultiError []error
ProjectAllPodContainersResponseMultiError is an error wrapping multiple validation errors returned by ProjectAllPodContainersResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectAllPodContainersResponseMultiError) AllErrors ¶
func (m ProjectAllPodContainersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectAllPodContainersResponseMultiError) Error ¶
func (m ProjectAllPodContainersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectAllPodContainersResponseValidationError ¶
type ProjectAllPodContainersResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectAllPodContainersResponseValidationError is the validation error returned by ProjectAllPodContainersResponse.Validate if the designated constraints aren't met.
func (ProjectAllPodContainersResponseValidationError) Cause ¶
func (e ProjectAllPodContainersResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectAllPodContainersResponseValidationError) Error ¶
func (e ProjectAllPodContainersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectAllPodContainersResponseValidationError) ErrorName ¶
func (e ProjectAllPodContainersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectAllPodContainersResponseValidationError) Field ¶
func (e ProjectAllPodContainersResponseValidationError) Field() string
Field function returns field value.
func (ProjectAllPodContainersResponseValidationError) Key ¶
func (e ProjectAllPodContainersResponseValidationError) Key() bool
Key function returns key value.
func (ProjectAllPodContainersResponseValidationError) Reason ¶
func (e ProjectAllPodContainersResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectApplyRequest ¶
type ProjectApplyRequest struct { NamespaceId int64 `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"` GitlabProjectId int64 `protobuf:"varint,3,opt,name=gitlab_project_id,json=gitlabProjectId,proto3" json:"gitlab_project_id,omitempty"` GitlabBranch string `protobuf:"bytes,4,opt,name=gitlab_branch,json=gitlabBranch,proto3" json:"gitlab_branch,omitempty"` // gitlab_commit 不传就用最新的 commit GitlabCommit string `protobuf:"bytes,5,opt,name=gitlab_commit,json=gitlabCommit,proto3" json:"gitlab_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.ProjectExtraItem `protobuf:"bytes,9,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` // contains filtered or unexported fields }
ProjectApplyRequest same as ProjectInput
func (*ProjectApplyRequest) Descriptor
deprecated
func (*ProjectApplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectApplyRequest.ProtoReflect.Descriptor instead.
func (*ProjectApplyRequest) GetAtomic ¶
func (x *ProjectApplyRequest) GetAtomic() bool
func (*ProjectApplyRequest) GetConfig ¶
func (x *ProjectApplyRequest) GetConfig() string
func (*ProjectApplyRequest) GetExtraValues ¶
func (x *ProjectApplyRequest) GetExtraValues() []*websocket.ProjectExtraItem
func (*ProjectApplyRequest) GetGitlabBranch ¶
func (x *ProjectApplyRequest) GetGitlabBranch() string
func (*ProjectApplyRequest) GetGitlabCommit ¶
func (x *ProjectApplyRequest) GetGitlabCommit() string
func (*ProjectApplyRequest) GetGitlabProjectId ¶
func (x *ProjectApplyRequest) GetGitlabProjectId() int64
func (*ProjectApplyRequest) GetName ¶
func (x *ProjectApplyRequest) GetName() string
func (*ProjectApplyRequest) GetNamespaceId ¶
func (x *ProjectApplyRequest) GetNamespaceId() int64
func (*ProjectApplyRequest) GetWebsocketSync ¶
func (x *ProjectApplyRequest) GetWebsocketSync() bool
func (*ProjectApplyRequest) ProtoMessage ¶
func (*ProjectApplyRequest) ProtoMessage()
func (*ProjectApplyRequest) ProtoReflect ¶
func (x *ProjectApplyRequest) ProtoReflect() protoreflect.Message
func (*ProjectApplyRequest) Reset ¶
func (x *ProjectApplyRequest) Reset()
func (*ProjectApplyRequest) String ¶
func (x *ProjectApplyRequest) String() string
func (*ProjectApplyRequest) Validate ¶
func (m *ProjectApplyRequest) Validate() error
Validate checks the field values on ProjectApplyRequest 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 (*ProjectApplyRequest) ValidateAll ¶
func (m *ProjectApplyRequest) ValidateAll() error
ValidateAll checks the field values on ProjectApplyRequest 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 ProjectApplyRequestMultiError, or nil if none found.
type ProjectApplyRequestMultiError ¶
type ProjectApplyRequestMultiError []error
ProjectApplyRequestMultiError is an error wrapping multiple validation errors returned by ProjectApplyRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectApplyRequestMultiError) AllErrors ¶
func (m ProjectApplyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectApplyRequestMultiError) Error ¶
func (m ProjectApplyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectApplyRequestValidationError ¶
type ProjectApplyRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectApplyRequestValidationError is the validation error returned by ProjectApplyRequest.Validate if the designated constraints aren't met.
func (ProjectApplyRequestValidationError) Cause ¶
func (e ProjectApplyRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectApplyRequestValidationError) Error ¶
func (e ProjectApplyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectApplyRequestValidationError) ErrorName ¶
func (e ProjectApplyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectApplyRequestValidationError) Field ¶
func (e ProjectApplyRequestValidationError) Field() string
Field function returns field value.
func (ProjectApplyRequestValidationError) Key ¶
func (e ProjectApplyRequestValidationError) Key() bool
Key function returns key value.
func (ProjectApplyRequestValidationError) Reason ¶
func (e ProjectApplyRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectApplyResponse ¶
type ProjectApplyResponse struct { Metadata *websocket.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Project *model.ProjectModel `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*ProjectApplyResponse) Descriptor
deprecated
func (*ProjectApplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectApplyResponse.ProtoReflect.Descriptor instead.
func (*ProjectApplyResponse) GetMetadata ¶
func (x *ProjectApplyResponse) GetMetadata() *websocket.Metadata
func (*ProjectApplyResponse) GetProject ¶
func (x *ProjectApplyResponse) GetProject() *model.ProjectModel
func (*ProjectApplyResponse) ProtoMessage ¶
func (*ProjectApplyResponse) ProtoMessage()
func (*ProjectApplyResponse) ProtoReflect ¶
func (x *ProjectApplyResponse) ProtoReflect() protoreflect.Message
func (*ProjectApplyResponse) Reset ¶
func (x *ProjectApplyResponse) Reset()
func (*ProjectApplyResponse) String ¶
func (x *ProjectApplyResponse) String() string
func (*ProjectApplyResponse) Validate ¶
func (m *ProjectApplyResponse) Validate() error
Validate checks the field values on ProjectApplyResponse 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 (*ProjectApplyResponse) ValidateAll ¶
func (m *ProjectApplyResponse) ValidateAll() error
ValidateAll checks the field values on ProjectApplyResponse 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 ProjectApplyResponseMultiError, or nil if none found.
type ProjectApplyResponseMultiError ¶
type ProjectApplyResponseMultiError []error
ProjectApplyResponseMultiError is an error wrapping multiple validation errors returned by ProjectApplyResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectApplyResponseMultiError) AllErrors ¶
func (m ProjectApplyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectApplyResponseMultiError) Error ¶
func (m ProjectApplyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectApplyResponseValidationError ¶
type ProjectApplyResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectApplyResponseValidationError is the validation error returned by ProjectApplyResponse.Validate if the designated constraints aren't met.
func (ProjectApplyResponseValidationError) Cause ¶
func (e ProjectApplyResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectApplyResponseValidationError) Error ¶
func (e ProjectApplyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectApplyResponseValidationError) ErrorName ¶
func (e ProjectApplyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectApplyResponseValidationError) Field ¶
func (e ProjectApplyResponseValidationError) Field() string
Field function returns field value.
func (ProjectApplyResponseValidationError) Key ¶
func (e ProjectApplyResponseValidationError) Key() bool
Key function returns key value.
func (ProjectApplyResponseValidationError) Reason ¶
func (e ProjectApplyResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectClient ¶
type ProjectClient interface { // List 获取项目列表 List(ctx context.Context, in *ProjectListRequest, opts ...grpc.CallOption) (*ProjectListResponse, error) // Apply grpc 创建/更新项目 Apply(ctx context.Context, in *ProjectApplyRequest, opts ...grpc.CallOption) (Project_ApplyClient, error) // Delete 删除项目 Delete(ctx context.Context, in *ProjectDeleteRequest, opts ...grpc.CallOption) (*ProjectDeleteResponse, error) // Show 项目详情 Show(ctx context.Context, in *ProjectShowRequest, opts ...grpc.CallOption) (*ProjectShowResponse, error) // IsPodRunning pod 是否正常在跑 IsPodRunning(ctx context.Context, in *ProjectIsPodRunningRequest, opts ...grpc.CallOption) (*ProjectIsPodRunningResponse, error) // IsPodExists pod 是否存在 IsPodExists(ctx context.Context, in *ProjectIsPodExistsRequest, opts ...grpc.CallOption) (*ProjectIsPodExistsResponse, error) // AllPodContainers 获取项目下的所有 pod AllPodContainers(ctx context.Context, in *ProjectAllPodContainersRequest, opts ...grpc.CallOption) (*ProjectAllPodContainersResponse, error) // PodContainerLog 查看 pod 日志 PodContainerLog(ctx context.Context, in *ProjectPodContainerLogRequest, opts ...grpc.CallOption) (*ProjectPodContainerLogResponse, error) // StreamPodContainerLog stream 方式查看 pod 日志 StreamPodContainerLog(ctx context.Context, in *ProjectPodContainerLogRequest, opts ...grpc.CallOption) (Project_StreamPodContainerLogClient, 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 ProjectDeleteRequest ¶
type ProjectDeleteRequest struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ProjectDeleteRequest) Descriptor
deprecated
func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectDeleteRequest.ProtoReflect.Descriptor instead.
func (*ProjectDeleteRequest) GetProjectId ¶
func (x *ProjectDeleteRequest) GetProjectId() int64
func (*ProjectDeleteRequest) ProtoMessage ¶
func (*ProjectDeleteRequest) ProtoMessage()
func (*ProjectDeleteRequest) ProtoReflect ¶
func (x *ProjectDeleteRequest) ProtoReflect() protoreflect.Message
func (*ProjectDeleteRequest) Reset ¶
func (x *ProjectDeleteRequest) Reset()
func (*ProjectDeleteRequest) String ¶
func (x *ProjectDeleteRequest) String() string
func (*ProjectDeleteRequest) Validate ¶
func (m *ProjectDeleteRequest) Validate() error
Validate checks the field values on ProjectDeleteRequest 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 (*ProjectDeleteRequest) ValidateAll ¶
func (m *ProjectDeleteRequest) ValidateAll() error
ValidateAll checks the field values on ProjectDeleteRequest 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 ProjectDeleteRequestMultiError, or nil if none found.
type ProjectDeleteRequestMultiError ¶
type ProjectDeleteRequestMultiError []error
ProjectDeleteRequestMultiError is an error wrapping multiple validation errors returned by ProjectDeleteRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectDeleteRequestMultiError) AllErrors ¶
func (m ProjectDeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectDeleteRequestMultiError) Error ¶
func (m ProjectDeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectDeleteRequestValidationError ¶
type ProjectDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectDeleteRequestValidationError is the validation error returned by ProjectDeleteRequest.Validate if the designated constraints aren't met.
func (ProjectDeleteRequestValidationError) Cause ¶
func (e ProjectDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectDeleteRequestValidationError) Error ¶
func (e ProjectDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectDeleteRequestValidationError) ErrorName ¶
func (e ProjectDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectDeleteRequestValidationError) Field ¶
func (e ProjectDeleteRequestValidationError) Field() string
Field function returns field value.
func (ProjectDeleteRequestValidationError) Key ¶
func (e ProjectDeleteRequestValidationError) Key() bool
Key function returns key value.
func (ProjectDeleteRequestValidationError) Reason ¶
func (e ProjectDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectDeleteResponse ¶
type ProjectDeleteResponse struct {
// contains filtered or unexported fields
}
func (*ProjectDeleteResponse) Descriptor
deprecated
func (*ProjectDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectDeleteResponse.ProtoReflect.Descriptor instead.
func (*ProjectDeleteResponse) ProtoMessage ¶
func (*ProjectDeleteResponse) ProtoMessage()
func (*ProjectDeleteResponse) ProtoReflect ¶
func (x *ProjectDeleteResponse) ProtoReflect() protoreflect.Message
func (*ProjectDeleteResponse) Reset ¶
func (x *ProjectDeleteResponse) Reset()
func (*ProjectDeleteResponse) String ¶
func (x *ProjectDeleteResponse) String() string
func (*ProjectDeleteResponse) Validate ¶
func (m *ProjectDeleteResponse) Validate() error
Validate checks the field values on ProjectDeleteResponse 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 (*ProjectDeleteResponse) ValidateAll ¶
func (m *ProjectDeleteResponse) ValidateAll() error
ValidateAll checks the field values on ProjectDeleteResponse 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 ProjectDeleteResponseMultiError, or nil if none found.
type ProjectDeleteResponseMultiError ¶
type ProjectDeleteResponseMultiError []error
ProjectDeleteResponseMultiError is an error wrapping multiple validation errors returned by ProjectDeleteResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectDeleteResponseMultiError) AllErrors ¶
func (m ProjectDeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectDeleteResponseMultiError) Error ¶
func (m ProjectDeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectDeleteResponseValidationError ¶
type ProjectDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectDeleteResponseValidationError is the validation error returned by ProjectDeleteResponse.Validate if the designated constraints aren't met.
func (ProjectDeleteResponseValidationError) Cause ¶
func (e ProjectDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectDeleteResponseValidationError) Error ¶
func (e ProjectDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectDeleteResponseValidationError) ErrorName ¶
func (e ProjectDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectDeleteResponseValidationError) Field ¶
func (e ProjectDeleteResponseValidationError) Field() string
Field function returns field value.
func (ProjectDeleteResponseValidationError) Key ¶
func (e ProjectDeleteResponseValidationError) Key() bool
Key function returns key value.
func (ProjectDeleteResponseValidationError) Reason ¶
func (e ProjectDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectIsPodExistsRequest ¶
type ProjectIsPodExistsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Pod string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"` // contains filtered or unexported fields }
func (*ProjectIsPodExistsRequest) Descriptor
deprecated
func (*ProjectIsPodExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectIsPodExistsRequest.ProtoReflect.Descriptor instead.
func (*ProjectIsPodExistsRequest) GetNamespace ¶
func (x *ProjectIsPodExistsRequest) GetNamespace() string
func (*ProjectIsPodExistsRequest) GetPod ¶
func (x *ProjectIsPodExistsRequest) GetPod() string
func (*ProjectIsPodExistsRequest) ProtoMessage ¶
func (*ProjectIsPodExistsRequest) ProtoMessage()
func (*ProjectIsPodExistsRequest) ProtoReflect ¶
func (x *ProjectIsPodExistsRequest) ProtoReflect() protoreflect.Message
func (*ProjectIsPodExistsRequest) Reset ¶
func (x *ProjectIsPodExistsRequest) Reset()
func (*ProjectIsPodExistsRequest) String ¶
func (x *ProjectIsPodExistsRequest) String() string
func (*ProjectIsPodExistsRequest) Validate ¶
func (m *ProjectIsPodExistsRequest) Validate() error
Validate checks the field values on ProjectIsPodExistsRequest 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 (*ProjectIsPodExistsRequest) ValidateAll ¶
func (m *ProjectIsPodExistsRequest) ValidateAll() error
ValidateAll checks the field values on ProjectIsPodExistsRequest 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 ProjectIsPodExistsRequestMultiError, or nil if none found.
type ProjectIsPodExistsRequestMultiError ¶
type ProjectIsPodExistsRequestMultiError []error
ProjectIsPodExistsRequestMultiError is an error wrapping multiple validation errors returned by ProjectIsPodExistsRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectIsPodExistsRequestMultiError) AllErrors ¶
func (m ProjectIsPodExistsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectIsPodExistsRequestMultiError) Error ¶
func (m ProjectIsPodExistsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectIsPodExistsRequestValidationError ¶
type ProjectIsPodExistsRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectIsPodExistsRequestValidationError is the validation error returned by ProjectIsPodExistsRequest.Validate if the designated constraints aren't met.
func (ProjectIsPodExistsRequestValidationError) Cause ¶
func (e ProjectIsPodExistsRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectIsPodExistsRequestValidationError) Error ¶
func (e ProjectIsPodExistsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectIsPodExistsRequestValidationError) ErrorName ¶
func (e ProjectIsPodExistsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectIsPodExistsRequestValidationError) Field ¶
func (e ProjectIsPodExistsRequestValidationError) Field() string
Field function returns field value.
func (ProjectIsPodExistsRequestValidationError) Key ¶
func (e ProjectIsPodExistsRequestValidationError) Key() bool
Key function returns key value.
func (ProjectIsPodExistsRequestValidationError) Reason ¶
func (e ProjectIsPodExistsRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectIsPodExistsResponse ¶
type ProjectIsPodExistsResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*ProjectIsPodExistsResponse) Descriptor
deprecated
func (*ProjectIsPodExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectIsPodExistsResponse.ProtoReflect.Descriptor instead.
func (*ProjectIsPodExistsResponse) GetExists ¶
func (x *ProjectIsPodExistsResponse) GetExists() bool
func (*ProjectIsPodExistsResponse) ProtoMessage ¶
func (*ProjectIsPodExistsResponse) ProtoMessage()
func (*ProjectIsPodExistsResponse) ProtoReflect ¶
func (x *ProjectIsPodExistsResponse) ProtoReflect() protoreflect.Message
func (*ProjectIsPodExistsResponse) Reset ¶
func (x *ProjectIsPodExistsResponse) Reset()
func (*ProjectIsPodExistsResponse) String ¶
func (x *ProjectIsPodExistsResponse) String() string
func (*ProjectIsPodExistsResponse) Validate ¶
func (m *ProjectIsPodExistsResponse) Validate() error
Validate checks the field values on ProjectIsPodExistsResponse 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 (*ProjectIsPodExistsResponse) ValidateAll ¶
func (m *ProjectIsPodExistsResponse) ValidateAll() error
ValidateAll checks the field values on ProjectIsPodExistsResponse 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 ProjectIsPodExistsResponseMultiError, or nil if none found.
type ProjectIsPodExistsResponseMultiError ¶
type ProjectIsPodExistsResponseMultiError []error
ProjectIsPodExistsResponseMultiError is an error wrapping multiple validation errors returned by ProjectIsPodExistsResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectIsPodExistsResponseMultiError) AllErrors ¶
func (m ProjectIsPodExistsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectIsPodExistsResponseMultiError) Error ¶
func (m ProjectIsPodExistsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectIsPodExistsResponseValidationError ¶
type ProjectIsPodExistsResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectIsPodExistsResponseValidationError is the validation error returned by ProjectIsPodExistsResponse.Validate if the designated constraints aren't met.
func (ProjectIsPodExistsResponseValidationError) Cause ¶
func (e ProjectIsPodExistsResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectIsPodExistsResponseValidationError) Error ¶
func (e ProjectIsPodExistsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectIsPodExistsResponseValidationError) ErrorName ¶
func (e ProjectIsPodExistsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectIsPodExistsResponseValidationError) Field ¶
func (e ProjectIsPodExistsResponseValidationError) Field() string
Field function returns field value.
func (ProjectIsPodExistsResponseValidationError) Key ¶
func (e ProjectIsPodExistsResponseValidationError) Key() bool
Key function returns key value.
func (ProjectIsPodExistsResponseValidationError) Reason ¶
func (e ProjectIsPodExistsResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectIsPodRunningRequest ¶
type ProjectIsPodRunningRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Pod string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"` // contains filtered or unexported fields }
func (*ProjectIsPodRunningRequest) Descriptor
deprecated
func (*ProjectIsPodRunningRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectIsPodRunningRequest.ProtoReflect.Descriptor instead.
func (*ProjectIsPodRunningRequest) GetNamespace ¶
func (x *ProjectIsPodRunningRequest) GetNamespace() string
func (*ProjectIsPodRunningRequest) GetPod ¶
func (x *ProjectIsPodRunningRequest) GetPod() string
func (*ProjectIsPodRunningRequest) ProtoMessage ¶
func (*ProjectIsPodRunningRequest) ProtoMessage()
func (*ProjectIsPodRunningRequest) ProtoReflect ¶
func (x *ProjectIsPodRunningRequest) ProtoReflect() protoreflect.Message
func (*ProjectIsPodRunningRequest) Reset ¶
func (x *ProjectIsPodRunningRequest) Reset()
func (*ProjectIsPodRunningRequest) String ¶
func (x *ProjectIsPodRunningRequest) String() string
func (*ProjectIsPodRunningRequest) Validate ¶
func (m *ProjectIsPodRunningRequest) Validate() error
Validate checks the field values on ProjectIsPodRunningRequest 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 (*ProjectIsPodRunningRequest) ValidateAll ¶
func (m *ProjectIsPodRunningRequest) ValidateAll() error
ValidateAll checks the field values on ProjectIsPodRunningRequest 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 ProjectIsPodRunningRequestMultiError, or nil if none found.
type ProjectIsPodRunningRequestMultiError ¶
type ProjectIsPodRunningRequestMultiError []error
ProjectIsPodRunningRequestMultiError is an error wrapping multiple validation errors returned by ProjectIsPodRunningRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectIsPodRunningRequestMultiError) AllErrors ¶
func (m ProjectIsPodRunningRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectIsPodRunningRequestMultiError) Error ¶
func (m ProjectIsPodRunningRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectIsPodRunningRequestValidationError ¶
type ProjectIsPodRunningRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectIsPodRunningRequestValidationError is the validation error returned by ProjectIsPodRunningRequest.Validate if the designated constraints aren't met.
func (ProjectIsPodRunningRequestValidationError) Cause ¶
func (e ProjectIsPodRunningRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectIsPodRunningRequestValidationError) Error ¶
func (e ProjectIsPodRunningRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectIsPodRunningRequestValidationError) ErrorName ¶
func (e ProjectIsPodRunningRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectIsPodRunningRequestValidationError) Field ¶
func (e ProjectIsPodRunningRequestValidationError) Field() string
Field function returns field value.
func (ProjectIsPodRunningRequestValidationError) Key ¶
func (e ProjectIsPodRunningRequestValidationError) Key() bool
Key function returns key value.
func (ProjectIsPodRunningRequestValidationError) Reason ¶
func (e ProjectIsPodRunningRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectIsPodRunningResponse ¶
type ProjectIsPodRunningResponse struct { Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ProjectIsPodRunningResponse) Descriptor
deprecated
func (*ProjectIsPodRunningResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectIsPodRunningResponse.ProtoReflect.Descriptor instead.
func (*ProjectIsPodRunningResponse) GetReason ¶
func (x *ProjectIsPodRunningResponse) GetReason() string
func (*ProjectIsPodRunningResponse) GetRunning ¶
func (x *ProjectIsPodRunningResponse) GetRunning() bool
func (*ProjectIsPodRunningResponse) ProtoMessage ¶
func (*ProjectIsPodRunningResponse) ProtoMessage()
func (*ProjectIsPodRunningResponse) ProtoReflect ¶
func (x *ProjectIsPodRunningResponse) ProtoReflect() protoreflect.Message
func (*ProjectIsPodRunningResponse) Reset ¶
func (x *ProjectIsPodRunningResponse) Reset()
func (*ProjectIsPodRunningResponse) String ¶
func (x *ProjectIsPodRunningResponse) String() string
func (*ProjectIsPodRunningResponse) Validate ¶
func (m *ProjectIsPodRunningResponse) Validate() error
Validate checks the field values on ProjectIsPodRunningResponse 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 (*ProjectIsPodRunningResponse) ValidateAll ¶
func (m *ProjectIsPodRunningResponse) ValidateAll() error
ValidateAll checks the field values on ProjectIsPodRunningResponse 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 ProjectIsPodRunningResponseMultiError, or nil if none found.
type ProjectIsPodRunningResponseMultiError ¶
type ProjectIsPodRunningResponseMultiError []error
ProjectIsPodRunningResponseMultiError is an error wrapping multiple validation errors returned by ProjectIsPodRunningResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectIsPodRunningResponseMultiError) AllErrors ¶
func (m ProjectIsPodRunningResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectIsPodRunningResponseMultiError) Error ¶
func (m ProjectIsPodRunningResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectIsPodRunningResponseValidationError ¶
type ProjectIsPodRunningResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectIsPodRunningResponseValidationError is the validation error returned by ProjectIsPodRunningResponse.Validate if the designated constraints aren't met.
func (ProjectIsPodRunningResponseValidationError) Cause ¶
func (e ProjectIsPodRunningResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectIsPodRunningResponseValidationError) Error ¶
func (e ProjectIsPodRunningResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectIsPodRunningResponseValidationError) ErrorName ¶
func (e ProjectIsPodRunningResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectIsPodRunningResponseValidationError) Field ¶
func (e ProjectIsPodRunningResponseValidationError) Field() string
Field function returns field value.
func (ProjectIsPodRunningResponseValidationError) Key ¶
func (e ProjectIsPodRunningResponseValidationError) Key() bool
Key function returns key value.
func (ProjectIsPodRunningResponseValidationError) Reason ¶
func (e ProjectIsPodRunningResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectListRequest ¶
type ProjectListRequest struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ProjectListRequest) Descriptor
deprecated
func (*ProjectListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectListRequest.ProtoReflect.Descriptor instead.
func (*ProjectListRequest) GetPage ¶
func (x *ProjectListRequest) GetPage() int64
func (*ProjectListRequest) GetPageSize ¶
func (x *ProjectListRequest) GetPageSize() int64
func (*ProjectListRequest) ProtoMessage ¶
func (*ProjectListRequest) ProtoMessage()
func (*ProjectListRequest) ProtoReflect ¶
func (x *ProjectListRequest) ProtoReflect() protoreflect.Message
func (*ProjectListRequest) Reset ¶
func (x *ProjectListRequest) Reset()
func (*ProjectListRequest) String ¶
func (x *ProjectListRequest) String() string
func (*ProjectListRequest) Validate ¶
func (m *ProjectListRequest) Validate() error
Validate checks the field values on ProjectListRequest 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 (*ProjectListRequest) ValidateAll ¶
func (m *ProjectListRequest) ValidateAll() error
ValidateAll checks the field values on ProjectListRequest 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 ProjectListRequestMultiError, or nil if none found.
type ProjectListRequestMultiError ¶
type ProjectListRequestMultiError []error
ProjectListRequestMultiError is an error wrapping multiple validation errors returned by ProjectListRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectListRequestMultiError) AllErrors ¶
func (m ProjectListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectListRequestMultiError) Error ¶
func (m ProjectListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectListRequestValidationError ¶
type ProjectListRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectListRequestValidationError is the validation error returned by ProjectListRequest.Validate if the designated constraints aren't met.
func (ProjectListRequestValidationError) Cause ¶
func (e ProjectListRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectListRequestValidationError) Error ¶
func (e ProjectListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectListRequestValidationError) ErrorName ¶
func (e ProjectListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectListRequestValidationError) Field ¶
func (e ProjectListRequestValidationError) Field() string
Field function returns field value.
func (ProjectListRequestValidationError) Key ¶
func (e ProjectListRequestValidationError) Key() bool
Key function returns key value.
func (ProjectListRequestValidationError) Reason ¶
func (e ProjectListRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectListResponse ¶
type ProjectListResponse struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Data []*model.ProjectModel `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProjectListResponse) Descriptor
deprecated
func (*ProjectListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectListResponse.ProtoReflect.Descriptor instead.
func (*ProjectListResponse) GetCount ¶
func (x *ProjectListResponse) GetCount() int64
func (*ProjectListResponse) GetData ¶
func (x *ProjectListResponse) GetData() []*model.ProjectModel
func (*ProjectListResponse) GetPage ¶
func (x *ProjectListResponse) GetPage() int64
func (*ProjectListResponse) GetPageSize ¶
func (x *ProjectListResponse) GetPageSize() int64
func (*ProjectListResponse) ProtoMessage ¶
func (*ProjectListResponse) ProtoMessage()
func (*ProjectListResponse) ProtoReflect ¶
func (x *ProjectListResponse) ProtoReflect() protoreflect.Message
func (*ProjectListResponse) Reset ¶
func (x *ProjectListResponse) Reset()
func (*ProjectListResponse) String ¶
func (x *ProjectListResponse) String() string
func (*ProjectListResponse) Validate ¶
func (m *ProjectListResponse) Validate() error
Validate checks the field values on ProjectListResponse 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 (*ProjectListResponse) ValidateAll ¶
func (m *ProjectListResponse) ValidateAll() error
ValidateAll checks the field values on ProjectListResponse 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 ProjectListResponseMultiError, or nil if none found.
type ProjectListResponseMultiError ¶
type ProjectListResponseMultiError []error
ProjectListResponseMultiError is an error wrapping multiple validation errors returned by ProjectListResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectListResponseMultiError) AllErrors ¶
func (m ProjectListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectListResponseMultiError) Error ¶
func (m ProjectListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectListResponseValidationError ¶
type ProjectListResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectListResponseValidationError is the validation error returned by ProjectListResponse.Validate if the designated constraints aren't met.
func (ProjectListResponseValidationError) Cause ¶
func (e ProjectListResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectListResponseValidationError) Error ¶
func (e ProjectListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectListResponseValidationError) ErrorName ¶
func (e ProjectListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectListResponseValidationError) Field ¶
func (e ProjectListResponseValidationError) Field() string
Field function returns field value.
func (ProjectListResponseValidationError) Key ¶
func (e ProjectListResponseValidationError) Key() bool
Key function returns key value.
func (ProjectListResponseValidationError) Reason ¶
func (e ProjectListResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectPodContainerLogRequest ¶
type ProjectPodContainerLogRequest struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Pod string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"` Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*ProjectPodContainerLogRequest) Descriptor
deprecated
func (*ProjectPodContainerLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPodContainerLogRequest.ProtoReflect.Descriptor instead.
func (*ProjectPodContainerLogRequest) GetContainer ¶
func (x *ProjectPodContainerLogRequest) GetContainer() string
func (*ProjectPodContainerLogRequest) GetPod ¶
func (x *ProjectPodContainerLogRequest) GetPod() string
func (*ProjectPodContainerLogRequest) GetProjectId ¶
func (x *ProjectPodContainerLogRequest) GetProjectId() int64
func (*ProjectPodContainerLogRequest) ProtoMessage ¶
func (*ProjectPodContainerLogRequest) ProtoMessage()
func (*ProjectPodContainerLogRequest) ProtoReflect ¶
func (x *ProjectPodContainerLogRequest) ProtoReflect() protoreflect.Message
func (*ProjectPodContainerLogRequest) Reset ¶
func (x *ProjectPodContainerLogRequest) Reset()
func (*ProjectPodContainerLogRequest) String ¶
func (x *ProjectPodContainerLogRequest) String() string
func (*ProjectPodContainerLogRequest) Validate ¶
func (m *ProjectPodContainerLogRequest) Validate() error
Validate checks the field values on ProjectPodContainerLogRequest 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 (*ProjectPodContainerLogRequest) ValidateAll ¶
func (m *ProjectPodContainerLogRequest) ValidateAll() error
ValidateAll checks the field values on ProjectPodContainerLogRequest 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 ProjectPodContainerLogRequestMultiError, or nil if none found.
type ProjectPodContainerLogRequestMultiError ¶
type ProjectPodContainerLogRequestMultiError []error
ProjectPodContainerLogRequestMultiError is an error wrapping multiple validation errors returned by ProjectPodContainerLogRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectPodContainerLogRequestMultiError) AllErrors ¶
func (m ProjectPodContainerLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectPodContainerLogRequestMultiError) Error ¶
func (m ProjectPodContainerLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectPodContainerLogRequestValidationError ¶
type ProjectPodContainerLogRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectPodContainerLogRequestValidationError is the validation error returned by ProjectPodContainerLogRequest.Validate if the designated constraints aren't met.
func (ProjectPodContainerLogRequestValidationError) Cause ¶
func (e ProjectPodContainerLogRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectPodContainerLogRequestValidationError) Error ¶
func (e ProjectPodContainerLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectPodContainerLogRequestValidationError) ErrorName ¶
func (e ProjectPodContainerLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectPodContainerLogRequestValidationError) Field ¶
func (e ProjectPodContainerLogRequestValidationError) Field() string
Field function returns field value.
func (ProjectPodContainerLogRequestValidationError) Key ¶
func (e ProjectPodContainerLogRequestValidationError) Key() bool
Key function returns key value.
func (ProjectPodContainerLogRequestValidationError) Reason ¶
func (e ProjectPodContainerLogRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectPodContainerLogResponse ¶
type ProjectPodContainerLogResponse struct { Data *ProjectPodLog `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProjectPodContainerLogResponse) Descriptor
deprecated
func (*ProjectPodContainerLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPodContainerLogResponse.ProtoReflect.Descriptor instead.
func (*ProjectPodContainerLogResponse) GetData ¶
func (x *ProjectPodContainerLogResponse) GetData() *ProjectPodLog
func (*ProjectPodContainerLogResponse) ProtoMessage ¶
func (*ProjectPodContainerLogResponse) ProtoMessage()
func (*ProjectPodContainerLogResponse) ProtoReflect ¶
func (x *ProjectPodContainerLogResponse) ProtoReflect() protoreflect.Message
func (*ProjectPodContainerLogResponse) Reset ¶
func (x *ProjectPodContainerLogResponse) Reset()
func (*ProjectPodContainerLogResponse) String ¶
func (x *ProjectPodContainerLogResponse) String() string
func (*ProjectPodContainerLogResponse) Validate ¶
func (m *ProjectPodContainerLogResponse) Validate() error
Validate checks the field values on ProjectPodContainerLogResponse 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 (*ProjectPodContainerLogResponse) ValidateAll ¶
func (m *ProjectPodContainerLogResponse) ValidateAll() error
ValidateAll checks the field values on ProjectPodContainerLogResponse 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 ProjectPodContainerLogResponseMultiError, or nil if none found.
type ProjectPodContainerLogResponseMultiError ¶
type ProjectPodContainerLogResponseMultiError []error
ProjectPodContainerLogResponseMultiError is an error wrapping multiple validation errors returned by ProjectPodContainerLogResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectPodContainerLogResponseMultiError) AllErrors ¶
func (m ProjectPodContainerLogResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectPodContainerLogResponseMultiError) Error ¶
func (m ProjectPodContainerLogResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectPodContainerLogResponseValidationError ¶
type ProjectPodContainerLogResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectPodContainerLogResponseValidationError is the validation error returned by ProjectPodContainerLogResponse.Validate if the designated constraints aren't met.
func (ProjectPodContainerLogResponseValidationError) Cause ¶
func (e ProjectPodContainerLogResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectPodContainerLogResponseValidationError) Error ¶
func (e ProjectPodContainerLogResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectPodContainerLogResponseValidationError) ErrorName ¶
func (e ProjectPodContainerLogResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectPodContainerLogResponseValidationError) Field ¶
func (e ProjectPodContainerLogResponseValidationError) Field() string
Field function returns field value.
func (ProjectPodContainerLogResponseValidationError) Key ¶
func (e ProjectPodContainerLogResponseValidationError) Key() bool
Key function returns key value.
func (ProjectPodContainerLogResponseValidationError) Reason ¶
func (e ProjectPodContainerLogResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectPodLog ¶
type ProjectPodLog struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` PodName string `protobuf:"bytes,2,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` Log string `protobuf:"bytes,4,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*ProjectPodLog) Descriptor
deprecated
func (*ProjectPodLog) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPodLog.ProtoReflect.Descriptor instead.
func (*ProjectPodLog) GetContainerName ¶
func (x *ProjectPodLog) GetContainerName() string
func (*ProjectPodLog) GetLog ¶
func (x *ProjectPodLog) GetLog() string
func (*ProjectPodLog) GetNamespace ¶
func (x *ProjectPodLog) GetNamespace() string
func (*ProjectPodLog) GetPodName ¶
func (x *ProjectPodLog) GetPodName() string
func (*ProjectPodLog) ProtoMessage ¶
func (*ProjectPodLog) ProtoMessage()
func (*ProjectPodLog) ProtoReflect ¶
func (x *ProjectPodLog) ProtoReflect() protoreflect.Message
func (*ProjectPodLog) Reset ¶
func (x *ProjectPodLog) Reset()
func (*ProjectPodLog) String ¶
func (x *ProjectPodLog) String() string
func (*ProjectPodLog) Validate ¶
func (m *ProjectPodLog) Validate() error
Validate checks the field values on ProjectPodLog 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 (*ProjectPodLog) ValidateAll ¶
func (m *ProjectPodLog) ValidateAll() error
ValidateAll checks the field values on ProjectPodLog 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 ProjectPodLogMultiError, or nil if none found.
type ProjectPodLogMultiError ¶
type ProjectPodLogMultiError []error
ProjectPodLogMultiError is an error wrapping multiple validation errors returned by ProjectPodLog.ValidateAll() if the designated constraints aren't met.
func (ProjectPodLogMultiError) AllErrors ¶
func (m ProjectPodLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectPodLogMultiError) Error ¶
func (m ProjectPodLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectPodLogValidationError ¶
type ProjectPodLogValidationError struct {
// contains filtered or unexported fields
}
ProjectPodLogValidationError is the validation error returned by ProjectPodLog.Validate if the designated constraints aren't met.
func (ProjectPodLogValidationError) Cause ¶
func (e ProjectPodLogValidationError) Cause() error
Cause function returns cause value.
func (ProjectPodLogValidationError) Error ¶
func (e ProjectPodLogValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectPodLogValidationError) ErrorName ¶
func (e ProjectPodLogValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectPodLogValidationError) Field ¶
func (e ProjectPodLogValidationError) Field() string
Field function returns field value.
func (ProjectPodLogValidationError) Key ¶
func (e ProjectPodLogValidationError) Key() bool
Key function returns key value.
func (ProjectPodLogValidationError) Reason ¶
func (e ProjectPodLogValidationError) Reason() string
Reason function returns reason value.
type ProjectServer ¶
type ProjectServer interface { // List 获取项目列表 List(context.Context, *ProjectListRequest) (*ProjectListResponse, error) // Apply grpc 创建/更新项目 Apply(*ProjectApplyRequest, Project_ApplyServer) error // Delete 删除项目 Delete(context.Context, *ProjectDeleteRequest) (*ProjectDeleteResponse, error) // Show 项目详情 Show(context.Context, *ProjectShowRequest) (*ProjectShowResponse, error) // IsPodRunning pod 是否正常在跑 IsPodRunning(context.Context, *ProjectIsPodRunningRequest) (*ProjectIsPodRunningResponse, error) // IsPodExists pod 是否存在 IsPodExists(context.Context, *ProjectIsPodExistsRequest) (*ProjectIsPodExistsResponse, error) // AllPodContainers 获取项目下的所有 pod AllPodContainers(context.Context, *ProjectAllPodContainersRequest) (*ProjectAllPodContainersResponse, error) // PodContainerLog 查看 pod 日志 PodContainerLog(context.Context, *ProjectPodContainerLogRequest) (*ProjectPodContainerLogResponse, error) // StreamPodContainerLog stream 方式查看 pod 日志 StreamPodContainerLog(*ProjectPodContainerLogRequest, Project_StreamPodContainerLogServer) error // contains filtered or unexported methods }
ProjectServer is the server API for Project service. All implementations must embed UnimplementedProjectServer for forward compatibility
type ProjectShowRequest ¶
type ProjectShowRequest struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ProjectShowRequest) Descriptor
deprecated
func (*ProjectShowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectShowRequest.ProtoReflect.Descriptor instead.
func (*ProjectShowRequest) GetProjectId ¶
func (x *ProjectShowRequest) GetProjectId() int64
func (*ProjectShowRequest) ProtoMessage ¶
func (*ProjectShowRequest) ProtoMessage()
func (*ProjectShowRequest) ProtoReflect ¶
func (x *ProjectShowRequest) ProtoReflect() protoreflect.Message
func (*ProjectShowRequest) Reset ¶
func (x *ProjectShowRequest) Reset()
func (*ProjectShowRequest) String ¶
func (x *ProjectShowRequest) String() string
func (*ProjectShowRequest) Validate ¶
func (m *ProjectShowRequest) Validate() error
Validate checks the field values on ProjectShowRequest 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 (*ProjectShowRequest) ValidateAll ¶
func (m *ProjectShowRequest) ValidateAll() error
ValidateAll checks the field values on ProjectShowRequest 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 ProjectShowRequestMultiError, or nil if none found.
type ProjectShowRequestMultiError ¶
type ProjectShowRequestMultiError []error
ProjectShowRequestMultiError is an error wrapping multiple validation errors returned by ProjectShowRequest.ValidateAll() if the designated constraints aren't met.
func (ProjectShowRequestMultiError) AllErrors ¶
func (m ProjectShowRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectShowRequestMultiError) Error ¶
func (m ProjectShowRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectShowRequestValidationError ¶
type ProjectShowRequestValidationError struct {
// contains filtered or unexported fields
}
ProjectShowRequestValidationError is the validation error returned by ProjectShowRequest.Validate if the designated constraints aren't met.
func (ProjectShowRequestValidationError) Cause ¶
func (e ProjectShowRequestValidationError) Cause() error
Cause function returns cause value.
func (ProjectShowRequestValidationError) Error ¶
func (e ProjectShowRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectShowRequestValidationError) ErrorName ¶
func (e ProjectShowRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectShowRequestValidationError) Field ¶
func (e ProjectShowRequestValidationError) Field() string
Field function returns field value.
func (ProjectShowRequestValidationError) Key ¶
func (e ProjectShowRequestValidationError) Key() bool
Key function returns key value.
func (ProjectShowRequestValidationError) Reason ¶
func (e ProjectShowRequestValidationError) Reason() string
Reason function returns reason value.
type ProjectShowResponse ¶
type ProjectShowResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` GitlabProjectId int64 `protobuf:"varint,3,opt,name=gitlab_project_id,json=gitlabProjectId,proto3" json:"gitlab_project_id,omitempty"` GitlabBranch string `protobuf:"bytes,4,opt,name=gitlab_branch,json=gitlabBranch,proto3" json:"gitlab_branch,omitempty"` GitlabCommit string `protobuf:"bytes,5,opt,name=gitlab_commit,json=gitlabCommit,proto3" json:"gitlab_commit,omitempty"` Config string `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` DockerImage string `protobuf:"bytes,7,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` Atomic bool `protobuf:"varint,8,opt,name=atomic,proto3" json:"atomic,omitempty"` GitlabCommitWebUrl string `protobuf:"bytes,9,opt,name=gitlab_commit_web_url,json=gitlabCommitWebUrl,proto3" json:"gitlab_commit_web_url,omitempty"` GitlabCommitTitle string `protobuf:"bytes,10,opt,name=gitlab_commit_title,json=gitlabCommitTitle,proto3" json:"gitlab_commit_title,omitempty"` GitlabCommitAuthor string `protobuf:"bytes,11,opt,name=gitlab_commit_author,json=gitlabCommitAuthor,proto3" json:"gitlab_commit_author,omitempty"` GitlabCommitDate string `protobuf:"bytes,12,opt,name=gitlab_commit_date,json=gitlabCommitDate,proto3" json:"gitlab_commit_date,omitempty"` Urls []*namespace.NamespaceServiceEndpoint `protobuf:"bytes,13,rep,name=urls,proto3" json:"urls,omitempty"` Namespace *ProjectShowResponse_Namespace `protobuf:"bytes,14,opt,name=namespace,proto3" json:"namespace,omitempty"` Cpu string `protobuf:"bytes,15,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory string `protobuf:"bytes,16,opt,name=memory,proto3" json:"memory,omitempty"` OverrideValues string `protobuf:"bytes,17,opt,name=override_values,json=overrideValues,proto3" json:"override_values,omitempty"` CreatedAt string `protobuf:"bytes,18,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,19,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` HumanizeCreatedAt string `protobuf:"bytes,20,opt,name=humanize_created_at,json=humanizeCreatedAt,proto3" json:"humanize_created_at,omitempty"` HumanizeUpdatedAt string `protobuf:"bytes,21,opt,name=humanize_updated_at,json=humanizeUpdatedAt,proto3" json:"humanize_updated_at,omitempty"` ExtraValues []*websocket.ProjectExtraItem `protobuf:"bytes,22,rep,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` Elements []*mars.Element `protobuf:"bytes,23,rep,name=elements,proto3" json:"elements,omitempty"` ConfigType string `protobuf:"bytes,24,opt,name=config_type,json=configType,proto3" json:"config_type,omitempty"` // contains filtered or unexported fields }
func (*ProjectShowResponse) Descriptor
deprecated
func (*ProjectShowResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectShowResponse.ProtoReflect.Descriptor instead.
func (*ProjectShowResponse) GetAtomic ¶
func (x *ProjectShowResponse) GetAtomic() bool
func (*ProjectShowResponse) GetConfig ¶
func (x *ProjectShowResponse) GetConfig() string
func (*ProjectShowResponse) GetConfigType ¶
func (x *ProjectShowResponse) GetConfigType() string
func (*ProjectShowResponse) GetCpu ¶
func (x *ProjectShowResponse) GetCpu() string
func (*ProjectShowResponse) GetCreatedAt ¶
func (x *ProjectShowResponse) GetCreatedAt() string
func (*ProjectShowResponse) GetDockerImage ¶
func (x *ProjectShowResponse) GetDockerImage() string
func (*ProjectShowResponse) GetElements ¶
func (x *ProjectShowResponse) GetElements() []*mars.Element
func (*ProjectShowResponse) GetExtraValues ¶
func (x *ProjectShowResponse) GetExtraValues() []*websocket.ProjectExtraItem
func (*ProjectShowResponse) GetGitlabBranch ¶
func (x *ProjectShowResponse) GetGitlabBranch() string
func (*ProjectShowResponse) GetGitlabCommit ¶
func (x *ProjectShowResponse) GetGitlabCommit() string
func (*ProjectShowResponse) GetGitlabCommitAuthor ¶
func (x *ProjectShowResponse) GetGitlabCommitAuthor() string
func (*ProjectShowResponse) GetGitlabCommitDate ¶
func (x *ProjectShowResponse) GetGitlabCommitDate() string
func (*ProjectShowResponse) GetGitlabCommitTitle ¶
func (x *ProjectShowResponse) GetGitlabCommitTitle() string
func (*ProjectShowResponse) GetGitlabCommitWebUrl ¶
func (x *ProjectShowResponse) GetGitlabCommitWebUrl() string
func (*ProjectShowResponse) GetGitlabProjectId ¶
func (x *ProjectShowResponse) GetGitlabProjectId() int64
func (*ProjectShowResponse) GetHumanizeCreatedAt ¶
func (x *ProjectShowResponse) GetHumanizeCreatedAt() string
func (*ProjectShowResponse) GetHumanizeUpdatedAt ¶
func (x *ProjectShowResponse) GetHumanizeUpdatedAt() string
func (*ProjectShowResponse) GetId ¶
func (x *ProjectShowResponse) GetId() int64
func (*ProjectShowResponse) GetMemory ¶
func (x *ProjectShowResponse) GetMemory() string
func (*ProjectShowResponse) GetName ¶
func (x *ProjectShowResponse) GetName() string
func (*ProjectShowResponse) GetNamespace ¶
func (x *ProjectShowResponse) GetNamespace() *ProjectShowResponse_Namespace
func (*ProjectShowResponse) GetOverrideValues ¶
func (x *ProjectShowResponse) GetOverrideValues() string
func (*ProjectShowResponse) GetUpdatedAt ¶
func (x *ProjectShowResponse) GetUpdatedAt() string
func (*ProjectShowResponse) GetUrls ¶
func (x *ProjectShowResponse) GetUrls() []*namespace.NamespaceServiceEndpoint
func (*ProjectShowResponse) ProtoMessage ¶
func (*ProjectShowResponse) ProtoMessage()
func (*ProjectShowResponse) ProtoReflect ¶
func (x *ProjectShowResponse) ProtoReflect() protoreflect.Message
func (*ProjectShowResponse) Reset ¶
func (x *ProjectShowResponse) Reset()
func (*ProjectShowResponse) String ¶
func (x *ProjectShowResponse) String() string
func (*ProjectShowResponse) Validate ¶
func (m *ProjectShowResponse) Validate() error
Validate checks the field values on ProjectShowResponse 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 (*ProjectShowResponse) ValidateAll ¶
func (m *ProjectShowResponse) ValidateAll() error
ValidateAll checks the field values on ProjectShowResponse 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 ProjectShowResponseMultiError, or nil if none found.
type ProjectShowResponseMultiError ¶
type ProjectShowResponseMultiError []error
ProjectShowResponseMultiError is an error wrapping multiple validation errors returned by ProjectShowResponse.ValidateAll() if the designated constraints aren't met.
func (ProjectShowResponseMultiError) AllErrors ¶
func (m ProjectShowResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectShowResponseMultiError) Error ¶
func (m ProjectShowResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectShowResponseValidationError ¶
type ProjectShowResponseValidationError struct {
// contains filtered or unexported fields
}
ProjectShowResponseValidationError is the validation error returned by ProjectShowResponse.Validate if the designated constraints aren't met.
func (ProjectShowResponseValidationError) Cause ¶
func (e ProjectShowResponseValidationError) Cause() error
Cause function returns cause value.
func (ProjectShowResponseValidationError) Error ¶
func (e ProjectShowResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectShowResponseValidationError) ErrorName ¶
func (e ProjectShowResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectShowResponseValidationError) Field ¶
func (e ProjectShowResponseValidationError) Field() string
Field function returns field value.
func (ProjectShowResponseValidationError) Key ¶
func (e ProjectShowResponseValidationError) Key() bool
Key function returns key value.
func (ProjectShowResponseValidationError) Reason ¶
func (e ProjectShowResponseValidationError) Reason() string
Reason function returns reason value.
type ProjectShowResponse_Namespace ¶
type ProjectShowResponse_Namespace struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ProjectShowResponse_Namespace) Descriptor
deprecated
func (*ProjectShowResponse_Namespace) Descriptor() ([]byte, []int)
Deprecated: Use ProjectShowResponse_Namespace.ProtoReflect.Descriptor instead.
func (*ProjectShowResponse_Namespace) GetId ¶
func (x *ProjectShowResponse_Namespace) GetId() int64
func (*ProjectShowResponse_Namespace) GetName ¶
func (x *ProjectShowResponse_Namespace) GetName() string
func (*ProjectShowResponse_Namespace) ProtoMessage ¶
func (*ProjectShowResponse_Namespace) ProtoMessage()
func (*ProjectShowResponse_Namespace) ProtoReflect ¶
func (x *ProjectShowResponse_Namespace) ProtoReflect() protoreflect.Message
func (*ProjectShowResponse_Namespace) Reset ¶
func (x *ProjectShowResponse_Namespace) Reset()
func (*ProjectShowResponse_Namespace) String ¶
func (x *ProjectShowResponse_Namespace) String() string
func (*ProjectShowResponse_Namespace) Validate ¶
func (m *ProjectShowResponse_Namespace) Validate() error
Validate checks the field values on ProjectShowResponse_Namespace 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 (*ProjectShowResponse_Namespace) ValidateAll ¶
func (m *ProjectShowResponse_Namespace) ValidateAll() error
ValidateAll checks the field values on ProjectShowResponse_Namespace 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 ProjectShowResponse_NamespaceMultiError, or nil if none found.
type ProjectShowResponse_NamespaceMultiError ¶
type ProjectShowResponse_NamespaceMultiError []error
ProjectShowResponse_NamespaceMultiError is an error wrapping multiple validation errors returned by ProjectShowResponse_Namespace.ValidateAll() if the designated constraints aren't met.
func (ProjectShowResponse_NamespaceMultiError) AllErrors ¶
func (m ProjectShowResponse_NamespaceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectShowResponse_NamespaceMultiError) Error ¶
func (m ProjectShowResponse_NamespaceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectShowResponse_NamespaceValidationError ¶
type ProjectShowResponse_NamespaceValidationError struct {
// contains filtered or unexported fields
}
ProjectShowResponse_NamespaceValidationError is the validation error returned by ProjectShowResponse_Namespace.Validate if the designated constraints aren't met.
func (ProjectShowResponse_NamespaceValidationError) Cause ¶
func (e ProjectShowResponse_NamespaceValidationError) Cause() error
Cause function returns cause value.
func (ProjectShowResponse_NamespaceValidationError) Error ¶
func (e ProjectShowResponse_NamespaceValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectShowResponse_NamespaceValidationError) ErrorName ¶
func (e ProjectShowResponse_NamespaceValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectShowResponse_NamespaceValidationError) Field ¶
func (e ProjectShowResponse_NamespaceValidationError) Field() string
Field function returns field value.
func (ProjectShowResponse_NamespaceValidationError) Key ¶
func (e ProjectShowResponse_NamespaceValidationError) Key() bool
Key function returns key value.
func (ProjectShowResponse_NamespaceValidationError) Reason ¶
func (e ProjectShowResponse_NamespaceValidationError) Reason() string
Reason function returns reason value.
type Project_ApplyClient ¶
type Project_ApplyClient interface { Recv() (*ProjectApplyResponse, error) grpc.ClientStream }
type Project_ApplyServer ¶
type Project_ApplyServer interface { Send(*ProjectApplyResponse) error grpc.ServerStream }
type Project_StreamPodContainerLogClient ¶
type Project_StreamPodContainerLogClient interface { Recv() (*ProjectPodContainerLogResponse, error) grpc.ClientStream }
type Project_StreamPodContainerLogServer ¶
type Project_StreamPodContainerLogServer interface { Send(*ProjectPodContainerLogResponse) error grpc.ServerStream }
type UnimplementedProjectServer ¶
type UnimplementedProjectServer struct { }
UnimplementedProjectServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectServer) AllPodContainers ¶
func (UnimplementedProjectServer) AllPodContainers(context.Context, *ProjectAllPodContainersRequest) (*ProjectAllPodContainersResponse, error)
func (UnimplementedProjectServer) Apply ¶
func (UnimplementedProjectServer) Apply(*ProjectApplyRequest, Project_ApplyServer) error
func (UnimplementedProjectServer) Delete ¶
func (UnimplementedProjectServer) Delete(context.Context, *ProjectDeleteRequest) (*ProjectDeleteResponse, error)
func (UnimplementedProjectServer) IsPodExists ¶
func (UnimplementedProjectServer) IsPodExists(context.Context, *ProjectIsPodExistsRequest) (*ProjectIsPodExistsResponse, error)
func (UnimplementedProjectServer) IsPodRunning ¶
func (UnimplementedProjectServer) IsPodRunning(context.Context, *ProjectIsPodRunningRequest) (*ProjectIsPodRunningResponse, error)
func (UnimplementedProjectServer) List ¶
func (UnimplementedProjectServer) List(context.Context, *ProjectListRequest) (*ProjectListResponse, error)
func (UnimplementedProjectServer) PodContainerLog ¶
func (UnimplementedProjectServer) PodContainerLog(context.Context, *ProjectPodContainerLogRequest) (*ProjectPodContainerLogResponse, error)
func (UnimplementedProjectServer) Show ¶
func (UnimplementedProjectServer) Show(context.Context, *ProjectShowRequest) (*ProjectShowResponse, error)
func (UnimplementedProjectServer) StreamPodContainerLog ¶
func (UnimplementedProjectServer) StreamPodContainerLog(*ProjectPodContainerLogRequest, Project_StreamPodContainerLogServer) 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.