Documentation ¶
Index ¶
- Variables
- func RegisterAnsiblerServiceServer(s grpc.ServiceRegistrar, srv AnsiblerServiceServer)
- func RegisterContextBoxServiceServer(s grpc.ServiceRegistrar, srv ContextBoxServiceServer)
- func RegisterKubeElevenServiceServer(s grpc.ServiceRegistrar, srv KubeElevenServiceServer)
- func RegisterKuberServiceServer(s grpc.ServiceRegistrar, srv KuberServiceServer)
- func RegisterTerraformerServiceServer(s grpc.ServiceRegistrar, srv TerraformerServiceServer)
- type AnsiblerServiceClient
- type AnsiblerServiceServer
- type AutoscalerConf
- func (*AutoscalerConf) Descriptor() ([]byte, []int)deprecated
- func (x *AutoscalerConf) GetMax() int32
- func (x *AutoscalerConf) GetMin() int32
- func (*AutoscalerConf) ProtoMessage()
- func (x *AutoscalerConf) ProtoReflect() protoreflect.Message
- func (x *AutoscalerConf) Reset()
- func (x *AutoscalerConf) String() string
- type BuildClusterRequest
- func (*BuildClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildClusterRequest) GetDesired() *K8Scluster
- func (x *BuildClusterRequest) GetDesiredLbs() []*LBcluster
- func (x *BuildClusterRequest) GetProjectName() string
- func (*BuildClusterRequest) ProtoMessage()
- func (x *BuildClusterRequest) ProtoReflect() protoreflect.Message
- func (x *BuildClusterRequest) Reset()
- func (x *BuildClusterRequest) String() string
- type BuildClusterResponse
- func (*BuildClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildClusterResponse) GetDesired() *K8Scluster
- func (x *BuildClusterResponse) GetDesiredLbs() []*LBcluster
- func (*BuildClusterResponse) ProtoMessage()
- func (x *BuildClusterResponse) ProtoReflect() protoreflect.Message
- func (x *BuildClusterResponse) Reset()
- func (x *BuildClusterResponse) String() string
- type BuildInfrastructureRequest
- func (*BuildInfrastructureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfrastructureRequest) GetCurrent() *K8Scluster
- func (x *BuildInfrastructureRequest) GetCurrentLbs() []*LBcluster
- func (x *BuildInfrastructureRequest) GetDesired() *K8Scluster
- func (x *BuildInfrastructureRequest) GetDesiredLbs() []*LBcluster
- func (x *BuildInfrastructureRequest) GetProjectName() string
- func (*BuildInfrastructureRequest) ProtoMessage()
- func (x *BuildInfrastructureRequest) ProtoReflect() protoreflect.Message
- func (x *BuildInfrastructureRequest) Reset()
- func (x *BuildInfrastructureRequest) String() string
- type BuildInfrastructureResponse
- func (*BuildInfrastructureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfrastructureResponse) GetCurrent() *K8Scluster
- func (x *BuildInfrastructureResponse) GetCurrentLbs() []*LBcluster
- func (x *BuildInfrastructureResponse) GetDesired() *K8Scluster
- func (x *BuildInfrastructureResponse) GetDesiredLbs() []*LBcluster
- func (*BuildInfrastructureResponse) ProtoMessage()
- func (x *BuildInfrastructureResponse) ProtoReflect() protoreflect.Message
- func (x *BuildInfrastructureResponse) Reset()
- func (x *BuildInfrastructureResponse) String() string
- type ClusterInfo
- func (*ClusterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterInfo) GetHash() string
- func (x *ClusterInfo) GetName() string
- func (x *ClusterInfo) GetNodePools() []*NodePool
- func (x *ClusterInfo) GetPrivateKey() string
- func (x *ClusterInfo) GetPublicKey() string
- func (*ClusterInfo) ProtoMessage()
- func (x *ClusterInfo) ProtoReflect() protoreflect.Message
- func (x *ClusterInfo) Reset()
- func (x *ClusterInfo) String() string
- type ClusterType
- func (ClusterType) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterType) Enum() *ClusterType
- func (ClusterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterType) Number() protoreflect.EnumNumber
- func (x ClusterType) String() string
- func (ClusterType) Type() protoreflect.EnumType
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetBuilderTTL() int32
- func (x *Config) GetCsChecksum() []byte
- func (x *Config) GetCurrentState() *Project
- func (x *Config) GetDesiredState() *Project
- func (x *Config) GetDsChecksum() []byte
- func (x *Config) GetId() string
- func (x *Config) GetManifest() string
- func (x *Config) GetManifestFileName() string
- func (x *Config) GetMsChecksum() []byte
- func (x *Config) GetName() string
- func (x *Config) GetSchedulerTTL() int32
- func (x *Config) GetState() map[string]*Workflow
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type ContextBoxServiceClient
- type ContextBoxServiceServer
- type DNS
- func (*DNS) Descriptor() ([]byte, []int)deprecated
- func (x *DNS) GetDnsZone() string
- func (x *DNS) GetEndpoint() string
- func (x *DNS) GetHostname() string
- func (x *DNS) GetProvider() *Provider
- func (*DNS) ProtoMessage()
- func (x *DNS) ProtoReflect() protoreflect.Message
- func (x *DNS) Reset()
- func (x *DNS) String() string
- type DeleteClusterMetadataRequest
- func (*DeleteClusterMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterMetadataRequest) GetCluster() *K8Scluster
- func (*DeleteClusterMetadataRequest) ProtoMessage()
- func (x *DeleteClusterMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterMetadataRequest) Reset()
- func (x *DeleteClusterMetadataRequest) String() string
- type DeleteClusterMetadataResponse
- func (*DeleteClusterMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteClusterMetadataResponse) ProtoMessage()
- func (x *DeleteClusterMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterMetadataResponse) Reset()
- func (x *DeleteClusterMetadataResponse) String() string
- type DeleteConfigRequest
- func (*DeleteConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConfigRequest) GetId() string
- func (x *DeleteConfigRequest) GetType() IdType
- func (*DeleteConfigRequest) ProtoMessage()
- func (x *DeleteConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConfigRequest) Reset()
- func (x *DeleteConfigRequest) String() string
- type DeleteConfigResponse
- func (*DeleteConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConfigResponse) GetId() string
- func (*DeleteConfigResponse) ProtoMessage()
- func (x *DeleteConfigResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteConfigResponse) Reset()
- func (x *DeleteConfigResponse) String() string
- type DeleteKubeconfigRequest
- func (*DeleteKubeconfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKubeconfigRequest) GetCluster() *K8Scluster
- func (*DeleteKubeconfigRequest) ProtoMessage()
- func (x *DeleteKubeconfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKubeconfigRequest) Reset()
- func (x *DeleteKubeconfigRequest) String() string
- type DeleteKubeconfigResponse
- type DeleteNodesRequest
- func (*DeleteNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodesRequest) GetCluster() *K8Scluster
- func (x *DeleteNodesRequest) GetMasterNodes() []string
- func (x *DeleteNodesRequest) GetWorkerNodes() []string
- func (*DeleteNodesRequest) ProtoMessage()
- func (x *DeleteNodesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodesRequest) Reset()
- func (x *DeleteNodesRequest) String() string
- type DeleteNodesResponse
- func (*DeleteNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodesResponse) GetCluster() *K8Scluster
- func (*DeleteNodesResponse) ProtoMessage()
- func (x *DeleteNodesResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNodesResponse) Reset()
- func (x *DeleteNodesResponse) String() string
- type DestroyClusterAutoscalerRequest
- func (*DestroyClusterAutoscalerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DestroyClusterAutoscalerRequest) GetCluster() *K8Scluster
- func (x *DestroyClusterAutoscalerRequest) GetProjectName() string
- func (*DestroyClusterAutoscalerRequest) ProtoMessage()
- func (x *DestroyClusterAutoscalerRequest) ProtoReflect() protoreflect.Message
- func (x *DestroyClusterAutoscalerRequest) Reset()
- func (x *DestroyClusterAutoscalerRequest) String() string
- type DestroyClusterAutoscalerResponse
- func (*DestroyClusterAutoscalerResponse) Descriptor() ([]byte, []int)deprecated
- func (*DestroyClusterAutoscalerResponse) ProtoMessage()
- func (x *DestroyClusterAutoscalerResponse) ProtoReflect() protoreflect.Message
- func (x *DestroyClusterAutoscalerResponse) Reset()
- func (x *DestroyClusterAutoscalerResponse) String() string
- type DestroyInfrastructureRequest
- func (*DestroyInfrastructureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DestroyInfrastructureRequest) GetCurrent() *K8Scluster
- func (x *DestroyInfrastructureRequest) GetCurrentLbs() []*LBcluster
- func (x *DestroyInfrastructureRequest) GetProjectName() string
- func (*DestroyInfrastructureRequest) ProtoMessage()
- func (x *DestroyInfrastructureRequest) ProtoReflect() protoreflect.Message
- func (x *DestroyInfrastructureRequest) Reset()
- func (x *DestroyInfrastructureRequest) String() string
- type DestroyInfrastructureResponse
- func (*DestroyInfrastructureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DestroyInfrastructureResponse) GetCurrent() *K8Scluster
- func (x *DestroyInfrastructureResponse) GetCurrentLbs() []*LBcluster
- func (*DestroyInfrastructureResponse) ProtoMessage()
- func (x *DestroyInfrastructureResponse) ProtoReflect() protoreflect.Message
- func (x *DestroyInfrastructureResponse) Reset()
- func (x *DestroyInfrastructureResponse) String() string
- type GetAllConfigsRequest
- type GetAllConfigsResponse
- func (*GetAllConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllConfigsResponse) GetConfigs() []*Config
- func (*GetAllConfigsResponse) ProtoMessage()
- func (x *GetAllConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllConfigsResponse) Reset()
- func (x *GetAllConfigsResponse) String() string
- type GetConfigFromDBRequest
- func (*GetConfigFromDBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigFromDBRequest) GetId() string
- func (x *GetConfigFromDBRequest) GetType() IdType
- func (*GetConfigFromDBRequest) ProtoMessage()
- func (x *GetConfigFromDBRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigFromDBRequest) Reset()
- func (x *GetConfigFromDBRequest) String() string
- type GetConfigFromDBResponse
- func (*GetConfigFromDBResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigFromDBResponse) GetConfig() *Config
- func (*GetConfigFromDBResponse) ProtoMessage()
- func (x *GetConfigFromDBResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigFromDBResponse) Reset()
- func (x *GetConfigFromDBResponse) String() string
- type GetConfigRequest
- type GetConfigResponse
- type IdType
- type InstallRequest
- func (*InstallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallRequest) GetDesired() *K8Scluster
- func (x *InstallRequest) GetDesiredLbs() []*LBcluster
- func (x *InstallRequest) GetProjectName() string
- func (*InstallRequest) ProtoMessage()
- func (x *InstallRequest) ProtoReflect() protoreflect.Message
- func (x *InstallRequest) Reset()
- func (x *InstallRequest) String() string
- type InstallResponse
- func (*InstallResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallResponse) GetDesired() *K8Scluster
- func (x *InstallResponse) GetDesiredLbs() []*LBcluster
- func (*InstallResponse) ProtoMessage()
- func (x *InstallResponse) ProtoReflect() protoreflect.Message
- func (x *InstallResponse) Reset()
- func (x *InstallResponse) String() string
- type K8Scluster
- func (*K8Scluster) Descriptor() ([]byte, []int)deprecated
- func (x *K8Scluster) GetClusterInfo() *ClusterInfo
- func (x *K8Scluster) GetKubeconfig() string
- func (x *K8Scluster) GetKubernetes() string
- func (x *K8Scluster) GetNetwork() string
- func (*K8Scluster) ProtoMessage()
- func (x *K8Scluster) ProtoReflect() protoreflect.Message
- func (x *K8Scluster) Reset()
- func (x *K8Scluster) String() string
- type KubeElevenServiceClient
- type KubeElevenServiceServer
- type KuberServiceClient
- type KuberServiceServer
- type LBcluster
- func (*LBcluster) Descriptor() ([]byte, []int)deprecated
- func (x *LBcluster) GetClusterInfo() *ClusterInfo
- func (x *LBcluster) GetDns() *DNS
- func (x *LBcluster) GetRoles() []*Role
- func (x *LBcluster) GetTargetedK8S() string
- func (*LBcluster) ProtoMessage()
- func (x *LBcluster) ProtoReflect() protoreflect.Message
- func (x *LBcluster) Reset()
- func (x *LBcluster) String() string
- type MetaValue
- func (*MetaValue) Descriptor() ([]byte, []int)deprecated
- func (x *MetaValue) GetCidr() string
- func (m *MetaValue) GetMetaValueOneOf() isMetaValue_MetaValueOneOf
- func (*MetaValue) ProtoMessage()
- func (x *MetaValue) ProtoReflect() protoreflect.Message
- func (x *MetaValue) Reset()
- func (x *MetaValue) String() string
- type MetaValue_Cidr
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetName() string
- func (x *Node) GetNodeType() NodeType
- func (x *Node) GetPrivate() string
- func (x *Node) GetPublic() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodePool
- func (*NodePool) Descriptor() ([]byte, []int)deprecated
- func (x *NodePool) GetAutoscalerConfig() *AutoscalerConf
- func (x *NodePool) GetCount() int32
- func (x *NodePool) GetImage() string
- func (x *NodePool) GetIsControl() bool
- func (x *NodePool) GetMetadata() map[string]*MetaValue
- func (x *NodePool) GetName() string
- func (x *NodePool) GetNodes() []*Node
- func (x *NodePool) GetProvider() *Provider
- func (x *NodePool) GetRegion() string
- func (x *NodePool) GetServerType() string
- func (x *NodePool) GetStorageDiskSize() uint32
- func (x *NodePool) GetZone() string
- func (*NodePool) ProtoMessage()
- func (x *NodePool) ProtoReflect() protoreflect.Message
- func (x *NodePool) Reset()
- func (x *NodePool) String() string
- type NodeType
- type PatchClusterInfoConfigMapRequest
- func (*PatchClusterInfoConfigMapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchClusterInfoConfigMapRequest) GetDesiredCluster() *K8Scluster
- func (*PatchClusterInfoConfigMapRequest) ProtoMessage()
- func (x *PatchClusterInfoConfigMapRequest) ProtoReflect() protoreflect.Message
- func (x *PatchClusterInfoConfigMapRequest) Reset()
- func (x *PatchClusterInfoConfigMapRequest) String() string
- type PatchClusterInfoConfigMapResponse
- func (*PatchClusterInfoConfigMapResponse) Descriptor() ([]byte, []int)deprecated
- func (*PatchClusterInfoConfigMapResponse) ProtoMessage()
- func (x *PatchClusterInfoConfigMapResponse) ProtoReflect() protoreflect.Message
- func (x *PatchClusterInfoConfigMapResponse) Reset()
- func (x *PatchClusterInfoConfigMapResponse) String() string
- type PatchNodeTemplateRequest
- func (*PatchNodeTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchNodeTemplateRequest) GetCluster() *K8Scluster
- func (*PatchNodeTemplateRequest) ProtoMessage()
- func (x *PatchNodeTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *PatchNodeTemplateRequest) Reset()
- func (x *PatchNodeTemplateRequest) String() string
- type PatchNodeTemplateResponse
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetClusters() []*K8Scluster
- func (x *Project) GetLoadBalancerClusters() []*LBcluster
- func (x *Project) GetName() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetAwsAccessKey() string
- func (x *Provider) GetAzureClientId() string
- func (x *Provider) GetAzureSubscriptionId() string
- func (x *Provider) GetAzureTenantId() string
- func (x *Provider) GetCloudProviderName() string
- func (x *Provider) GetCredentials() string
- func (x *Provider) GetGcpProject() string
- func (x *Provider) GetOciCompartmentOcid() string
- func (x *Provider) GetOciFingerprint() string
- func (x *Provider) GetOciTenancyOcid() string
- func (x *Provider) GetOciUserOcid() string
- func (x *Provider) GetSpecName() string
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- type RemoveLbScrapeConfigRequest
- func (*RemoveLbScrapeConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveLbScrapeConfigRequest) GetCluster() *K8Scluster
- func (*RemoveLbScrapeConfigRequest) ProtoMessage()
- func (x *RemoveLbScrapeConfigRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveLbScrapeConfigRequest) Reset()
- func (x *RemoveLbScrapeConfigRequest) String() string
- type RemoveLbScrapeConfigResponse
- func (*RemoveLbScrapeConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveLbScrapeConfigResponse) ProtoMessage()
- func (x *RemoveLbScrapeConfigResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveLbScrapeConfigResponse) Reset()
- func (x *RemoveLbScrapeConfigResponse) String() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetName() string
- func (x *Role) GetPort() int32
- func (x *Role) GetProtocol() string
- func (x *Role) GetRoleType() RoleType
- func (x *Role) GetTarget() Target
- func (x *Role) GetTargetPort() int32
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type RoleType
- type SaveConfigRequest
- type SaveConfigResponse
- func (*SaveConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SaveConfigResponse) GetConfig() *Config
- func (*SaveConfigResponse) ProtoMessage()
- func (x *SaveConfigResponse) ProtoReflect() protoreflect.Message
- func (x *SaveConfigResponse) Reset()
- func (x *SaveConfigResponse) String() string
- type SaveWorkflowStateRequest
- func (*SaveWorkflowStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveWorkflowStateRequest) GetClusterName() string
- func (x *SaveWorkflowStateRequest) GetConfigName() string
- func (x *SaveWorkflowStateRequest) GetWorkflow() *Workflow
- func (*SaveWorkflowStateRequest) ProtoMessage()
- func (x *SaveWorkflowStateRequest) ProtoReflect() protoreflect.Message
- func (x *SaveWorkflowStateRequest) Reset()
- func (x *SaveWorkflowStateRequest) String() string
- type SaveWorkflowStateResponse
- type SetUpClusterAutoscalerRequest
- func (*SetUpClusterAutoscalerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetUpClusterAutoscalerRequest) GetCluster() *K8Scluster
- func (x *SetUpClusterAutoscalerRequest) GetProjectName() string
- func (*SetUpClusterAutoscalerRequest) ProtoMessage()
- func (x *SetUpClusterAutoscalerRequest) ProtoReflect() protoreflect.Message
- func (x *SetUpClusterAutoscalerRequest) Reset()
- func (x *SetUpClusterAutoscalerRequest) String() string
- type SetUpClusterAutoscalerResponse
- func (*SetUpClusterAutoscalerResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetUpClusterAutoscalerResponse) ProtoMessage()
- func (x *SetUpClusterAutoscalerResponse) ProtoReflect() protoreflect.Message
- func (x *SetUpClusterAutoscalerResponse) Reset()
- func (x *SetUpClusterAutoscalerResponse) String() string
- type SetUpLBRequest
- func (*SetUpLBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetUpLBRequest) GetCurrentLbs() []*LBcluster
- func (x *SetUpLBRequest) GetDesired() *K8Scluster
- func (x *SetUpLBRequest) GetDesiredLbs() []*LBcluster
- func (x *SetUpLBRequest) GetFirstRun() bool
- func (x *SetUpLBRequest) GetPreviousAPIEndpoint() string
- func (x *SetUpLBRequest) GetProjectName() string
- func (*SetUpLBRequest) ProtoMessage()
- func (x *SetUpLBRequest) ProtoReflect() protoreflect.Message
- func (x *SetUpLBRequest) Reset()
- func (x *SetUpLBRequest) String() string
- type SetUpLBResponse
- func (*SetUpLBResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetUpLBResponse) GetCurrentLbs() []*LBcluster
- func (x *SetUpLBResponse) GetDesired() *K8Scluster
- func (x *SetUpLBResponse) GetDesiredLbs() []*LBcluster
- func (*SetUpLBResponse) ProtoMessage()
- func (x *SetUpLBResponse) ProtoReflect() protoreflect.Message
- func (x *SetUpLBResponse) Reset()
- func (x *SetUpLBResponse) String() string
- type SetUpStorageRequest
- func (*SetUpStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetUpStorageRequest) GetDesiredCluster() *K8Scluster
- func (*SetUpStorageRequest) ProtoMessage()
- func (x *SetUpStorageRequest) ProtoReflect() protoreflect.Message
- func (x *SetUpStorageRequest) Reset()
- func (x *SetUpStorageRequest) String() string
- type SetUpStorageResponse
- func (*SetUpStorageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetUpStorageResponse) GetDesiredCluster() *K8Scluster
- func (*SetUpStorageResponse) ProtoMessage()
- func (x *SetUpStorageResponse) ProtoReflect() protoreflect.Message
- func (x *SetUpStorageResponse) Reset()
- func (x *SetUpStorageResponse) String() string
- type StoreClusterMetadataRequest
- func (*StoreClusterMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreClusterMetadataRequest) GetCluster() *K8Scluster
- func (x *StoreClusterMetadataRequest) GetProjectName() string
- func (*StoreClusterMetadataRequest) ProtoMessage()
- func (x *StoreClusterMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *StoreClusterMetadataRequest) Reset()
- func (x *StoreClusterMetadataRequest) String() string
- type StoreClusterMetadataResponse
- func (*StoreClusterMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (*StoreClusterMetadataResponse) ProtoMessage()
- func (x *StoreClusterMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *StoreClusterMetadataResponse) Reset()
- func (x *StoreClusterMetadataResponse) String() string
- type StoreKubeconfigRequest
- func (*StoreKubeconfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreKubeconfigRequest) GetCluster() *K8Scluster
- func (x *StoreKubeconfigRequest) GetProjectName() string
- func (*StoreKubeconfigRequest) ProtoMessage()
- func (x *StoreKubeconfigRequest) ProtoReflect() protoreflect.Message
- func (x *StoreKubeconfigRequest) Reset()
- func (x *StoreKubeconfigRequest) String() string
- type StoreKubeconfigResponse
- type StoreLbScrapeConfigRequest
- func (*StoreLbScrapeConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreLbScrapeConfigRequest) GetCluster() *K8Scluster
- func (x *StoreLbScrapeConfigRequest) GetDesiredLoadbalancers() []*LBcluster
- func (*StoreLbScrapeConfigRequest) ProtoMessage()
- func (x *StoreLbScrapeConfigRequest) ProtoReflect() protoreflect.Message
- func (x *StoreLbScrapeConfigRequest) Reset()
- func (x *StoreLbScrapeConfigRequest) String() string
- type StoreLbScrapeConfigResponse
- type Target
- type TeardownLBRequest
- func (*TeardownLBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TeardownLBRequest) GetDeletedLbs() []*LBcluster
- func (x *TeardownLBRequest) GetDesired() *K8Scluster
- func (x *TeardownLBRequest) GetDesiredLbs() []*LBcluster
- func (x *TeardownLBRequest) GetProjectName() string
- func (*TeardownLBRequest) ProtoMessage()
- func (x *TeardownLBRequest) ProtoReflect() protoreflect.Message
- func (x *TeardownLBRequest) Reset()
- func (x *TeardownLBRequest) String() string
- type TeardownLBResponse
- func (*TeardownLBResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TeardownLBResponse) GetDeletedLbs() []*LBcluster
- func (x *TeardownLBResponse) GetDesired() *K8Scluster
- func (x *TeardownLBResponse) GetDesiredLbs() []*LBcluster
- func (x *TeardownLBResponse) GetPreviousAPIEndpoint() string
- func (*TeardownLBResponse) ProtoMessage()
- func (x *TeardownLBResponse) ProtoReflect() protoreflect.Message
- func (x *TeardownLBResponse) Reset()
- func (x *TeardownLBResponse) String() string
- type TerraformerServiceClient
- type TerraformerServiceServer
- type UnimplementedAnsiblerServiceServer
- func (UnimplementedAnsiblerServiceServer) InstallNodeRequirements(context.Context, *InstallRequest) (*InstallResponse, error)
- func (UnimplementedAnsiblerServiceServer) InstallVPN(context.Context, *InstallRequest) (*InstallResponse, error)
- func (UnimplementedAnsiblerServiceServer) SetUpLoadbalancers(context.Context, *SetUpLBRequest) (*SetUpLBResponse, error)
- func (UnimplementedAnsiblerServiceServer) TeardownLoadBalancers(context.Context, *TeardownLBRequest) (*TeardownLBResponse, error)
- func (UnimplementedAnsiblerServiceServer) UpdateAPIEndpoint(context.Context, *UpdateAPIEndpointRequest) (*UpdateAPIEndpointResponse, error)
- type UnimplementedContextBoxServiceServer
- func (UnimplementedContextBoxServiceServer) DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error)
- func (UnimplementedContextBoxServiceServer) DeleteConfigFromDB(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error)
- func (UnimplementedContextBoxServiceServer) GetAllConfigs(context.Context, *GetAllConfigsRequest) (*GetAllConfigsResponse, error)
- func (UnimplementedContextBoxServiceServer) GetConfigBuilder(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
- func (UnimplementedContextBoxServiceServer) GetConfigFromDB(context.Context, *GetConfigFromDBRequest) (*GetConfigFromDBResponse, error)
- func (UnimplementedContextBoxServiceServer) GetConfigScheduler(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
- func (UnimplementedContextBoxServiceServer) SaveConfigBuilder(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error)
- func (UnimplementedContextBoxServiceServer) SaveConfigFrontEnd(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error)
- func (UnimplementedContextBoxServiceServer) SaveConfigScheduler(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error)
- func (UnimplementedContextBoxServiceServer) SaveWorkflowState(context.Context, *SaveWorkflowStateRequest) (*SaveWorkflowStateResponse, error)
- func (UnimplementedContextBoxServiceServer) UpdateNodepool(context.Context, *UpdateNodepoolRequest) (*UpdateNodepoolResponse, error)
- type UnimplementedKubeElevenServiceServer
- type UnimplementedKuberServiceServer
- func (UnimplementedKuberServiceServer) DeleteClusterMetadata(context.Context, *DeleteClusterMetadataRequest) (*DeleteClusterMetadataResponse, error)
- func (UnimplementedKuberServiceServer) DeleteKubeconfig(context.Context, *DeleteKubeconfigRequest) (*DeleteKubeconfigResponse, error)
- func (UnimplementedKuberServiceServer) DeleteNodes(context.Context, *DeleteNodesRequest) (*DeleteNodesResponse, error)
- func (UnimplementedKuberServiceServer) DestroyClusterAutoscaler(context.Context, *DestroyClusterAutoscalerRequest) (*DestroyClusterAutoscalerResponse, error)
- func (UnimplementedKuberServiceServer) PatchClusterInfoConfigMap(context.Context, *PatchClusterInfoConfigMapRequest) (*PatchClusterInfoConfigMapResponse, error)
- func (UnimplementedKuberServiceServer) PatchNodes(context.Context, *PatchNodeTemplateRequest) (*PatchNodeTemplateResponse, error)
- func (UnimplementedKuberServiceServer) RemoveLbScrapeConfig(context.Context, *RemoveLbScrapeConfigRequest) (*RemoveLbScrapeConfigResponse, error)
- func (UnimplementedKuberServiceServer) SetUpClusterAutoscaler(context.Context, *SetUpClusterAutoscalerRequest) (*SetUpClusterAutoscalerResponse, error)
- func (UnimplementedKuberServiceServer) SetUpStorage(context.Context, *SetUpStorageRequest) (*SetUpStorageResponse, error)
- func (UnimplementedKuberServiceServer) StoreClusterMetadata(context.Context, *StoreClusterMetadataRequest) (*StoreClusterMetadataResponse, error)
- func (UnimplementedKuberServiceServer) StoreKubeconfig(context.Context, *StoreKubeconfigRequest) (*StoreKubeconfigResponse, error)
- func (UnimplementedKuberServiceServer) StoreLbScrapeConfig(context.Context, *StoreLbScrapeConfigRequest) (*StoreLbScrapeConfigResponse, error)
- type UnimplementedTerraformerServiceServer
- func (UnimplementedTerraformerServiceServer) BuildInfrastructure(context.Context, *BuildInfrastructureRequest) (*BuildInfrastructureResponse, error)
- func (UnimplementedTerraformerServiceServer) DestroyInfrastructure(context.Context, *DestroyInfrastructureRequest) (*DestroyInfrastructureResponse, error)
- type UnsafeAnsiblerServiceServer
- type UnsafeContextBoxServiceServer
- type UnsafeKubeElevenServiceServer
- type UnsafeKuberServiceServer
- type UnsafeTerraformerServiceServer
- type UpdateAPIEndpointRequest
- func (*UpdateAPIEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAPIEndpointRequest) GetCurrent() *K8Scluster
- func (x *UpdateAPIEndpointRequest) GetDesired() *K8Scluster
- func (x *UpdateAPIEndpointRequest) GetProjectName() string
- func (*UpdateAPIEndpointRequest) ProtoMessage()
- func (x *UpdateAPIEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAPIEndpointRequest) Reset()
- func (x *UpdateAPIEndpointRequest) String() string
- type UpdateAPIEndpointResponse
- func (*UpdateAPIEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAPIEndpointResponse) GetCurrent() *K8Scluster
- func (x *UpdateAPIEndpointResponse) GetDesired() *K8Scluster
- func (*UpdateAPIEndpointResponse) ProtoMessage()
- func (x *UpdateAPIEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAPIEndpointResponse) Reset()
- func (x *UpdateAPIEndpointResponse) String() string
- type UpdateNodepoolRequest
- func (*UpdateNodepoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodepoolRequest) GetClusterName() string
- func (x *UpdateNodepoolRequest) GetNodepool() *NodePool
- func (x *UpdateNodepoolRequest) GetProjectName() string
- func (*UpdateNodepoolRequest) ProtoMessage()
- func (x *UpdateNodepoolRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNodepoolRequest) Reset()
- func (x *UpdateNodepoolRequest) String() string
- type UpdateNodepoolResponse
- type Workflow
- func (*Workflow) Descriptor() ([]byte, []int)deprecated
- func (x *Workflow) GetDescription() string
- func (x *Workflow) GetStage() Workflow_Stage
- func (x *Workflow) GetStatus() Workflow_Status
- func (*Workflow) ProtoMessage()
- func (x *Workflow) ProtoReflect() protoreflect.Message
- func (x *Workflow) Reset()
- func (x *Workflow) String() string
- type Workflow_Stage
- func (Workflow_Stage) Descriptor() protoreflect.EnumDescriptor
- func (x Workflow_Stage) Enum() *Workflow_Stage
- func (Workflow_Stage) EnumDescriptor() ([]byte, []int)deprecated
- func (x Workflow_Stage) Number() protoreflect.EnumNumber
- func (x Workflow_Stage) String() string
- func (Workflow_Stage) Type() protoreflect.EnumType
- type Workflow_Status
- func (Workflow_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Workflow_Status) Enum() *Workflow_Status
- func (Workflow_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Workflow_Status) Number() protoreflect.EnumNumber
- func (x Workflow_Status) String() string
- func (Workflow_Status) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( RoleType_name = map[int32]string{ 0: "ApiServer", 1: "Ingress", } RoleType_value = map[string]int32{ "ApiServer": 0, "Ingress": 1, } )
Enum value maps for RoleType.
var ( Target_name = map[int32]string{ 0: "k8sAllNodes", 1: "k8sControlPlane", 2: "k8sComputePlane", } Target_value = map[string]int32{ "k8sAllNodes": 0, "k8sControlPlane": 1, "k8sComputePlane": 2, } )
Enum value maps for Target.
var ( NodeType_name = map[int32]string{ 0: "worker", 1: "master", 2: "apiEndpoint", } NodeType_value = map[string]int32{ "worker": 0, "master": 1, "apiEndpoint": 2, } )
Enum value maps for NodeType.
var ( ClusterType_name = map[int32]string{ 0: "K8s", 1: "LB", } ClusterType_value = map[string]int32{ "K8s": 0, "LB": 1, } )
Enum value maps for ClusterType.
var ( Workflow_Stage_name = map[int32]string{ 0: "NONE", 1: "TERRAFORMER", 2: "ANSIBLER", 3: "KUBE_ELEVEN", 4: "KUBER", 5: "SCHEDULER", 7: "DESTROY_TERRAFORMER", 8: "DESTROY_KUBER", 9: "DELETE_NODES", } Workflow_Stage_value = map[string]int32{ "NONE": 0, "TERRAFORMER": 1, "ANSIBLER": 2, "KUBE_ELEVEN": 3, "KUBER": 4, "SCHEDULER": 5, "DESTROY_TERRAFORMER": 7, "DESTROY_KUBER": 8, "DELETE_NODES": 9, } )
Enum value maps for Workflow_Stage.
var ( Workflow_Status_name = map[int32]string{ 0: "DONE", 1: "ERROR", 2: "IN_PROGRESS", } Workflow_Status_value = map[string]int32{ "DONE": 0, "ERROR": 1, "IN_PROGRESS": 2, } )
Enum value maps for Workflow_Status.
var ( IdType_name = map[int32]string{ 0: "NAME", 1: "HASH", } IdType_value = map[string]int32{ "NAME": 0, "HASH": 1, } )
Enum value maps for IdType.
var AnsiblerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "claudie.AnsiblerService", HandlerType: (*AnsiblerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InstallNodeRequirements", Handler: _AnsiblerService_InstallNodeRequirements_Handler, }, { MethodName: "InstallVPN", Handler: _AnsiblerService_InstallVPN_Handler, }, { MethodName: "SetUpLoadbalancers", Handler: _AnsiblerService_SetUpLoadbalancers_Handler, }, { MethodName: "TeardownLoadBalancers", Handler: _AnsiblerService_TeardownLoadBalancers_Handler, }, { MethodName: "UpdateAPIEndpoint", Handler: _AnsiblerService_UpdateAPIEndpoint_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/ansibler.proto", }
AnsiblerService_ServiceDesc is the grpc.ServiceDesc for AnsiblerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ContextBoxService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "claudie.ContextBoxService", HandlerType: (*ContextBoxServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SaveConfigFrontEnd", Handler: _ContextBoxService_SaveConfigFrontEnd_Handler, }, { MethodName: "SaveConfigScheduler", Handler: _ContextBoxService_SaveConfigScheduler_Handler, }, { MethodName: "SaveConfigBuilder", Handler: _ContextBoxService_SaveConfigBuilder_Handler, }, { MethodName: "SaveWorkflowState", Handler: _ContextBoxService_SaveWorkflowState_Handler, }, { MethodName: "GetConfigFromDB", Handler: _ContextBoxService_GetConfigFromDB_Handler, }, { MethodName: "GetConfigScheduler", Handler: _ContextBoxService_GetConfigScheduler_Handler, }, { MethodName: "GetConfigBuilder", Handler: _ContextBoxService_GetConfigBuilder_Handler, }, { MethodName: "GetAllConfigs", Handler: _ContextBoxService_GetAllConfigs_Handler, }, { MethodName: "DeleteConfig", Handler: _ContextBoxService_DeleteConfig_Handler, }, { MethodName: "DeleteConfigFromDB", Handler: _ContextBoxService_DeleteConfigFromDB_Handler, }, { MethodName: "UpdateNodepool", Handler: _ContextBoxService_UpdateNodepool_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/contextBox.proto", }
ContextBoxService_ServiceDesc is the grpc.ServiceDesc for ContextBoxService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_ansibler_proto protoreflect.FileDescriptor
var File_proto_config_proto protoreflect.FileDescriptor
var File_proto_contextBox_proto protoreflect.FileDescriptor
var File_proto_kubeEleven_proto protoreflect.FileDescriptor
var File_proto_kuber_proto protoreflect.FileDescriptor
var File_proto_terraformer_proto protoreflect.FileDescriptor
var KubeElevenService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "claudie.KubeElevenService", HandlerType: (*KubeElevenServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BuildCluster", Handler: _KubeElevenService_BuildCluster_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/kubeEleven.proto", }
KubeElevenService_ServiceDesc is the grpc.ServiceDesc for KubeElevenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var KuberService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "claudie.KuberService", HandlerType: (*KuberServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RemoveLbScrapeConfig", Handler: _KuberService_RemoveLbScrapeConfig_Handler, }, { MethodName: "StoreLbScrapeConfig", Handler: _KuberService_StoreLbScrapeConfig_Handler, }, { MethodName: "StoreClusterMetadata", Handler: _KuberService_StoreClusterMetadata_Handler, }, { MethodName: "DeleteClusterMetadata", Handler: _KuberService_DeleteClusterMetadata_Handler, }, { MethodName: "SetUpStorage", Handler: _KuberService_SetUpStorage_Handler, }, { MethodName: "StoreKubeconfig", Handler: _KuberService_StoreKubeconfig_Handler, }, { MethodName: "DeleteKubeconfig", Handler: _KuberService_DeleteKubeconfig_Handler, }, { MethodName: "DeleteNodes", Handler: _KuberService_DeleteNodes_Handler, }, { MethodName: "PatchNodes", Handler: _KuberService_PatchNodes_Handler, }, { MethodName: "SetUpClusterAutoscaler", Handler: _KuberService_SetUpClusterAutoscaler_Handler, }, { MethodName: "DestroyClusterAutoscaler", Handler: _KuberService_DestroyClusterAutoscaler_Handler, }, { MethodName: "PatchClusterInfoConfigMap", Handler: _KuberService_PatchClusterInfoConfigMap_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/kuber.proto", }
KuberService_ServiceDesc is the grpc.ServiceDesc for KuberService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TerraformerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "claudie.TerraformerService", HandlerType: (*TerraformerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BuildInfrastructure", Handler: _TerraformerService_BuildInfrastructure_Handler, }, { MethodName: "DestroyInfrastructure", Handler: _TerraformerService_DestroyInfrastructure_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/terraformer.proto", }
TerraformerService_ServiceDesc is the grpc.ServiceDesc for TerraformerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAnsiblerServiceServer ¶
func RegisterAnsiblerServiceServer(s grpc.ServiceRegistrar, srv AnsiblerServiceServer)
func RegisterContextBoxServiceServer ¶
func RegisterContextBoxServiceServer(s grpc.ServiceRegistrar, srv ContextBoxServiceServer)
func RegisterKubeElevenServiceServer ¶
func RegisterKubeElevenServiceServer(s grpc.ServiceRegistrar, srv KubeElevenServiceServer)
func RegisterKuberServiceServer ¶
func RegisterKuberServiceServer(s grpc.ServiceRegistrar, srv KuberServiceServer)
func RegisterTerraformerServiceServer ¶
func RegisterTerraformerServiceServer(s grpc.ServiceRegistrar, srv TerraformerServiceServer)
Types ¶
type AnsiblerServiceClient ¶
type AnsiblerServiceClient interface { // InstallNodeRequirements installs any requirements there are on all of the nodes. InstallNodeRequirements(ctx context.Context, in *InstallRequest, opts ...grpc.CallOption) (*InstallResponse, error) // InstallVPN sets up a VPN between the nodes in the k8s cluster and LB clusters. InstallVPN(ctx context.Context, in *InstallRequest, opts ...grpc.CallOption) (*InstallResponse, error) // SetUpLoadbalancers sets up the load balancers together with the DNS and verifies their configuration. SetUpLoadbalancers(ctx context.Context, in *SetUpLBRequest, opts ...grpc.CallOption) (*SetUpLBResponse, error) // TeardownLoadBalancers correctly destroys the load balancers attached to a k8s // cluster by choosing a new ApiServer endpoint. TeardownLoadBalancers(ctx context.Context, in *TeardownLBRequest, opts ...grpc.CallOption) (*TeardownLBResponse, error) // UpdateAPIEndpoint handles changes of API endpoint between control nodes. // It will update the current stage based on the information from the desired state. UpdateAPIEndpoint(ctx context.Context, in *UpdateAPIEndpointRequest, opts ...grpc.CallOption) (*UpdateAPIEndpointResponse, error) }
AnsiblerServiceClient is the client API for AnsiblerService 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 NewAnsiblerServiceClient ¶
func NewAnsiblerServiceClient(cc grpc.ClientConnInterface) AnsiblerServiceClient
type AnsiblerServiceServer ¶
type AnsiblerServiceServer interface { // InstallNodeRequirements installs any requirements there are on all of the nodes. InstallNodeRequirements(context.Context, *InstallRequest) (*InstallResponse, error) // InstallVPN sets up a VPN between the nodes in the k8s cluster and LB clusters. InstallVPN(context.Context, *InstallRequest) (*InstallResponse, error) // SetUpLoadbalancers sets up the load balancers together with the DNS and verifies their configuration. SetUpLoadbalancers(context.Context, *SetUpLBRequest) (*SetUpLBResponse, error) // TeardownLoadBalancers correctly destroys the load balancers attached to a k8s // cluster by choosing a new ApiServer endpoint. TeardownLoadBalancers(context.Context, *TeardownLBRequest) (*TeardownLBResponse, error) // UpdateAPIEndpoint handles changes of API endpoint between control nodes. // It will update the current stage based on the information from the desired state. UpdateAPIEndpoint(context.Context, *UpdateAPIEndpointRequest) (*UpdateAPIEndpointResponse, error) // contains filtered or unexported methods }
AnsiblerServiceServer is the server API for AnsiblerService service. All implementations must embed UnimplementedAnsiblerServiceServer for forward compatibility
type AutoscalerConf ¶ added in v0.2.2
type AutoscalerConf struct { // Minimum number of nodes in node pool. Min int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` // Maximum number of nodes in node pool. Max int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
Autoscaler configuration on per node pool basis.
func (*AutoscalerConf) Descriptor
deprecated
added in
v0.2.2
func (*AutoscalerConf) Descriptor() ([]byte, []int)
Deprecated: Use AutoscalerConf.ProtoReflect.Descriptor instead.
func (*AutoscalerConf) GetMax ¶ added in v0.2.2
func (x *AutoscalerConf) GetMax() int32
func (*AutoscalerConf) GetMin ¶ added in v0.2.2
func (x *AutoscalerConf) GetMin() int32
func (*AutoscalerConf) ProtoMessage ¶ added in v0.2.2
func (*AutoscalerConf) ProtoMessage()
func (*AutoscalerConf) ProtoReflect ¶ added in v0.2.2
func (x *AutoscalerConf) ProtoReflect() protoreflect.Message
func (*AutoscalerConf) Reset ¶ added in v0.2.2
func (x *AutoscalerConf) Reset()
func (*AutoscalerConf) String ¶ added in v0.2.2
func (x *AutoscalerConf) String() string
type BuildClusterRequest ¶
type BuildClusterRequest struct { Desired *K8Scluster `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,2,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` ProjectName string `protobuf:"bytes,3,opt,name=projectName,proto3" json:"projectName,omitempty"` // contains filtered or unexported fields }
func (*BuildClusterRequest) Descriptor
deprecated
func (*BuildClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildClusterRequest.ProtoReflect.Descriptor instead.
func (*BuildClusterRequest) GetDesired ¶
func (x *BuildClusterRequest) GetDesired() *K8Scluster
func (*BuildClusterRequest) GetDesiredLbs ¶
func (x *BuildClusterRequest) GetDesiredLbs() []*LBcluster
func (*BuildClusterRequest) GetProjectName ¶
func (x *BuildClusterRequest) GetProjectName() string
func (*BuildClusterRequest) ProtoMessage ¶
func (*BuildClusterRequest) ProtoMessage()
func (*BuildClusterRequest) ProtoReflect ¶
func (x *BuildClusterRequest) ProtoReflect() protoreflect.Message
func (*BuildClusterRequest) Reset ¶
func (x *BuildClusterRequest) Reset()
func (*BuildClusterRequest) String ¶
func (x *BuildClusterRequest) String() string
type BuildClusterResponse ¶
type BuildClusterResponse struct { Desired *K8Scluster `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,2,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` // contains filtered or unexported fields }
func (*BuildClusterResponse) Descriptor
deprecated
func (*BuildClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildClusterResponse.ProtoReflect.Descriptor instead.
func (*BuildClusterResponse) GetDesired ¶
func (x *BuildClusterResponse) GetDesired() *K8Scluster
func (*BuildClusterResponse) GetDesiredLbs ¶
func (x *BuildClusterResponse) GetDesiredLbs() []*LBcluster
func (*BuildClusterResponse) ProtoMessage ¶
func (*BuildClusterResponse) ProtoMessage()
func (*BuildClusterResponse) ProtoReflect ¶
func (x *BuildClusterResponse) ProtoReflect() protoreflect.Message
func (*BuildClusterResponse) Reset ¶
func (x *BuildClusterResponse) Reset()
func (*BuildClusterResponse) String ¶
func (x *BuildClusterResponse) String() string
type BuildInfrastructureRequest ¶
type BuildInfrastructureRequest struct { Current *K8Scluster `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Desired *K8Scluster `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"` CurrentLbs []*LBcluster `protobuf:"bytes,3,rep,name=currentLbs,proto3" json:"currentLbs,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,4,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` ProjectName string `protobuf:"bytes,5,opt,name=projectName,proto3" json:"projectName,omitempty"` // contains filtered or unexported fields }
func (*BuildInfrastructureRequest) Descriptor
deprecated
func (*BuildInfrastructureRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfrastructureRequest.ProtoReflect.Descriptor instead.
func (*BuildInfrastructureRequest) GetCurrent ¶
func (x *BuildInfrastructureRequest) GetCurrent() *K8Scluster
func (*BuildInfrastructureRequest) GetCurrentLbs ¶
func (x *BuildInfrastructureRequest) GetCurrentLbs() []*LBcluster
func (*BuildInfrastructureRequest) GetDesired ¶
func (x *BuildInfrastructureRequest) GetDesired() *K8Scluster
func (*BuildInfrastructureRequest) GetDesiredLbs ¶
func (x *BuildInfrastructureRequest) GetDesiredLbs() []*LBcluster
func (*BuildInfrastructureRequest) GetProjectName ¶
func (x *BuildInfrastructureRequest) GetProjectName() string
func (*BuildInfrastructureRequest) ProtoMessage ¶
func (*BuildInfrastructureRequest) ProtoMessage()
func (*BuildInfrastructureRequest) ProtoReflect ¶
func (x *BuildInfrastructureRequest) ProtoReflect() protoreflect.Message
func (*BuildInfrastructureRequest) Reset ¶
func (x *BuildInfrastructureRequest) Reset()
func (*BuildInfrastructureRequest) String ¶
func (x *BuildInfrastructureRequest) String() string
type BuildInfrastructureResponse ¶
type BuildInfrastructureResponse struct { Current *K8Scluster `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Desired *K8Scluster `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"` CurrentLbs []*LBcluster `protobuf:"bytes,3,rep,name=currentLbs,proto3" json:"currentLbs,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,4,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` // contains filtered or unexported fields }
func (*BuildInfrastructureResponse) Descriptor
deprecated
func (*BuildInfrastructureResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfrastructureResponse.ProtoReflect.Descriptor instead.
func (*BuildInfrastructureResponse) GetCurrent ¶
func (x *BuildInfrastructureResponse) GetCurrent() *K8Scluster
func (*BuildInfrastructureResponse) GetCurrentLbs ¶
func (x *BuildInfrastructureResponse) GetCurrentLbs() []*LBcluster
func (*BuildInfrastructureResponse) GetDesired ¶
func (x *BuildInfrastructureResponse) GetDesired() *K8Scluster
func (*BuildInfrastructureResponse) GetDesiredLbs ¶
func (x *BuildInfrastructureResponse) GetDesiredLbs() []*LBcluster
func (*BuildInfrastructureResponse) ProtoMessage ¶
func (*BuildInfrastructureResponse) ProtoMessage()
func (*BuildInfrastructureResponse) ProtoReflect ¶
func (x *BuildInfrastructureResponse) ProtoReflect() protoreflect.Message
func (*BuildInfrastructureResponse) Reset ¶
func (x *BuildInfrastructureResponse) Reset()
func (*BuildInfrastructureResponse) String ¶
func (x *BuildInfrastructureResponse) String() string
type ClusterInfo ¶
type ClusterInfo struct { // Name of the cluster. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Random hash of the cluster. Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Public SSH key for the nodes. PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"` // Private SSH key for the nodes. PrivateKey string `protobuf:"bytes,4,opt,name=privateKey,proto3" json:"privateKey,omitempty"` // Array of node pools this cluster is made of. NodePools []*NodePool `protobuf:"bytes,5,rep,name=nodePools,proto3" json:"nodePools,omitempty"` // contains filtered or unexported fields }
ClusterInfo holds general information about the clusters.
func (*ClusterInfo) Descriptor
deprecated
func (*ClusterInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClusterInfo.ProtoReflect.Descriptor instead.
func (*ClusterInfo) GetHash ¶
func (x *ClusterInfo) GetHash() string
func (*ClusterInfo) GetName ¶
func (x *ClusterInfo) GetName() string
func (*ClusterInfo) GetNodePools ¶
func (x *ClusterInfo) GetNodePools() []*NodePool
func (*ClusterInfo) GetPrivateKey ¶
func (x *ClusterInfo) GetPrivateKey() string
func (*ClusterInfo) GetPublicKey ¶
func (x *ClusterInfo) GetPublicKey() string
func (*ClusterInfo) ProtoMessage ¶
func (*ClusterInfo) ProtoMessage()
func (*ClusterInfo) ProtoReflect ¶
func (x *ClusterInfo) ProtoReflect() protoreflect.Message
func (*ClusterInfo) Reset ¶
func (x *ClusterInfo) Reset()
func (*ClusterInfo) String ¶
func (x *ClusterInfo) String() string
type ClusterType ¶
type ClusterType int32
ClusterType specifies the type of the cluster.
const ( // Kubernetes cluster. ClusterType_K8s ClusterType = 0 // Load balancer cluster. ClusterType_LB ClusterType = 1 )
func (ClusterType) Descriptor ¶
func (ClusterType) Descriptor() protoreflect.EnumDescriptor
func (ClusterType) Enum ¶
func (x ClusterType) Enum() *ClusterType
func (ClusterType) EnumDescriptor
deprecated
func (ClusterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterType.Descriptor instead.
func (ClusterType) Number ¶
func (x ClusterType) Number() protoreflect.EnumNumber
func (ClusterType) String ¶
func (x ClusterType) String() string
func (ClusterType) Type ¶
func (ClusterType) Type() protoreflect.EnumType
type Config ¶
type Config struct { // Config ID in the DB. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Config name - same as input manifest name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Client defined manifest. Manifest string `protobuf:"bytes,3,opt,name=manifest,proto3" json:"manifest,omitempty"` // Desired state based on the input manifest manifest. DesiredState *Project `protobuf:"bytes,4,opt,name=desiredState,proto3" json:"desiredState,omitempty"` // Current state of the infrastructure. CurrentState *Project `protobuf:"bytes,5,opt,name=currentState,proto3" json:"currentState,omitempty"` // Manifest state checksum. MsChecksum []byte `protobuf:"bytes,6,opt,name=msChecksum,proto3" json:"msChecksum,omitempty"` // Desired state checksum. DsChecksum []byte `protobuf:"bytes,7,opt,name=dsChecksum,proto3" json:"dsChecksum,omitempty"` // Current state checksum. CsChecksum []byte `protobuf:"bytes,8,opt,name=csChecksum,proto3" json:"csChecksum,omitempty"` // Builder time to live counter. BuilderTTL int32 `protobuf:"varint,9,opt,name=builderTTL,proto3" json:"builderTTL,omitempty"` // Scheduler time to live counter. SchedulerTTL int32 `protobuf:"varint,10,opt,name=schedulerTTL,proto3" json:"schedulerTTL,omitempty"` // Per-cluster workflow state. State map[string]*Workflow `` /* 152-byte string literal not displayed */ // File name of the manifest saved in Frontend. ManifestFileName string `protobuf:"bytes,12,opt,name=manifestFileName,proto3" json:"manifestFileName,omitempty"` // contains filtered or unexported fields }
Config holds data for a single manifest.
func (*Config) Descriptor
deprecated
func (*Config) GetBuilderTTL ¶
func (*Config) GetCsChecksum ¶
func (*Config) GetCurrentState ¶
func (*Config) GetDesiredState ¶
func (*Config) GetDsChecksum ¶
func (*Config) GetManifest ¶
func (*Config) GetManifestFileName ¶ added in v0.3.1
func (*Config) GetMsChecksum ¶
func (*Config) GetSchedulerTTL ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type ContextBoxServiceClient ¶
type ContextBoxServiceClient interface { // SaveConfigFrontEnd saves the config parsed by Frontend. SaveConfigFrontEnd(ctx context.Context, in *SaveConfigRequest, opts ...grpc.CallOption) (*SaveConfigResponse, error) // SaveConfigScheduler saves the config parsed by Scheduler. SaveConfigScheduler(ctx context.Context, in *SaveConfigRequest, opts ...grpc.CallOption) (*SaveConfigResponse, error) // SaveConfigBuilder saves the config parsed by Builder. SaveConfigBuilder(ctx context.Context, in *SaveConfigRequest, opts ...grpc.CallOption) (*SaveConfigResponse, error) // SaveWorkflowState saves the information about the state of the config. SaveWorkflowState(ctx context.Context, in *SaveWorkflowStateRequest, opts ...grpc.CallOption) (*SaveWorkflowStateResponse, error) // GetConfigFromDB gets a single config from the database. GetConfigFromDB(ctx context.Context, in *GetConfigFromDBRequest, opts ...grpc.CallOption) (*GetConfigFromDBResponse, error) // GetConfigScheduler gets a config from Scheduler's queue of pending configs. GetConfigScheduler(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) // GetConfigBuilder gets a config from Builder's queue of pending configs. GetConfigBuilder(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) // GetAllConfigs gets all configs from the database. GetAllConfigs(ctx context.Context, in *GetAllConfigsRequest, opts ...grpc.CallOption) (*GetAllConfigsResponse, error) // DeleteConfig sets the manifest to null, effectively forcing the deletion of the infrastructure // defined by the manifest on the very next config (diff) check. DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*DeleteConfigResponse, error) // DeleteConfigFromDB deletes the config from the database. DeleteConfigFromDB(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*DeleteConfigResponse, error) // UpdateNodepool updates specific nodepool from the config. Used mainly for autoscaling. UpdateNodepool(ctx context.Context, in *UpdateNodepoolRequest, opts ...grpc.CallOption) (*UpdateNodepoolResponse, error) }
ContextBoxServiceClient is the client API for ContextBoxService 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 NewContextBoxServiceClient ¶
func NewContextBoxServiceClient(cc grpc.ClientConnInterface) ContextBoxServiceClient
type ContextBoxServiceServer ¶
type ContextBoxServiceServer interface { // SaveConfigFrontEnd saves the config parsed by Frontend. SaveConfigFrontEnd(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error) // SaveConfigScheduler saves the config parsed by Scheduler. SaveConfigScheduler(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error) // SaveConfigBuilder saves the config parsed by Builder. SaveConfigBuilder(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error) // SaveWorkflowState saves the information about the state of the config. SaveWorkflowState(context.Context, *SaveWorkflowStateRequest) (*SaveWorkflowStateResponse, error) // GetConfigFromDB gets a single config from the database. GetConfigFromDB(context.Context, *GetConfigFromDBRequest) (*GetConfigFromDBResponse, error) // GetConfigScheduler gets a config from Scheduler's queue of pending configs. GetConfigScheduler(context.Context, *GetConfigRequest) (*GetConfigResponse, error) // GetConfigBuilder gets a config from Builder's queue of pending configs. GetConfigBuilder(context.Context, *GetConfigRequest) (*GetConfigResponse, error) // GetAllConfigs gets all configs from the database. GetAllConfigs(context.Context, *GetAllConfigsRequest) (*GetAllConfigsResponse, error) // DeleteConfig sets the manifest to null, effectively forcing the deletion of the infrastructure // defined by the manifest on the very next config (diff) check. DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error) // DeleteConfigFromDB deletes the config from the database. DeleteConfigFromDB(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error) // UpdateNodepool updates specific nodepool from the config. Used mainly for autoscaling. UpdateNodepool(context.Context, *UpdateNodepoolRequest) (*UpdateNodepoolResponse, error) // contains filtered or unexported methods }
ContextBoxServiceServer is the server API for ContextBoxService service. All implementations must embed UnimplementedContextBoxServiceServer for forward compatibility
type DNS ¶
type DNS struct { // DNS zone for the DNS records. DnsZone string `protobuf:"bytes,1,opt,name=dnsZone,proto3" json:"dnsZone,omitempty"` // User specified hostname. (optional) Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // Provider for the DNS records. Provider *Provider `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` // The whole hostname of the DNS record. Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
DNS holds general information about the DNS records.
func (*DNS) Descriptor
deprecated
func (*DNS) GetDnsZone ¶
func (*DNS) GetEndpoint ¶
func (*DNS) GetHostname ¶
func (*DNS) GetProvider ¶
func (*DNS) ProtoMessage ¶
func (*DNS) ProtoMessage()
func (*DNS) ProtoReflect ¶
func (x *DNS) ProtoReflect() protoreflect.Message
type DeleteClusterMetadataRequest ¶
type DeleteClusterMetadataRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*DeleteClusterMetadataRequest) Descriptor
deprecated
func (*DeleteClusterMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterMetadataRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterMetadataRequest) GetCluster ¶
func (x *DeleteClusterMetadataRequest) GetCluster() *K8Scluster
func (*DeleteClusterMetadataRequest) ProtoMessage ¶
func (*DeleteClusterMetadataRequest) ProtoMessage()
func (*DeleteClusterMetadataRequest) ProtoReflect ¶
func (x *DeleteClusterMetadataRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterMetadataRequest) Reset ¶
func (x *DeleteClusterMetadataRequest) Reset()
func (*DeleteClusterMetadataRequest) String ¶
func (x *DeleteClusterMetadataRequest) String() string
type DeleteClusterMetadataResponse ¶
type DeleteClusterMetadataResponse struct {
// contains filtered or unexported fields
}
func (*DeleteClusterMetadataResponse) Descriptor
deprecated
func (*DeleteClusterMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterMetadataResponse.ProtoReflect.Descriptor instead.
func (*DeleteClusterMetadataResponse) ProtoMessage ¶
func (*DeleteClusterMetadataResponse) ProtoMessage()
func (*DeleteClusterMetadataResponse) ProtoReflect ¶
func (x *DeleteClusterMetadataResponse) ProtoReflect() protoreflect.Message
func (*DeleteClusterMetadataResponse) Reset ¶
func (x *DeleteClusterMetadataResponse) Reset()
func (*DeleteClusterMetadataResponse) String ¶
func (x *DeleteClusterMetadataResponse) String() string
type DeleteConfigRequest ¶
type DeleteConfigRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type IdType `protobuf:"varint,2,opt,name=type,proto3,enum=claudie.IdType" json:"type,omitempty"` // contains filtered or unexported fields }
Delete
func (*DeleteConfigRequest) Descriptor
deprecated
func (*DeleteConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteConfigRequest) GetId ¶
func (x *DeleteConfigRequest) GetId() string
func (*DeleteConfigRequest) GetType ¶
func (x *DeleteConfigRequest) GetType() IdType
func (*DeleteConfigRequest) ProtoMessage ¶
func (*DeleteConfigRequest) ProtoMessage()
func (*DeleteConfigRequest) ProtoReflect ¶
func (x *DeleteConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteConfigRequest) Reset ¶
func (x *DeleteConfigRequest) Reset()
func (*DeleteConfigRequest) String ¶
func (x *DeleteConfigRequest) String() string
type DeleteConfigResponse ¶
type DeleteConfigResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteConfigResponse) Descriptor
deprecated
func (*DeleteConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConfigResponse.ProtoReflect.Descriptor instead.
func (*DeleteConfigResponse) GetId ¶
func (x *DeleteConfigResponse) GetId() string
func (*DeleteConfigResponse) ProtoMessage ¶
func (*DeleteConfigResponse) ProtoMessage()
func (*DeleteConfigResponse) ProtoReflect ¶
func (x *DeleteConfigResponse) ProtoReflect() protoreflect.Message
func (*DeleteConfigResponse) Reset ¶
func (x *DeleteConfigResponse) Reset()
func (*DeleteConfigResponse) String ¶
func (x *DeleteConfigResponse) String() string
type DeleteKubeconfigRequest ¶
type DeleteKubeconfigRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*DeleteKubeconfigRequest) Descriptor
deprecated
func (*DeleteKubeconfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKubeconfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteKubeconfigRequest) GetCluster ¶
func (x *DeleteKubeconfigRequest) GetCluster() *K8Scluster
func (*DeleteKubeconfigRequest) ProtoMessage ¶
func (*DeleteKubeconfigRequest) ProtoMessage()
func (*DeleteKubeconfigRequest) ProtoReflect ¶
func (x *DeleteKubeconfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteKubeconfigRequest) Reset ¶
func (x *DeleteKubeconfigRequest) Reset()
func (*DeleteKubeconfigRequest) String ¶
func (x *DeleteKubeconfigRequest) String() string
type DeleteKubeconfigResponse ¶
type DeleteKubeconfigResponse struct {
// contains filtered or unexported fields
}
func (*DeleteKubeconfigResponse) Descriptor
deprecated
func (*DeleteKubeconfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKubeconfigResponse.ProtoReflect.Descriptor instead.
func (*DeleteKubeconfigResponse) ProtoMessage ¶
func (*DeleteKubeconfigResponse) ProtoMessage()
func (*DeleteKubeconfigResponse) ProtoReflect ¶
func (x *DeleteKubeconfigResponse) ProtoReflect() protoreflect.Message
func (*DeleteKubeconfigResponse) Reset ¶
func (x *DeleteKubeconfigResponse) Reset()
func (*DeleteKubeconfigResponse) String ¶
func (x *DeleteKubeconfigResponse) String() string
type DeleteNodesRequest ¶
type DeleteNodesRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` WorkerNodes []string `protobuf:"bytes,2,rep,name=workerNodes,proto3" json:"workerNodes,omitempty"` MasterNodes []string `protobuf:"bytes,3,rep,name=masterNodes,proto3" json:"masterNodes,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodesRequest) Descriptor
deprecated
func (*DeleteNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodesRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodesRequest) GetCluster ¶
func (x *DeleteNodesRequest) GetCluster() *K8Scluster
func (*DeleteNodesRequest) GetMasterNodes ¶
func (x *DeleteNodesRequest) GetMasterNodes() []string
func (*DeleteNodesRequest) GetWorkerNodes ¶
func (x *DeleteNodesRequest) GetWorkerNodes() []string
func (*DeleteNodesRequest) ProtoMessage ¶
func (*DeleteNodesRequest) ProtoMessage()
func (*DeleteNodesRequest) ProtoReflect ¶
func (x *DeleteNodesRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodesRequest) Reset ¶
func (x *DeleteNodesRequest) Reset()
func (*DeleteNodesRequest) String ¶
func (x *DeleteNodesRequest) String() string
type DeleteNodesResponse ¶
type DeleteNodesResponse struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodesResponse) Descriptor
deprecated
func (*DeleteNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodesResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodesResponse) GetCluster ¶
func (x *DeleteNodesResponse) GetCluster() *K8Scluster
func (*DeleteNodesResponse) ProtoMessage ¶
func (*DeleteNodesResponse) ProtoMessage()
func (*DeleteNodesResponse) ProtoReflect ¶
func (x *DeleteNodesResponse) ProtoReflect() protoreflect.Message
func (*DeleteNodesResponse) Reset ¶
func (x *DeleteNodesResponse) Reset()
func (*DeleteNodesResponse) String ¶
func (x *DeleteNodesResponse) String() string
type DestroyClusterAutoscalerRequest ¶ added in v0.2.2
type DestroyClusterAutoscalerRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"` Cluster *K8Scluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*DestroyClusterAutoscalerRequest) Descriptor
deprecated
added in
v0.2.2
func (*DestroyClusterAutoscalerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DestroyClusterAutoscalerRequest.ProtoReflect.Descriptor instead.
func (*DestroyClusterAutoscalerRequest) GetCluster ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerRequest) GetCluster() *K8Scluster
func (*DestroyClusterAutoscalerRequest) GetProjectName ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerRequest) GetProjectName() string
func (*DestroyClusterAutoscalerRequest) ProtoMessage ¶ added in v0.2.2
func (*DestroyClusterAutoscalerRequest) ProtoMessage()
func (*DestroyClusterAutoscalerRequest) ProtoReflect ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerRequest) ProtoReflect() protoreflect.Message
func (*DestroyClusterAutoscalerRequest) Reset ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerRequest) Reset()
func (*DestroyClusterAutoscalerRequest) String ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerRequest) String() string
type DestroyClusterAutoscalerResponse ¶ added in v0.2.2
type DestroyClusterAutoscalerResponse struct {
// contains filtered or unexported fields
}
func (*DestroyClusterAutoscalerResponse) Descriptor
deprecated
added in
v0.2.2
func (*DestroyClusterAutoscalerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DestroyClusterAutoscalerResponse.ProtoReflect.Descriptor instead.
func (*DestroyClusterAutoscalerResponse) ProtoMessage ¶ added in v0.2.2
func (*DestroyClusterAutoscalerResponse) ProtoMessage()
func (*DestroyClusterAutoscalerResponse) ProtoReflect ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerResponse) ProtoReflect() protoreflect.Message
func (*DestroyClusterAutoscalerResponse) Reset ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerResponse) Reset()
func (*DestroyClusterAutoscalerResponse) String ¶ added in v0.2.2
func (x *DestroyClusterAutoscalerResponse) String() string
type DestroyInfrastructureRequest ¶
type DestroyInfrastructureRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"` Current *K8Scluster `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` CurrentLbs []*LBcluster `protobuf:"bytes,3,rep,name=currentLbs,proto3" json:"currentLbs,omitempty"` // contains filtered or unexported fields }
func (*DestroyInfrastructureRequest) Descriptor
deprecated
func (*DestroyInfrastructureRequest) Descriptor() ([]byte, []int)
Deprecated: Use DestroyInfrastructureRequest.ProtoReflect.Descriptor instead.
func (*DestroyInfrastructureRequest) GetCurrent ¶
func (x *DestroyInfrastructureRequest) GetCurrent() *K8Scluster
func (*DestroyInfrastructureRequest) GetCurrentLbs ¶
func (x *DestroyInfrastructureRequest) GetCurrentLbs() []*LBcluster
func (*DestroyInfrastructureRequest) GetProjectName ¶
func (x *DestroyInfrastructureRequest) GetProjectName() string
func (*DestroyInfrastructureRequest) ProtoMessage ¶
func (*DestroyInfrastructureRequest) ProtoMessage()
func (*DestroyInfrastructureRequest) ProtoReflect ¶
func (x *DestroyInfrastructureRequest) ProtoReflect() protoreflect.Message
func (*DestroyInfrastructureRequest) Reset ¶
func (x *DestroyInfrastructureRequest) Reset()
func (*DestroyInfrastructureRequest) String ¶
func (x *DestroyInfrastructureRequest) String() string
type DestroyInfrastructureResponse ¶
type DestroyInfrastructureResponse struct { Current *K8Scluster `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` CurrentLbs []*LBcluster `protobuf:"bytes,2,rep,name=currentLbs,proto3" json:"currentLbs,omitempty"` // contains filtered or unexported fields }
func (*DestroyInfrastructureResponse) Descriptor
deprecated
func (*DestroyInfrastructureResponse) Descriptor() ([]byte, []int)
Deprecated: Use DestroyInfrastructureResponse.ProtoReflect.Descriptor instead.
func (*DestroyInfrastructureResponse) GetCurrent ¶
func (x *DestroyInfrastructureResponse) GetCurrent() *K8Scluster
func (*DestroyInfrastructureResponse) GetCurrentLbs ¶
func (x *DestroyInfrastructureResponse) GetCurrentLbs() []*LBcluster
func (*DestroyInfrastructureResponse) ProtoMessage ¶
func (*DestroyInfrastructureResponse) ProtoMessage()
func (*DestroyInfrastructureResponse) ProtoReflect ¶
func (x *DestroyInfrastructureResponse) ProtoReflect() protoreflect.Message
func (*DestroyInfrastructureResponse) Reset ¶
func (x *DestroyInfrastructureResponse) Reset()
func (*DestroyInfrastructureResponse) String ¶
func (x *DestroyInfrastructureResponse) String() string
type GetAllConfigsRequest ¶
type GetAllConfigsRequest struct {
// contains filtered or unexported fields
}
func (*GetAllConfigsRequest) Descriptor
deprecated
func (*GetAllConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllConfigsRequest.ProtoReflect.Descriptor instead.
func (*GetAllConfigsRequest) ProtoMessage ¶
func (*GetAllConfigsRequest) ProtoMessage()
func (*GetAllConfigsRequest) ProtoReflect ¶
func (x *GetAllConfigsRequest) ProtoReflect() protoreflect.Message
func (*GetAllConfigsRequest) Reset ¶
func (x *GetAllConfigsRequest) Reset()
func (*GetAllConfigsRequest) String ¶
func (x *GetAllConfigsRequest) String() string
type GetAllConfigsResponse ¶
type GetAllConfigsResponse struct { Configs []*Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` // contains filtered or unexported fields }
func (*GetAllConfigsResponse) Descriptor
deprecated
func (*GetAllConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllConfigsResponse.ProtoReflect.Descriptor instead.
func (*GetAllConfigsResponse) GetConfigs ¶
func (x *GetAllConfigsResponse) GetConfigs() []*Config
func (*GetAllConfigsResponse) ProtoMessage ¶
func (*GetAllConfigsResponse) ProtoMessage()
func (*GetAllConfigsResponse) ProtoReflect ¶
func (x *GetAllConfigsResponse) ProtoReflect() protoreflect.Message
func (*GetAllConfigsResponse) Reset ¶
func (x *GetAllConfigsResponse) Reset()
func (*GetAllConfigsResponse) String ¶
func (x *GetAllConfigsResponse) String() string
type GetConfigFromDBRequest ¶
type GetConfigFromDBRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type IdType `protobuf:"varint,2,opt,name=type,proto3,enum=claudie.IdType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetConfigFromDBRequest) Descriptor
deprecated
func (*GetConfigFromDBRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigFromDBRequest.ProtoReflect.Descriptor instead.
func (*GetConfigFromDBRequest) GetId ¶
func (x *GetConfigFromDBRequest) GetId() string
func (*GetConfigFromDBRequest) GetType ¶
func (x *GetConfigFromDBRequest) GetType() IdType
func (*GetConfigFromDBRequest) ProtoMessage ¶
func (*GetConfigFromDBRequest) ProtoMessage()
func (*GetConfigFromDBRequest) ProtoReflect ¶
func (x *GetConfigFromDBRequest) ProtoReflect() protoreflect.Message
func (*GetConfigFromDBRequest) Reset ¶
func (x *GetConfigFromDBRequest) Reset()
func (*GetConfigFromDBRequest) String ¶
func (x *GetConfigFromDBRequest) String() string
type GetConfigFromDBResponse ¶
type GetConfigFromDBResponse struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetConfigFromDBResponse) Descriptor
deprecated
func (*GetConfigFromDBResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigFromDBResponse.ProtoReflect.Descriptor instead.
func (*GetConfigFromDBResponse) GetConfig ¶
func (x *GetConfigFromDBResponse) GetConfig() *Config
func (*GetConfigFromDBResponse) ProtoMessage ¶
func (*GetConfigFromDBResponse) ProtoMessage()
func (*GetConfigFromDBResponse) ProtoReflect ¶
func (x *GetConfigFromDBResponse) ProtoReflect() protoreflect.Message
func (*GetConfigFromDBResponse) Reset ¶
func (x *GetConfigFromDBResponse) Reset()
func (*GetConfigFromDBResponse) String ¶
func (x *GetConfigFromDBResponse) String() string
type GetConfigRequest ¶
type GetConfigRequest struct {
// contains filtered or unexported fields
}
Get
func (*GetConfigRequest) Descriptor
deprecated
func (*GetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) ProtoMessage ¶
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) ProtoReflect ¶
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetConfigRequest) Reset ¶
func (x *GetConfigRequest) Reset()
func (*GetConfigRequest) String ¶
func (x *GetConfigRequest) String() string
type GetConfigResponse ¶
type GetConfigResponse struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetConfigResponse) Descriptor
deprecated
func (*GetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
func (*GetConfigResponse) GetConfig ¶
func (x *GetConfigResponse) GetConfig() *Config
func (*GetConfigResponse) ProtoMessage ¶
func (*GetConfigResponse) ProtoMessage()
func (*GetConfigResponse) ProtoReflect ¶
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
func (*GetConfigResponse) Reset ¶
func (x *GetConfigResponse) Reset()
func (*GetConfigResponse) String ¶
func (x *GetConfigResponse) String() string
type IdType ¶
type IdType int32
func (IdType) Descriptor ¶
func (IdType) Descriptor() protoreflect.EnumDescriptor
func (IdType) EnumDescriptor
deprecated
func (IdType) Number ¶
func (x IdType) Number() protoreflect.EnumNumber
func (IdType) Type ¶
func (IdType) Type() protoreflect.EnumType
type InstallRequest ¶
type InstallRequest struct { Desired *K8Scluster `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,2,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` ProjectName string `protobuf:"bytes,3,opt,name=projectName,proto3" json:"projectName,omitempty"` // contains filtered or unexported fields }
func (*InstallRequest) Descriptor
deprecated
func (*InstallRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallRequest.ProtoReflect.Descriptor instead.
func (*InstallRequest) GetDesired ¶
func (x *InstallRequest) GetDesired() *K8Scluster
func (*InstallRequest) GetDesiredLbs ¶
func (x *InstallRequest) GetDesiredLbs() []*LBcluster
func (*InstallRequest) GetProjectName ¶
func (x *InstallRequest) GetProjectName() string
func (*InstallRequest) ProtoMessage ¶
func (*InstallRequest) ProtoMessage()
func (*InstallRequest) ProtoReflect ¶
func (x *InstallRequest) ProtoReflect() protoreflect.Message
func (*InstallRequest) Reset ¶
func (x *InstallRequest) Reset()
func (*InstallRequest) String ¶
func (x *InstallRequest) String() string
type InstallResponse ¶
type InstallResponse struct { Desired *K8Scluster `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,2,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` // contains filtered or unexported fields }
func (*InstallResponse) Descriptor
deprecated
func (*InstallResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallResponse.ProtoReflect.Descriptor instead.
func (*InstallResponse) GetDesired ¶
func (x *InstallResponse) GetDesired() *K8Scluster
func (*InstallResponse) GetDesiredLbs ¶
func (x *InstallResponse) GetDesiredLbs() []*LBcluster
func (*InstallResponse) ProtoMessage ¶
func (*InstallResponse) ProtoMessage()
func (*InstallResponse) ProtoReflect ¶
func (x *InstallResponse) ProtoReflect() protoreflect.Message
func (*InstallResponse) Reset ¶
func (x *InstallResponse) Reset()
func (*InstallResponse) String ¶
func (x *InstallResponse) String() string
type K8Scluster ¶
type K8Scluster struct { // General info about the cluster. ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=clusterInfo,proto3" json:"clusterInfo,omitempty"` // Network range for the VPN. Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` // Kubeconfig of the cluster. Kubeconfig string `protobuf:"bytes,3,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"` // Kubernetes version. Kubernetes string `protobuf:"bytes,4,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"` // contains filtered or unexported fields }
K8scluster represents a single kubernetes cluster specified in the manifest.
func (*K8Scluster) Descriptor
deprecated
func (*K8Scluster) Descriptor() ([]byte, []int)
Deprecated: Use K8Scluster.ProtoReflect.Descriptor instead.
func (*K8Scluster) GetClusterInfo ¶
func (x *K8Scluster) GetClusterInfo() *ClusterInfo
func (*K8Scluster) GetKubeconfig ¶
func (x *K8Scluster) GetKubeconfig() string
func (*K8Scluster) GetKubernetes ¶
func (x *K8Scluster) GetKubernetes() string
func (*K8Scluster) GetNetwork ¶
func (x *K8Scluster) GetNetwork() string
func (*K8Scluster) ProtoMessage ¶
func (*K8Scluster) ProtoMessage()
func (*K8Scluster) ProtoReflect ¶
func (x *K8Scluster) ProtoReflect() protoreflect.Message
func (*K8Scluster) Reset ¶
func (x *K8Scluster) Reset()
func (*K8Scluster) String ¶
func (x *K8Scluster) String() string
type KubeElevenServiceClient ¶
type KubeElevenServiceClient interface { // BuildCluster builds the kubernetes clusters specified in the provided config. BuildCluster(ctx context.Context, in *BuildClusterRequest, opts ...grpc.CallOption) (*BuildClusterResponse, error) }
KubeElevenServiceClient is the client API for KubeElevenService 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 NewKubeElevenServiceClient ¶
func NewKubeElevenServiceClient(cc grpc.ClientConnInterface) KubeElevenServiceClient
type KubeElevenServiceServer ¶
type KubeElevenServiceServer interface { // BuildCluster builds the kubernetes clusters specified in the provided config. BuildCluster(context.Context, *BuildClusterRequest) (*BuildClusterResponse, error) // contains filtered or unexported methods }
KubeElevenServiceServer is the server API for KubeElevenService service. All implementations must embed UnimplementedKubeElevenServiceServer for forward compatibility
type KuberServiceClient ¶
type KuberServiceClient interface { // RemoveLbScrapeConfig removes scrape config for every LB detached from this cluster. RemoveLbScrapeConfig(ctx context.Context, in *RemoveLbScrapeConfigRequest, opts ...grpc.CallOption) (*RemoveLbScrapeConfigResponse, error) // StoreLbScrapeConfig stores scrape config for every LB attached to this cluster. StoreLbScrapeConfig(ctx context.Context, in *StoreLbScrapeConfigRequest, opts ...grpc.CallOption) (*StoreLbScrapeConfigResponse, error) // StoreClusterMetadata creates a secret, which holds the private key and a list of public IP addresses of the cluster supplied. StoreClusterMetadata(ctx context.Context, in *StoreClusterMetadataRequest, opts ...grpc.CallOption) (*StoreClusterMetadataResponse, error) // DeleteClusterMetadata deletes the secret holding the private key and public IP addresses of the cluster supplied. DeleteClusterMetadata(ctx context.Context, in *DeleteClusterMetadataRequest, opts ...grpc.CallOption) (*DeleteClusterMetadataResponse, error) // SetUpStorage installs Longhorn into the cluster. SetUpStorage(ctx context.Context, in *SetUpStorageRequest, opts ...grpc.CallOption) (*SetUpStorageResponse, error) // StoreKubeconfig creates a secret, which holds the kubeconfig of a Claudie-created cluster. StoreKubeconfig(ctx context.Context, in *StoreKubeconfigRequest, opts ...grpc.CallOption) (*StoreKubeconfigResponse, error) // DeleteKubeconfig removes the secret that holds the kubeconfig of a Claudie-created cluster. DeleteKubeconfig(ctx context.Context, in *DeleteKubeconfigRequest, opts ...grpc.CallOption) (*DeleteKubeconfigResponse, error) // DeleteNodes deletes the specified nodes from a k8s cluster. DeleteNodes(ctx context.Context, in *DeleteNodesRequest, opts ...grpc.CallOption) (*DeleteNodesResponse, error) // PatchNodes uses kubectl patch to change the node manifest. PatchNodes(ctx context.Context, in *PatchNodeTemplateRequest, opts ...grpc.CallOption) (*PatchNodeTemplateResponse, error) // SetUpClusterAutoscaler deploys Cluster Autoscaler and Autoscaler Adapter for every cluster specified. SetUpClusterAutoscaler(ctx context.Context, in *SetUpClusterAutoscalerRequest, opts ...grpc.CallOption) (*SetUpClusterAutoscalerResponse, error) // DestroyClusterAutoscaler deletes Cluster Autoscaler and Autoscaler Adapter for every cluster specified. DestroyClusterAutoscaler(ctx context.Context, in *DestroyClusterAutoscalerRequest, opts ...grpc.CallOption) (*DestroyClusterAutoscalerResponse, error) // PatchClusterInfoConfigMap updates the cluster-info config map in the kube-public namespace with the the // kubeconfig. This needs to be done after an api endpoint change as the config map in the kube-public namespace // is used by kubeadm when joining. PatchClusterInfoConfigMap(ctx context.Context, in *PatchClusterInfoConfigMapRequest, opts ...grpc.CallOption) (*PatchClusterInfoConfigMapResponse, error) }
KuberServiceClient is the client API for KuberService 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 NewKuberServiceClient ¶
func NewKuberServiceClient(cc grpc.ClientConnInterface) KuberServiceClient
type KuberServiceServer ¶
type KuberServiceServer interface { // RemoveLbScrapeConfig removes scrape config for every LB detached from this cluster. RemoveLbScrapeConfig(context.Context, *RemoveLbScrapeConfigRequest) (*RemoveLbScrapeConfigResponse, error) // StoreLbScrapeConfig stores scrape config for every LB attached to this cluster. StoreLbScrapeConfig(context.Context, *StoreLbScrapeConfigRequest) (*StoreLbScrapeConfigResponse, error) // StoreClusterMetadata creates a secret, which holds the private key and a list of public IP addresses of the cluster supplied. StoreClusterMetadata(context.Context, *StoreClusterMetadataRequest) (*StoreClusterMetadataResponse, error) // DeleteClusterMetadata deletes the secret holding the private key and public IP addresses of the cluster supplied. DeleteClusterMetadata(context.Context, *DeleteClusterMetadataRequest) (*DeleteClusterMetadataResponse, error) // SetUpStorage installs Longhorn into the cluster. SetUpStorage(context.Context, *SetUpStorageRequest) (*SetUpStorageResponse, error) // StoreKubeconfig creates a secret, which holds the kubeconfig of a Claudie-created cluster. StoreKubeconfig(context.Context, *StoreKubeconfigRequest) (*StoreKubeconfigResponse, error) // DeleteKubeconfig removes the secret that holds the kubeconfig of a Claudie-created cluster. DeleteKubeconfig(context.Context, *DeleteKubeconfigRequest) (*DeleteKubeconfigResponse, error) // DeleteNodes deletes the specified nodes from a k8s cluster. DeleteNodes(context.Context, *DeleteNodesRequest) (*DeleteNodesResponse, error) // PatchNodes uses kubectl patch to change the node manifest. PatchNodes(context.Context, *PatchNodeTemplateRequest) (*PatchNodeTemplateResponse, error) // SetUpClusterAutoscaler deploys Cluster Autoscaler and Autoscaler Adapter for every cluster specified. SetUpClusterAutoscaler(context.Context, *SetUpClusterAutoscalerRequest) (*SetUpClusterAutoscalerResponse, error) // DestroyClusterAutoscaler deletes Cluster Autoscaler and Autoscaler Adapter for every cluster specified. DestroyClusterAutoscaler(context.Context, *DestroyClusterAutoscalerRequest) (*DestroyClusterAutoscalerResponse, error) // PatchClusterInfoConfigMap updates the cluster-info config map in the kube-public namespace with the the // kubeconfig. This needs to be done after an api endpoint change as the config map in the kube-public namespace // is used by kubeadm when joining. PatchClusterInfoConfigMap(context.Context, *PatchClusterInfoConfigMapRequest) (*PatchClusterInfoConfigMapResponse, error) // contains filtered or unexported methods }
KuberServiceServer is the server API for KuberService service. All implementations must embed UnimplementedKuberServiceServer for forward compatibility
type LBcluster ¶
type LBcluster struct { // General info about the cluster. ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=clusterInfo,proto3" json:"clusterInfo,omitempty"` // Array of Load balancer roles. Roles []*Role `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // DNS information. Dns *DNS `protobuf:"bytes,3,opt,name=dns,proto3" json:"dns,omitempty"` // Kubernetes cluster name of the cluster this load balancer is attached to. TargetedK8S string `protobuf:"bytes,4,opt,name=targetedK8s,proto3" json:"targetedK8s,omitempty"` // contains filtered or unexported fields }
LBcluster represents a single load balancer cluster specified in the manifest.
func (*LBcluster) Descriptor
deprecated
func (*LBcluster) GetClusterInfo ¶
func (x *LBcluster) GetClusterInfo() *ClusterInfo
func (*LBcluster) GetTargetedK8S ¶
func (*LBcluster) ProtoMessage ¶
func (*LBcluster) ProtoMessage()
func (*LBcluster) ProtoReflect ¶
func (x *LBcluster) ProtoReflect() protoreflect.Message
type MetaValue ¶ added in v0.2.2
type MetaValue struct { // Possible values for the node pool metadata. // // Types that are assignable to MetaValueOneOf: // // *MetaValue_Cidr MetaValueOneOf isMetaValue_MetaValueOneOf `protobuf_oneof:"MetaValueOneOf"` // contains filtered or unexported fields }
Value for the node pool metadata.
func (*MetaValue) Descriptor
deprecated
added in
v0.2.2
func (*MetaValue) GetMetaValueOneOf ¶ added in v0.2.2
func (m *MetaValue) GetMetaValueOneOf() isMetaValue_MetaValueOneOf
func (*MetaValue) ProtoMessage ¶ added in v0.2.2
func (*MetaValue) ProtoMessage()
func (*MetaValue) ProtoReflect ¶ added in v0.2.2
func (x *MetaValue) ProtoReflect() protoreflect.Message
type MetaValue_Cidr ¶ added in v0.2.2
type MetaValue_Cidr struct { // Subnet CIDR in private VPC for the node pool. Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3,oneof"` }
type Node ¶
type Node struct { // Name of the node. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Private IP of the node in the VPN. Private string `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"` // Public IP of the node. Public string `protobuf:"bytes,3,opt,name=public,proto3" json:"public,omitempty"` // Type of the node. NodeType NodeType `protobuf:"varint,4,opt,name=nodeType,proto3,enum=claudie.NodeType" json:"nodeType,omitempty"` // contains filtered or unexported fields }
Node represents a single node from the node pool.
func (*Node) Descriptor
deprecated
func (*Node) GetNodeType ¶
func (*Node) GetPrivate ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodePool ¶
type NodePool struct { // Name of the node pool. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Machine type of the nodes. ServerType string `protobuf:"bytes,2,opt,name=serverType,proto3" json:"serverType,omitempty"` // OS image of the nodes. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // Storage disk size of the nodes. StorageDiskSize uint32 `protobuf:"varint,4,opt,name=storageDiskSize,proto3" json:"storageDiskSize,omitempty"` // Geograhical region of the nodes. Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` // Datacentre zone for the nodes. Zone string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"` // Number of the nodes in the node pool. Count int32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"` // Array of nodes of this node pool. Nodes []*Node `protobuf:"bytes,8,rep,name=nodes,proto3" json:"nodes,omitempty"` // Provider configuarion of the node pool. Provider *Provider `protobuf:"bytes,9,opt,name=provider,proto3" json:"provider,omitempty"` // Flag to differentiate between control and compute nodes. IsControl bool `protobuf:"varint,10,opt,name=isControl,proto3" json:"isControl,omitempty"` // Nodepool metadata. Metadata map[string]*MetaValue `` /* 158-byte string literal not displayed */ // Autoscaler configuration. (optional) AutoscalerConfig *AutoscalerConf `protobuf:"bytes,12,opt,name=autoscalerConfig,proto3" json:"autoscalerConfig,omitempty"` // contains filtered or unexported fields }
NodePool represents a single nodepool from the manifest.
func (*NodePool) Descriptor
deprecated
func (*NodePool) GetAutoscalerConfig ¶ added in v0.2.2
func (x *NodePool) GetAutoscalerConfig() *AutoscalerConf
func (*NodePool) GetIsControl ¶
func (*NodePool) GetMetadata ¶ added in v0.2.2
func (*NodePool) GetProvider ¶
func (*NodePool) GetServerType ¶
func (*NodePool) GetStorageDiskSize ¶ added in v0.3.0
func (*NodePool) ProtoMessage ¶
func (*NodePool) ProtoMessage()
func (*NodePool) ProtoReflect ¶
func (x *NodePool) ProtoReflect() protoreflect.Message
type NodeType ¶
type NodeType int32
NodeType specifies the type of the node.
func (NodeType) Descriptor ¶
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
func (NodeType) Number ¶
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶
func (NodeType) Type() protoreflect.EnumType
type PatchClusterInfoConfigMapRequest ¶ added in v0.3.1
type PatchClusterInfoConfigMapRequest struct { DesiredCluster *K8Scluster `protobuf:"bytes,1,opt,name=desiredCluster,proto3" json:"desiredCluster,omitempty"` // contains filtered or unexported fields }
func (*PatchClusterInfoConfigMapRequest) Descriptor
deprecated
added in
v0.3.1
func (*PatchClusterInfoConfigMapRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchClusterInfoConfigMapRequest.ProtoReflect.Descriptor instead.
func (*PatchClusterInfoConfigMapRequest) GetDesiredCluster ¶ added in v0.3.1
func (x *PatchClusterInfoConfigMapRequest) GetDesiredCluster() *K8Scluster
func (*PatchClusterInfoConfigMapRequest) ProtoMessage ¶ added in v0.3.1
func (*PatchClusterInfoConfigMapRequest) ProtoMessage()
func (*PatchClusterInfoConfigMapRequest) ProtoReflect ¶ added in v0.3.1
func (x *PatchClusterInfoConfigMapRequest) ProtoReflect() protoreflect.Message
func (*PatchClusterInfoConfigMapRequest) Reset ¶ added in v0.3.1
func (x *PatchClusterInfoConfigMapRequest) Reset()
func (*PatchClusterInfoConfigMapRequest) String ¶ added in v0.3.1
func (x *PatchClusterInfoConfigMapRequest) String() string
type PatchClusterInfoConfigMapResponse ¶ added in v0.3.1
type PatchClusterInfoConfigMapResponse struct {
// contains filtered or unexported fields
}
func (*PatchClusterInfoConfigMapResponse) Descriptor
deprecated
added in
v0.3.1
func (*PatchClusterInfoConfigMapResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchClusterInfoConfigMapResponse.ProtoReflect.Descriptor instead.
func (*PatchClusterInfoConfigMapResponse) ProtoMessage ¶ added in v0.3.1
func (*PatchClusterInfoConfigMapResponse) ProtoMessage()
func (*PatchClusterInfoConfigMapResponse) ProtoReflect ¶ added in v0.3.1
func (x *PatchClusterInfoConfigMapResponse) ProtoReflect() protoreflect.Message
func (*PatchClusterInfoConfigMapResponse) Reset ¶ added in v0.3.1
func (x *PatchClusterInfoConfigMapResponse) Reset()
func (*PatchClusterInfoConfigMapResponse) String ¶ added in v0.3.1
func (x *PatchClusterInfoConfigMapResponse) String() string
type PatchNodeTemplateRequest ¶ added in v0.2.2
type PatchNodeTemplateRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*PatchNodeTemplateRequest) Descriptor
deprecated
added in
v0.2.2
func (*PatchNodeTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchNodeTemplateRequest.ProtoReflect.Descriptor instead.
func (*PatchNodeTemplateRequest) GetCluster ¶ added in v0.2.2
func (x *PatchNodeTemplateRequest) GetCluster() *K8Scluster
func (*PatchNodeTemplateRequest) ProtoMessage ¶ added in v0.2.2
func (*PatchNodeTemplateRequest) ProtoMessage()
func (*PatchNodeTemplateRequest) ProtoReflect ¶ added in v0.2.2
func (x *PatchNodeTemplateRequest) ProtoReflect() protoreflect.Message
func (*PatchNodeTemplateRequest) Reset ¶ added in v0.2.2
func (x *PatchNodeTemplateRequest) Reset()
func (*PatchNodeTemplateRequest) String ¶ added in v0.2.2
func (x *PatchNodeTemplateRequest) String() string
type PatchNodeTemplateResponse ¶ added in v0.2.2
type PatchNodeTemplateResponse struct {
// contains filtered or unexported fields
}
func (*PatchNodeTemplateResponse) Descriptor
deprecated
added in
v0.2.2
func (*PatchNodeTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchNodeTemplateResponse.ProtoReflect.Descriptor instead.
func (*PatchNodeTemplateResponse) ProtoMessage ¶ added in v0.2.2
func (*PatchNodeTemplateResponse) ProtoMessage()
func (*PatchNodeTemplateResponse) ProtoReflect ¶ added in v0.2.2
func (x *PatchNodeTemplateResponse) ProtoReflect() protoreflect.Message
func (*PatchNodeTemplateResponse) Reset ¶ added in v0.2.2
func (x *PatchNodeTemplateResponse) Reset()
func (*PatchNodeTemplateResponse) String ¶ added in v0.2.2
func (x *PatchNodeTemplateResponse) String() string
type Project ¶
type Project struct { // Name of the project - same as input manifest name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Array of Kubernetes clusters. Clusters []*K8Scluster `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"` // Array of Load Balancer clusters. LoadBalancerClusters []*LBcluster `protobuf:"bytes,3,rep,name=loadBalancerClusters,proto3" json:"loadBalancerClusters,omitempty"` // contains filtered or unexported fields }
Project represents the desired and current state of the manifest.
func (*Project) Descriptor
deprecated
func (*Project) GetClusters ¶
func (x *Project) GetClusters() []*K8Scluster
func (*Project) GetLoadBalancerClusters ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type Provider ¶
type Provider struct { // Provider name defined in input manifest. SpecName string `protobuf:"bytes,1,opt,name=specName,proto3" json:"specName,omitempty"` // Cloud provider name. CloudProviderName string `protobuf:"bytes,2,opt,name=cloudProviderName,proto3" json:"cloudProviderName,omitempty"` // Secret Credentials of the provider. // GCP - Service account key. // Hetzner - API token. // HetznerDNS - API token. // OCI - Private key. // AWS - Secret key. // Azure - Client secret. // Cloudflare - API token. Credentials string `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"` // GCP project. [GCP provider] GcpProject string `protobuf:"bytes,4,opt,name=gcpProject,proto3" json:"gcpProject,omitempty"` // OCID of the user. [OCI provider] OciUserOcid string `protobuf:"bytes,5,opt,name=ociUserOcid,proto3" json:"ociUserOcid,omitempty"` // OCID of the tenancy. [OCI provider] OciTenancyOcid string `protobuf:"bytes,6,opt,name=ociTenancyOcid,proto3" json:"ociTenancyOcid,omitempty"` // Fingerprint of the private key saved in Credentials. [OCI provider] OciFingerprint string `protobuf:"bytes,7,opt,name=ociFingerprint,proto3" json:"ociFingerprint,omitempty"` // OCID of the compartment. [OCI provider] OciCompartmentOcid string `protobuf:"bytes,8,opt,name=ociCompartmentOcid,proto3" json:"ociCompartmentOcid,omitempty"` // AWS access key to the secret key saved in the Credentials [AWS provider] AwsAccessKey string `protobuf:"bytes,9,opt,name=awsAccessKey,proto3" json:"awsAccessKey,omitempty"` // Azure ID of the subscription. [Azure provider] AzureSubscriptionId string `protobuf:"bytes,10,opt,name=azureSubscriptionId,proto3" json:"azureSubscriptionId,omitempty"` // Azure ID of the Tenant. [Azure provider] AzureTenantId string `protobuf:"bytes,11,opt,name=azureTenantId,proto3" json:"azureTenantId,omitempty"` // AzureID of the Client. [Azure provider] AzureClientId string `protobuf:"bytes,12,opt,name=azureClientId,proto3" json:"azureClientId,omitempty"` // contains filtered or unexported fields }
func (*Provider) Descriptor
deprecated
func (*Provider) GetAwsAccessKey ¶
func (*Provider) GetAzureClientId ¶
func (*Provider) GetAzureSubscriptionId ¶
func (*Provider) GetAzureTenantId ¶
func (*Provider) GetCloudProviderName ¶
func (*Provider) GetCredentials ¶
func (*Provider) GetGcpProject ¶
func (*Provider) GetOciCompartmentOcid ¶
func (*Provider) GetOciFingerprint ¶
func (*Provider) GetOciTenancyOcid ¶
func (*Provider) GetOciUserOcid ¶
func (*Provider) GetSpecName ¶
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
type RemoveLbScrapeConfigRequest ¶
type RemoveLbScrapeConfigRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*RemoveLbScrapeConfigRequest) Descriptor
deprecated
func (*RemoveLbScrapeConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveLbScrapeConfigRequest.ProtoReflect.Descriptor instead.
func (*RemoveLbScrapeConfigRequest) GetCluster ¶
func (x *RemoveLbScrapeConfigRequest) GetCluster() *K8Scluster
func (*RemoveLbScrapeConfigRequest) ProtoMessage ¶
func (*RemoveLbScrapeConfigRequest) ProtoMessage()
func (*RemoveLbScrapeConfigRequest) ProtoReflect ¶
func (x *RemoveLbScrapeConfigRequest) ProtoReflect() protoreflect.Message
func (*RemoveLbScrapeConfigRequest) Reset ¶
func (x *RemoveLbScrapeConfigRequest) Reset()
func (*RemoveLbScrapeConfigRequest) String ¶
func (x *RemoveLbScrapeConfigRequest) String() string
type RemoveLbScrapeConfigResponse ¶
type RemoveLbScrapeConfigResponse struct {
// contains filtered or unexported fields
}
func (*RemoveLbScrapeConfigResponse) Descriptor
deprecated
func (*RemoveLbScrapeConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveLbScrapeConfigResponse.ProtoReflect.Descriptor instead.
func (*RemoveLbScrapeConfigResponse) ProtoMessage ¶
func (*RemoveLbScrapeConfigResponse) ProtoMessage()
func (*RemoveLbScrapeConfigResponse) ProtoReflect ¶
func (x *RemoveLbScrapeConfigResponse) ProtoReflect() protoreflect.Message
func (*RemoveLbScrapeConfigResponse) Reset ¶
func (x *RemoveLbScrapeConfigResponse) Reset()
func (*RemoveLbScrapeConfigResponse) String ¶
func (x *RemoveLbScrapeConfigResponse) String() string
type Role ¶
type Role struct { // Name of the role. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Protocol that load balancer uses to forward traffic. ["tcp", "udp"] Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // Port that load balancer will forward from. Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // Port that load balancer will forward to. TargetPort int32 `protobuf:"varint,4,opt,name=targetPort,proto3" json:"targetPort,omitempty"` // Targeted nodes in Kubernetes clusters. Target Target `protobuf:"varint,5,opt,name=target,proto3,enum=claudie.Target" json:"target,omitempty"` // Type of the role. RoleType RoleType `protobuf:"varint,6,opt,name=roleType,proto3,enum=claudie.RoleType" json:"roleType,omitempty"` // contains filtered or unexported fields }
Role represents a single loadbalancer role from the manifest.
func (*Role) Descriptor
deprecated
func (*Role) GetProtocol ¶
func (*Role) GetRoleType ¶
func (*Role) GetTargetPort ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type RoleType ¶
type RoleType int32
RoleType specifies the type of the role.
func (RoleType) Descriptor ¶
func (RoleType) Descriptor() protoreflect.EnumDescriptor
func (RoleType) EnumDescriptor
deprecated
func (RoleType) Number ¶
func (x RoleType) Number() protoreflect.EnumNumber
func (RoleType) Type ¶
func (RoleType) Type() protoreflect.EnumType
type SaveConfigRequest ¶
type SaveConfigRequest struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SaveConfigRequest) Descriptor
deprecated
func (*SaveConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveConfigRequest.ProtoReflect.Descriptor instead.
func (*SaveConfigRequest) GetConfig ¶
func (x *SaveConfigRequest) GetConfig() *Config
func (*SaveConfigRequest) ProtoMessage ¶
func (*SaveConfigRequest) ProtoMessage()
func (*SaveConfigRequest) ProtoReflect ¶
func (x *SaveConfigRequest) ProtoReflect() protoreflect.Message
func (*SaveConfigRequest) Reset ¶
func (x *SaveConfigRequest) Reset()
func (*SaveConfigRequest) String ¶
func (x *SaveConfigRequest) String() string
type SaveConfigResponse ¶
type SaveConfigResponse struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SaveConfigResponse) Descriptor
deprecated
func (*SaveConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveConfigResponse.ProtoReflect.Descriptor instead.
func (*SaveConfigResponse) GetConfig ¶
func (x *SaveConfigResponse) GetConfig() *Config
func (*SaveConfigResponse) ProtoMessage ¶
func (*SaveConfigResponse) ProtoMessage()
func (*SaveConfigResponse) ProtoReflect ¶
func (x *SaveConfigResponse) ProtoReflect() protoreflect.Message
func (*SaveConfigResponse) Reset ¶
func (x *SaveConfigResponse) Reset()
func (*SaveConfigResponse) String ¶
func (x *SaveConfigResponse) String() string
type SaveWorkflowStateRequest ¶ added in v0.2.2
type SaveWorkflowStateRequest struct { ConfigName string `protobuf:"bytes,1,opt,name=configName,proto3" json:"configName,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Workflow *Workflow `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` // contains filtered or unexported fields }
Save
func (*SaveWorkflowStateRequest) Descriptor
deprecated
added in
v0.2.2
func (*SaveWorkflowStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveWorkflowStateRequest.ProtoReflect.Descriptor instead.
func (*SaveWorkflowStateRequest) GetClusterName ¶ added in v0.2.2
func (x *SaveWorkflowStateRequest) GetClusterName() string
func (*SaveWorkflowStateRequest) GetConfigName ¶ added in v0.2.2
func (x *SaveWorkflowStateRequest) GetConfigName() string
func (*SaveWorkflowStateRequest) GetWorkflow ¶ added in v0.2.2
func (x *SaveWorkflowStateRequest) GetWorkflow() *Workflow
func (*SaveWorkflowStateRequest) ProtoMessage ¶ added in v0.2.2
func (*SaveWorkflowStateRequest) ProtoMessage()
func (*SaveWorkflowStateRequest) ProtoReflect ¶ added in v0.2.2
func (x *SaveWorkflowStateRequest) ProtoReflect() protoreflect.Message
func (*SaveWorkflowStateRequest) Reset ¶ added in v0.2.2
func (x *SaveWorkflowStateRequest) Reset()
func (*SaveWorkflowStateRequest) String ¶ added in v0.2.2
func (x *SaveWorkflowStateRequest) String() string
type SaveWorkflowStateResponse ¶ added in v0.2.2
type SaveWorkflowStateResponse struct {
// contains filtered or unexported fields
}
func (*SaveWorkflowStateResponse) Descriptor
deprecated
added in
v0.2.2
func (*SaveWorkflowStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveWorkflowStateResponse.ProtoReflect.Descriptor instead.
func (*SaveWorkflowStateResponse) ProtoMessage ¶ added in v0.2.2
func (*SaveWorkflowStateResponse) ProtoMessage()
func (*SaveWorkflowStateResponse) ProtoReflect ¶ added in v0.2.2
func (x *SaveWorkflowStateResponse) ProtoReflect() protoreflect.Message
func (*SaveWorkflowStateResponse) Reset ¶ added in v0.2.2
func (x *SaveWorkflowStateResponse) Reset()
func (*SaveWorkflowStateResponse) String ¶ added in v0.2.2
func (x *SaveWorkflowStateResponse) String() string
type SetUpClusterAutoscalerRequest ¶ added in v0.2.2
type SetUpClusterAutoscalerRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"` Cluster *K8Scluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*SetUpClusterAutoscalerRequest) Descriptor
deprecated
added in
v0.2.2
func (*SetUpClusterAutoscalerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetUpClusterAutoscalerRequest.ProtoReflect.Descriptor instead.
func (*SetUpClusterAutoscalerRequest) GetCluster ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerRequest) GetCluster() *K8Scluster
func (*SetUpClusterAutoscalerRequest) GetProjectName ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerRequest) GetProjectName() string
func (*SetUpClusterAutoscalerRequest) ProtoMessage ¶ added in v0.2.2
func (*SetUpClusterAutoscalerRequest) ProtoMessage()
func (*SetUpClusterAutoscalerRequest) ProtoReflect ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerRequest) ProtoReflect() protoreflect.Message
func (*SetUpClusterAutoscalerRequest) Reset ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerRequest) Reset()
func (*SetUpClusterAutoscalerRequest) String ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerRequest) String() string
type SetUpClusterAutoscalerResponse ¶ added in v0.2.2
type SetUpClusterAutoscalerResponse struct {
// contains filtered or unexported fields
}
func (*SetUpClusterAutoscalerResponse) Descriptor
deprecated
added in
v0.2.2
func (*SetUpClusterAutoscalerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetUpClusterAutoscalerResponse.ProtoReflect.Descriptor instead.
func (*SetUpClusterAutoscalerResponse) ProtoMessage ¶ added in v0.2.2
func (*SetUpClusterAutoscalerResponse) ProtoMessage()
func (*SetUpClusterAutoscalerResponse) ProtoReflect ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerResponse) ProtoReflect() protoreflect.Message
func (*SetUpClusterAutoscalerResponse) Reset ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerResponse) Reset()
func (*SetUpClusterAutoscalerResponse) String ¶ added in v0.2.2
func (x *SetUpClusterAutoscalerResponse) String() string
type SetUpLBRequest ¶
type SetUpLBRequest struct { Desired *K8Scluster `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"` CurrentLbs []*LBcluster `protobuf:"bytes,2,rep,name=currentLbs,proto3" json:"currentLbs,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,3,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` PreviousAPIEndpoint string `protobuf:"bytes,4,opt,name=previousAPIEndpoint,proto3" json:"previousAPIEndpoint,omitempty"` ProjectName string `protobuf:"bytes,5,opt,name=projectName,proto3" json:"projectName,omitempty"` FirstRun bool `protobuf:"varint,6,opt,name=firstRun,proto3" json:"firstRun,omitempty"` // contains filtered or unexported fields }
func (*SetUpLBRequest) Descriptor
deprecated
func (*SetUpLBRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetUpLBRequest.ProtoReflect.Descriptor instead.
func (*SetUpLBRequest) GetCurrentLbs ¶
func (x *SetUpLBRequest) GetCurrentLbs() []*LBcluster
func (*SetUpLBRequest) GetDesired ¶
func (x *SetUpLBRequest) GetDesired() *K8Scluster
func (*SetUpLBRequest) GetDesiredLbs ¶
func (x *SetUpLBRequest) GetDesiredLbs() []*LBcluster
func (*SetUpLBRequest) GetFirstRun ¶ added in v0.3.1
func (x *SetUpLBRequest) GetFirstRun() bool
func (*SetUpLBRequest) GetPreviousAPIEndpoint ¶
func (x *SetUpLBRequest) GetPreviousAPIEndpoint() string
func (*SetUpLBRequest) GetProjectName ¶
func (x *SetUpLBRequest) GetProjectName() string
func (*SetUpLBRequest) ProtoMessage ¶
func (*SetUpLBRequest) ProtoMessage()
func (*SetUpLBRequest) ProtoReflect ¶
func (x *SetUpLBRequest) ProtoReflect() protoreflect.Message
func (*SetUpLBRequest) Reset ¶
func (x *SetUpLBRequest) Reset()
func (*SetUpLBRequest) String ¶
func (x *SetUpLBRequest) String() string
type SetUpLBResponse ¶
type SetUpLBResponse struct { Desired *K8Scluster `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"` CurrentLbs []*LBcluster `protobuf:"bytes,2,rep,name=currentLbs,proto3" json:"currentLbs,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,3,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` // contains filtered or unexported fields }
func (*SetUpLBResponse) Descriptor
deprecated
func (*SetUpLBResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetUpLBResponse.ProtoReflect.Descriptor instead.
func (*SetUpLBResponse) GetCurrentLbs ¶
func (x *SetUpLBResponse) GetCurrentLbs() []*LBcluster
func (*SetUpLBResponse) GetDesired ¶
func (x *SetUpLBResponse) GetDesired() *K8Scluster
func (*SetUpLBResponse) GetDesiredLbs ¶
func (x *SetUpLBResponse) GetDesiredLbs() []*LBcluster
func (*SetUpLBResponse) ProtoMessage ¶
func (*SetUpLBResponse) ProtoMessage()
func (*SetUpLBResponse) ProtoReflect ¶
func (x *SetUpLBResponse) ProtoReflect() protoreflect.Message
func (*SetUpLBResponse) Reset ¶
func (x *SetUpLBResponse) Reset()
func (*SetUpLBResponse) String ¶
func (x *SetUpLBResponse) String() string
type SetUpStorageRequest ¶
type SetUpStorageRequest struct { DesiredCluster *K8Scluster `protobuf:"bytes,1,opt,name=desiredCluster,proto3" json:"desiredCluster,omitempty"` // contains filtered or unexported fields }
func (*SetUpStorageRequest) Descriptor
deprecated
func (*SetUpStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetUpStorageRequest.ProtoReflect.Descriptor instead.
func (*SetUpStorageRequest) GetDesiredCluster ¶
func (x *SetUpStorageRequest) GetDesiredCluster() *K8Scluster
func (*SetUpStorageRequest) ProtoMessage ¶
func (*SetUpStorageRequest) ProtoMessage()
func (*SetUpStorageRequest) ProtoReflect ¶
func (x *SetUpStorageRequest) ProtoReflect() protoreflect.Message
func (*SetUpStorageRequest) Reset ¶
func (x *SetUpStorageRequest) Reset()
func (*SetUpStorageRequest) String ¶
func (x *SetUpStorageRequest) String() string
type SetUpStorageResponse ¶
type SetUpStorageResponse struct { DesiredCluster *K8Scluster `protobuf:"bytes,1,opt,name=desiredCluster,proto3" json:"desiredCluster,omitempty"` // contains filtered or unexported fields }
func (*SetUpStorageResponse) Descriptor
deprecated
func (*SetUpStorageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetUpStorageResponse.ProtoReflect.Descriptor instead.
func (*SetUpStorageResponse) GetDesiredCluster ¶
func (x *SetUpStorageResponse) GetDesiredCluster() *K8Scluster
func (*SetUpStorageResponse) ProtoMessage ¶
func (*SetUpStorageResponse) ProtoMessage()
func (*SetUpStorageResponse) ProtoReflect ¶
func (x *SetUpStorageResponse) ProtoReflect() protoreflect.Message
func (*SetUpStorageResponse) Reset ¶
func (x *SetUpStorageResponse) Reset()
func (*SetUpStorageResponse) String ¶
func (x *SetUpStorageResponse) String() string
type StoreClusterMetadataRequest ¶
type StoreClusterMetadataRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` ProjectName string `protobuf:"bytes,2,opt,name=projectName,proto3" json:"projectName,omitempty"` // contains filtered or unexported fields }
func (*StoreClusterMetadataRequest) Descriptor
deprecated
func (*StoreClusterMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreClusterMetadataRequest.ProtoReflect.Descriptor instead.
func (*StoreClusterMetadataRequest) GetCluster ¶
func (x *StoreClusterMetadataRequest) GetCluster() *K8Scluster
func (*StoreClusterMetadataRequest) GetProjectName ¶ added in v0.3.2
func (x *StoreClusterMetadataRequest) GetProjectName() string
func (*StoreClusterMetadataRequest) ProtoMessage ¶
func (*StoreClusterMetadataRequest) ProtoMessage()
func (*StoreClusterMetadataRequest) ProtoReflect ¶
func (x *StoreClusterMetadataRequest) ProtoReflect() protoreflect.Message
func (*StoreClusterMetadataRequest) Reset ¶
func (x *StoreClusterMetadataRequest) Reset()
func (*StoreClusterMetadataRequest) String ¶
func (x *StoreClusterMetadataRequest) String() string
type StoreClusterMetadataResponse ¶
type StoreClusterMetadataResponse struct {
// contains filtered or unexported fields
}
func (*StoreClusterMetadataResponse) Descriptor
deprecated
func (*StoreClusterMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreClusterMetadataResponse.ProtoReflect.Descriptor instead.
func (*StoreClusterMetadataResponse) ProtoMessage ¶
func (*StoreClusterMetadataResponse) ProtoMessage()
func (*StoreClusterMetadataResponse) ProtoReflect ¶
func (x *StoreClusterMetadataResponse) ProtoReflect() protoreflect.Message
func (*StoreClusterMetadataResponse) Reset ¶
func (x *StoreClusterMetadataResponse) Reset()
func (*StoreClusterMetadataResponse) String ¶
func (x *StoreClusterMetadataResponse) String() string
type StoreKubeconfigRequest ¶
type StoreKubeconfigRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` ProjectName string `protobuf:"bytes,2,opt,name=projectName,proto3" json:"projectName,omitempty"` // contains filtered or unexported fields }
func (*StoreKubeconfigRequest) Descriptor
deprecated
func (*StoreKubeconfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreKubeconfigRequest.ProtoReflect.Descriptor instead.
func (*StoreKubeconfigRequest) GetCluster ¶
func (x *StoreKubeconfigRequest) GetCluster() *K8Scluster
func (*StoreKubeconfigRequest) GetProjectName ¶ added in v0.3.2
func (x *StoreKubeconfigRequest) GetProjectName() string
func (*StoreKubeconfigRequest) ProtoMessage ¶
func (*StoreKubeconfigRequest) ProtoMessage()
func (*StoreKubeconfigRequest) ProtoReflect ¶
func (x *StoreKubeconfigRequest) ProtoReflect() protoreflect.Message
func (*StoreKubeconfigRequest) Reset ¶
func (x *StoreKubeconfigRequest) Reset()
func (*StoreKubeconfigRequest) String ¶
func (x *StoreKubeconfigRequest) String() string
type StoreKubeconfigResponse ¶
type StoreKubeconfigResponse struct {
// contains filtered or unexported fields
}
func (*StoreKubeconfigResponse) Descriptor
deprecated
func (*StoreKubeconfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreKubeconfigResponse.ProtoReflect.Descriptor instead.
func (*StoreKubeconfigResponse) ProtoMessage ¶
func (*StoreKubeconfigResponse) ProtoMessage()
func (*StoreKubeconfigResponse) ProtoReflect ¶
func (x *StoreKubeconfigResponse) ProtoReflect() protoreflect.Message
func (*StoreKubeconfigResponse) Reset ¶
func (x *StoreKubeconfigResponse) Reset()
func (*StoreKubeconfigResponse) String ¶
func (x *StoreKubeconfigResponse) String() string
type StoreLbScrapeConfigRequest ¶
type StoreLbScrapeConfigRequest struct { Cluster *K8Scluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` DesiredLoadbalancers []*LBcluster `protobuf:"bytes,2,rep,name=desiredLoadbalancers,proto3" json:"desiredLoadbalancers,omitempty"` // contains filtered or unexported fields }
func (*StoreLbScrapeConfigRequest) Descriptor
deprecated
func (*StoreLbScrapeConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreLbScrapeConfigRequest.ProtoReflect.Descriptor instead.
func (*StoreLbScrapeConfigRequest) GetCluster ¶
func (x *StoreLbScrapeConfigRequest) GetCluster() *K8Scluster
func (*StoreLbScrapeConfigRequest) GetDesiredLoadbalancers ¶
func (x *StoreLbScrapeConfigRequest) GetDesiredLoadbalancers() []*LBcluster
func (*StoreLbScrapeConfigRequest) ProtoMessage ¶
func (*StoreLbScrapeConfigRequest) ProtoMessage()
func (*StoreLbScrapeConfigRequest) ProtoReflect ¶
func (x *StoreLbScrapeConfigRequest) ProtoReflect() protoreflect.Message
func (*StoreLbScrapeConfigRequest) Reset ¶
func (x *StoreLbScrapeConfigRequest) Reset()
func (*StoreLbScrapeConfigRequest) String ¶
func (x *StoreLbScrapeConfigRequest) String() string
type StoreLbScrapeConfigResponse ¶
type StoreLbScrapeConfigResponse struct {
// contains filtered or unexported fields
}
func (*StoreLbScrapeConfigResponse) Descriptor
deprecated
func (*StoreLbScrapeConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreLbScrapeConfigResponse.ProtoReflect.Descriptor instead.
func (*StoreLbScrapeConfigResponse) ProtoMessage ¶
func (*StoreLbScrapeConfigResponse) ProtoMessage()
func (*StoreLbScrapeConfigResponse) ProtoReflect ¶
func (x *StoreLbScrapeConfigResponse) ProtoReflect() protoreflect.Message
func (*StoreLbScrapeConfigResponse) Reset ¶
func (x *StoreLbScrapeConfigResponse) Reset()
func (*StoreLbScrapeConfigResponse) String ¶
func (x *StoreLbScrapeConfigResponse) String() string
type Target ¶
type Target int32
Target specifies which nodes are targeted by the load balancer.
func (Target) Descriptor ¶
func (Target) Descriptor() protoreflect.EnumDescriptor
func (Target) EnumDescriptor
deprecated
func (Target) Number ¶
func (x Target) Number() protoreflect.EnumNumber
func (Target) Type ¶
func (Target) Type() protoreflect.EnumType
type TeardownLBRequest ¶
type TeardownLBRequest struct { Desired *K8Scluster `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,2,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` DeletedLbs []*LBcluster `protobuf:"bytes,3,rep,name=deletedLbs,proto3" json:"deletedLbs,omitempty"` ProjectName string `protobuf:"bytes,4,opt,name=projectName,proto3" json:"projectName,omitempty"` // contains filtered or unexported fields }
func (*TeardownLBRequest) Descriptor
deprecated
func (*TeardownLBRequest) Descriptor() ([]byte, []int)
Deprecated: Use TeardownLBRequest.ProtoReflect.Descriptor instead.
func (*TeardownLBRequest) GetDeletedLbs ¶
func (x *TeardownLBRequest) GetDeletedLbs() []*LBcluster
func (*TeardownLBRequest) GetDesired ¶
func (x *TeardownLBRequest) GetDesired() *K8Scluster
func (*TeardownLBRequest) GetDesiredLbs ¶
func (x *TeardownLBRequest) GetDesiredLbs() []*LBcluster
func (*TeardownLBRequest) GetProjectName ¶
func (x *TeardownLBRequest) GetProjectName() string
func (*TeardownLBRequest) ProtoMessage ¶
func (*TeardownLBRequest) ProtoMessage()
func (*TeardownLBRequest) ProtoReflect ¶
func (x *TeardownLBRequest) ProtoReflect() protoreflect.Message
func (*TeardownLBRequest) Reset ¶
func (x *TeardownLBRequest) Reset()
func (*TeardownLBRequest) String ¶
func (x *TeardownLBRequest) String() string
type TeardownLBResponse ¶
type TeardownLBResponse struct { PreviousAPIEndpoint string `protobuf:"bytes,1,opt,name=previousAPIEndpoint,proto3" json:"previousAPIEndpoint,omitempty"` Desired *K8Scluster `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"` DesiredLbs []*LBcluster `protobuf:"bytes,3,rep,name=desiredLbs,proto3" json:"desiredLbs,omitempty"` DeletedLbs []*LBcluster `protobuf:"bytes,4,rep,name=deletedLbs,proto3" json:"deletedLbs,omitempty"` // contains filtered or unexported fields }
func (*TeardownLBResponse) Descriptor
deprecated
func (*TeardownLBResponse) Descriptor() ([]byte, []int)
Deprecated: Use TeardownLBResponse.ProtoReflect.Descriptor instead.
func (*TeardownLBResponse) GetDeletedLbs ¶
func (x *TeardownLBResponse) GetDeletedLbs() []*LBcluster
func (*TeardownLBResponse) GetDesired ¶
func (x *TeardownLBResponse) GetDesired() *K8Scluster
func (*TeardownLBResponse) GetDesiredLbs ¶
func (x *TeardownLBResponse) GetDesiredLbs() []*LBcluster
func (*TeardownLBResponse) GetPreviousAPIEndpoint ¶
func (x *TeardownLBResponse) GetPreviousAPIEndpoint() string
func (*TeardownLBResponse) ProtoMessage ¶
func (*TeardownLBResponse) ProtoMessage()
func (*TeardownLBResponse) ProtoReflect ¶
func (x *TeardownLBResponse) ProtoReflect() protoreflect.Message
func (*TeardownLBResponse) Reset ¶
func (x *TeardownLBResponse) Reset()
func (*TeardownLBResponse) String ¶
func (x *TeardownLBResponse) String() string
type TerraformerServiceClient ¶
type TerraformerServiceClient interface { // BuildInfrastructure builds the infrastructure based on the provided desired state (includes addition/deletion of *stuff*). BuildInfrastructure(ctx context.Context, in *BuildInfrastructureRequest, opts ...grpc.CallOption) (*BuildInfrastructureResponse, error) // DestroyInfrastructure destroys the infrastructure completely. DestroyInfrastructure(ctx context.Context, in *DestroyInfrastructureRequest, opts ...grpc.CallOption) (*DestroyInfrastructureResponse, error) }
TerraformerServiceClient is the client API for TerraformerService 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 NewTerraformerServiceClient ¶
func NewTerraformerServiceClient(cc grpc.ClientConnInterface) TerraformerServiceClient
type TerraformerServiceServer ¶
type TerraformerServiceServer interface { // BuildInfrastructure builds the infrastructure based on the provided desired state (includes addition/deletion of *stuff*). BuildInfrastructure(context.Context, *BuildInfrastructureRequest) (*BuildInfrastructureResponse, error) // DestroyInfrastructure destroys the infrastructure completely. DestroyInfrastructure(context.Context, *DestroyInfrastructureRequest) (*DestroyInfrastructureResponse, error) // contains filtered or unexported methods }
TerraformerServiceServer is the server API for TerraformerService service. All implementations must embed UnimplementedTerraformerServiceServer for forward compatibility
type UnimplementedAnsiblerServiceServer ¶
type UnimplementedAnsiblerServiceServer struct { }
UnimplementedAnsiblerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAnsiblerServiceServer) InstallNodeRequirements ¶
func (UnimplementedAnsiblerServiceServer) InstallNodeRequirements(context.Context, *InstallRequest) (*InstallResponse, error)
func (UnimplementedAnsiblerServiceServer) InstallVPN ¶
func (UnimplementedAnsiblerServiceServer) InstallVPN(context.Context, *InstallRequest) (*InstallResponse, error)
func (UnimplementedAnsiblerServiceServer) SetUpLoadbalancers ¶
func (UnimplementedAnsiblerServiceServer) SetUpLoadbalancers(context.Context, *SetUpLBRequest) (*SetUpLBResponse, error)
func (UnimplementedAnsiblerServiceServer) TeardownLoadBalancers ¶
func (UnimplementedAnsiblerServiceServer) TeardownLoadBalancers(context.Context, *TeardownLBRequest) (*TeardownLBResponse, error)
func (UnimplementedAnsiblerServiceServer) UpdateAPIEndpoint ¶ added in v0.3.1
func (UnimplementedAnsiblerServiceServer) UpdateAPIEndpoint(context.Context, *UpdateAPIEndpointRequest) (*UpdateAPIEndpointResponse, error)
type UnimplementedContextBoxServiceServer ¶
type UnimplementedContextBoxServiceServer struct { }
UnimplementedContextBoxServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedContextBoxServiceServer) DeleteConfig ¶
func (UnimplementedContextBoxServiceServer) DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error)
func (UnimplementedContextBoxServiceServer) DeleteConfigFromDB ¶
func (UnimplementedContextBoxServiceServer) DeleteConfigFromDB(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error)
func (UnimplementedContextBoxServiceServer) GetAllConfigs ¶
func (UnimplementedContextBoxServiceServer) GetAllConfigs(context.Context, *GetAllConfigsRequest) (*GetAllConfigsResponse, error)
func (UnimplementedContextBoxServiceServer) GetConfigBuilder ¶
func (UnimplementedContextBoxServiceServer) GetConfigBuilder(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
func (UnimplementedContextBoxServiceServer) GetConfigFromDB ¶
func (UnimplementedContextBoxServiceServer) GetConfigFromDB(context.Context, *GetConfigFromDBRequest) (*GetConfigFromDBResponse, error)
func (UnimplementedContextBoxServiceServer) GetConfigScheduler ¶
func (UnimplementedContextBoxServiceServer) GetConfigScheduler(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
func (UnimplementedContextBoxServiceServer) SaveConfigBuilder ¶
func (UnimplementedContextBoxServiceServer) SaveConfigBuilder(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error)
func (UnimplementedContextBoxServiceServer) SaveConfigFrontEnd ¶
func (UnimplementedContextBoxServiceServer) SaveConfigFrontEnd(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error)
func (UnimplementedContextBoxServiceServer) SaveConfigScheduler ¶
func (UnimplementedContextBoxServiceServer) SaveConfigScheduler(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error)
func (UnimplementedContextBoxServiceServer) SaveWorkflowState ¶ added in v0.2.2
func (UnimplementedContextBoxServiceServer) SaveWorkflowState(context.Context, *SaveWorkflowStateRequest) (*SaveWorkflowStateResponse, error)
func (UnimplementedContextBoxServiceServer) UpdateNodepool ¶ added in v0.2.2
func (UnimplementedContextBoxServiceServer) UpdateNodepool(context.Context, *UpdateNodepoolRequest) (*UpdateNodepoolResponse, error)
type UnimplementedKubeElevenServiceServer ¶
type UnimplementedKubeElevenServiceServer struct { }
UnimplementedKubeElevenServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKubeElevenServiceServer) BuildCluster ¶
func (UnimplementedKubeElevenServiceServer) BuildCluster(context.Context, *BuildClusterRequest) (*BuildClusterResponse, error)
type UnimplementedKuberServiceServer ¶
type UnimplementedKuberServiceServer struct { }
UnimplementedKuberServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKuberServiceServer) DeleteClusterMetadata ¶
func (UnimplementedKuberServiceServer) DeleteClusterMetadata(context.Context, *DeleteClusterMetadataRequest) (*DeleteClusterMetadataResponse, error)
func (UnimplementedKuberServiceServer) DeleteKubeconfig ¶
func (UnimplementedKuberServiceServer) DeleteKubeconfig(context.Context, *DeleteKubeconfigRequest) (*DeleteKubeconfigResponse, error)
func (UnimplementedKuberServiceServer) DeleteNodes ¶
func (UnimplementedKuberServiceServer) DeleteNodes(context.Context, *DeleteNodesRequest) (*DeleteNodesResponse, error)
func (UnimplementedKuberServiceServer) DestroyClusterAutoscaler ¶ added in v0.2.2
func (UnimplementedKuberServiceServer) DestroyClusterAutoscaler(context.Context, *DestroyClusterAutoscalerRequest) (*DestroyClusterAutoscalerResponse, error)
func (UnimplementedKuberServiceServer) PatchClusterInfoConfigMap ¶ added in v0.3.1
func (UnimplementedKuberServiceServer) PatchClusterInfoConfigMap(context.Context, *PatchClusterInfoConfigMapRequest) (*PatchClusterInfoConfigMapResponse, error)
func (UnimplementedKuberServiceServer) PatchNodes ¶ added in v0.2.2
func (UnimplementedKuberServiceServer) PatchNodes(context.Context, *PatchNodeTemplateRequest) (*PatchNodeTemplateResponse, error)
func (UnimplementedKuberServiceServer) RemoveLbScrapeConfig ¶
func (UnimplementedKuberServiceServer) RemoveLbScrapeConfig(context.Context, *RemoveLbScrapeConfigRequest) (*RemoveLbScrapeConfigResponse, error)
func (UnimplementedKuberServiceServer) SetUpClusterAutoscaler ¶ added in v0.2.2
func (UnimplementedKuberServiceServer) SetUpClusterAutoscaler(context.Context, *SetUpClusterAutoscalerRequest) (*SetUpClusterAutoscalerResponse, error)
func (UnimplementedKuberServiceServer) SetUpStorage ¶
func (UnimplementedKuberServiceServer) SetUpStorage(context.Context, *SetUpStorageRequest) (*SetUpStorageResponse, error)
func (UnimplementedKuberServiceServer) StoreClusterMetadata ¶
func (UnimplementedKuberServiceServer) StoreClusterMetadata(context.Context, *StoreClusterMetadataRequest) (*StoreClusterMetadataResponse, error)
func (UnimplementedKuberServiceServer) StoreKubeconfig ¶
func (UnimplementedKuberServiceServer) StoreKubeconfig(context.Context, *StoreKubeconfigRequest) (*StoreKubeconfigResponse, error)
func (UnimplementedKuberServiceServer) StoreLbScrapeConfig ¶
func (UnimplementedKuberServiceServer) StoreLbScrapeConfig(context.Context, *StoreLbScrapeConfigRequest) (*StoreLbScrapeConfigResponse, error)
type UnimplementedTerraformerServiceServer ¶
type UnimplementedTerraformerServiceServer struct { }
UnimplementedTerraformerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTerraformerServiceServer) BuildInfrastructure ¶
func (UnimplementedTerraformerServiceServer) BuildInfrastructure(context.Context, *BuildInfrastructureRequest) (*BuildInfrastructureResponse, error)
func (UnimplementedTerraformerServiceServer) DestroyInfrastructure ¶
func (UnimplementedTerraformerServiceServer) DestroyInfrastructure(context.Context, *DestroyInfrastructureRequest) (*DestroyInfrastructureResponse, error)
type UnsafeAnsiblerServiceServer ¶
type UnsafeAnsiblerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAnsiblerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnsiblerServiceServer will result in compilation errors.
type UnsafeContextBoxServiceServer ¶
type UnsafeContextBoxServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContextBoxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContextBoxServiceServer will result in compilation errors.
type UnsafeKubeElevenServiceServer ¶
type UnsafeKubeElevenServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKubeElevenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KubeElevenServiceServer will result in compilation errors.
type UnsafeKuberServiceServer ¶
type UnsafeKuberServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKuberServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KuberServiceServer will result in compilation errors.
type UnsafeTerraformerServiceServer ¶
type UnsafeTerraformerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTerraformerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TerraformerServiceServer will result in compilation errors.
type UpdateAPIEndpointRequest ¶ added in v0.3.1
type UpdateAPIEndpointRequest struct { Current *K8Scluster `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Desired *K8Scluster `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"` ProjectName string `protobuf:"bytes,3,opt,name=projectName,proto3" json:"projectName,omitempty"` // contains filtered or unexported fields }
func (*UpdateAPIEndpointRequest) Descriptor
deprecated
added in
v0.3.1
func (*UpdateAPIEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAPIEndpointRequest.ProtoReflect.Descriptor instead.
func (*UpdateAPIEndpointRequest) GetCurrent ¶ added in v0.3.1
func (x *UpdateAPIEndpointRequest) GetCurrent() *K8Scluster
func (*UpdateAPIEndpointRequest) GetDesired ¶ added in v0.3.1
func (x *UpdateAPIEndpointRequest) GetDesired() *K8Scluster
func (*UpdateAPIEndpointRequest) GetProjectName ¶ added in v0.3.1
func (x *UpdateAPIEndpointRequest) GetProjectName() string
func (*UpdateAPIEndpointRequest) ProtoMessage ¶ added in v0.3.1
func (*UpdateAPIEndpointRequest) ProtoMessage()
func (*UpdateAPIEndpointRequest) ProtoReflect ¶ added in v0.3.1
func (x *UpdateAPIEndpointRequest) ProtoReflect() protoreflect.Message
func (*UpdateAPIEndpointRequest) Reset ¶ added in v0.3.1
func (x *UpdateAPIEndpointRequest) Reset()
func (*UpdateAPIEndpointRequest) String ¶ added in v0.3.1
func (x *UpdateAPIEndpointRequest) String() string
type UpdateAPIEndpointResponse ¶ added in v0.3.1
type UpdateAPIEndpointResponse struct { Current *K8Scluster `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Desired *K8Scluster `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"` // contains filtered or unexported fields }
func (*UpdateAPIEndpointResponse) Descriptor
deprecated
added in
v0.3.1
func (*UpdateAPIEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAPIEndpointResponse.ProtoReflect.Descriptor instead.
func (*UpdateAPIEndpointResponse) GetCurrent ¶ added in v0.3.1
func (x *UpdateAPIEndpointResponse) GetCurrent() *K8Scluster
func (*UpdateAPIEndpointResponse) GetDesired ¶ added in v0.3.1
func (x *UpdateAPIEndpointResponse) GetDesired() *K8Scluster
func (*UpdateAPIEndpointResponse) ProtoMessage ¶ added in v0.3.1
func (*UpdateAPIEndpointResponse) ProtoMessage()
func (*UpdateAPIEndpointResponse) ProtoReflect ¶ added in v0.3.1
func (x *UpdateAPIEndpointResponse) ProtoReflect() protoreflect.Message
func (*UpdateAPIEndpointResponse) Reset ¶ added in v0.3.1
func (x *UpdateAPIEndpointResponse) Reset()
func (*UpdateAPIEndpointResponse) String ¶ added in v0.3.1
func (x *UpdateAPIEndpointResponse) String() string
type UpdateNodepoolRequest ¶ added in v0.2.2
type UpdateNodepoolRequest struct { ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Nodepool *NodePool `protobuf:"bytes,3,opt,name=nodepool,proto3" json:"nodepool,omitempty"` // contains filtered or unexported fields }
Update
func (*UpdateNodepoolRequest) Descriptor
deprecated
added in
v0.2.2
func (*UpdateNodepoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodepoolRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodepoolRequest) GetClusterName ¶ added in v0.2.2
func (x *UpdateNodepoolRequest) GetClusterName() string
func (*UpdateNodepoolRequest) GetNodepool ¶ added in v0.2.2
func (x *UpdateNodepoolRequest) GetNodepool() *NodePool
func (*UpdateNodepoolRequest) GetProjectName ¶ added in v0.2.2
func (x *UpdateNodepoolRequest) GetProjectName() string
func (*UpdateNodepoolRequest) ProtoMessage ¶ added in v0.2.2
func (*UpdateNodepoolRequest) ProtoMessage()
func (*UpdateNodepoolRequest) ProtoReflect ¶ added in v0.2.2
func (x *UpdateNodepoolRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodepoolRequest) Reset ¶ added in v0.2.2
func (x *UpdateNodepoolRequest) Reset()
func (*UpdateNodepoolRequest) String ¶ added in v0.2.2
func (x *UpdateNodepoolRequest) String() string
type UpdateNodepoolResponse ¶ added in v0.2.2
type UpdateNodepoolResponse struct {
// contains filtered or unexported fields
}
func (*UpdateNodepoolResponse) Descriptor
deprecated
added in
v0.2.2
func (*UpdateNodepoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodepoolResponse.ProtoReflect.Descriptor instead.
func (*UpdateNodepoolResponse) ProtoMessage ¶ added in v0.2.2
func (*UpdateNodepoolResponse) ProtoMessage()
func (*UpdateNodepoolResponse) ProtoReflect ¶ added in v0.2.2
func (x *UpdateNodepoolResponse) ProtoReflect() protoreflect.Message
func (*UpdateNodepoolResponse) Reset ¶ added in v0.2.2
func (x *UpdateNodepoolResponse) Reset()
func (*UpdateNodepoolResponse) String ¶ added in v0.2.2
func (x *UpdateNodepoolResponse) String() string
type Workflow ¶ added in v0.2.2
type Workflow struct { Stage Workflow_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=claudie.Workflow_Stage" json:"stage,omitempty"` Status Workflow_Status `protobuf:"varint,2,opt,name=status,proto3,enum=claudie.Workflow_Status" json:"status,omitempty"` // additional information describing the state and status. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Workflow) Descriptor
deprecated
added in
v0.2.2
func (*Workflow) GetDescription ¶ added in v0.2.2
func (*Workflow) GetStage ¶ added in v0.2.2
func (x *Workflow) GetStage() Workflow_Stage
func (*Workflow) GetStatus ¶ added in v0.2.2
func (x *Workflow) GetStatus() Workflow_Status
func (*Workflow) ProtoMessage ¶ added in v0.2.2
func (*Workflow) ProtoMessage()
func (*Workflow) ProtoReflect ¶ added in v0.2.2
func (x *Workflow) ProtoReflect() protoreflect.Message
type Workflow_Stage ¶ added in v0.2.2
type Workflow_Stage int32
const ( // NONE indicates that no stage is currently executing. Workflow_NONE Workflow_Stage = 0 // TERRAFORMER indicates that the cluster is currently being build in terraformer. Workflow_TERRAFORMER Workflow_Stage = 1 // ANSIBLER indicates that the cluster is currently being build in ansibler. Workflow_ANSIBLER Workflow_Stage = 2 // KUBE_ELEVEN indicates that the cluster is currently being build in kube eleven. Workflow_KUBE_ELEVEN Workflow_Stage = 3 // KUBER indicates that the cluster is currently being build in kuber. Workflow_KUBER Workflow_Stage = 4 // SCHEDULER indicates that the config is being processed by the scheduler. Workflow_SCHEDULER Workflow_Stage = 5 // DESTROY_TERRAFORMER indicates that infra for a cluster is being deleted. Workflow_DESTROY_TERRAFORMER Workflow_Stage = 7 // DESTROY_KUBER indicates that data for a cluster is being deleted. Workflow_DESTROY_KUBER Workflow_Stage = 8 // DELETE_NODES indicates the nodes are being deleted for the cluster. Workflow_DELETE_NODES Workflow_Stage = 9 )
func (Workflow_Stage) Descriptor ¶ added in v0.2.2
func (Workflow_Stage) Descriptor() protoreflect.EnumDescriptor
func (Workflow_Stage) Enum ¶ added in v0.2.2
func (x Workflow_Stage) Enum() *Workflow_Stage
func (Workflow_Stage) EnumDescriptor
deprecated
added in
v0.2.2
func (Workflow_Stage) EnumDescriptor() ([]byte, []int)
Deprecated: Use Workflow_Stage.Descriptor instead.
func (Workflow_Stage) Number ¶ added in v0.2.2
func (x Workflow_Stage) Number() protoreflect.EnumNumber
func (Workflow_Stage) String ¶ added in v0.2.2
func (x Workflow_Stage) String() string
func (Workflow_Stage) Type ¶ added in v0.2.2
func (Workflow_Stage) Type() protoreflect.EnumType
type Workflow_Status ¶ added in v0.2.2
type Workflow_Status int32
const ( // DONE indicates that the workflow has finished. Workflow_DONE Workflow_Status = 0 // ERROR indicates that an error occurred while building the cluster. Workflow_ERROR Workflow_Status = 1 // IN_PROGRESS indicates that the cluster is currently being build. Workflow_IN_PROGRESS Workflow_Status = 2 )
func (Workflow_Status) Descriptor ¶ added in v0.2.2
func (Workflow_Status) Descriptor() protoreflect.EnumDescriptor
func (Workflow_Status) Enum ¶ added in v0.2.2
func (x Workflow_Status) Enum() *Workflow_Status
func (Workflow_Status) EnumDescriptor
deprecated
added in
v0.2.2
func (Workflow_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Workflow_Status.Descriptor instead.
func (Workflow_Status) Number ¶ added in v0.2.2
func (x Workflow_Status) Number() protoreflect.EnumNumber
func (Workflow_Status) String ¶ added in v0.2.2
func (x Workflow_Status) String() string
func (Workflow_Status) Type ¶ added in v0.2.2
func (Workflow_Status) Type() protoreflect.EnumType