v1

package
v0.0.0-...-69c2794 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_k8s_controller_request_v1_proto protoreflect.FileDescriptor
View Source
var File_proto_k8s_controller_response_v1_proto protoreflect.FileDescriptor
View Source
var File_proto_k8s_controller_service_v1_proto protoreflect.FileDescriptor
View Source
var File_proto_k8s_structure_proto protoreflect.FileDescriptor
View Source
var K8SCustomController_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gantrycd.k8s_controller.v1.K8sCustomController",
	HandlerType: (*K8SCustomControllerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateNamespace",
			Handler:    _K8SCustomController_CreateNamespace_Handler,
		},
		{
			MethodName: "ListNamespaces",
			Handler:    _K8SCustomController_ListNamespaces_Handler,
		},
		{
			MethodName: "DeleteNamespace",
			Handler:    _K8SCustomController_DeleteNamespace_Handler,
		},
		{
			MethodName: "ApplyDeployment",
			Handler:    _K8SCustomController_ApplyDeployment_Handler,
		},
		{
			MethodName: "DeleteDeployment",
			Handler:    _K8SCustomController_DeleteDeployment_Handler,
		},
		{
			MethodName: "GetAlls",
			Handler:    _K8SCustomController_GetAlls_Handler,
		},
		{
			MethodName: "GetOrgRepos",
			Handler:    _K8SCustomController_GetOrgRepos_Handler,
		},
		{
			MethodName: "GetRepoBranches",
			Handler:    _K8SCustomController_GetRepoBranches_Handler,
		},
		{
			MethodName: "CreatePreview",
			Handler:    _K8SCustomController_CreatePreview_Handler,
		},
		{
			MethodName: "UpdatePreview",
			Handler:    _K8SCustomController_UpdatePreview_Handler,
		},
		{
			MethodName: "DeletePreview",
			Handler:    _K8SCustomController_DeletePreview_Handler,
		},
		{
			MethodName: "BuildImage",
			Handler:    _K8SCustomController_BuildImage_Handler,
		},
		{
			MethodName: "GetUsage",
			Handler:    _K8SCustomController_GetUsage_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetLogs",
			Handler:       _K8SCustomController_GetLogs_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "proto/k8s_controller_service_v1.proto",
}

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

Functions

func RegisterK8SCustomControllerServer

func RegisterK8SCustomControllerServer(s grpc.ServiceRegistrar, srv K8SCustomControllerServer)

Types

type Application

type Application struct {
	AppName        string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	Status         string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Version        string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Image          string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
	Age            string `protobuf:"bytes,6,opt,name=age,proto3" json:"age,omitempty"`
	// contains filtered or unexported fields
}

func (*Application) Descriptor deprecated

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

Deprecated: Use Application.ProtoReflect.Descriptor instead.

func (*Application) GetAge

func (x *Application) GetAge() string

func (*Application) GetAppName

func (x *Application) GetAppName() string

func (*Application) GetDeploymentName

func (x *Application) GetDeploymentName() string

func (*Application) GetImage

func (x *Application) GetImage() string

func (*Application) GetStatus

func (x *Application) GetStatus() string

func (*Application) GetVersion

func (x *Application) GetVersion() string

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) ProtoReflect

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

func (*Application) Reset

func (x *Application) Reset()

func (*Application) String

func (x *Application) String() string

type Branches

type Branches struct {
	DeploymentName string `protobuf:"bytes,1,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	Branch         string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	PullRequestId  string `protobuf:"bytes,3,opt,name=pull_request_id,json=pullRequestId,proto3" json:"pull_request_id,omitempty"`
	Status         string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Version        string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Age            string `protobuf:"bytes,6,opt,name=age,proto3" json:"age,omitempty"`
	Replicas       string `protobuf:"bytes,7,opt,name=replicas,proto3" json:"replicas,omitempty"`
	Hpa            *HPA   `protobuf:"bytes,8,opt,name=hpa,proto3" json:"hpa,omitempty"`
	CpuMin         string `protobuf:"bytes,9,opt,name=cpu_min,json=cpuMin,proto3" json:"cpu_min,omitempty"`
	CpuMax         string `protobuf:"bytes,10,opt,name=cpu_max,json=cpuMax,proto3" json:"cpu_max,omitempty"`
	MemMin         string `protobuf:"bytes,11,opt,name=mem_min,json=memMin,proto3" json:"mem_min,omitempty"`
	MemMax         string `protobuf:"bytes,12,opt,name=mem_max,json=memMax,proto3" json:"mem_max,omitempty"`
	// contains filtered or unexported fields
}

func (*Branches) Descriptor deprecated

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

Deprecated: Use Branches.ProtoReflect.Descriptor instead.

func (*Branches) GetAge

func (x *Branches) GetAge() string

func (*Branches) GetBranch

func (x *Branches) GetBranch() string

func (*Branches) GetCpuMax

func (x *Branches) GetCpuMax() string

func (*Branches) GetCpuMin

func (x *Branches) GetCpuMin() string

func (*Branches) GetDeploymentName

func (x *Branches) GetDeploymentName() string

func (*Branches) GetHpa

func (x *Branches) GetHpa() *HPA

func (*Branches) GetMemMax

func (x *Branches) GetMemMax() string

func (*Branches) GetMemMin

func (x *Branches) GetMemMin() string

func (*Branches) GetPullRequestId

func (x *Branches) GetPullRequestId() string

func (*Branches) GetReplicas

func (x *Branches) GetReplicas() string

func (*Branches) GetStatus

func (x *Branches) GetStatus() string

func (*Branches) GetVersion

func (x *Branches) GetVersion() string

func (*Branches) ProtoMessage

func (*Branches) ProtoMessage()

func (*Branches) ProtoReflect

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

func (*Branches) Reset

func (x *Branches) Reset()

func (*Branches) String

func (x *Branches) String() string

type BuildImageReply

type BuildImageReply struct {
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildImageReply) Descriptor deprecated

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

Deprecated: Use BuildImageReply.ProtoReflect.Descriptor instead.

func (*BuildImageReply) GetImage

func (x *BuildImageReply) GetImage() string

func (*BuildImageReply) ProtoMessage

func (*BuildImageReply) ProtoMessage()

func (*BuildImageReply) ProtoReflect

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

func (*BuildImageReply) Reset

func (x *BuildImageReply) Reset()

func (*BuildImageReply) String

func (x *BuildImageReply) String() string

type BuildImageRequest

type BuildImageRequest struct {
	Namespace      string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Repository     string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Branch         string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	PullRequestId  string `protobuf:"bytes,4,opt,name=pull_request_id,json=pullRequestId,proto3" json:"pull_request_id,omitempty"`
	GitRepo        string `protobuf:"bytes,5,opt,name=git_repo,json=gitRepo,proto3" json:"git_repo,omitempty"`
	DockerfileDir  string `protobuf:"bytes,6,opt,name=dockerfile_dir,json=dockerfileDir,proto3" json:"dockerfile_dir,omitempty"`
	DockerfilePath string `protobuf:"bytes,7,opt,name=dockerfile_path,json=dockerfilePath,proto3" json:"dockerfile_path,omitempty"`
	ImageName      string `protobuf:"bytes,8,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	Token          string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildImageRequest) Descriptor deprecated

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

Deprecated: Use BuildImageRequest.ProtoReflect.Descriptor instead.

func (*BuildImageRequest) GetBranch

func (x *BuildImageRequest) GetBranch() string

func (*BuildImageRequest) GetDockerfileDir

func (x *BuildImageRequest) GetDockerfileDir() string

func (*BuildImageRequest) GetDockerfilePath

func (x *BuildImageRequest) GetDockerfilePath() string

func (*BuildImageRequest) GetGitRepo

func (x *BuildImageRequest) GetGitRepo() string

func (*BuildImageRequest) GetImageName

func (x *BuildImageRequest) GetImageName() string

func (*BuildImageRequest) GetNamespace

func (x *BuildImageRequest) GetNamespace() string

func (*BuildImageRequest) GetPullRequestId

func (x *BuildImageRequest) GetPullRequestId() string

func (*BuildImageRequest) GetRepository

func (x *BuildImageRequest) GetRepository() string

func (*BuildImageRequest) GetToken

func (x *BuildImageRequest) GetToken() string

func (*BuildImageRequest) ProtoMessage

func (*BuildImageRequest) ProtoMessage()

func (*BuildImageRequest) ProtoReflect

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

func (*BuildImageRequest) Reset

func (x *BuildImageRequest) Reset()

func (*BuildImageRequest) String

func (x *BuildImageRequest) String() string

type CPU

type CPU struct {
	Request int64 `protobuf:"varint,1,opt,name=request,proto3" json:"request,omitempty"`
	Limit   int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Usage   int64 `protobuf:"varint,3,opt,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*CPU) Descriptor deprecated

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

Deprecated: Use CPU.ProtoReflect.Descriptor instead.

func (*CPU) GetLimit

func (x *CPU) GetLimit() int64

func (*CPU) GetRequest

func (x *CPU) GetRequest() int64

func (*CPU) GetUsage

func (x *CPU) GetUsage() int64

func (*CPU) ProtoMessage

func (*CPU) ProtoMessage()

func (*CPU) ProtoReflect

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

func (*CPU) Reset

func (x *CPU) Reset()

func (*CPU) String

func (x *CPU) String() string

type Config

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

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetName

func (x *Config) GetName() string

func (*Config) GetValue

func (x *Config) GetValue() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Container

type Container struct {
	Name     string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Image    string    `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	Env      []*Env    `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetEnv

func (x *Container) GetEnv() []*Env

func (*Container) GetImage

func (x *Container) GetImage() string

func (*Container) GetName

func (x *Container) GetName() string

func (*Container) GetResource

func (x *Container) GetResource() *Resource

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type CreateDeploymentReply

type CreateDeploymentReply 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"`
	Version   string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDeploymentReply) Descriptor deprecated

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

Deprecated: Use CreateDeploymentReply.ProtoReflect.Descriptor instead.

func (*CreateDeploymentReply) GetName

func (x *CreateDeploymentReply) GetName() string

func (*CreateDeploymentReply) GetNamespace

func (x *CreateDeploymentReply) GetNamespace() string

func (*CreateDeploymentReply) GetVersion

func (x *CreateDeploymentReply) GetVersion() string

func (*CreateDeploymentReply) ProtoMessage

func (*CreateDeploymentReply) ProtoMessage()

func (*CreateDeploymentReply) ProtoReflect

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

func (*CreateDeploymentReply) Reset

func (x *CreateDeploymentReply) Reset()

func (*CreateDeploymentReply) String

func (x *CreateDeploymentReply) String() string

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	Namespace  string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	PrNumber   string `protobuf:"bytes,3,opt,name=pr_number,json=prNumber,proto3" json:"pr_number,omitempty"`
	Image      string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	Branch     string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
	AppName    string `protobuf:"bytes,6,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	Replicas   string `protobuf:"bytes,7,opt,name=replicas,proto3" json:"replicas,omitempty"`
	CreatedBy  string `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDeploymentRequest) Descriptor deprecated

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

Deprecated: Use CreateDeploymentRequest.ProtoReflect.Descriptor instead.

func (*CreateDeploymentRequest) GetAppName

func (x *CreateDeploymentRequest) GetAppName() string

func (*CreateDeploymentRequest) GetBranch

func (x *CreateDeploymentRequest) GetBranch() string

func (*CreateDeploymentRequest) GetCreatedBy

func (x *CreateDeploymentRequest) GetCreatedBy() string

func (*CreateDeploymentRequest) GetImage

func (x *CreateDeploymentRequest) GetImage() string

func (*CreateDeploymentRequest) GetNamespace

func (x *CreateDeploymentRequest) GetNamespace() string

func (*CreateDeploymentRequest) GetPrNumber

func (x *CreateDeploymentRequest) GetPrNumber() string

func (*CreateDeploymentRequest) GetReplicas

func (x *CreateDeploymentRequest) GetReplicas() string

func (*CreateDeploymentRequest) GetRepository

func (x *CreateDeploymentRequest) GetRepository() string

func (*CreateDeploymentRequest) ProtoMessage

func (*CreateDeploymentRequest) ProtoMessage()

func (*CreateDeploymentRequest) ProtoReflect

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

func (*CreateDeploymentRequest) Reset

func (x *CreateDeploymentRequest) Reset()

func (*CreateDeploymentRequest) String

func (x *CreateDeploymentRequest) String() string

type CreateNamespaceReply

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

func (*CreateNamespaceReply) Descriptor deprecated

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

Deprecated: Use CreateNamespaceReply.ProtoReflect.Descriptor instead.

func (*CreateNamespaceReply) GetName

func (x *CreateNamespaceReply) GetName() string

func (*CreateNamespaceReply) ProtoMessage

func (*CreateNamespaceReply) ProtoMessage()

func (*CreateNamespaceReply) ProtoReflect

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

func (*CreateNamespaceReply) Reset

func (x *CreateNamespaceReply) Reset()

func (*CreateNamespaceReply) String

func (x *CreateNamespaceReply) String() string

type CreateNamespaceRequest

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

func (*CreateNamespaceRequest) Descriptor deprecated

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

Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*CreateNamespaceRequest) GetName

func (x *CreateNamespaceRequest) GetName() string

func (*CreateNamespaceRequest) ProtoMessage

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) ProtoReflect

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

func (*CreateNamespaceRequest) Reset

func (x *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) String

func (x *CreateNamespaceRequest) String() string

type CreatePreviewReply

type CreatePreviewReply 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"`
	Version   string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	External  []string `protobuf:"bytes,4,rep,name=external,proto3" json:"external,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePreviewReply) Descriptor deprecated

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

Deprecated: Use CreatePreviewReply.ProtoReflect.Descriptor instead.

func (*CreatePreviewReply) GetExternal

func (x *CreatePreviewReply) GetExternal() []string

func (*CreatePreviewReply) GetName

func (x *CreatePreviewReply) GetName() string

func (*CreatePreviewReply) GetNamespace

func (x *CreatePreviewReply) GetNamespace() string

func (*CreatePreviewReply) GetVersion

func (x *CreatePreviewReply) GetVersion() string

func (*CreatePreviewReply) ProtoMessage

func (*CreatePreviewReply) ProtoMessage()

func (*CreatePreviewReply) ProtoReflect

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

func (*CreatePreviewReply) Reset

func (x *CreatePreviewReply) Reset()

func (*CreatePreviewReply) String

func (x *CreatePreviewReply) String() string

type CreatePreviewRequest

type CreatePreviewRequest struct {
	Organization    string    `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	Repository      string    `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	PullRequestId   string    `protobuf:"bytes,3,opt,name=pull_request_id,json=pullRequestId,proto3" json:"pull_request_id,omitempty"`
	Branch          string    `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
	Image           string    `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
	ImagePullPolicy string    `protobuf:"bytes,6,opt,name=image_pull_policy,json=imagePullPolicy,proto3" json:"image_pull_policy,omitempty"`
	Replicas        int32     `protobuf:"varint,7,opt,name=replicas,proto3" json:"replicas,omitempty"`
	Configs         []*Config `protobuf:"bytes,8,rep,name=configs,proto3" json:"configs,omitempty"`
	ExposePorts     []int32   `protobuf:"varint,9,rep,packed,name=expose_ports,json=exposePorts,proto3" json:"expose_ports,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePreviewRequest) Descriptor deprecated

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

Deprecated: Use CreatePreviewRequest.ProtoReflect.Descriptor instead.

func (*CreatePreviewRequest) GetBranch

func (x *CreatePreviewRequest) GetBranch() string

func (*CreatePreviewRequest) GetConfigs

func (x *CreatePreviewRequest) GetConfigs() []*Config

func (*CreatePreviewRequest) GetExposePorts

func (x *CreatePreviewRequest) GetExposePorts() []int32

func (*CreatePreviewRequest) GetImage

func (x *CreatePreviewRequest) GetImage() string

func (*CreatePreviewRequest) GetImagePullPolicy

func (x *CreatePreviewRequest) GetImagePullPolicy() string

func (*CreatePreviewRequest) GetOrganization

func (x *CreatePreviewRequest) GetOrganization() string

func (*CreatePreviewRequest) GetPullRequestId

func (x *CreatePreviewRequest) GetPullRequestId() string

func (*CreatePreviewRequest) GetReplicas

func (x *CreatePreviewRequest) GetReplicas() int32

func (*CreatePreviewRequest) GetRepository

func (x *CreatePreviewRequest) GetRepository() string

func (*CreatePreviewRequest) ProtoMessage

func (*CreatePreviewRequest) ProtoMessage()

func (*CreatePreviewRequest) ProtoReflect

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

func (*CreatePreviewRequest) Reset

func (x *CreatePreviewRequest) Reset()

func (*CreatePreviewRequest) String

func (x *CreatePreviewRequest) String() string

type DeleteDeploymentRequest

type DeleteDeploymentRequest struct {
	Namespace  string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	PrNumber   string `protobuf:"bytes,3,opt,name=pr_number,json=prNumber,proto3" json:"pr_number,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDeploymentRequest) Descriptor deprecated

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

Deprecated: Use DeleteDeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeploymentRequest) GetNamespace

func (x *DeleteDeploymentRequest) GetNamespace() string

func (*DeleteDeploymentRequest) GetPrNumber

func (x *DeleteDeploymentRequest) GetPrNumber() string

func (*DeleteDeploymentRequest) GetRepository

func (x *DeleteDeploymentRequest) GetRepository() string

func (*DeleteDeploymentRequest) ProtoMessage

func (*DeleteDeploymentRequest) ProtoMessage()

func (*DeleteDeploymentRequest) ProtoReflect

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

func (*DeleteDeploymentRequest) Reset

func (x *DeleteDeploymentRequest) Reset()

func (*DeleteDeploymentRequest) String

func (x *DeleteDeploymentRequest) String() string

type DeleteNamespaceRequest

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

func (*DeleteNamespaceRequest) Descriptor deprecated

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

Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceRequest) GetName

func (x *DeleteNamespaceRequest) GetName() string

func (*DeleteNamespaceRequest) ProtoMessage

func (*DeleteNamespaceRequest) ProtoMessage()

func (*DeleteNamespaceRequest) ProtoReflect

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

func (*DeleteNamespaceRequest) Reset

func (x *DeleteNamespaceRequest) Reset()

func (*DeleteNamespaceRequest) String

func (x *DeleteNamespaceRequest) String() string

type DeletePreviewRequest

type DeletePreviewRequest struct {
	Organization  string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	Repository    string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	PullRequestId string `protobuf:"bytes,3,opt,name=pull_request_id,json=pullRequestId,proto3" json:"pull_request_id,omitempty"`
	Branch        string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePreviewRequest) Descriptor deprecated

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

Deprecated: Use DeletePreviewRequest.ProtoReflect.Descriptor instead.

func (*DeletePreviewRequest) GetBranch

func (x *DeletePreviewRequest) GetBranch() string

func (*DeletePreviewRequest) GetOrganization

func (x *DeletePreviewRequest) GetOrganization() string

func (*DeletePreviewRequest) GetPullRequestId

func (x *DeletePreviewRequest) GetPullRequestId() string

func (*DeletePreviewRequest) GetRepository

func (x *DeletePreviewRequest) GetRepository() string

func (*DeletePreviewRequest) ProtoMessage

func (*DeletePreviewRequest) ProtoMessage()

func (*DeletePreviewRequest) ProtoReflect

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

func (*DeletePreviewRequest) Reset

func (x *DeletePreviewRequest) Reset()

func (*DeletePreviewRequest) String

func (x *DeletePreviewRequest) String() string

type Deployment

type Deployment 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"`
	Replica   *Replica   `protobuf:"bytes,3,opt,name=replica,proto3" json:"replica,omitempty"`
	Container *Container `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetContainer

func (x *Deployment) GetContainer() *Container

func (*Deployment) GetName

func (x *Deployment) GetName() string

func (*Deployment) GetNamespace

func (x *Deployment) GetNamespace() string

func (*Deployment) GetReplica

func (x *Deployment) GetReplica() *Replica

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type Env

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

func (*Env) Descriptor deprecated

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

Deprecated: Use Env.ProtoReflect.Descriptor instead.

func (*Env) GetName

func (x *Env) GetName() string

func (*Env) GetValue

func (x *Env) GetValue() string

func (*Env) ProtoMessage

func (*Env) ProtoMessage()

func (*Env) ProtoReflect

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

func (*Env) Reset

func (x *Env) Reset()

func (*Env) String

func (x *Env) String() string

type GetAllsReply

type GetAllsReply struct {
	OrganizationInfos []*GetOrgReposReply `protobuf:"bytes,1,rep,name=organization_infos,json=organizationInfos,proto3" json:"organization_infos,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllsReply) Descriptor deprecated

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

Deprecated: Use GetAllsReply.ProtoReflect.Descriptor instead.

func (*GetAllsReply) GetOrganizationInfos

func (x *GetAllsReply) GetOrganizationInfos() []*GetOrgReposReply

func (*GetAllsReply) ProtoMessage

func (*GetAllsReply) ProtoMessage()

func (*GetAllsReply) ProtoReflect

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

func (*GetAllsReply) Reset

func (x *GetAllsReply) Reset()

func (*GetAllsReply) String

func (x *GetAllsReply) String() string

type GetLogsReply

type GetLogsReply struct {
	Id      int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLogsReply) Descriptor deprecated

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

Deprecated: Use GetLogsReply.ProtoReflect.Descriptor instead.

func (*GetLogsReply) GetId

func (x *GetLogsReply) GetId() int32

func (*GetLogsReply) GetMessage

func (x *GetLogsReply) GetMessage() string

func (*GetLogsReply) ProtoMessage

func (*GetLogsReply) ProtoMessage()

func (*GetLogsReply) ProtoReflect

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

func (*GetLogsReply) Reset

func (x *GetLogsReply) Reset()

func (*GetLogsReply) String

func (x *GetLogsReply) String() string

type GetLogsRequest

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

func (*GetLogsRequest) Descriptor deprecated

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

Deprecated: Use GetLogsRequest.ProtoReflect.Descriptor instead.

func (*GetLogsRequest) GetNamespace

func (x *GetLogsRequest) GetNamespace() string

func (*GetLogsRequest) GetPodName

func (x *GetLogsRequest) GetPodName() string

func (*GetLogsRequest) ProtoMessage

func (*GetLogsRequest) ProtoMessage()

func (*GetLogsRequest) ProtoReflect

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

func (*GetLogsRequest) Reset

func (x *GetLogsRequest) Reset()

func (*GetLogsRequest) String

func (x *GetLogsRequest) String() string

type GetOrgRepoRequest

type GetOrgRepoRequest struct {
	Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrgRepoRequest) Descriptor deprecated

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

Deprecated: Use GetOrgRepoRequest.ProtoReflect.Descriptor instead.

func (*GetOrgRepoRequest) GetOrganization

func (x *GetOrgRepoRequest) GetOrganization() string

func (*GetOrgRepoRequest) ProtoMessage

func (*GetOrgRepoRequest) ProtoMessage()

func (*GetOrgRepoRequest) ProtoReflect

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

func (*GetOrgRepoRequest) Reset

func (x *GetOrgRepoRequest) Reset()

func (*GetOrgRepoRequest) String

func (x *GetOrgRepoRequest) String() string

type GetOrgReposReply

type GetOrgReposReply struct {
	Organization string         `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	Repositories []*Repository  `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"`
	Applications []*Application `protobuf:"bytes,3,rep,name=applications,proto3" json:"applications,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrgReposReply) Descriptor deprecated

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

Deprecated: Use GetOrgReposReply.ProtoReflect.Descriptor instead.

func (*GetOrgReposReply) GetApplications

func (x *GetOrgReposReply) GetApplications() []*Application

func (*GetOrgReposReply) GetOrganization

func (x *GetOrgReposReply) GetOrganization() string

func (*GetOrgReposReply) GetRepositories

func (x *GetOrgReposReply) GetRepositories() []*Repository

func (*GetOrgReposReply) ProtoMessage

func (*GetOrgReposReply) ProtoMessage()

func (*GetOrgReposReply) ProtoReflect

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

func (*GetOrgReposReply) Reset

func (x *GetOrgReposReply) Reset()

func (*GetOrgReposReply) String

func (x *GetOrgReposReply) String() string

type GetRepoBranchesReply

type GetRepoBranchesReply struct {
	Branches []*Branches `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepoBranchesReply) Descriptor deprecated

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

Deprecated: Use GetRepoBranchesReply.ProtoReflect.Descriptor instead.

func (*GetRepoBranchesReply) GetBranches

func (x *GetRepoBranchesReply) GetBranches() []*Branches

func (*GetRepoBranchesReply) ProtoMessage

func (*GetRepoBranchesReply) ProtoMessage()

func (*GetRepoBranchesReply) ProtoReflect

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

func (*GetRepoBranchesReply) Reset

func (x *GetRepoBranchesReply) Reset()

func (*GetRepoBranchesReply) String

func (x *GetRepoBranchesReply) String() string

type GetRepoBranchesRequest

type GetRepoBranchesRequest struct {
	Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	Repository   string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepoBranchesRequest) Descriptor deprecated

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

Deprecated: Use GetRepoBranchesRequest.ProtoReflect.Descriptor instead.

func (*GetRepoBranchesRequest) GetOrganization

func (x *GetRepoBranchesRequest) GetOrganization() string

func (*GetRepoBranchesRequest) GetRepository

func (x *GetRepoBranchesRequest) GetRepository() string

func (*GetRepoBranchesRequest) ProtoMessage

func (*GetRepoBranchesRequest) ProtoMessage()

func (*GetRepoBranchesRequest) ProtoReflect

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

func (*GetRepoBranchesRequest) Reset

func (x *GetRepoBranchesRequest) Reset()

func (*GetRepoBranchesRequest) String

func (x *GetRepoBranchesRequest) String() string

type GetUsageReply

type GetUsageReply struct {
	Usages    *Usage `protobuf:"bytes,1,opt,name=usages,proto3" json:"usages,omitempty"`
	IsDisable bool   `protobuf:"varint,2,opt,name=is_disable,json=isDisable,proto3" json:"is_disable,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsageReply) Descriptor deprecated

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

Deprecated: Use GetUsageReply.ProtoReflect.Descriptor instead.

func (*GetUsageReply) GetIsDisable

func (x *GetUsageReply) GetIsDisable() bool

func (*GetUsageReply) GetUsages

func (x *GetUsageReply) GetUsages() *Usage

func (*GetUsageReply) ProtoMessage

func (*GetUsageReply) ProtoMessage()

func (*GetUsageReply) ProtoReflect

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

func (*GetUsageReply) Reset

func (x *GetUsageReply) Reset()

func (*GetUsageReply) String

func (x *GetUsageReply) String() string

type GetUsageRequest

type GetUsageRequest struct {
	Organization   string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	DeploymentName string `protobuf:"bytes,2,opt,name=deployment_name,json=deploymentName,proto3" json:"deployment_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsageRequest) Descriptor deprecated

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

Deprecated: Use GetUsageRequest.ProtoReflect.Descriptor instead.

func (*GetUsageRequest) GetDeploymentName

func (x *GetUsageRequest) GetDeploymentName() string

func (*GetUsageRequest) GetOrganization

func (x *GetUsageRequest) GetOrganization() string

func (*GetUsageRequest) ProtoMessage

func (*GetUsageRequest) ProtoMessage()

func (*GetUsageRequest) ProtoReflect

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

func (*GetUsageRequest) Reset

func (x *GetUsageRequest) Reset()

func (*GetUsageRequest) String

func (x *GetUsageRequest) String() string

type HPA

type HPA struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MinReplicas string `protobuf:"bytes,3,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"`
	MaxReplicas string `protobuf:"bytes,4,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"`
	Resource    string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	Target      string `protobuf:"bytes,6,opt,name=target,proto3" json:"target,omitempty"`
	TargetValue int32  `protobuf:"varint,7,opt,name=target_value,json=targetValue,proto3" json:"target_value,omitempty"`
	// contains filtered or unexported fields
}

func (*HPA) Descriptor deprecated

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

Deprecated: Use HPA.ProtoReflect.Descriptor instead.

func (*HPA) GetMaxReplicas

func (x *HPA) GetMaxReplicas() string

func (*HPA) GetMinReplicas

func (x *HPA) GetMinReplicas() string

func (*HPA) GetName

func (x *HPA) GetName() string

func (*HPA) GetResource

func (x *HPA) GetResource() string

func (*HPA) GetTarget

func (x *HPA) GetTarget() string

func (*HPA) GetTargetValue

func (x *HPA) GetTargetValue() int32

func (*HPA) ProtoMessage

func (*HPA) ProtoMessage()

func (*HPA) ProtoReflect

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

func (*HPA) Reset

func (x *HPA) Reset()

func (*HPA) String

func (x *HPA) String() string

type K8SCustomControllerClient

type K8SCustomControllerClient interface {
	// Namespace Control
	CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceReply, error)
	ListNamespaces(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListNamespacesReply, error)
	DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deployment Control
	ApplyDeployment(ctx context.Context, in *CreateDeploymentRequest, opts ...grpc.CallOption) (*CreateDeploymentReply, error)
	DeleteDeployment(ctx context.Context, in *DeleteDeploymentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Resource Control
	GetAlls(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetAllsReply, error)
	GetOrgRepos(ctx context.Context, in *GetOrgRepoRequest, opts ...grpc.CallOption) (*GetOrgReposReply, error)
	GetRepoBranches(ctx context.Context, in *GetRepoBranchesRequest, opts ...grpc.CallOption) (*GetRepoBranchesReply, error)
	CreatePreview(ctx context.Context, in *CreatePreviewRequest, opts ...grpc.CallOption) (*CreatePreviewReply, error)
	UpdatePreview(ctx context.Context, in *CreatePreviewRequest, opts ...grpc.CallOption) (*CreatePreviewReply, error)
	DeletePreview(ctx context.Context, in *DeletePreviewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	BuildImage(ctx context.Context, in *BuildImageRequest, opts ...grpc.CallOption) (*BuildImageReply, error)
	GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageReply, error)
	GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (K8SCustomController_GetLogsClient, error)
}

K8SCustomControllerClient is the client API for K8SCustomController 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 K8SCustomControllerServer

type K8SCustomControllerServer interface {
	// Namespace Control
	CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceReply, error)
	ListNamespaces(context.Context, *emptypb.Empty) (*ListNamespacesReply, error)
	DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
	// Deployment Control
	ApplyDeployment(context.Context, *CreateDeploymentRequest) (*CreateDeploymentReply, error)
	DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*emptypb.Empty, error)
	// Resource Control
	GetAlls(context.Context, *emptypb.Empty) (*GetAllsReply, error)
	GetOrgRepos(context.Context, *GetOrgRepoRequest) (*GetOrgReposReply, error)
	GetRepoBranches(context.Context, *GetRepoBranchesRequest) (*GetRepoBranchesReply, error)
	CreatePreview(context.Context, *CreatePreviewRequest) (*CreatePreviewReply, error)
	UpdatePreview(context.Context, *CreatePreviewRequest) (*CreatePreviewReply, error)
	DeletePreview(context.Context, *DeletePreviewRequest) (*emptypb.Empty, error)
	BuildImage(context.Context, *BuildImageRequest) (*BuildImageReply, error)
	GetUsage(context.Context, *GetUsageRequest) (*GetUsageReply, error)
	GetLogs(*GetLogsRequest, K8SCustomController_GetLogsServer) error
	// contains filtered or unexported methods
}

K8SCustomControllerServer is the server API for K8SCustomController service. All implementations must embed UnimplementedK8SCustomControllerServer for forward compatibility

type K8SCustomController_GetLogsClient

type K8SCustomController_GetLogsClient interface {
	Recv() (*GetLogsReply, error)
	grpc.ClientStream
}

type K8SCustomController_GetLogsServer

type K8SCustomController_GetLogsServer interface {
	Send(*GetLogsReply) error
	grpc.ServerStream
}

type ListNamespacesReply

type ListNamespacesReply struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesReply) Descriptor deprecated

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

Deprecated: Use ListNamespacesReply.ProtoReflect.Descriptor instead.

func (*ListNamespacesReply) GetNames

func (x *ListNamespacesReply) GetNames() []string

func (*ListNamespacesReply) ProtoMessage

func (*ListNamespacesReply) ProtoMessage()

func (*ListNamespacesReply) ProtoReflect

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

func (*ListNamespacesReply) Reset

func (x *ListNamespacesReply) Reset()

func (*ListNamespacesReply) String

func (x *ListNamespacesReply) String() string

type Memory

type Memory struct {
	Request int64 `protobuf:"varint,1,opt,name=request,proto3" json:"request,omitempty"`
	Limit   int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Usage   int64 `protobuf:"varint,3,opt,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*Memory) Descriptor deprecated

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

Deprecated: Use Memory.ProtoReflect.Descriptor instead.

func (*Memory) GetLimit

func (x *Memory) GetLimit() int64

func (*Memory) GetRequest

func (x *Memory) GetRequest() int64

func (*Memory) GetUsage

func (x *Memory) GetUsage() int64

func (*Memory) ProtoMessage

func (*Memory) ProtoMessage()

func (*Memory) ProtoReflect

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

func (*Memory) Reset

func (x *Memory) Reset()

func (*Memory) String

func (x *Memory) String() string

type Pod

type Pod struct {
	Name       string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status     string       `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Containers []*Container `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"`
	// contains filtered or unexported fields
}

func (*Pod) Descriptor deprecated

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

Deprecated: Use Pod.ProtoReflect.Descriptor instead.

func (*Pod) GetContainers

func (x *Pod) GetContainers() []*Container

func (*Pod) GetName

func (x *Pod) GetName() string

func (*Pod) GetStatus

func (x *Pod) GetStatus() string

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) ProtoReflect

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

func (*Pod) Reset

func (x *Pod) Reset()

func (*Pod) String

func (x *Pod) String() string

type Replica

type Replica struct {
	Replicas int32     `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"`
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Pod      *Pod      `protobuf:"bytes,3,opt,name=pod,proto3" json:"pod,omitempty"`
	// contains filtered or unexported fields
}

func (*Replica) Descriptor deprecated

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

Deprecated: Use Replica.ProtoReflect.Descriptor instead.

func (*Replica) GetPod

func (x *Replica) GetPod() *Pod

func (*Replica) GetReplicas

func (x *Replica) GetReplicas() int32

func (*Replica) GetResource

func (x *Replica) GetResource() *Resource

func (*Replica) ProtoMessage

func (*Replica) ProtoMessage()

func (*Replica) ProtoReflect

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

func (*Replica) Reset

func (x *Replica) Reset()

func (*Replica) String

func (x *Replica) String() string

type Repository

type Repository struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PullRequestId string `protobuf:"bytes,2,opt,name=pull_request_id,json=pullRequestId,proto3" json:"pull_request_id,omitempty"`
	Branch        string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*Repository) Descriptor deprecated

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

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetBranch

func (x *Repository) GetBranch() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) GetPullRequestId

func (x *Repository) GetPullRequestId() string

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

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

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

type Resource

type Resource struct {
	Cpu     *CPU     `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory  *Memory  `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Storage *Storage `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetCpu

func (x *Resource) GetCpu() *CPU

func (*Resource) GetMemory

func (x *Resource) GetMemory() *Memory

func (*Resource) GetStorage

func (x *Resource) GetStorage() *Storage

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type Storage

type Storage struct {
	Request int64 `protobuf:"varint,1,opt,name=request,proto3" json:"request,omitempty"`
	Limit   int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Usage   int64 `protobuf:"varint,3,opt,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*Storage) Descriptor deprecated

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

Deprecated: Use Storage.ProtoReflect.Descriptor instead.

func (*Storage) GetLimit

func (x *Storage) GetLimit() int64

func (*Storage) GetRequest

func (x *Storage) GetRequest() int64

func (*Storage) GetUsage

func (x *Storage) GetUsage() int64

func (*Storage) ProtoMessage

func (*Storage) ProtoMessage()

func (*Storage) ProtoReflect

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

func (*Storage) Reset

func (x *Storage) Reset()

func (*Storage) String

func (x *Storage) String() string

type UnimplementedK8SCustomControllerServer

type UnimplementedK8SCustomControllerServer struct {
}

UnimplementedK8SCustomControllerServer must be embedded to have forward compatible implementations.

func (UnimplementedK8SCustomControllerServer) ApplyDeployment

func (UnimplementedK8SCustomControllerServer) BuildImage

func (UnimplementedK8SCustomControllerServer) CreateNamespace

func (UnimplementedK8SCustomControllerServer) CreatePreview

func (UnimplementedK8SCustomControllerServer) DeleteDeployment

func (UnimplementedK8SCustomControllerServer) DeleteNamespace

func (UnimplementedK8SCustomControllerServer) DeletePreview

func (UnimplementedK8SCustomControllerServer) GetAlls

func (UnimplementedK8SCustomControllerServer) GetLogs

func (UnimplementedK8SCustomControllerServer) GetOrgRepos

func (UnimplementedK8SCustomControllerServer) GetRepoBranches

func (UnimplementedK8SCustomControllerServer) GetUsage

func (UnimplementedK8SCustomControllerServer) ListNamespaces

func (UnimplementedK8SCustomControllerServer) UpdatePreview

type UnsafeK8SCustomControllerServer

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

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

type Usage

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

func (*Usage) Descriptor deprecated

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

Deprecated: Use Usage.ProtoReflect.Descriptor instead.

func (*Usage) GetPods

func (x *Usage) GetPods() []*Pod

func (*Usage) ProtoMessage

func (*Usage) ProtoMessage()

func (*Usage) ProtoReflect

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

func (*Usage) Reset

func (x *Usage) Reset()

func (*Usage) String

func (x *Usage) String() string

Jump to

Keyboard shortcuts

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