v1

package
v0.6.310 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoreK8SService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.k8score.v1.CoreK8sService",
	HandlerType: (*CoreK8SServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListK8sSecrets",
			Handler:    _CoreK8SService_ListK8SSecrets_Handler,
		},
		{
			MethodName: "GetK8sSecret",
			Handler:    _CoreK8SService_GetK8SSecret_Handler,
		},
		{
			MethodName: "ListK8sServices",
			Handler:    _CoreK8SService_ListK8SServices_Handler,
		},
		{
			MethodName: "GetK8sService",
			Handler:    _CoreK8SService_GetK8SService_Handler,
		},
		{
			MethodName: "ListK8sDeployments",
			Handler:    _CoreK8SService_ListK8SDeployments_Handler,
		},
		{
			MethodName: "GetK8sDeployment",
			Handler:    _CoreK8SService_GetK8SDeployment_Handler,
		},
		{
			MethodName: "ListK8sPods",
			Handler:    _CoreK8SService_ListK8SPods_Handler,
		},
		{
			MethodName: "GetK8sPod",
			Handler:    _CoreK8SService_GetK8SPod_Handler,
		},
		{
			MethodName: "ListK8sJobs",
			Handler:    _CoreK8SService_ListK8SJobs_Handler,
		},
		{
			MethodName: "GetK8sJob",
			Handler:    _CoreK8SService_GetK8SJob_Handler,
		},
		{
			MethodName: "ListEvents",
			Handler:    _CoreK8SService_ListEvents_Handler,
		},
		{
			MethodName: "GetContainerLog",
			Handler:    _CoreK8SService_GetContainerLog_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/k8score/v1/k8score.proto",
}

CoreK8SService_ServiceDesc is the grpc.ServiceDesc for CoreK8SService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_github_com_metaprov_modelaapi_services_k8score_v1_k8score_proto protoreflect.FileDescriptor

Functions

func RegisterCoreK8SServiceServer

func RegisterCoreK8SServiceServer(s grpc.ServiceRegistrar, srv CoreK8SServiceServer)

Types

type ContainerInfo added in v0.4.489

type ContainerInfo struct {
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Log   []byte `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerInfo) Descriptor deprecated added in v0.4.489

func (*ContainerInfo) Descriptor() ([]byte, []int)

Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.

func (*ContainerInfo) GetImage added in v0.4.492

func (x *ContainerInfo) GetImage() string

func (*ContainerInfo) GetLog added in v0.4.489

func (x *ContainerInfo) GetLog() []byte

func (*ContainerInfo) GetName added in v0.4.489

func (x *ContainerInfo) GetName() string

func (*ContainerInfo) ProtoMessage added in v0.4.489

func (*ContainerInfo) ProtoMessage()

func (*ContainerInfo) ProtoReflect added in v0.4.489

func (x *ContainerInfo) ProtoReflect() protoreflect.Message

func (*ContainerInfo) Reset added in v0.4.489

func (x *ContainerInfo) Reset()

func (*ContainerInfo) String added in v0.4.489

func (x *ContainerInfo) String() string

type CoreK8SServiceClient

type CoreK8SServiceClient interface {
	// //////////////// secret
	ListK8SSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretResponse, error)
	GetK8SSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
	// //////////////// service
	ListK8SServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	GetK8SService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*GetServiceResponse, error)
	// //////////////// deployment
	ListK8SDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error)
	GetK8SDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*GetDeploymentResponse, error)
	// //////////////// pod
	ListK8SPods(ctx context.Context, in *ListPodsRequest, opts ...grpc.CallOption) (*ListPodsResponse, error)
	GetK8SPod(ctx context.Context, in *GetPodRequest, opts ...grpc.CallOption) (*GetPodResponse, error)
	// ////////////// jobs
	ListK8SJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
	GetK8SJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*GetJobResponse, error)
	ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
	// //////////////////////////// container log
	GetContainerLog(ctx context.Context, in *GetContainerLogRequest, opts ...grpc.CallOption) (*GetContainerLogResponse, error)
}

CoreK8SServiceClient is the client API for CoreK8SService 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.

type CoreK8SServiceServer

type CoreK8SServiceServer interface {
	// //////////////// secret
	ListK8SSecrets(context.Context, *ListSecretsRequest) (*ListSecretResponse, error)
	GetK8SSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
	// //////////////// service
	ListK8SServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	GetK8SService(context.Context, *GetServiceRequest) (*GetServiceResponse, error)
	// //////////////// deployment
	ListK8SDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
	GetK8SDeployment(context.Context, *GetDeploymentRequest) (*GetDeploymentResponse, error)
	// //////////////// pod
	ListK8SPods(context.Context, *ListPodsRequest) (*ListPodsResponse, error)
	GetK8SPod(context.Context, *GetPodRequest) (*GetPodResponse, error)
	// ////////////// jobs
	ListK8SJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
	GetK8SJob(context.Context, *GetJobRequest) (*GetJobResponse, error)
	ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
	// //////////////////////////// container log
	GetContainerLog(context.Context, *GetContainerLogRequest) (*GetContainerLogResponse, error)
	// contains filtered or unexported methods
}

CoreK8SServiceServer is the server API for CoreK8SService service. All implementations must embed UnimplementedCoreK8SServiceServer for forward compatibility

type DeploymentInfo

type DeploymentInfo struct {
	Name      string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string                `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string     `` /* 153-byte string literal not displayed */
	CreatedAt *v11.Time             `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Status    *v12.DeploymentStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Pods      []*PodInfo            `protobuf:"bytes,6,rep,name=pods,proto3" json:"pods,omitempty"` // return info about each pod in the job
	// contains filtered or unexported fields
}

func (*DeploymentInfo) Descriptor deprecated

func (*DeploymentInfo) Descriptor() ([]byte, []int)

Deprecated: Use DeploymentInfo.ProtoReflect.Descriptor instead.

func (*DeploymentInfo) GetCreatedAt added in v0.4.489

func (x *DeploymentInfo) GetCreatedAt() *v11.Time

func (*DeploymentInfo) GetLabels added in v0.4.489

func (x *DeploymentInfo) GetLabels() map[string]string

func (*DeploymentInfo) GetName

func (x *DeploymentInfo) GetName() string

func (*DeploymentInfo) GetNamespace

func (x *DeploymentInfo) GetNamespace() string

func (*DeploymentInfo) GetPods added in v0.4.487

func (x *DeploymentInfo) GetPods() []*PodInfo

func (*DeploymentInfo) GetStatus added in v0.4.470

func (x *DeploymentInfo) GetStatus() *v12.DeploymentStatus

func (*DeploymentInfo) ProtoMessage

func (*DeploymentInfo) ProtoMessage()

func (*DeploymentInfo) ProtoReflect

func (x *DeploymentInfo) ProtoReflect() protoreflect.Message

func (*DeploymentInfo) Reset

func (x *DeploymentInfo) Reset()

func (*DeploymentInfo) String

func (x *DeploymentInfo) String() string

type GetContainerLogRequest added in v0.4.493

type GetContainerLogRequest struct {
	Namespace     string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Containername string `protobuf:"bytes,3,opt,name=containername,proto3" json:"containername,omitempty"`
	// contains filtered or unexported fields
}

Container

func (*GetContainerLogRequest) Descriptor deprecated added in v0.4.493

func (*GetContainerLogRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetContainerLogRequest.ProtoReflect.Descriptor instead.

func (*GetContainerLogRequest) GetContainername added in v0.4.493

func (x *GetContainerLogRequest) GetContainername() string

func (*GetContainerLogRequest) GetName added in v0.4.493

func (x *GetContainerLogRequest) GetName() string

func (*GetContainerLogRequest) GetNamespace added in v0.4.493

func (x *GetContainerLogRequest) GetNamespace() string

func (*GetContainerLogRequest) ProtoMessage added in v0.4.493

func (*GetContainerLogRequest) ProtoMessage()

func (*GetContainerLogRequest) ProtoReflect added in v0.4.493

func (x *GetContainerLogRequest) ProtoReflect() protoreflect.Message

func (*GetContainerLogRequest) Reset added in v0.4.493

func (x *GetContainerLogRequest) Reset()

func (*GetContainerLogRequest) String added in v0.4.493

func (x *GetContainerLogRequest) String() string

type GetContainerLogResponse added in v0.4.493

type GetContainerLogResponse struct {
	Log []byte `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*GetContainerLogResponse) Descriptor deprecated added in v0.4.493

func (*GetContainerLogResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetContainerLogResponse.ProtoReflect.Descriptor instead.

func (*GetContainerLogResponse) GetLog added in v0.4.493

func (x *GetContainerLogResponse) GetLog() []byte

func (*GetContainerLogResponse) ProtoMessage added in v0.4.493

func (*GetContainerLogResponse) ProtoMessage()

func (*GetContainerLogResponse) ProtoReflect added in v0.4.493

func (x *GetContainerLogResponse) ProtoReflect() protoreflect.Message

func (*GetContainerLogResponse) Reset added in v0.4.493

func (x *GetContainerLogResponse) Reset()

func (*GetContainerLogResponse) String added in v0.4.493

func (x *GetContainerLogResponse) String() string

type GetDeploymentRequest

type GetDeploymentRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetDeploymentRequest) Descriptor deprecated

func (*GetDeploymentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetDeploymentRequest) GetLabels

func (x *GetDeploymentRequest) GetLabels() map[string]string

func (*GetDeploymentRequest) GetName

func (x *GetDeploymentRequest) GetName() string

func (*GetDeploymentRequest) GetNamespace

func (x *GetDeploymentRequest) GetNamespace() string

func (*GetDeploymentRequest) ProtoMessage

func (*GetDeploymentRequest) ProtoMessage()

func (*GetDeploymentRequest) ProtoReflect

func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message

func (*GetDeploymentRequest) Reset

func (x *GetDeploymentRequest) Reset()

func (*GetDeploymentRequest) String

func (x *GetDeploymentRequest) String() string

type GetDeploymentResponse

type GetDeploymentResponse struct {
	Deployment *DeploymentInfo `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeploymentResponse) Descriptor deprecated

func (*GetDeploymentResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetDeploymentResponse.ProtoReflect.Descriptor instead.

func (*GetDeploymentResponse) GetDeployment added in v0.4.475

func (x *GetDeploymentResponse) GetDeployment() *DeploymentInfo

func (*GetDeploymentResponse) ProtoMessage

func (*GetDeploymentResponse) ProtoMessage()

func (*GetDeploymentResponse) ProtoReflect

func (x *GetDeploymentResponse) ProtoReflect() protoreflect.Message

func (*GetDeploymentResponse) Reset

func (x *GetDeploymentResponse) Reset()

func (*GetDeploymentResponse) String

func (x *GetDeploymentResponse) String() string

type GetJobRequest

type GetJobRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetJobRequest) Descriptor deprecated

func (*GetJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.

func (*GetJobRequest) GetLabels

func (x *GetJobRequest) GetLabels() map[string]string

func (*GetJobRequest) GetName

func (x *GetJobRequest) GetName() string

func (*GetJobRequest) GetNamespace

func (x *GetJobRequest) GetNamespace() string

func (*GetJobRequest) ProtoMessage

func (*GetJobRequest) ProtoMessage()

func (*GetJobRequest) ProtoReflect

func (x *GetJobRequest) ProtoReflect() protoreflect.Message

func (*GetJobRequest) Reset

func (x *GetJobRequest) Reset()

func (*GetJobRequest) String

func (x *GetJobRequest) String() string

type GetJobResponse

type GetJobResponse struct {
	Job *JobInfo `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*GetJobResponse) Descriptor deprecated

func (*GetJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetJobResponse.ProtoReflect.Descriptor instead.

func (*GetJobResponse) GetJob added in v0.4.475

func (x *GetJobResponse) GetJob() *JobInfo

func (*GetJobResponse) ProtoMessage

func (*GetJobResponse) ProtoMessage()

func (*GetJobResponse) ProtoReflect

func (x *GetJobResponse) ProtoReflect() protoreflect.Message

func (*GetJobResponse) Reset

func (x *GetJobResponse) Reset()

func (*GetJobResponse) String

func (x *GetJobResponse) String() string

type GetPodRequest

type GetPodRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetPodRequest) Descriptor deprecated

func (*GetPodRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPodRequest.ProtoReflect.Descriptor instead.

func (*GetPodRequest) GetLabels

func (x *GetPodRequest) GetLabels() map[string]string

func (*GetPodRequest) GetName

func (x *GetPodRequest) GetName() string

func (*GetPodRequest) GetNamespace

func (x *GetPodRequest) GetNamespace() string

func (*GetPodRequest) ProtoMessage

func (*GetPodRequest) ProtoMessage()

func (*GetPodRequest) ProtoReflect

func (x *GetPodRequest) ProtoReflect() protoreflect.Message

func (*GetPodRequest) Reset

func (x *GetPodRequest) Reset()

func (*GetPodRequest) String

func (x *GetPodRequest) String() string

type GetPodResponse

type GetPodResponse struct {
	Pod *PodInfo `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPodResponse) Descriptor deprecated

func (*GetPodResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPodResponse.ProtoReflect.Descriptor instead.

func (*GetPodResponse) GetPod added in v0.4.475

func (x *GetPodResponse) GetPod() *PodInfo

func (*GetPodResponse) ProtoMessage

func (*GetPodResponse) ProtoMessage()

func (*GetPodResponse) ProtoReflect

func (x *GetPodResponse) ProtoReflect() protoreflect.Message

func (*GetPodResponse) Reset

func (x *GetPodResponse) Reset()

func (*GetPodResponse) String

func (x *GetPodResponse) String() string

type GetSecretRequest

type GetSecretRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetSecretRequest) Descriptor deprecated

func (*GetSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.

func (*GetSecretRequest) GetLabels

func (x *GetSecretRequest) GetLabels() map[string]string

func (*GetSecretRequest) GetName

func (x *GetSecretRequest) GetName() string

func (*GetSecretRequest) GetNamespace

func (x *GetSecretRequest) GetNamespace() string

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) ProtoReflect

func (x *GetSecretRequest) ProtoReflect() protoreflect.Message

func (*GetSecretRequest) Reset

func (x *GetSecretRequest) Reset()

func (*GetSecretRequest) String

func (x *GetSecretRequest) String() string

type GetSecretResponse

type GetSecretResponse struct {
	Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecretResponse) Descriptor deprecated

func (*GetSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretResponse.ProtoReflect.Descriptor instead.

func (*GetSecretResponse) GetSecret added in v0.4.475

func (x *GetSecretResponse) GetSecret() *SecretInfo

func (*GetSecretResponse) ProtoMessage

func (*GetSecretResponse) ProtoMessage()

func (*GetSecretResponse) ProtoReflect

func (x *GetSecretResponse) ProtoReflect() protoreflect.Message

func (*GetSecretResponse) Reset

func (x *GetSecretResponse) Reset()

func (*GetSecretResponse) String

func (x *GetSecretResponse) String() string

type GetServiceRequest

type GetServiceRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetServiceRequest) Descriptor deprecated

func (*GetServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetLabels

func (x *GetServiceRequest) GetLabels() map[string]string

func (*GetServiceRequest) GetName

func (x *GetServiceRequest) GetName() string

func (*GetServiceRequest) GetNamespace

func (x *GetServiceRequest) GetNamespace() string

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect

func (x *GetServiceRequest) ProtoReflect() protoreflect.Message

func (*GetServiceRequest) Reset

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) String

func (x *GetServiceRequest) String() string

type GetServiceResponse

type GetServiceResponse struct {
	Service *ServiceInfo `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceResponse) Descriptor deprecated

func (*GetServiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceResponse.ProtoReflect.Descriptor instead.

func (*GetServiceResponse) GetService added in v0.4.475

func (x *GetServiceResponse) GetService() *ServiceInfo

func (*GetServiceResponse) ProtoMessage

func (*GetServiceResponse) ProtoMessage()

func (*GetServiceResponse) ProtoReflect

func (x *GetServiceResponse) ProtoReflect() protoreflect.Message

func (*GetServiceResponse) Reset

func (x *GetServiceResponse) Reset()

func (*GetServiceResponse) String

func (x *GetServiceResponse) String() string

type JobInfo

type JobInfo struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace   string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels      map[string]string `` /* 153-byte string literal not displayed */
	StartedAt   *v11.Time         `protobuf:"bytes,4,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
	CompletedAt *v11.Time         `protobuf:"bytes,5,opt,name=completedAt,proto3" json:"completedAt,omitempty"`
	Failed      int32             `protobuf:"varint,6,opt,name=failed,proto3" json:"failed,omitempty"` // active pods
	Succeeded   int32             `protobuf:"varint,7,opt,name=succeeded,proto3" json:"succeeded,omitempty"`
	Active      int32             `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
	Ready       int32             `protobuf:"varint,9,opt,name=ready,proto3" json:"ready,omitempty"`
	Pods        []*PodInfo        `protobuf:"bytes,10,rep,name=pods,proto3" json:"pods,omitempty"` // return info about each pod in the job
	// needed if possible
	Model   string `protobuf:"bytes,11,opt,name=model,proto3" json:"model,omitempty"`
	Study   string `protobuf:"bytes,12,opt,name=study,proto3" json:"study,omitempty"`
	Dataset string `protobuf:"bytes,13,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// contains filtered or unexported fields
}

func (*JobInfo) Descriptor deprecated

func (*JobInfo) Descriptor() ([]byte, []int)

Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.

func (*JobInfo) GetActive added in v0.4.487

func (x *JobInfo) GetActive() int32

func (*JobInfo) GetCompletedAt added in v0.4.487

func (x *JobInfo) GetCompletedAt() *v11.Time

func (*JobInfo) GetDataset added in v0.4.494

func (x *JobInfo) GetDataset() string

func (*JobInfo) GetFailed added in v0.4.487

func (x *JobInfo) GetFailed() int32

func (*JobInfo) GetLabels added in v0.4.489

func (x *JobInfo) GetLabels() map[string]string

func (*JobInfo) GetModel added in v0.4.494

func (x *JobInfo) GetModel() string

func (*JobInfo) GetName

func (x *JobInfo) GetName() string

func (*JobInfo) GetNamespace

func (x *JobInfo) GetNamespace() string

func (*JobInfo) GetPods added in v0.4.487

func (x *JobInfo) GetPods() []*PodInfo

func (*JobInfo) GetReady added in v0.4.491

func (x *JobInfo) GetReady() int32

func (*JobInfo) GetStartedAt added in v0.4.487

func (x *JobInfo) GetStartedAt() *v11.Time

func (*JobInfo) GetStudy added in v0.4.494

func (x *JobInfo) GetStudy() string

func (*JobInfo) GetSucceeded added in v0.4.487

func (x *JobInfo) GetSucceeded() int32

func (*JobInfo) ProtoMessage

func (*JobInfo) ProtoMessage()

func (*JobInfo) ProtoReflect

func (x *JobInfo) ProtoReflect() protoreflect.Message

func (*JobInfo) Reset

func (x *JobInfo) Reset()

func (*JobInfo) String

func (x *JobInfo) String() string

type ListDeploymentsRequest

type ListDeploymentsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListDeploymentsRequest) Descriptor deprecated

func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDeploymentsRequest.ProtoReflect.Descriptor instead.

func (*ListDeploymentsRequest) GetLabels

func (x *ListDeploymentsRequest) GetLabels() map[string]string

func (*ListDeploymentsRequest) GetNamespace

func (x *ListDeploymentsRequest) GetNamespace() string

func (*ListDeploymentsRequest) ProtoMessage

func (*ListDeploymentsRequest) ProtoMessage()

func (*ListDeploymentsRequest) ProtoReflect

func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message

func (*ListDeploymentsRequest) Reset

func (x *ListDeploymentsRequest) Reset()

func (*ListDeploymentsRequest) String

func (x *ListDeploymentsRequest) String() string

type ListDeploymentsResponse

type ListDeploymentsResponse struct {
	Deployments []*DeploymentInfo `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeploymentsResponse) Descriptor deprecated

func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDeploymentsResponse.ProtoReflect.Descriptor instead.

func (*ListDeploymentsResponse) GetDeployments added in v0.4.475

func (x *ListDeploymentsResponse) GetDeployments() []*DeploymentInfo

func (*ListDeploymentsResponse) ProtoMessage

func (*ListDeploymentsResponse) ProtoMessage()

func (*ListDeploymentsResponse) ProtoReflect

func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message

func (*ListDeploymentsResponse) Reset

func (x *ListDeploymentsResponse) Reset()

func (*ListDeploymentsResponse) String

func (x *ListDeploymentsResponse) String() string

type ListEventsRequest

type ListEventsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListEventsRequest) Descriptor deprecated

func (*ListEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetLabels

func (x *ListEventsRequest) GetLabels() map[string]string

func (*ListEventsRequest) GetName

func (x *ListEventsRequest) GetName() string

func (*ListEventsRequest) GetNamespace

func (x *ListEventsRequest) GetNamespace() string

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

func (x *ListEventsRequest) ProtoReflect() protoreflect.Message

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {
	Items *v1.EventList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsResponse) Descriptor deprecated

func (*ListEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetItems

func (x *ListEventsResponse) GetItems() *v1.EventList

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

func (x *ListEventsResponse) ProtoReflect() protoreflect.Message

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type ListJobsRequest

type ListJobsRequest struct {
	Tenant    string            `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Namespace string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListJobsRequest) Descriptor deprecated

func (*ListJobsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.

func (*ListJobsRequest) GetLabels

func (x *ListJobsRequest) GetLabels() map[string]string

func (*ListJobsRequest) GetNamespace

func (x *ListJobsRequest) GetNamespace() string

func (*ListJobsRequest) GetTenant added in v0.4.494

func (x *ListJobsRequest) GetTenant() string

func (*ListJobsRequest) ProtoMessage

func (*ListJobsRequest) ProtoMessage()

func (*ListJobsRequest) ProtoReflect

func (x *ListJobsRequest) ProtoReflect() protoreflect.Message

func (*ListJobsRequest) Reset

func (x *ListJobsRequest) Reset()

func (*ListJobsRequest) String

func (x *ListJobsRequest) String() string

type ListJobsResponse

type ListJobsResponse struct {
	Jobs []*JobInfo `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobsResponse) Descriptor deprecated

func (*ListJobsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.

func (*ListJobsResponse) GetJobs added in v0.4.475

func (x *ListJobsResponse) GetJobs() []*JobInfo

func (*ListJobsResponse) ProtoMessage

func (*ListJobsResponse) ProtoMessage()

func (*ListJobsResponse) ProtoReflect

func (x *ListJobsResponse) ProtoReflect() protoreflect.Message

func (*ListJobsResponse) Reset

func (x *ListJobsResponse) Reset()

func (*ListJobsResponse) String

func (x *ListJobsResponse) String() string

type ListPodsRequest

type ListPodsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListPodsRequest) Descriptor deprecated

func (*ListPodsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPodsRequest.ProtoReflect.Descriptor instead.

func (*ListPodsRequest) GetLabels

func (x *ListPodsRequest) GetLabels() map[string]string

func (*ListPodsRequest) GetNamespace

func (x *ListPodsRequest) GetNamespace() string

func (*ListPodsRequest) ProtoMessage

func (*ListPodsRequest) ProtoMessage()

func (*ListPodsRequest) ProtoReflect

func (x *ListPodsRequest) ProtoReflect() protoreflect.Message

func (*ListPodsRequest) Reset

func (x *ListPodsRequest) Reset()

func (*ListPodsRequest) String

func (x *ListPodsRequest) String() string

type ListPodsResponse

type ListPodsResponse struct {
	Pods []*PodInfo `protobuf:"bytes,1,rep,name=pods,proto3" json:"pods,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPodsResponse) Descriptor deprecated

func (*ListPodsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPodsResponse.ProtoReflect.Descriptor instead.

func (*ListPodsResponse) GetPods added in v0.4.475

func (x *ListPodsResponse) GetPods() []*PodInfo

func (*ListPodsResponse) ProtoMessage

func (*ListPodsResponse) ProtoMessage()

func (*ListPodsResponse) ProtoReflect

func (x *ListPodsResponse) ProtoReflect() protoreflect.Message

func (*ListPodsResponse) Reset

func (x *ListPodsResponse) Reset()

func (*ListPodsResponse) String

func (x *ListPodsResponse) String() string

type ListSecretResponse

type ListSecretResponse struct {
	Secrets []*SecretInfo `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSecretResponse) Descriptor deprecated

func (*ListSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretResponse.ProtoReflect.Descriptor instead.

func (*ListSecretResponse) GetSecrets added in v0.4.475

func (x *ListSecretResponse) GetSecrets() []*SecretInfo

func (*ListSecretResponse) ProtoMessage

func (*ListSecretResponse) ProtoMessage()

func (*ListSecretResponse) ProtoReflect

func (x *ListSecretResponse) ProtoReflect() protoreflect.Message

func (*ListSecretResponse) Reset

func (x *ListSecretResponse) Reset()

func (*ListSecretResponse) String

func (x *ListSecretResponse) String() string

type ListSecretsRequest

type ListSecretsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListSecretsRequest) Descriptor deprecated

func (*ListSecretsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.

func (*ListSecretsRequest) GetLabels

func (x *ListSecretsRequest) GetLabels() map[string]string

func (*ListSecretsRequest) GetNamespace

func (x *ListSecretsRequest) GetNamespace() string

func (*ListSecretsRequest) ProtoMessage

func (*ListSecretsRequest) ProtoMessage()

func (*ListSecretsRequest) ProtoReflect

func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message

func (*ListSecretsRequest) Reset

func (x *ListSecretsRequest) Reset()

func (*ListSecretsRequest) String

func (x *ListSecretsRequest) String() string

type ListServicesRequest

type ListServicesRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListServicesRequest) Descriptor deprecated

func (*ListServicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetLabels

func (x *ListServicesRequest) GetLabels() map[string]string

func (*ListServicesRequest) GetNamespace

func (x *ListServicesRequest) GetNamespace() string

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect

func (x *ListServicesRequest) ProtoReflect() protoreflect.Message

func (*ListServicesRequest) Reset

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) String

func (x *ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {
	Services []*ServiceInfo `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServicesResponse) Descriptor deprecated

func (*ListServicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetServices added in v0.4.475

func (x *ListServicesResponse) GetServices() []*ServiceInfo

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect

func (x *ListServicesResponse) ProtoReflect() protoreflect.Message

func (*ListServicesResponse) Reset

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) String

func (x *ListServicesResponse) String() string

type PodInfo

type PodInfo struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace   string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels      map[string]string `` /* 153-byte string literal not displayed */
	CreatedAt   *v11.Time         `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Status      *v1.PodStatus     `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Contrainers []*ContainerInfo  `protobuf:"bytes,6,rep,name=contrainers,proto3" json:"contrainers,omitempty"` // get the log per container
	// contains filtered or unexported fields
}

func (*PodInfo) Descriptor deprecated

func (*PodInfo) Descriptor() ([]byte, []int)

Deprecated: Use PodInfo.ProtoReflect.Descriptor instead.

func (*PodInfo) GetContrainers added in v0.4.489

func (x *PodInfo) GetContrainers() []*ContainerInfo

func (*PodInfo) GetCreatedAt added in v0.4.489

func (x *PodInfo) GetCreatedAt() *v11.Time

func (*PodInfo) GetLabels added in v0.4.489

func (x *PodInfo) GetLabels() map[string]string

func (*PodInfo) GetName

func (x *PodInfo) GetName() string

func (*PodInfo) GetNamespace

func (x *PodInfo) GetNamespace() string

func (*PodInfo) GetStatus added in v0.4.470

func (x *PodInfo) GetStatus() *v1.PodStatus

func (*PodInfo) ProtoMessage

func (*PodInfo) ProtoMessage()

func (*PodInfo) ProtoReflect

func (x *PodInfo) ProtoReflect() protoreflect.Message

func (*PodInfo) Reset

func (x *PodInfo) Reset()

func (*PodInfo) String

func (x *PodInfo) String() string

type SecretInfo

type SecretInfo struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretInfo) Descriptor deprecated

func (*SecretInfo) Descriptor() ([]byte, []int)

Deprecated: Use SecretInfo.ProtoReflect.Descriptor instead.

func (*SecretInfo) GetName

func (x *SecretInfo) GetName() string

func (*SecretInfo) GetNamespace

func (x *SecretInfo) GetNamespace() string

func (*SecretInfo) ProtoMessage

func (*SecretInfo) ProtoMessage()

func (*SecretInfo) ProtoReflect

func (x *SecretInfo) ProtoReflect() protoreflect.Message

func (*SecretInfo) Reset

func (x *SecretInfo) Reset()

func (*SecretInfo) String

func (x *SecretInfo) String() string

type ServiceInfo

type ServiceInfo struct {
	Name      string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	Ip        string            `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	Port      string            `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"`
	CreatedAt *v11.Time         `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Status    *v1.ServiceStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceInfo) Descriptor deprecated

func (*ServiceInfo) Descriptor() ([]byte, []int)

Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.

func (*ServiceInfo) GetCreatedAt added in v0.4.490

func (x *ServiceInfo) GetCreatedAt() *v11.Time

func (*ServiceInfo) GetIp added in v0.4.470

func (x *ServiceInfo) GetIp() string

func (*ServiceInfo) GetLabels added in v0.4.490

func (x *ServiceInfo) GetLabels() map[string]string

func (*ServiceInfo) GetName

func (x *ServiceInfo) GetName() string

func (*ServiceInfo) GetNamespace

func (x *ServiceInfo) GetNamespace() string

func (*ServiceInfo) GetPort added in v0.4.470

func (x *ServiceInfo) GetPort() string

func (*ServiceInfo) GetStatus added in v0.4.470

func (x *ServiceInfo) GetStatus() *v1.ServiceStatus

func (*ServiceInfo) ProtoMessage

func (*ServiceInfo) ProtoMessage()

func (*ServiceInfo) ProtoReflect

func (x *ServiceInfo) ProtoReflect() protoreflect.Message

func (*ServiceInfo) Reset

func (x *ServiceInfo) Reset()

func (*ServiceInfo) String

func (x *ServiceInfo) String() string

type UnimplementedCoreK8SServiceServer

type UnimplementedCoreK8SServiceServer struct {
}

UnimplementedCoreK8SServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCoreK8SServiceServer) GetContainerLog added in v0.4.493

func (UnimplementedCoreK8SServiceServer) GetK8SDeployment

func (UnimplementedCoreK8SServiceServer) GetK8SJob

func (UnimplementedCoreK8SServiceServer) GetK8SPod

func (UnimplementedCoreK8SServiceServer) GetK8SSecret

func (UnimplementedCoreK8SServiceServer) GetK8SService

func (UnimplementedCoreK8SServiceServer) ListEvents

func (UnimplementedCoreK8SServiceServer) ListK8SDeployments

func (UnimplementedCoreK8SServiceServer) ListK8SJobs

func (UnimplementedCoreK8SServiceServer) ListK8SPods

func (UnimplementedCoreK8SServiceServer) ListK8SSecrets

func (UnimplementedCoreK8SServiceServer) ListK8SServices

type UnsafeCoreK8SServiceServer added in v0.4.687

type UnsafeCoreK8SServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCoreK8SServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreK8SServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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