project

package
v0.0.0-...-51115e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2022 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Overview

Package project is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_project_project_proto protoreflect.FileDescriptor
View Source
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 (*ProjectAllPodContainersRequest) Reset

func (x *ProjectAllPodContainersRequest) Reset()

func (*ProjectAllPodContainersRequest) 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

AllErrors returns a list of validation violation errors.

func (ProjectAllPodContainersRequestMultiError) Error

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

Cause function returns cause value.

func (ProjectAllPodContainersRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectAllPodContainersRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectAllPodContainersRequestValidationError) Field

Field function returns field value.

func (ProjectAllPodContainersRequestValidationError) Key

Key function returns key value.

func (ProjectAllPodContainersRequestValidationError) Reason

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 (*ProjectAllPodContainersResponse) ProtoMessage

func (*ProjectAllPodContainersResponse) ProtoMessage()

func (*ProjectAllPodContainersResponse) ProtoReflect

func (*ProjectAllPodContainersResponse) Reset

func (*ProjectAllPodContainersResponse) 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

AllErrors returns a list of validation violation errors.

func (ProjectAllPodContainersResponseMultiError) Error

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

Cause function returns cause value.

func (ProjectAllPodContainersResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectAllPodContainersResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectAllPodContainersResponseValidationError) Field

Field function returns field value.

func (ProjectAllPodContainersResponseValidationError) Key

Key function returns key value.

func (ProjectAllPodContainersResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectApplyRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectApplyRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectApplyRequestValidationError) Field

Field function returns field value.

func (ProjectApplyRequestValidationError) Key

Key function returns key value.

func (ProjectApplyRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectApplyResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectApplyResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectApplyResponseValidationError) Field

Field function returns field value.

func (ProjectApplyResponseValidationError) Key

Key function returns key value.

func (ProjectApplyResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectDeleteRequestValidationError) Field

Field function returns field value.

func (ProjectDeleteRequestValidationError) Key

Key function returns key value.

func (ProjectDeleteRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectDeleteResponseValidationError) Field

Field function returns field value.

func (ProjectDeleteResponseValidationError) Key

Key function returns key value.

func (ProjectDeleteResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ProjectIsPodExistsRequestMultiError) Error

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

Cause function returns cause value.

func (ProjectIsPodExistsRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectIsPodExistsRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectIsPodExistsRequestValidationError) Field

Field function returns field value.

func (ProjectIsPodExistsRequestValidationError) Key

Key function returns key value.

func (ProjectIsPodExistsRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ProjectIsPodExistsResponseMultiError) Error

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

Cause function returns cause value.

func (ProjectIsPodExistsResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectIsPodExistsResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectIsPodExistsResponseValidationError) Field

Field function returns field value.

func (ProjectIsPodExistsResponseValidationError) Key

Key function returns key value.

func (ProjectIsPodExistsResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ProjectIsPodRunningRequestMultiError) Error

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

Cause function returns cause value.

func (ProjectIsPodRunningRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectIsPodRunningRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectIsPodRunningRequestValidationError) Field

Field function returns field value.

func (ProjectIsPodRunningRequestValidationError) Key

Key function returns key value.

func (ProjectIsPodRunningRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ProjectIsPodRunningResponseMultiError) Error

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

Cause function returns cause value.

func (ProjectIsPodRunningResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectIsPodRunningResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectIsPodRunningResponseValidationError) Field

Field function returns field value.

func (ProjectIsPodRunningResponseValidationError) Key

Key function returns key value.

func (ProjectIsPodRunningResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectListRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectListRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectListRequestValidationError) Field

Field function returns field value.

func (ProjectListRequestValidationError) Key

Key function returns key value.

func (ProjectListRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectListResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectListResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectListResponseValidationError) Field

Field function returns field value.

func (ProjectListResponseValidationError) Key

Key function returns key value.

func (ProjectListResponseValidationError) Reason

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 (*ProjectPodContainerLogRequest) GetProjectId

func (x *ProjectPodContainerLogRequest) GetProjectId() int64

func (*ProjectPodContainerLogRequest) ProtoMessage

func (*ProjectPodContainerLogRequest) ProtoMessage()

func (*ProjectPodContainerLogRequest) ProtoReflect

func (*ProjectPodContainerLogRequest) Reset

func (x *ProjectPodContainerLogRequest) Reset()

func (*ProjectPodContainerLogRequest) 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

AllErrors returns a list of validation violation errors.

func (ProjectPodContainerLogRequestMultiError) Error

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

Cause function returns cause value.

func (ProjectPodContainerLogRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectPodContainerLogRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectPodContainerLogRequestValidationError) Field

Field function returns field value.

func (ProjectPodContainerLogRequestValidationError) Key

Key function returns key value.

func (ProjectPodContainerLogRequestValidationError) Reason

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 (*ProjectPodContainerLogResponse) ProtoMessage

func (*ProjectPodContainerLogResponse) ProtoMessage()

func (*ProjectPodContainerLogResponse) ProtoReflect

func (*ProjectPodContainerLogResponse) Reset

func (x *ProjectPodContainerLogResponse) Reset()

func (*ProjectPodContainerLogResponse) 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

AllErrors returns a list of validation violation errors.

func (ProjectPodContainerLogResponseMultiError) Error

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

Cause function returns cause value.

func (ProjectPodContainerLogResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectPodContainerLogResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectPodContainerLogResponseValidationError) Field

Field function returns field value.

func (ProjectPodContainerLogResponseValidationError) Key

Key function returns key value.

func (ProjectPodContainerLogResponseValidationError) Reason

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

Cause function returns cause value.

func (ProjectPodLogValidationError) Error

Error satisfies the builtin error interface

func (ProjectPodLogValidationError) ErrorName

func (e ProjectPodLogValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectPodLogValidationError) Field

Field function returns field value.

func (ProjectPodLogValidationError) Key

Key function returns key value.

func (ProjectPodLogValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectShowRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectShowRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectShowRequestValidationError) Field

Field function returns field value.

func (ProjectShowRequestValidationError) Key

Key function returns key value.

func (ProjectShowRequestValidationError) Reason

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 (*ProjectShowResponse) GetOverrideValues

func (x *ProjectShowResponse) GetOverrideValues() string

func (*ProjectShowResponse) GetUpdatedAt

func (x *ProjectShowResponse) GetUpdatedAt() string

func (*ProjectShowResponse) GetUrls

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

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

Cause function returns cause value.

func (ProjectShowResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectShowResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectShowResponseValidationError) Field

Field function returns field value.

func (ProjectShowResponseValidationError) Key

Key function returns key value.

func (ProjectShowResponseValidationError) Reason

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 (*ProjectShowResponse_Namespace) GetName

func (*ProjectShowResponse_Namespace) ProtoMessage

func (*ProjectShowResponse_Namespace) ProtoMessage()

func (*ProjectShowResponse_Namespace) ProtoReflect

func (*ProjectShowResponse_Namespace) Reset

func (x *ProjectShowResponse_Namespace) Reset()

func (*ProjectShowResponse_Namespace) 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

AllErrors returns a list of validation violation errors.

func (ProjectShowResponse_NamespaceMultiError) Error

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

Cause function returns cause value.

func (ProjectShowResponse_NamespaceValidationError) Error

Error satisfies the builtin error interface

func (ProjectShowResponse_NamespaceValidationError) ErrorName

ErrorName returns error name.

func (ProjectShowResponse_NamespaceValidationError) Field

Field function returns field value.

func (ProjectShowResponse_NamespaceValidationError) Key

Key function returns key value.

func (ProjectShowResponse_NamespaceValidationError) Reason

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) Apply

func (UnimplementedProjectServer) Delete

func (UnimplementedProjectServer) List

func (UnimplementedProjectServer) Show

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL