Documentation ¶
Index ¶
- Variables
- func RegisterK8SCustomControllerServer(s grpc.ServiceRegistrar, srv K8SCustomControllerServer)
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetAge() string
- func (x *Application) GetAppName() string
- func (x *Application) GetDeploymentName() string
- func (x *Application) GetImage() string
- func (x *Application) GetStatus() string
- func (x *Application) GetVersion() string
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type Branches
- func (*Branches) Descriptor() ([]byte, []int)deprecated
- func (x *Branches) GetAge() string
- func (x *Branches) GetBranch() string
- func (x *Branches) GetCpuMax() string
- func (x *Branches) GetCpuMin() string
- func (x *Branches) GetDeploymentName() string
- func (x *Branches) GetHpa() *HPA
- func (x *Branches) GetMemMax() string
- func (x *Branches) GetMemMin() string
- func (x *Branches) GetPullRequestId() string
- func (x *Branches) GetReplicas() string
- func (x *Branches) GetStatus() string
- func (x *Branches) GetVersion() string
- func (*Branches) ProtoMessage()
- func (x *Branches) ProtoReflect() protoreflect.Message
- func (x *Branches) Reset()
- func (x *Branches) String() string
- type BuildImageReply
- type BuildImageRequest
- func (*BuildImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildImageRequest) GetBranch() string
- func (x *BuildImageRequest) GetDockerfileDir() string
- func (x *BuildImageRequest) GetDockerfilePath() string
- func (x *BuildImageRequest) GetGitRepo() string
- func (x *BuildImageRequest) GetImageName() string
- func (x *BuildImageRequest) GetNamespace() string
- func (x *BuildImageRequest) GetPullRequestId() string
- func (x *BuildImageRequest) GetRepository() string
- func (x *BuildImageRequest) GetToken() string
- func (*BuildImageRequest) ProtoMessage()
- func (x *BuildImageRequest) ProtoReflect() protoreflect.Message
- func (x *BuildImageRequest) Reset()
- func (x *BuildImageRequest) String() string
- type CPU
- type Config
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetEnv() []*Env
- func (x *Container) GetImage() string
- func (x *Container) GetName() string
- func (x *Container) GetResource() *Resource
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type CreateDeploymentReply
- func (*CreateDeploymentReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentReply) GetName() string
- func (x *CreateDeploymentReply) GetNamespace() string
- func (x *CreateDeploymentReply) GetVersion() string
- func (*CreateDeploymentReply) ProtoMessage()
- func (x *CreateDeploymentReply) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentReply) Reset()
- func (x *CreateDeploymentReply) String() string
- type CreateDeploymentRequest
- func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentRequest) GetAppName() string
- func (x *CreateDeploymentRequest) GetBranch() string
- func (x *CreateDeploymentRequest) GetCreatedBy() string
- func (x *CreateDeploymentRequest) GetImage() string
- func (x *CreateDeploymentRequest) GetNamespace() string
- func (x *CreateDeploymentRequest) GetPrNumber() string
- func (x *CreateDeploymentRequest) GetReplicas() string
- func (x *CreateDeploymentRequest) GetRepository() string
- func (*CreateDeploymentRequest) ProtoMessage()
- func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentRequest) Reset()
- func (x *CreateDeploymentRequest) String() string
- type CreateNamespaceReply
- func (*CreateNamespaceReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceReply) GetName() string
- func (*CreateNamespaceReply) ProtoMessage()
- func (x *CreateNamespaceReply) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceReply) Reset()
- func (x *CreateNamespaceReply) String() string
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRequest) GetName() string
- func (*CreateNamespaceRequest) ProtoMessage()
- func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRequest) Reset()
- func (x *CreateNamespaceRequest) String() string
- type CreatePreviewReply
- func (*CreatePreviewReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePreviewReply) GetExternal() []string
- func (x *CreatePreviewReply) GetName() string
- func (x *CreatePreviewReply) GetNamespace() string
- func (x *CreatePreviewReply) GetVersion() string
- func (*CreatePreviewReply) ProtoMessage()
- func (x *CreatePreviewReply) ProtoReflect() protoreflect.Message
- func (x *CreatePreviewReply) Reset()
- func (x *CreatePreviewReply) String() string
- type CreatePreviewRequest
- func (*CreatePreviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePreviewRequest) GetBranch() string
- func (x *CreatePreviewRequest) GetConfigs() []*Config
- func (x *CreatePreviewRequest) GetExposePorts() []int32
- func (x *CreatePreviewRequest) GetImage() string
- func (x *CreatePreviewRequest) GetImagePullPolicy() string
- func (x *CreatePreviewRequest) GetOrganization() string
- func (x *CreatePreviewRequest) GetPullRequestId() string
- func (x *CreatePreviewRequest) GetReplicas() int32
- func (x *CreatePreviewRequest) GetRepository() string
- func (*CreatePreviewRequest) ProtoMessage()
- func (x *CreatePreviewRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePreviewRequest) Reset()
- func (x *CreatePreviewRequest) String() string
- type DeleteDeploymentRequest
- func (*DeleteDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeploymentRequest) GetNamespace() string
- func (x *DeleteDeploymentRequest) GetPrNumber() string
- func (x *DeleteDeploymentRequest) GetRepository() string
- func (*DeleteDeploymentRequest) ProtoMessage()
- func (x *DeleteDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeploymentRequest) Reset()
- func (x *DeleteDeploymentRequest) String() string
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRequest) GetName() string
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRequest) Reset()
- func (x *DeleteNamespaceRequest) String() string
- type DeletePreviewRequest
- func (*DeletePreviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePreviewRequest) GetBranch() string
- func (x *DeletePreviewRequest) GetOrganization() string
- func (x *DeletePreviewRequest) GetPullRequestId() string
- func (x *DeletePreviewRequest) GetRepository() string
- func (*DeletePreviewRequest) ProtoMessage()
- func (x *DeletePreviewRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePreviewRequest) Reset()
- func (x *DeletePreviewRequest) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetContainer() *Container
- func (x *Deployment) GetName() string
- func (x *Deployment) GetNamespace() string
- func (x *Deployment) GetReplica() *Replica
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type Env
- type GetAllsReply
- type GetLogsReply
- func (*GetLogsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsReply) GetId() int32
- func (x *GetLogsReply) GetMessage() string
- func (*GetLogsReply) ProtoMessage()
- func (x *GetLogsReply) ProtoReflect() protoreflect.Message
- func (x *GetLogsReply) Reset()
- func (x *GetLogsReply) String() string
- type GetLogsRequest
- func (*GetLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsRequest) GetNamespace() string
- func (x *GetLogsRequest) GetPodName() string
- func (*GetLogsRequest) ProtoMessage()
- func (x *GetLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogsRequest) Reset()
- func (x *GetLogsRequest) String() string
- type GetOrgRepoRequest
- func (*GetOrgRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrgRepoRequest) GetOrganization() string
- func (*GetOrgRepoRequest) ProtoMessage()
- func (x *GetOrgRepoRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrgRepoRequest) Reset()
- func (x *GetOrgRepoRequest) String() string
- type GetOrgReposReply
- func (*GetOrgReposReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrgReposReply) GetApplications() []*Application
- func (x *GetOrgReposReply) GetOrganization() string
- func (x *GetOrgReposReply) GetRepositories() []*Repository
- func (*GetOrgReposReply) ProtoMessage()
- func (x *GetOrgReposReply) ProtoReflect() protoreflect.Message
- func (x *GetOrgReposReply) Reset()
- func (x *GetOrgReposReply) String() string
- type GetRepoBranchesReply
- func (*GetRepoBranchesReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepoBranchesReply) GetBranches() []*Branches
- func (*GetRepoBranchesReply) ProtoMessage()
- func (x *GetRepoBranchesReply) ProtoReflect() protoreflect.Message
- func (x *GetRepoBranchesReply) Reset()
- func (x *GetRepoBranchesReply) String() string
- type GetRepoBranchesRequest
- func (*GetRepoBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepoBranchesRequest) GetOrganization() string
- func (x *GetRepoBranchesRequest) GetRepository() string
- func (*GetRepoBranchesRequest) ProtoMessage()
- func (x *GetRepoBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepoBranchesRequest) Reset()
- func (x *GetRepoBranchesRequest) String() string
- type GetUsageReply
- func (*GetUsageReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsageReply) GetIsDisable() bool
- func (x *GetUsageReply) GetUsages() *Usage
- func (*GetUsageReply) ProtoMessage()
- func (x *GetUsageReply) ProtoReflect() protoreflect.Message
- func (x *GetUsageReply) Reset()
- func (x *GetUsageReply) String() string
- type GetUsageRequest
- func (*GetUsageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsageRequest) GetDeploymentName() string
- func (x *GetUsageRequest) GetOrganization() string
- func (*GetUsageRequest) ProtoMessage()
- func (x *GetUsageRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsageRequest) Reset()
- func (x *GetUsageRequest) String() string
- type HPA
- func (*HPA) Descriptor() ([]byte, []int)deprecated
- func (x *HPA) GetMaxReplicas() string
- func (x *HPA) GetMinReplicas() string
- func (x *HPA) GetName() string
- func (x *HPA) GetResource() string
- func (x *HPA) GetTarget() string
- func (x *HPA) GetTargetValue() int32
- func (*HPA) ProtoMessage()
- func (x *HPA) ProtoReflect() protoreflect.Message
- func (x *HPA) Reset()
- func (x *HPA) String() string
- type K8SCustomControllerClient
- type K8SCustomControllerServer
- type K8SCustomController_GetLogsClient
- type K8SCustomController_GetLogsServer
- type ListNamespacesReply
- func (*ListNamespacesReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesReply) GetNames() []string
- func (*ListNamespacesReply) ProtoMessage()
- func (x *ListNamespacesReply) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesReply) Reset()
- func (x *ListNamespacesReply) String() string
- type Memory
- type Pod
- type Replica
- func (*Replica) Descriptor() ([]byte, []int)deprecated
- func (x *Replica) GetPod() *Pod
- func (x *Replica) GetReplicas() int32
- func (x *Replica) GetResource() *Resource
- func (*Replica) ProtoMessage()
- func (x *Replica) ProtoReflect() protoreflect.Message
- func (x *Replica) Reset()
- func (x *Replica) String() string
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetBranch() string
- func (x *Repository) GetName() string
- func (x *Repository) GetPullRequestId() string
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCpu() *CPU
- func (x *Resource) GetMemory() *Memory
- func (x *Resource) GetStorage() *Storage
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type Storage
- func (*Storage) Descriptor() ([]byte, []int)deprecated
- func (x *Storage) GetLimit() int64
- func (x *Storage) GetRequest() int64
- func (x *Storage) GetUsage() int64
- func (*Storage) ProtoMessage()
- func (x *Storage) ProtoReflect() protoreflect.Message
- func (x *Storage) Reset()
- func (x *Storage) String() string
- type UnimplementedK8SCustomControllerServer
- func (UnimplementedK8SCustomControllerServer) ApplyDeployment(context.Context, *CreateDeploymentRequest) (*CreateDeploymentReply, error)
- func (UnimplementedK8SCustomControllerServer) BuildImage(context.Context, *BuildImageRequest) (*BuildImageReply, error)
- func (UnimplementedK8SCustomControllerServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceReply, error)
- func (UnimplementedK8SCustomControllerServer) CreatePreview(context.Context, *CreatePreviewRequest) (*CreatePreviewReply, error)
- func (UnimplementedK8SCustomControllerServer) DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*emptypb.Empty, error)
- func (UnimplementedK8SCustomControllerServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
- func (UnimplementedK8SCustomControllerServer) DeletePreview(context.Context, *DeletePreviewRequest) (*emptypb.Empty, error)
- func (UnimplementedK8SCustomControllerServer) GetAlls(context.Context, *emptypb.Empty) (*GetAllsReply, error)
- func (UnimplementedK8SCustomControllerServer) GetLogs(*GetLogsRequest, K8SCustomController_GetLogsServer) error
- func (UnimplementedK8SCustomControllerServer) GetOrgRepos(context.Context, *GetOrgRepoRequest) (*GetOrgReposReply, error)
- func (UnimplementedK8SCustomControllerServer) GetRepoBranches(context.Context, *GetRepoBranchesRequest) (*GetRepoBranchesReply, error)
- func (UnimplementedK8SCustomControllerServer) GetUsage(context.Context, *GetUsageRequest) (*GetUsageReply, error)
- func (UnimplementedK8SCustomControllerServer) ListNamespaces(context.Context, *emptypb.Empty) (*ListNamespacesReply, error)
- func (UnimplementedK8SCustomControllerServer) UpdatePreview(context.Context, *CreatePreviewRequest) (*CreatePreviewReply, error)
- type UnsafeK8SCustomControllerServer
- type Usage
Constants ¶
This section is empty.
Variables ¶
var File_proto_k8s_controller_request_v1_proto protoreflect.FileDescriptor
var File_proto_k8s_controller_response_v1_proto protoreflect.FileDescriptor
var File_proto_k8s_controller_service_v1_proto protoreflect.FileDescriptor
var File_proto_k8s_structure_proto protoreflect.FileDescriptor
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) GetDeploymentName ¶
func (*Branches) GetPullRequestId ¶
func (*Branches) GetReplicas ¶
func (*Branches) GetVersion ¶
func (*Branches) ProtoMessage ¶
func (*Branches) ProtoMessage()
func (*Branches) ProtoReflect ¶
func (x *Branches) ProtoReflect() protoreflect.Message
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) GetRequest ¶
func (*CPU) ProtoMessage ¶
func (*CPU) ProtoMessage()
func (*CPU) ProtoReflect ¶
func (x *CPU) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
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) GetResource ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Env) ProtoMessage()
func (*Env) ProtoReflect ¶
func (x *Env) ProtoReflect() protoreflect.Message
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) GetMaxReplicas ¶
func (*HPA) GetMinReplicas ¶
func (*HPA) GetResource ¶
func (*HPA) GetTargetValue ¶
func (*HPA) ProtoMessage ¶
func (*HPA) ProtoMessage()
func (*HPA) ProtoReflect ¶
func (x *HPA) ProtoReflect() protoreflect.Message
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.
func NewK8SCustomControllerClient ¶
func NewK8SCustomControllerClient(cc grpc.ClientConnInterface) K8SCustomControllerClient
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) GetRequest ¶
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) ProtoReflect ¶
func (x *Memory) ProtoReflect() protoreflect.Message
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) GetContainers ¶
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
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) GetReplicas ¶
func (*Replica) GetResource ¶
func (*Replica) ProtoMessage ¶
func (*Replica) ProtoMessage()
func (*Replica) ProtoReflect ¶
func (x *Replica) ProtoReflect() protoreflect.Message
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) GetStorage ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
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) GetRequest ¶
func (*Storage) ProtoMessage ¶
func (*Storage) ProtoMessage()
func (*Storage) ProtoReflect ¶
func (x *Storage) ProtoReflect() protoreflect.Message
type UnimplementedK8SCustomControllerServer ¶
type UnimplementedK8SCustomControllerServer struct { }
UnimplementedK8SCustomControllerServer must be embedded to have forward compatible implementations.
func (UnimplementedK8SCustomControllerServer) ApplyDeployment ¶
func (UnimplementedK8SCustomControllerServer) ApplyDeployment(context.Context, *CreateDeploymentRequest) (*CreateDeploymentReply, error)
func (UnimplementedK8SCustomControllerServer) BuildImage ¶
func (UnimplementedK8SCustomControllerServer) BuildImage(context.Context, *BuildImageRequest) (*BuildImageReply, error)
func (UnimplementedK8SCustomControllerServer) CreateNamespace ¶
func (UnimplementedK8SCustomControllerServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceReply, error)
func (UnimplementedK8SCustomControllerServer) CreatePreview ¶
func (UnimplementedK8SCustomControllerServer) CreatePreview(context.Context, *CreatePreviewRequest) (*CreatePreviewReply, error)
func (UnimplementedK8SCustomControllerServer) DeleteDeployment ¶
func (UnimplementedK8SCustomControllerServer) DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*emptypb.Empty, error)
func (UnimplementedK8SCustomControllerServer) DeleteNamespace ¶
func (UnimplementedK8SCustomControllerServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
func (UnimplementedK8SCustomControllerServer) DeletePreview ¶
func (UnimplementedK8SCustomControllerServer) DeletePreview(context.Context, *DeletePreviewRequest) (*emptypb.Empty, error)
func (UnimplementedK8SCustomControllerServer) GetAlls ¶
func (UnimplementedK8SCustomControllerServer) GetAlls(context.Context, *emptypb.Empty) (*GetAllsReply, error)
func (UnimplementedK8SCustomControllerServer) GetOrgRepos ¶
func (UnimplementedK8SCustomControllerServer) GetOrgRepos(context.Context, *GetOrgRepoRequest) (*GetOrgReposReply, error)
func (UnimplementedK8SCustomControllerServer) GetRepoBranches ¶
func (UnimplementedK8SCustomControllerServer) GetRepoBranches(context.Context, *GetRepoBranchesRequest) (*GetRepoBranchesReply, error)
func (UnimplementedK8SCustomControllerServer) GetUsage ¶
func (UnimplementedK8SCustomControllerServer) GetUsage(context.Context, *GetUsageRequest) (*GetUsageReply, error)
func (UnimplementedK8SCustomControllerServer) ListNamespaces ¶
func (UnimplementedK8SCustomControllerServer) ListNamespaces(context.Context, *emptypb.Empty) (*ListNamespacesReply, error)
func (UnimplementedK8SCustomControllerServer) UpdatePreview ¶
func (UnimplementedK8SCustomControllerServer) UpdatePreview(context.Context, *CreatePreviewRequest) (*CreatePreviewReply, error)
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) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) ProtoReflect ¶
func (x *Usage) ProtoReflect() protoreflect.Message