Documentation ¶
Index ¶
- Variables
- type AWSProvider
- func (*AWSProvider) Descriptor() ([]byte, []int)deprecated
- func (x *AWSProvider) GetAccessKey() string
- func (x *AWSProvider) GetSecretKey() string
- func (*AWSProvider) ProtoMessage()
- func (x *AWSProvider) ProtoReflect() protoreflect.Message
- func (x *AWSProvider) Reset()
- func (x *AWSProvider) String() string
- 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 AzureProvider
- func (*AzureProvider) Descriptor() ([]byte, []int)deprecated
- func (x *AzureProvider) GetClientID() string
- func (x *AzureProvider) GetClientSecret() string
- func (x *AzureProvider) GetSubscriptionID() string
- func (x *AzureProvider) GetTenantID() string
- func (*AzureProvider) ProtoMessage()
- func (x *AzureProvider) ProtoReflect() protoreflect.Message
- func (x *AzureProvider) Reset()
- func (x *AzureProvider) String() string
- type CloudflareProvider
- func (*CloudflareProvider) Descriptor() ([]byte, []int)deprecated
- func (x *CloudflareProvider) GetToken() string
- func (*CloudflareProvider) ProtoMessage()
- func (x *CloudflareProvider) ProtoReflect() protoreflect.Message
- func (x *CloudflareProvider) Reset()
- func (x *CloudflareProvider) String() string
- type ClusterInfo
- func (*ClusterInfo) Descriptor() ([]byte, []int)deprecated
- func (c *ClusterInfo) DynamicNodePools() []*DynamicNodePool
- func (x *ClusterInfo) GetHash() string
- func (x *ClusterInfo) GetName() string
- func (x *ClusterInfo) GetNodePools() []*NodePool
- func (c *ClusterInfo) Id() string
- func (*ClusterInfo) ProtoMessage()
- func (x *ClusterInfo) ProtoReflect() protoreflect.Message
- func (x *ClusterInfo) Reset()
- func (x *ClusterInfo) String() string
- type ClusterState
- func (*ClusterState) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterState) GetCurrent() *Clusters
- func (x *ClusterState) GetDesired() *Clusters
- func (x *ClusterState) GetEvents() *Events
- func (x *ClusterState) GetState() *Workflow
- func (*ClusterState) ProtoMessage()
- func (x *ClusterState) ProtoReflect() protoreflect.Message
- func (x *ClusterState) Reset()
- func (x *ClusterState) 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 Clusters
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetClusters() map[string]*ClusterState
- func (x *Config) GetK8SCtx() *KubernetesContext
- func (x *Config) GetManifest() *Manifest
- func (x *Config) GetName() string
- func (x *Config) GetVersion() uint64
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type CreateState
- func (*CreateState) Descriptor() ([]byte, []int)deprecated
- func (x *CreateState) GetK8S() *K8Scluster
- func (x *CreateState) GetLbs() *LoadBalancers
- func (*CreateState) ProtoMessage()
- func (x *CreateState) ProtoReflect() protoreflect.Message
- func (x *CreateState) Reset()
- func (x *CreateState) String() string
- 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 DeleteState
- func (*DeleteState) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteState) GetK8S() *K8Scluster
- func (x *DeleteState) GetLbs() *LoadBalancers
- func (x *DeleteState) GetNodepools() map[string]*DeletedNodes
- func (*DeleteState) ProtoMessage()
- func (x *DeleteState) ProtoReflect() protoreflect.Message
- func (x *DeleteState) Reset()
- func (x *DeleteState) String() string
- type DeletedNodes
- type DynamicNodePool
- func (*DynamicNodePool) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicNodePool) GetAutoscalerConfig() *AutoscalerConf
- func (x *DynamicNodePool) GetCidr() string
- func (x *DynamicNodePool) GetCount() int32
- func (x *DynamicNodePool) GetImage() string
- func (x *DynamicNodePool) GetMachineSpec() *MachineSpec
- func (x *DynamicNodePool) GetPrivateKey() string
- func (x *DynamicNodePool) GetProvider() *Provider
- func (x *DynamicNodePool) GetPublicKey() string
- func (x *DynamicNodePool) GetRegion() string
- func (x *DynamicNodePool) GetServerType() string
- func (x *DynamicNodePool) GetStorageDiskSize() int32
- func (x *DynamicNodePool) GetZone() string
- func (*DynamicNodePool) ProtoMessage()
- func (x *DynamicNodePool) ProtoReflect() protoreflect.Message
- func (x *DynamicNodePool) Reset()
- func (x *DynamicNodePool) String() string
- type Event
- type Events
- func (*Events) Descriptor() ([]byte, []int)deprecated
- func (x *Events) GetAutoscaled() bool
- func (x *Events) GetEvents() []*TaskEvent
- func (x *Events) GetTtl() int32
- func (*Events) ProtoMessage()
- func (x *Events) ProtoReflect() protoreflect.Message
- func (x *Events) Reset()
- func (x *Events) String() string
- type GCPProvider
- type GenesisCloudProvider
- func (*GenesisCloudProvider) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisCloudProvider) GetToken() string
- func (*GenesisCloudProvider) ProtoMessage()
- func (x *GenesisCloudProvider) ProtoReflect() protoreflect.Message
- func (x *GenesisCloudProvider) Reset()
- func (x *GenesisCloudProvider) String() string
- type HetznerDNSProvider
- func (*HetznerDNSProvider) Descriptor() ([]byte, []int)deprecated
- func (x *HetznerDNSProvider) GetToken() string
- func (*HetznerDNSProvider) ProtoMessage()
- func (x *HetznerDNSProvider) ProtoReflect() protoreflect.Message
- func (x *HetznerDNSProvider) Reset()
- func (x *HetznerDNSProvider) String() string
- type HetznerProvider
- type InstallationProxy
- func (*InstallationProxy) Descriptor() ([]byte, []int)deprecated
- func (x *InstallationProxy) GetEndpoint() string
- func (x *InstallationProxy) GetMode() string
- func (*InstallationProxy) ProtoMessage()
- func (x *InstallationProxy) ProtoReflect() protoreflect.Message
- func (x *InstallationProxy) Reset()
- func (x *InstallationProxy) String() string
- type K8Scluster
- func (c *K8Scluster) AnyAutoscaledNodePools() bool
- func (*K8Scluster) Descriptor() ([]byte, []int)deprecated
- func (x *K8Scluster) GetClusterInfo() *ClusterInfo
- func (x *K8Scluster) GetInstallationProxy() *InstallationProxy
- func (x *K8Scluster) GetKubeconfig() string
- func (x *K8Scluster) GetKubernetes() string
- func (x *K8Scluster) GetNetwork() string
- func (c *K8Scluster) NodeCount() int
- func (*K8Scluster) ProtoMessage()
- func (x *K8Scluster) ProtoReflect() protoreflect.Message
- func (x *K8Scluster) Reset()
- func (x *K8Scluster) String() string
- type KubernetesContext
- func (*KubernetesContext) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesContext) GetName() string
- func (x *KubernetesContext) GetNamespace() string
- func (*KubernetesContext) ProtoMessage()
- func (x *KubernetesContext) ProtoReflect() protoreflect.Message
- func (x *KubernetesContext) Reset()
- func (x *KubernetesContext) String() string
- 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 (c *LBcluster) HasApiRole() bool
- func (c *LBcluster) NodeCount() int
- func (*LBcluster) ProtoMessage()
- func (x *LBcluster) ProtoReflect() protoreflect.Message
- func (x *LBcluster) Reset()
- func (x *LBcluster) String() string
- type LoadBalancers
- type MachineSpec
- func (*MachineSpec) Descriptor() ([]byte, []int)deprecated
- func (x *MachineSpec) GetCpuCount() int32
- func (x *MachineSpec) GetMemory() int32
- func (*MachineSpec) ProtoMessage()
- func (x *MachineSpec) ProtoReflect() protoreflect.Message
- func (x *MachineSpec) Reset()
- func (x *MachineSpec) String() string
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)deprecated
- func (x *Manifest) GetChecksum() []byte
- func (x *Manifest) GetLastAppliedChecksum() []byte
- func (x *Manifest) GetRaw() string
- func (x *Manifest) GetState() Manifest_State
- func (*Manifest) ProtoMessage()
- func (x *Manifest) ProtoReflect() protoreflect.Message
- func (x *Manifest) Reset()
- func (x *Manifest) String() string
- type Manifest_State
- func (Manifest_State) Descriptor() protoreflect.EnumDescriptor
- func (x Manifest_State) Enum() *Manifest_State
- func (Manifest_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Manifest_State) Number() protoreflect.EnumNumber
- func (x Manifest_State) String() string
- func (Manifest_State) Type() protoreflect.EnumType
- 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 (x *Node) GetUsername() 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 (n *NodePool) EndpointNode() *Node
- func (x *NodePool) GetAnnotations() map[string]string
- func (x *NodePool) GetDynamicNodePool() *DynamicNodePool
- func (x *NodePool) GetIsControl() bool
- func (x *NodePool) GetLabels() map[string]string
- func (x *NodePool) GetName() string
- func (x *NodePool) GetNodes() []*Node
- func (x *NodePool) GetStaticNodePool() *StaticNodePool
- func (x *NodePool) GetTaints() []*Taint
- func (m *NodePool) GetType() isNodePool_Type
- func (*NodePool) ProtoMessage()
- func (x *NodePool) ProtoReflect() protoreflect.Message
- func (x *NodePool) Reset()
- func (x *NodePool) String() string
- func (n *NodePool) Zone() string
- type NodePool_DynamicNodePool
- type NodePool_StaticNodePool
- type NodeType
- type OCIProvider
- func (*OCIProvider) Descriptor() ([]byte, []int)deprecated
- func (x *OCIProvider) GetCompartmentOCID() string
- func (x *OCIProvider) GetKeyFingerprint() string
- func (x *OCIProvider) GetPrivateKey() string
- func (x *OCIProvider) GetTenancyOCID() string
- func (x *OCIProvider) GetUserOCID() string
- func (*OCIProvider) ProtoMessage()
- func (x *OCIProvider) ProtoReflect() protoreflect.Message
- func (x *OCIProvider) Reset()
- func (x *OCIProvider) String() string
- type Provider
- func (pr *Provider) Credentials() string
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetAws() *AWSProvider
- func (x *Provider) GetAzure() *AzureProvider
- func (x *Provider) GetCloudProviderName() string
- func (x *Provider) GetCloudflare() *CloudflareProvider
- func (x *Provider) GetGcp() *GCPProvider
- func (x *Provider) GetGenesiscloud() *GenesisCloudProvider
- func (x *Provider) GetHetzner() *HetznerProvider
- func (x *Provider) GetHetznerdns() *HetznerDNSProvider
- func (x *Provider) GetOci() *OCIProvider
- func (m *Provider) GetProviderType() isProvider_ProviderType
- func (x *Provider) GetSpecName() string
- func (x *Provider) GetTemplates() *TemplateRepository
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- type Provider_Aws
- type Provider_Azure
- type Provider_Cloudflare
- type Provider_Gcp
- type Provider_Genesiscloud
- type Provider_Hetzner
- type Provider_Hetznerdns
- type Provider_Oci
- type ProxyEnvs
- func (*ProxyEnvs) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyEnvs) GetHttpProxyUrl() string
- func (x *ProxyEnvs) GetNoProxyList() string
- func (x *ProxyEnvs) GetUpdateProxyEnvsFlag() bool
- func (*ProxyEnvs) ProtoMessage()
- func (x *ProxyEnvs) ProtoReflect() protoreflect.Message
- func (x *ProxyEnvs) Reset()
- func (x *ProxyEnvs) String() string
- type Retry
- func (*Retry) Descriptor() ([]byte, []int)deprecated
- func (m *Retry) GetDo() isRetry_Do
- func (x *Retry) GetRepeat() *Retry_Repeat
- func (x *Retry) GetRollback() *Retry_Rollback
- func (*Retry) ProtoMessage()
- func (x *Retry) ProtoReflect() protoreflect.Message
- func (x *Retry) Reset()
- func (x *Retry) String() string
- type Retry_Repeat
- func (*Retry_Repeat) Descriptor() ([]byte, []int)deprecated
- func (x *Retry_Repeat) GetCurrentTick() uint32
- func (x *Retry_Repeat) GetKind() Retry_Repeat_Kind
- func (x *Retry_Repeat) GetRetryAfter() uint32
- func (x *Retry_Repeat) GetStopAfter() uint32
- func (*Retry_Repeat) ProtoMessage()
- func (x *Retry_Repeat) ProtoReflect() protoreflect.Message
- func (x *Retry_Repeat) Reset()
- func (x *Retry_Repeat) String() string
- type Retry_Repeat_
- type Retry_Repeat_Kind
- func (Retry_Repeat_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Retry_Repeat_Kind) Enum() *Retry_Repeat_Kind
- func (Retry_Repeat_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Retry_Repeat_Kind) Number() protoreflect.EnumNumber
- func (x Retry_Repeat_Kind) String() string
- func (Retry_Repeat_Kind) Type() protoreflect.EnumType
- type Retry_Rollback
- type Retry_Rollback_
- 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) GetTargetPools() []string
- 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 StaticNodePool
- type StaticNodepoolInfo
- func (StaticNodepoolInfo) Descriptor() protoreflect.EnumDescriptor
- func (x StaticNodepoolInfo) Enum() *StaticNodepoolInfo
- func (StaticNodepoolInfo) EnumDescriptor() ([]byte, []int)deprecated
- func (x StaticNodepoolInfo) Number() protoreflect.EnumNumber
- func (x StaticNodepoolInfo) String() string
- func (StaticNodepoolInfo) Type() protoreflect.EnumType
- type Taint
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetCreateState() *CreateState
- func (x *Task) GetDeleteState() *DeleteState
- func (x *Task) GetUpdateState() *UpdateState
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskEvent
- func (*TaskEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TaskEvent) GetDescription() string
- func (x *TaskEvent) GetEvent() Event
- func (x *TaskEvent) GetId() string
- func (x *TaskEvent) GetOnError() *Retry
- func (x *TaskEvent) GetTask() *Task
- func (x *TaskEvent) GetTimestamp() *timestamppb.Timestamp
- func (*TaskEvent) ProtoMessage()
- func (x *TaskEvent) ProtoReflect() protoreflect.Message
- func (x *TaskEvent) Reset()
- func (x *TaskEvent) String() string
- type TemplateRepository
- func (*TemplateRepository) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateRepository) GetCommitHash() string
- func (x *TemplateRepository) GetPath() string
- func (x *TemplateRepository) GetRepository() string
- func (x *TemplateRepository) GetTag() string
- func (r *TemplateRepository) MustExtractTargetPath() string
- func (*TemplateRepository) ProtoMessage()
- func (x *TemplateRepository) ProtoReflect() protoreflect.Message
- func (x *TemplateRepository) Reset()
- func (x *TemplateRepository) String() string
- type UpdateState
- func (*UpdateState) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateState) GetEndpoint() *UpdateState_Endpoint
- func (x *UpdateState) GetK8S() *K8Scluster
- func (x *UpdateState) GetLbs() *LoadBalancers
- func (*UpdateState) ProtoMessage()
- func (x *UpdateState) ProtoReflect() protoreflect.Message
- func (x *UpdateState) Reset()
- func (x *UpdateState) String() string
- type UpdateState_Endpoint
- func (*UpdateState_Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateState_Endpoint) GetNode() string
- func (x *UpdateState_Endpoint) GetNodepool() string
- func (*UpdateState_Endpoint) ProtoMessage()
- func (x *UpdateState_Endpoint) ProtoReflect() protoreflect.Message
- func (x *UpdateState_Endpoint) Reset()
- func (x *UpdateState_Endpoint) String() string
- 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 ( ClusterType_name = map[int32]string{ 0: "K8s", 1: "LB", } ClusterType_value = map[string]int32{ "K8s": 0, "LB": 1, } )
Enum value maps for ClusterType.
var ( Event_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATE", 2: "UPDATE", 3: "DELETE", } Event_value = map[string]int32{ "UNKNOWN": 0, "CREATE": 1, "UPDATE": 2, "DELETE": 3, } )
Enum value maps for Event.
var ( Manifest_State_name = map[int32]string{ 0: "Pending", 1: "Scheduled", 2: "Done", 3: "Error", } Manifest_State_value = map[string]int32{ "Pending": 0, "Scheduled": 1, "Done": 2, "Error": 3, } )
Enum value maps for Manifest_State.
var ( Workflow_Stage_name = map[int32]string{ 0: "NONE", 1: "TERRAFORMER", 2: "ANSIBLER", 3: "KUBE_ELEVEN", 4: "KUBER", 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, "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 ( Retry_Repeat_Kind_name = map[int32]string{ 0: "ENDLESS", 1: "EXPONENTIAL", } Retry_Repeat_Kind_value = map[string]int32{ "ENDLESS": 0, "EXPONENTIAL": 1, } )
Enum value maps for Retry_Repeat_Kind.
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 ( StaticNodepoolInfo_name = map[int32]string{ 0: "STATIC_PROVIDER", 1: "STATIC_REGION", 2: "STATIC_ZONE", } StaticNodepoolInfo_value = map[string]int32{ "STATIC_PROVIDER": 0, "STATIC_REGION": 1, "STATIC_ZONE": 2, } )
Enum value maps for StaticNodepoolInfo.
var File_spec_dns_proto protoreflect.FileDescriptor
var File_spec_manifest_proto protoreflect.FileDescriptor
var File_spec_nodepool_proto protoreflect.FileDescriptor
var File_spec_provider_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AWSProvider ¶
type AWSProvider struct { SecretKey string `protobuf:"bytes,1,opt,name=secretKey,proto3" json:"secretKey,omitempty"` AccessKey string `protobuf:"bytes,2,opt,name=accessKey,proto3" json:"accessKey,omitempty"` // contains filtered or unexported fields }
func (*AWSProvider) Descriptor
deprecated
func (*AWSProvider) Descriptor() ([]byte, []int)
Deprecated: Use AWSProvider.ProtoReflect.Descriptor instead.
func (*AWSProvider) GetAccessKey ¶
func (x *AWSProvider) GetAccessKey() string
func (*AWSProvider) GetSecretKey ¶
func (x *AWSProvider) GetSecretKey() string
func (*AWSProvider) ProtoMessage ¶
func (*AWSProvider) ProtoMessage()
func (*AWSProvider) ProtoReflect ¶
func (x *AWSProvider) ProtoReflect() protoreflect.Message
func (*AWSProvider) Reset ¶
func (x *AWSProvider) Reset()
func (*AWSProvider) String ¶
func (x *AWSProvider) String() string
type AutoscalerConf ¶
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
func (*AutoscalerConf) Descriptor() ([]byte, []int)
Deprecated: Use AutoscalerConf.ProtoReflect.Descriptor instead.
func (*AutoscalerConf) GetMax ¶
func (x *AutoscalerConf) GetMax() int32
func (*AutoscalerConf) GetMin ¶
func (x *AutoscalerConf) GetMin() int32
func (*AutoscalerConf) ProtoMessage ¶
func (*AutoscalerConf) ProtoMessage()
func (*AutoscalerConf) ProtoReflect ¶
func (x *AutoscalerConf) ProtoReflect() protoreflect.Message
func (*AutoscalerConf) Reset ¶
func (x *AutoscalerConf) Reset()
func (*AutoscalerConf) String ¶
func (x *AutoscalerConf) String() string
type AzureProvider ¶
type AzureProvider struct { SubscriptionID string `protobuf:"bytes,1,opt,name=subscriptionID,proto3" json:"subscriptionID,omitempty"` TenantID string `protobuf:"bytes,2,opt,name=tenantID,proto3" json:"tenantID,omitempty"` ClientID string `protobuf:"bytes,3,opt,name=clientID,proto3" json:"clientID,omitempty"` ClientSecret string `protobuf:"bytes,4,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` // contains filtered or unexported fields }
func (*AzureProvider) Descriptor
deprecated
func (*AzureProvider) Descriptor() ([]byte, []int)
Deprecated: Use AzureProvider.ProtoReflect.Descriptor instead.
func (*AzureProvider) GetClientID ¶
func (x *AzureProvider) GetClientID() string
func (*AzureProvider) GetClientSecret ¶
func (x *AzureProvider) GetClientSecret() string
func (*AzureProvider) GetSubscriptionID ¶
func (x *AzureProvider) GetSubscriptionID() string
func (*AzureProvider) GetTenantID ¶
func (x *AzureProvider) GetTenantID() string
func (*AzureProvider) ProtoMessage ¶
func (*AzureProvider) ProtoMessage()
func (*AzureProvider) ProtoReflect ¶
func (x *AzureProvider) ProtoReflect() protoreflect.Message
func (*AzureProvider) Reset ¶
func (x *AzureProvider) Reset()
func (*AzureProvider) String ¶
func (x *AzureProvider) String() string
type CloudflareProvider ¶
type CloudflareProvider struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*CloudflareProvider) Descriptor
deprecated
func (*CloudflareProvider) Descriptor() ([]byte, []int)
Deprecated: Use CloudflareProvider.ProtoReflect.Descriptor instead.
func (*CloudflareProvider) GetToken ¶
func (x *CloudflareProvider) GetToken() string
func (*CloudflareProvider) ProtoMessage ¶
func (*CloudflareProvider) ProtoMessage()
func (*CloudflareProvider) ProtoReflect ¶
func (x *CloudflareProvider) ProtoReflect() protoreflect.Message
func (*CloudflareProvider) Reset ¶
func (x *CloudflareProvider) Reset()
func (*CloudflareProvider) String ¶
func (x *CloudflareProvider) 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"` // 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) DynamicNodePools ¶ added in v0.9.1
func (c *ClusterInfo) DynamicNodePools() []*DynamicNodePool
DynamicNodePools returns slice of dynamic node pools.
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) Id ¶ added in v0.9.1
func (c *ClusterInfo) Id() string
Id returns the ID of the cluster.
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 ClusterState ¶
type ClusterState struct { Current *Clusters `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Desired *Clusters `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"` Events *Events `protobuf:"bytes,3,opt,name=events,proto3" json:"events,omitempty"` State *Workflow `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ClusterState) Descriptor
deprecated
func (*ClusterState) Descriptor() ([]byte, []int)
Deprecated: Use ClusterState.ProtoReflect.Descriptor instead.
func (*ClusterState) GetCurrent ¶
func (x *ClusterState) GetCurrent() *Clusters
func (*ClusterState) GetDesired ¶
func (x *ClusterState) GetDesired() *Clusters
func (*ClusterState) GetEvents ¶
func (x *ClusterState) GetEvents() *Events
func (*ClusterState) GetState ¶
func (x *ClusterState) GetState() *Workflow
func (*ClusterState) ProtoMessage ¶
func (*ClusterState) ProtoMessage()
func (*ClusterState) ProtoReflect ¶
func (x *ClusterState) ProtoReflect() protoreflect.Message
func (*ClusterState) Reset ¶
func (x *ClusterState) Reset()
func (*ClusterState) String ¶
func (x *ClusterState) 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 Clusters ¶
type Clusters struct { K8S *K8Scluster `protobuf:"bytes,1,opt,name=k8s,proto3" json:"k8s,omitempty"` LoadBalancers *LoadBalancers `protobuf:"bytes,2,opt,name=loadBalancers,proto3" json:"loadBalancers,omitempty"` // contains filtered or unexported fields }
func (*Clusters) Descriptor
deprecated
func (*Clusters) GetK8S ¶
func (x *Clusters) GetK8S() *K8Scluster
func (*Clusters) GetLoadBalancers ¶
func (x *Clusters) GetLoadBalancers() *LoadBalancers
func (*Clusters) ProtoMessage ¶
func (*Clusters) ProtoMessage()
func (*Clusters) ProtoReflect ¶
func (x *Clusters) ProtoReflect() protoreflect.Message
type Config ¶
type Config struct { // version of the config. Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Config name - same as input manifest name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Information related within a k8s context. K8SCtx *KubernetesContext `protobuf:"bytes,3,opt,name=k8sCtx,proto3" json:"k8sCtx,omitempty"` // Client defined manifest. Manifest *Manifest `protobuf:"bytes,4,opt,name=manifest,proto3" json:"manifest,omitempty"` // Clusters parsed from the supplied manifest. Clusters map[string]*ClusterState `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
Config holds data for a single manifest.
func (*Config) Descriptor
deprecated
func (*Config) GetClusters ¶
func (x *Config) GetClusters() map[string]*ClusterState
func (*Config) GetK8SCtx ¶
func (x *Config) GetK8SCtx() *KubernetesContext
func (*Config) GetManifest ¶
func (*Config) GetVersion ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type CreateState ¶
type CreateState struct { K8S *K8Scluster `protobuf:"bytes,1,opt,name=k8s,proto3" json:"k8s,omitempty"` Lbs *LoadBalancers `protobuf:"bytes,2,opt,name=lbs,proto3" json:"lbs,omitempty"` // contains filtered or unexported fields }
func (*CreateState) Descriptor
deprecated
func (*CreateState) Descriptor() ([]byte, []int)
Deprecated: Use CreateState.ProtoReflect.Descriptor instead.
func (*CreateState) GetK8S ¶
func (x *CreateState) GetK8S() *K8Scluster
func (*CreateState) GetLbs ¶
func (x *CreateState) GetLbs() *LoadBalancers
func (*CreateState) ProtoMessage ¶
func (*CreateState) ProtoMessage()
func (*CreateState) ProtoReflect ¶
func (x *CreateState) ProtoReflect() protoreflect.Message
func (*CreateState) Reset ¶
func (x *CreateState) Reset()
func (*CreateState) String ¶
func (x *CreateState) String() string
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 DeleteState ¶
type DeleteState struct { K8S *K8Scluster `protobuf:"bytes,1,opt,name=k8s,proto3" json:"k8s,omitempty"` Lbs *LoadBalancers `protobuf:"bytes,2,opt,name=lbs,proto3" json:"lbs,omitempty"` Nodepools map[string]*DeletedNodes `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteState) Descriptor
deprecated
func (*DeleteState) Descriptor() ([]byte, []int)
Deprecated: Use DeleteState.ProtoReflect.Descriptor instead.
func (*DeleteState) GetK8S ¶
func (x *DeleteState) GetK8S() *K8Scluster
func (*DeleteState) GetLbs ¶
func (x *DeleteState) GetLbs() *LoadBalancers
func (*DeleteState) GetNodepools ¶
func (x *DeleteState) GetNodepools() map[string]*DeletedNodes
func (*DeleteState) ProtoMessage ¶
func (*DeleteState) ProtoMessage()
func (*DeleteState) ProtoReflect ¶
func (x *DeleteState) ProtoReflect() protoreflect.Message
func (*DeleteState) Reset ¶
func (x *DeleteState) Reset()
func (*DeleteState) String ¶
func (x *DeleteState) String() string
type DeletedNodes ¶
type DeletedNodes struct { Nodes []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*DeletedNodes) Descriptor
deprecated
func (*DeletedNodes) Descriptor() ([]byte, []int)
Deprecated: Use DeletedNodes.ProtoReflect.Descriptor instead.
func (*DeletedNodes) GetNodes ¶
func (x *DeletedNodes) GetNodes() []string
func (*DeletedNodes) ProtoMessage ¶
func (*DeletedNodes) ProtoMessage()
func (*DeletedNodes) ProtoReflect ¶
func (x *DeletedNodes) ProtoReflect() protoreflect.Message
func (*DeletedNodes) Reset ¶
func (x *DeletedNodes) Reset()
func (*DeletedNodes) String ¶
func (x *DeletedNodes) String() string
type DynamicNodePool ¶
type DynamicNodePool struct { // Machine type of the nodes. ServerType string `protobuf:"bytes,1,opt,name=serverType,proto3" json:"serverType,omitempty"` // OS image of the nodes. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // Storage disk size of the nodes. StorageDiskSize int32 `protobuf:"varint,3,opt,name=storageDiskSize,proto3" json:"storageDiskSize,omitempty"` // Geograhical region of the nodes. Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // Datacentre zone for the nodes. Zone string `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"` // Number of the nodes in the node pool. Count int32 `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"` // Provider configuarion of the node pool. Provider *Provider `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"` // Autoscaler configuration. (optional) AutoscalerConfig *AutoscalerConf `protobuf:"bytes,9,opt,name=autoscalerConfig,proto3" json:"autoscalerConfig,omitempty"` // MachineSpec configuration. (optional) MachineSpec *MachineSpec `protobuf:"bytes,10,opt,name=machineSpec,proto3" json:"machineSpec,omitempty"` PublicKey string `protobuf:"bytes,11,opt,name=publicKey,proto3" json:"publicKey,omitempty"` PrivateKey string `protobuf:"bytes,12,opt,name=privateKey,proto3" json:"privateKey,omitempty"` // Cidr initially empty, will be set once the infra // is spawned using terraform. Cidr string `protobuf:"bytes,14,opt,name=cidr,proto3" json:"cidr,omitempty"` // contains filtered or unexported fields }
DynamicNodePool represents dynamic node pool used in cluster.
func (*DynamicNodePool) Descriptor
deprecated
func (*DynamicNodePool) Descriptor() ([]byte, []int)
Deprecated: Use DynamicNodePool.ProtoReflect.Descriptor instead.
func (*DynamicNodePool) GetAutoscalerConfig ¶
func (x *DynamicNodePool) GetAutoscalerConfig() *AutoscalerConf
func (*DynamicNodePool) GetCidr ¶
func (x *DynamicNodePool) GetCidr() string
func (*DynamicNodePool) GetCount ¶
func (x *DynamicNodePool) GetCount() int32
func (*DynamicNodePool) GetImage ¶
func (x *DynamicNodePool) GetImage() string
func (*DynamicNodePool) GetMachineSpec ¶
func (x *DynamicNodePool) GetMachineSpec() *MachineSpec
func (*DynamicNodePool) GetPrivateKey ¶
func (x *DynamicNodePool) GetPrivateKey() string
func (*DynamicNodePool) GetProvider ¶
func (x *DynamicNodePool) GetProvider() *Provider
func (*DynamicNodePool) GetPublicKey ¶
func (x *DynamicNodePool) GetPublicKey() string
func (*DynamicNodePool) GetRegion ¶
func (x *DynamicNodePool) GetRegion() string
func (*DynamicNodePool) GetServerType ¶
func (x *DynamicNodePool) GetServerType() string
func (*DynamicNodePool) GetStorageDiskSize ¶
func (x *DynamicNodePool) GetStorageDiskSize() int32
func (*DynamicNodePool) GetZone ¶
func (x *DynamicNodePool) GetZone() string
func (*DynamicNodePool) ProtoMessage ¶
func (*DynamicNodePool) ProtoMessage()
func (*DynamicNodePool) ProtoReflect ¶
func (x *DynamicNodePool) ProtoReflect() protoreflect.Message
func (*DynamicNodePool) Reset ¶
func (x *DynamicNodePool) Reset()
func (*DynamicNodePool) String ¶
func (x *DynamicNodePool) String() string
type Event ¶
type Event int32
func (Event) Descriptor ¶
func (Event) Descriptor() protoreflect.EnumDescriptor
func (Event) EnumDescriptor
deprecated
func (Event) Number ¶
func (x Event) Number() protoreflect.EnumNumber
func (Event) Type ¶
func (Event) Type() protoreflect.EnumType
type Events ¶
type Events struct { Events []*TaskEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` Ttl int32 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` Autoscaled bool `protobuf:"varint,3,opt,name=autoscaled,proto3" json:"autoscaled,omitempty"` // contains filtered or unexported fields }
func (*Events) Descriptor
deprecated
func (*Events) GetAutoscaled ¶
func (*Events) ProtoMessage ¶
func (*Events) ProtoMessage()
func (*Events) ProtoReflect ¶
func (x *Events) ProtoReflect() protoreflect.Message
type GCPProvider ¶
type GCPProvider struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*GCPProvider) Descriptor
deprecated
func (*GCPProvider) Descriptor() ([]byte, []int)
Deprecated: Use GCPProvider.ProtoReflect.Descriptor instead.
func (*GCPProvider) GetKey ¶
func (x *GCPProvider) GetKey() string
func (*GCPProvider) GetProject ¶
func (x *GCPProvider) GetProject() string
func (*GCPProvider) ProtoMessage ¶
func (*GCPProvider) ProtoMessage()
func (*GCPProvider) ProtoReflect ¶
func (x *GCPProvider) ProtoReflect() protoreflect.Message
func (*GCPProvider) Reset ¶
func (x *GCPProvider) Reset()
func (*GCPProvider) String ¶
func (x *GCPProvider) String() string
type GenesisCloudProvider ¶
type GenesisCloudProvider struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GenesisCloudProvider) Descriptor
deprecated
func (*GenesisCloudProvider) Descriptor() ([]byte, []int)
Deprecated: Use GenesisCloudProvider.ProtoReflect.Descriptor instead.
func (*GenesisCloudProvider) GetToken ¶
func (x *GenesisCloudProvider) GetToken() string
func (*GenesisCloudProvider) ProtoMessage ¶
func (*GenesisCloudProvider) ProtoMessage()
func (*GenesisCloudProvider) ProtoReflect ¶
func (x *GenesisCloudProvider) ProtoReflect() protoreflect.Message
func (*GenesisCloudProvider) Reset ¶
func (x *GenesisCloudProvider) Reset()
func (*GenesisCloudProvider) String ¶
func (x *GenesisCloudProvider) String() string
type HetznerDNSProvider ¶
type HetznerDNSProvider struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*HetznerDNSProvider) Descriptor
deprecated
func (*HetznerDNSProvider) Descriptor() ([]byte, []int)
Deprecated: Use HetznerDNSProvider.ProtoReflect.Descriptor instead.
func (*HetznerDNSProvider) GetToken ¶
func (x *HetznerDNSProvider) GetToken() string
func (*HetznerDNSProvider) ProtoMessage ¶
func (*HetznerDNSProvider) ProtoMessage()
func (*HetznerDNSProvider) ProtoReflect ¶
func (x *HetznerDNSProvider) ProtoReflect() protoreflect.Message
func (*HetznerDNSProvider) Reset ¶
func (x *HetznerDNSProvider) Reset()
func (*HetznerDNSProvider) String ¶
func (x *HetznerDNSProvider) String() string
type HetznerProvider ¶
type HetznerProvider struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*HetznerProvider) Descriptor
deprecated
func (*HetznerProvider) Descriptor() ([]byte, []int)
Deprecated: Use HetznerProvider.ProtoReflect.Descriptor instead.
func (*HetznerProvider) GetToken ¶
func (x *HetznerProvider) GetToken() string
func (*HetznerProvider) ProtoMessage ¶
func (*HetznerProvider) ProtoMessage()
func (*HetznerProvider) ProtoReflect ¶
func (x *HetznerProvider) ProtoReflect() protoreflect.Message
func (*HetznerProvider) Reset ¶
func (x *HetznerProvider) Reset()
func (*HetznerProvider) String ¶
func (x *HetznerProvider) String() string
type InstallationProxy ¶ added in v0.9.1
type InstallationProxy struct { // Proxy installation mode. Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"` // Proxy endpoint used to access the proxy. Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
InstallationProxy holds general information about a proxy used to build a K8s cluster.
func (*InstallationProxy) Descriptor
deprecated
added in
v0.9.1
func (*InstallationProxy) Descriptor() ([]byte, []int)
Deprecated: Use InstallationProxy.ProtoReflect.Descriptor instead.
func (*InstallationProxy) GetEndpoint ¶ added in v0.9.1
func (x *InstallationProxy) GetEndpoint() string
func (*InstallationProxy) GetMode ¶ added in v0.9.1
func (x *InstallationProxy) GetMode() string
func (*InstallationProxy) ProtoMessage ¶ added in v0.9.1
func (*InstallationProxy) ProtoMessage()
func (*InstallationProxy) ProtoReflect ¶ added in v0.9.1
func (x *InstallationProxy) ProtoReflect() protoreflect.Message
func (*InstallationProxy) Reset ¶ added in v0.9.1
func (x *InstallationProxy) Reset()
func (*InstallationProxy) String ¶ added in v0.9.1
func (x *InstallationProxy) 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"` // General information about a proxy used to build a K8s cluster. InstallationProxy *InstallationProxy `protobuf:"bytes,5,opt,name=installationProxy,proto3" json:"installationProxy,omitempty"` // contains filtered or unexported fields }
K8scluster represents a single kubernetes cluster specified in the manifest.
func (*K8Scluster) AnyAutoscaledNodePools ¶ added in v0.9.1
func (c *K8Scluster) AnyAutoscaledNodePools() bool
AnyAutoscaledNodePools returns true, if cluster has at least one nodepool with autoscaler config.
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) GetInstallationProxy ¶ added in v0.9.1
func (x *K8Scluster) GetInstallationProxy() *InstallationProxy
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) NodeCount ¶ added in v0.9.1
func (c *K8Scluster) NodeCount() int
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 KubernetesContext ¶
type KubernetesContext struct { // name represents the input manifest resource name in Kubernetes Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // namespace represents the input manifest resource namespace in Kubernetes Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*KubernetesContext) Descriptor
deprecated
func (*KubernetesContext) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesContext.ProtoReflect.Descriptor instead.
func (*KubernetesContext) GetName ¶
func (x *KubernetesContext) GetName() string
func (*KubernetesContext) GetNamespace ¶
func (x *KubernetesContext) GetNamespace() string
func (*KubernetesContext) ProtoMessage ¶
func (*KubernetesContext) ProtoMessage()
func (*KubernetesContext) ProtoReflect ¶
func (x *KubernetesContext) ProtoReflect() protoreflect.Message
func (*KubernetesContext) Reset ¶
func (x *KubernetesContext) Reset()
func (*KubernetesContext) String ¶
func (x *KubernetesContext) String() string
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) HasApiRole ¶ added in v0.9.1
func (*LBcluster) ProtoMessage ¶
func (*LBcluster) ProtoMessage()
func (*LBcluster) ProtoReflect ¶
func (x *LBcluster) ProtoReflect() protoreflect.Message
type LoadBalancers ¶
type LoadBalancers struct { Clusters []*LBcluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancers) Descriptor
deprecated
func (*LoadBalancers) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancers.ProtoReflect.Descriptor instead.
func (*LoadBalancers) GetClusters ¶
func (x *LoadBalancers) GetClusters() []*LBcluster
func (*LoadBalancers) ProtoMessage ¶
func (*LoadBalancers) ProtoMessage()
func (*LoadBalancers) ProtoReflect ¶
func (x *LoadBalancers) ProtoReflect() protoreflect.Message
func (*LoadBalancers) Reset ¶
func (x *LoadBalancers) Reset()
func (*LoadBalancers) String ¶
func (x *LoadBalancers) String() string
type MachineSpec ¶
type MachineSpec struct { CpuCount int32 `protobuf:"varint,1,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"` Memory int32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
MachineSpec further specifies the requested server type.
func (*MachineSpec) Descriptor
deprecated
func (*MachineSpec) Descriptor() ([]byte, []int)
Deprecated: Use MachineSpec.ProtoReflect.Descriptor instead.
func (*MachineSpec) GetCpuCount ¶
func (x *MachineSpec) GetCpuCount() int32
func (*MachineSpec) GetMemory ¶
func (x *MachineSpec) GetMemory() int32
func (*MachineSpec) ProtoMessage ¶
func (*MachineSpec) ProtoMessage()
func (*MachineSpec) ProtoReflect ¶
func (x *MachineSpec) ProtoReflect() protoreflect.Message
func (*MachineSpec) Reset ¶
func (x *MachineSpec) Reset()
func (*MachineSpec) String ¶
func (x *MachineSpec) String() string
type Manifest ¶
type Manifest struct { Raw string `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` Checksum []byte `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` LastAppliedChecksum []byte `protobuf:"bytes,3,opt,name=lastAppliedChecksum,proto3" json:"lastAppliedChecksum,omitempty"` State Manifest_State `protobuf:"varint,4,opt,name=state,proto3,enum=spec.Manifest_State" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Manifest) Descriptor
deprecated
func (*Manifest) GetChecksum ¶
func (*Manifest) GetLastAppliedChecksum ¶
func (*Manifest) GetState ¶
func (x *Manifest) GetState() Manifest_State
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶
func (x *Manifest) ProtoReflect() protoreflect.Message
type Manifest_State ¶
type Manifest_State int32
const ( Manifest_Pending Manifest_State = 0 Manifest_Scheduled Manifest_State = 1 Manifest_Done Manifest_State = 2 Manifest_Error Manifest_State = 3 )
func (Manifest_State) Descriptor ¶
func (Manifest_State) Descriptor() protoreflect.EnumDescriptor
func (Manifest_State) Enum ¶
func (x Manifest_State) Enum() *Manifest_State
func (Manifest_State) EnumDescriptor
deprecated
func (Manifest_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Manifest_State.Descriptor instead.
func (Manifest_State) Number ¶
func (x Manifest_State) Number() protoreflect.EnumNumber
func (Manifest_State) String ¶
func (x Manifest_State) String() string
func (Manifest_State) Type ¶
func (Manifest_State) Type() protoreflect.EnumType
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=spec.NodeType" json:"nodeType,omitempty"` // Username of a user with root privileges. Also used in SSH connection Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,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) GetUsername ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodePool ¶
type NodePool struct { // Dynamic or Static node pool info. // // Types that are assignable to Type: // // *NodePool_DynamicNodePool // *NodePool_StaticNodePool Type isNodePool_Type `protobuf_oneof:"Type"` // Name of static node pool. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Array of nodes in this node pool. Nodes []*Node `protobuf:"bytes,4,rep,name=nodes,proto3" json:"nodes,omitempty"` // Flag to differentiate between control and compute nodes. IsControl bool `protobuf:"varint,5,opt,name=isControl,proto3" json:"isControl,omitempty"` // User defined labels. Labels map[string]string `` /* 153-byte string literal not displayed */ // User defined taints. Taints []*Taint `protobuf:"bytes,7,rep,name=taints,proto3" json:"taints,omitempty"` // User definded annotations. Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
NodePool represents a single node pool used in cluster.
func (*NodePool) Descriptor
deprecated
func (*NodePool) EndpointNode ¶ added in v0.9.1
EndpointNode searches for a node with type ApiEndpoint.
func (*NodePool) GetAnnotations ¶
func (*NodePool) GetDynamicNodePool ¶
func (x *NodePool) GetDynamicNodePool() *DynamicNodePool
func (*NodePool) GetIsControl ¶
func (*NodePool) GetStaticNodePool ¶
func (x *NodePool) GetStaticNodePool() *StaticNodePool
func (*NodePool) ProtoMessage ¶
func (*NodePool) ProtoMessage()
func (*NodePool) ProtoReflect ¶
func (x *NodePool) ProtoReflect() protoreflect.Message
type NodePool_DynamicNodePool ¶
type NodePool_DynamicNodePool struct {
DynamicNodePool *DynamicNodePool `protobuf:"bytes,1,opt,name=dynamicNodePool,proto3,oneof"`
}
type NodePool_StaticNodePool ¶
type NodePool_StaticNodePool struct {
StaticNodePool *StaticNodePool `protobuf:"bytes,2,opt,name=staticNodePool,proto3,oneof"`
}
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 OCIProvider ¶
type OCIProvider struct { UserOCID string `protobuf:"bytes,1,opt,name=userOCID,proto3" json:"userOCID,omitempty"` TenancyOCID string `protobuf:"bytes,2,opt,name=tenancyOCID,proto3" json:"tenancyOCID,omitempty"` KeyFingerprint string `protobuf:"bytes,3,opt,name=keyFingerprint,proto3" json:"keyFingerprint,omitempty"` CompartmentOCID string `protobuf:"bytes,4,opt,name=compartmentOCID,proto3" json:"compartmentOCID,omitempty"` PrivateKey string `protobuf:"bytes,5,opt,name=privateKey,proto3" json:"privateKey,omitempty"` // contains filtered or unexported fields }
func (*OCIProvider) Descriptor
deprecated
func (*OCIProvider) Descriptor() ([]byte, []int)
Deprecated: Use OCIProvider.ProtoReflect.Descriptor instead.
func (*OCIProvider) GetCompartmentOCID ¶
func (x *OCIProvider) GetCompartmentOCID() string
func (*OCIProvider) GetKeyFingerprint ¶
func (x *OCIProvider) GetKeyFingerprint() string
func (*OCIProvider) GetPrivateKey ¶
func (x *OCIProvider) GetPrivateKey() string
func (*OCIProvider) GetTenancyOCID ¶
func (x *OCIProvider) GetTenancyOCID() string
func (*OCIProvider) GetUserOCID ¶
func (x *OCIProvider) GetUserOCID() string
func (*OCIProvider) ProtoMessage ¶
func (*OCIProvider) ProtoMessage()
func (*OCIProvider) ProtoReflect ¶
func (x *OCIProvider) ProtoReflect() protoreflect.Message
func (*OCIProvider) Reset ¶
func (x *OCIProvider) Reset()
func (*OCIProvider) String ¶
func (x *OCIProvider) String() string
type Provider ¶
type Provider struct { SpecName string `protobuf:"bytes,1,opt,name=specName,proto3" json:"specName,omitempty"` CloudProviderName string `protobuf:"bytes,2,opt,name=cloudProviderName,proto3" json:"cloudProviderName,omitempty"` // Types that are assignable to ProviderType: // // *Provider_Gcp // *Provider_Hetzner // *Provider_Hetznerdns // *Provider_Oci // *Provider_Aws // *Provider_Azure // *Provider_Cloudflare // *Provider_Genesiscloud ProviderType isProvider_ProviderType `protobuf_oneof:"ProviderType"` Templates *TemplateRepository `protobuf:"bytes,13,opt,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*Provider) Credentials ¶ added in v0.9.1
Credentials extract the key for the provider to be used within terraform.
func (*Provider) Descriptor
deprecated
func (*Provider) GetAws ¶
func (x *Provider) GetAws() *AWSProvider
func (*Provider) GetAzure ¶
func (x *Provider) GetAzure() *AzureProvider
func (*Provider) GetCloudProviderName ¶
func (*Provider) GetCloudflare ¶
func (x *Provider) GetCloudflare() *CloudflareProvider
func (*Provider) GetGcp ¶
func (x *Provider) GetGcp() *GCPProvider
func (*Provider) GetGenesiscloud ¶
func (x *Provider) GetGenesiscloud() *GenesisCloudProvider
func (*Provider) GetHetzner ¶
func (x *Provider) GetHetzner() *HetznerProvider
func (*Provider) GetHetznerdns ¶
func (x *Provider) GetHetznerdns() *HetznerDNSProvider
func (*Provider) GetOci ¶
func (x *Provider) GetOci() *OCIProvider
func (*Provider) GetProviderType ¶
func (m *Provider) GetProviderType() isProvider_ProviderType
func (*Provider) GetSpecName ¶
func (*Provider) GetTemplates ¶
func (x *Provider) GetTemplates() *TemplateRepository
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
type Provider_Aws ¶
type Provider_Aws struct {
Aws *AWSProvider `protobuf:"bytes,7,opt,name=aws,proto3,oneof"`
}
type Provider_Azure ¶
type Provider_Azure struct {
Azure *AzureProvider `protobuf:"bytes,8,opt,name=azure,proto3,oneof"`
}
type Provider_Cloudflare ¶
type Provider_Cloudflare struct {
Cloudflare *CloudflareProvider `protobuf:"bytes,9,opt,name=cloudflare,proto3,oneof"`
}
type Provider_Gcp ¶
type Provider_Gcp struct {
Gcp *GCPProvider `protobuf:"bytes,3,opt,name=gcp,proto3,oneof"`
}
type Provider_Genesiscloud ¶
type Provider_Genesiscloud struct {
Genesiscloud *GenesisCloudProvider `protobuf:"bytes,10,opt,name=genesiscloud,proto3,oneof"`
}
type Provider_Hetzner ¶
type Provider_Hetzner struct {
Hetzner *HetznerProvider `protobuf:"bytes,4,opt,name=hetzner,proto3,oneof"`
}
type Provider_Hetznerdns ¶
type Provider_Hetznerdns struct {
Hetznerdns *HetznerDNSProvider `protobuf:"bytes,5,opt,name=hetznerdns,proto3,oneof"`
}
type Provider_Oci ¶
type Provider_Oci struct {
Oci *OCIProvider `protobuf:"bytes,6,opt,name=oci,proto3,oneof"`
}
type ProxyEnvs ¶ added in v0.9.1
type ProxyEnvs struct { // Signal a need to update proxy envs UpdateProxyEnvsFlag bool `protobuf:"varint,1,opt,name=updateProxyEnvsFlag,proto3" json:"updateProxyEnvsFlag,omitempty"` // Holds a proxy endpoint. HttpProxyUrl string `protobuf:"bytes,2,opt,name=httpProxyUrl,proto3" json:"httpProxyUrl,omitempty"` // Holds a list of IPs and hostnames that aren't routed through proxy. NoProxyList string `protobuf:"bytes,3,opt,name=noProxyList,proto3" json:"noProxyList,omitempty"` // contains filtered or unexported fields }
ProxyEnvs holds information about a need to update proxy envs, proxy endpoint, and no proxy list.
func (*ProxyEnvs) Descriptor
deprecated
added in
v0.9.1
func (*ProxyEnvs) GetHttpProxyUrl ¶ added in v0.9.1
func (*ProxyEnvs) GetNoProxyList ¶ added in v0.9.1
func (*ProxyEnvs) GetUpdateProxyEnvsFlag ¶ added in v0.9.1
func (*ProxyEnvs) ProtoMessage ¶ added in v0.9.1
func (*ProxyEnvs) ProtoMessage()
func (*ProxyEnvs) ProtoReflect ¶ added in v0.9.1
func (x *ProxyEnvs) ProtoReflect() protoreflect.Message
type Retry ¶ added in v0.9.1
type Retry struct { // Types that are assignable to Do: // // *Retry_Repeat_ // *Retry_Rollback_ Do isRetry_Do `protobuf_oneof:"Do"` // contains filtered or unexported fields }
func (*Retry) Descriptor
deprecated
added in
v0.9.1
func (*Retry) GetRepeat ¶ added in v0.9.1
func (x *Retry) GetRepeat() *Retry_Repeat
func (*Retry) GetRollback ¶ added in v0.9.1
func (x *Retry) GetRollback() *Retry_Rollback
func (*Retry) ProtoMessage ¶ added in v0.9.1
func (*Retry) ProtoMessage()
func (*Retry) ProtoReflect ¶ added in v0.9.1
func (x *Retry) ProtoReflect() protoreflect.Message
type Retry_Repeat ¶ added in v0.9.1
type Retry_Repeat struct { Kind Retry_Repeat_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=spec.Retry_Repeat_Kind" json:"kind,omitempty"` // currentTick specifies the current number of ticks. // A tick is an regular interval at which manifests are being checked. // to check the Tick timeout see: manager/internal/service/watchers.go CurrentTick uint32 `protobuf:"varint,2,opt,name=currentTick,proto3" json:"currentTick,omitempty"` // stopAfter specifies the maximum number of ticks, after reaching this value the manifest will be rescheduled // for the last time before giving up. StopAfter uint32 `protobuf:"varint,3,opt,name=stopAfter,proto3" json:"stopAfter,omitempty"` // retryAfter specifies the number of ticks to wait before rescheduling the manifest again. // this value will be set to the value of currentTick after it is updated. RetryAfter uint32 `protobuf:"varint,4,opt,name=retryAfter,proto3" json:"retryAfter,omitempty"` // contains filtered or unexported fields }
func (*Retry_Repeat) Descriptor
deprecated
added in
v0.9.1
func (*Retry_Repeat) Descriptor() ([]byte, []int)
Deprecated: Use Retry_Repeat.ProtoReflect.Descriptor instead.
func (*Retry_Repeat) GetCurrentTick ¶ added in v0.9.1
func (x *Retry_Repeat) GetCurrentTick() uint32
func (*Retry_Repeat) GetKind ¶ added in v0.9.1
func (x *Retry_Repeat) GetKind() Retry_Repeat_Kind
func (*Retry_Repeat) GetRetryAfter ¶ added in v0.9.1
func (x *Retry_Repeat) GetRetryAfter() uint32
func (*Retry_Repeat) GetStopAfter ¶ added in v0.9.1
func (x *Retry_Repeat) GetStopAfter() uint32
func (*Retry_Repeat) ProtoMessage ¶ added in v0.9.1
func (*Retry_Repeat) ProtoMessage()
func (*Retry_Repeat) ProtoReflect ¶ added in v0.9.1
func (x *Retry_Repeat) ProtoReflect() protoreflect.Message
func (*Retry_Repeat) Reset ¶ added in v0.9.1
func (x *Retry_Repeat) Reset()
func (*Retry_Repeat) String ¶ added in v0.9.1
func (x *Retry_Repeat) String() string
type Retry_Repeat_ ¶ added in v0.9.1
type Retry_Repeat_ struct {
Repeat *Retry_Repeat `protobuf:"bytes,3,opt,name=repeat,proto3,oneof"`
}
type Retry_Repeat_Kind ¶ added in v0.9.1
type Retry_Repeat_Kind int32
const ( Retry_Repeat_ENDLESS Retry_Repeat_Kind = 0 Retry_Repeat_EXPONENTIAL Retry_Repeat_Kind = 1 )
func (Retry_Repeat_Kind) Descriptor ¶ added in v0.9.1
func (Retry_Repeat_Kind) Descriptor() protoreflect.EnumDescriptor
func (Retry_Repeat_Kind) Enum ¶ added in v0.9.1
func (x Retry_Repeat_Kind) Enum() *Retry_Repeat_Kind
func (Retry_Repeat_Kind) EnumDescriptor
deprecated
added in
v0.9.1
func (Retry_Repeat_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Retry_Repeat_Kind.Descriptor instead.
func (Retry_Repeat_Kind) Number ¶ added in v0.9.1
func (x Retry_Repeat_Kind) Number() protoreflect.EnumNumber
func (Retry_Repeat_Kind) String ¶ added in v0.9.1
func (x Retry_Repeat_Kind) String() string
func (Retry_Repeat_Kind) Type ¶ added in v0.9.1
func (Retry_Repeat_Kind) Type() protoreflect.EnumType
type Retry_Rollback ¶ added in v0.9.1
type Retry_Rollback struct { Tasks []*TaskEvent `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // contains filtered or unexported fields }
func (*Retry_Rollback) Descriptor
deprecated
added in
v0.9.1
func (*Retry_Rollback) Descriptor() ([]byte, []int)
Deprecated: Use Retry_Rollback.ProtoReflect.Descriptor instead.
func (*Retry_Rollback) GetTasks ¶ added in v0.9.1
func (x *Retry_Rollback) GetTasks() []*TaskEvent
func (*Retry_Rollback) ProtoMessage ¶ added in v0.9.1
func (*Retry_Rollback) ProtoMessage()
func (*Retry_Rollback) ProtoReflect ¶ added in v0.9.1
func (x *Retry_Rollback) ProtoReflect() protoreflect.Message
func (*Retry_Rollback) Reset ¶ added in v0.9.1
func (x *Retry_Rollback) Reset()
func (*Retry_Rollback) String ¶ added in v0.9.1
func (x *Retry_Rollback) String() string
type Retry_Rollback_ ¶ added in v0.9.1
type Retry_Rollback_ struct {
Rollback *Retry_Rollback `protobuf:"bytes,4,opt,name=rollback,proto3,oneof"`
}
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. TargetPools []string `protobuf:"bytes,7,rep,name=targetPools,proto3" json:"targetPools,omitempty"` // Type of the role. RoleType RoleType `protobuf:"varint,6,opt,name=roleType,proto3,enum=spec.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) GetTargetPools ¶
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 StaticNodePool ¶
type StaticNodePool struct { // Map of keys for each static node in [<Node Endpoint>]<Key> form. NodeKeys map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
StaticNodePool represents static node pool used in cluster.
func (*StaticNodePool) Descriptor
deprecated
func (*StaticNodePool) Descriptor() ([]byte, []int)
Deprecated: Use StaticNodePool.ProtoReflect.Descriptor instead.
func (*StaticNodePool) GetNodeKeys ¶
func (x *StaticNodePool) GetNodeKeys() map[string]string
func (*StaticNodePool) ProtoMessage ¶
func (*StaticNodePool) ProtoMessage()
func (*StaticNodePool) ProtoReflect ¶
func (x *StaticNodePool) ProtoReflect() protoreflect.Message
func (*StaticNodePool) Reset ¶
func (x *StaticNodePool) Reset()
func (*StaticNodePool) String ¶
func (x *StaticNodePool) String() string
type StaticNodepoolInfo ¶
type StaticNodepoolInfo int32
Enum used to replace data not present in static nodepools.
const ( StaticNodepoolInfo_STATIC_PROVIDER StaticNodepoolInfo = 0 StaticNodepoolInfo_STATIC_REGION StaticNodepoolInfo = 1 StaticNodepoolInfo_STATIC_ZONE StaticNodepoolInfo = 2 )
func (StaticNodepoolInfo) Descriptor ¶
func (StaticNodepoolInfo) Descriptor() protoreflect.EnumDescriptor
func (StaticNodepoolInfo) Enum ¶
func (x StaticNodepoolInfo) Enum() *StaticNodepoolInfo
func (StaticNodepoolInfo) EnumDescriptor
deprecated
func (StaticNodepoolInfo) EnumDescriptor() ([]byte, []int)
Deprecated: Use StaticNodepoolInfo.Descriptor instead.
func (StaticNodepoolInfo) Number ¶
func (x StaticNodepoolInfo) Number() protoreflect.EnumNumber
func (StaticNodepoolInfo) String ¶
func (x StaticNodepoolInfo) String() string
func (StaticNodepoolInfo) Type ¶
func (StaticNodepoolInfo) Type() protoreflect.EnumType
type Taint ¶
type Taint struct { // Taint key. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Taint value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Taint effect. Effect string `protobuf:"bytes,3,opt,name=effect,proto3" json:"effect,omitempty"` // contains filtered or unexported fields }
Taint defines a custom defined taint for the node pools.
func (*Taint) Descriptor
deprecated
func (*Taint) ProtoMessage ¶
func (*Taint) ProtoMessage()
func (*Taint) ProtoReflect ¶
func (x *Taint) ProtoReflect() protoreflect.Message
type Task ¶
type Task struct { CreateState *CreateState `protobuf:"bytes,1,opt,name=createState,proto3" json:"createState,omitempty"` UpdateState *UpdateState `protobuf:"bytes,2,opt,name=updateState,proto3" json:"updateState,omitempty"` DeleteState *DeleteState `protobuf:"bytes,3,opt,name=deleteState,proto3" json:"deleteState,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetCreateState ¶
func (x *Task) GetCreateState() *CreateState
func (*Task) GetDeleteState ¶
func (x *Task) GetDeleteState() *DeleteState
func (*Task) GetUpdateState ¶
func (x *Task) GetUpdateState() *UpdateState
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type TaskEvent ¶
type TaskEvent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Event Event `protobuf:"varint,3,opt,name=event,proto3,enum=spec.Event" json:"event,omitempty"` Task *Task `protobuf:"bytes,4,opt,name=task,proto3" json:"task,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` OnError *Retry `protobuf:"bytes,7,opt,name=onError,proto3" json:"onError,omitempty"` // contains filtered or unexported fields }
func (*TaskEvent) Descriptor
deprecated
func (*TaskEvent) GetDescription ¶
func (*TaskEvent) GetOnError ¶
func (*TaskEvent) GetTimestamp ¶
func (x *TaskEvent) GetTimestamp() *timestamppb.Timestamp
func (*TaskEvent) ProtoMessage ¶
func (*TaskEvent) ProtoMessage()
func (*TaskEvent) ProtoReflect ¶
func (x *TaskEvent) ProtoReflect() protoreflect.Message
type TemplateRepository ¶
type TemplateRepository struct { Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Tag *string `protobuf:"bytes,2,opt,name=tag,proto3,oneof" json:"tag,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` CommitHash string `protobuf:"bytes,4,opt,name=commitHash,proto3" json:"commitHash,omitempty"` // contains filtered or unexported fields }
func (*TemplateRepository) Descriptor
deprecated
func (*TemplateRepository) Descriptor() ([]byte, []int)
Deprecated: Use TemplateRepository.ProtoReflect.Descriptor instead.
func (*TemplateRepository) GetCommitHash ¶
func (x *TemplateRepository) GetCommitHash() string
func (*TemplateRepository) GetPath ¶
func (x *TemplateRepository) GetPath() string
func (*TemplateRepository) GetRepository ¶
func (x *TemplateRepository) GetRepository() string
func (*TemplateRepository) GetTag ¶
func (x *TemplateRepository) GetTag() string
func (*TemplateRepository) MustExtractTargetPath ¶ added in v0.9.1
func (r *TemplateRepository) MustExtractTargetPath() string
MustExtractTargetPath returns the target path of the external template repository. If the URL of the repository is invalid this functions panics. The target path is the path where the templates should be downloaded on the local filesystem.
func (*TemplateRepository) ProtoMessage ¶
func (*TemplateRepository) ProtoMessage()
func (*TemplateRepository) ProtoReflect ¶
func (x *TemplateRepository) ProtoReflect() protoreflect.Message
func (*TemplateRepository) Reset ¶
func (x *TemplateRepository) Reset()
func (*TemplateRepository) String ¶
func (x *TemplateRepository) String() string
type UpdateState ¶
type UpdateState struct { K8S *K8Scluster `protobuf:"bytes,1,opt,name=k8s,proto3" json:"k8s,omitempty"` Lbs *LoadBalancers `protobuf:"bytes,2,opt,name=lbs,proto3" json:"lbs,omitempty"` Endpoint *UpdateState_Endpoint `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*UpdateState) Descriptor
deprecated
func (*UpdateState) Descriptor() ([]byte, []int)
Deprecated: Use UpdateState.ProtoReflect.Descriptor instead.
func (*UpdateState) GetEndpoint ¶
func (x *UpdateState) GetEndpoint() *UpdateState_Endpoint
func (*UpdateState) GetK8S ¶
func (x *UpdateState) GetK8S() *K8Scluster
func (*UpdateState) GetLbs ¶
func (x *UpdateState) GetLbs() *LoadBalancers
func (*UpdateState) ProtoMessage ¶
func (*UpdateState) ProtoMessage()
func (*UpdateState) ProtoReflect ¶
func (x *UpdateState) ProtoReflect() protoreflect.Message
func (*UpdateState) Reset ¶
func (x *UpdateState) Reset()
func (*UpdateState) String ¶
func (x *UpdateState) String() string
type UpdateState_Endpoint ¶
type UpdateState_Endpoint struct { Nodepool string `protobuf:"bytes,1,opt,name=nodepool,proto3" json:"nodepool,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*UpdateState_Endpoint) Descriptor
deprecated
func (*UpdateState_Endpoint) Descriptor() ([]byte, []int)
Deprecated: Use UpdateState_Endpoint.ProtoReflect.Descriptor instead.
func (*UpdateState_Endpoint) GetNode ¶
func (x *UpdateState_Endpoint) GetNode() string
func (*UpdateState_Endpoint) GetNodepool ¶
func (x *UpdateState_Endpoint) GetNodepool() string
func (*UpdateState_Endpoint) ProtoMessage ¶
func (*UpdateState_Endpoint) ProtoMessage()
func (*UpdateState_Endpoint) ProtoReflect ¶
func (x *UpdateState_Endpoint) ProtoReflect() protoreflect.Message
func (*UpdateState_Endpoint) Reset ¶
func (x *UpdateState_Endpoint) Reset()
func (*UpdateState_Endpoint) String ¶
func (x *UpdateState_Endpoint) String() string
type Workflow ¶
type Workflow struct { Stage Workflow_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=spec.Workflow_Stage" json:"stage,omitempty"` Status Workflow_Status `protobuf:"varint,2,opt,name=status,proto3,enum=spec.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
func (*Workflow) GetDescription ¶
func (*Workflow) GetStage ¶
func (x *Workflow) GetStage() Workflow_Stage
func (*Workflow) GetStatus ¶
func (x *Workflow) GetStatus() Workflow_Status
func (*Workflow) ProtoMessage ¶
func (*Workflow) ProtoMessage()
func (*Workflow) ProtoReflect ¶
func (x *Workflow) ProtoReflect() protoreflect.Message
type Workflow_Stage ¶
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 // 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 ¶
func (Workflow_Stage) Descriptor() protoreflect.EnumDescriptor
func (Workflow_Stage) Enum ¶
func (x Workflow_Stage) Enum() *Workflow_Stage
func (Workflow_Stage) EnumDescriptor
deprecated
func (Workflow_Stage) EnumDescriptor() ([]byte, []int)
Deprecated: Use Workflow_Stage.Descriptor instead.
func (Workflow_Stage) Number ¶
func (x Workflow_Stage) Number() protoreflect.EnumNumber
func (Workflow_Stage) String ¶
func (x Workflow_Stage) String() string
func (Workflow_Stage) Type ¶
func (Workflow_Stage) Type() protoreflect.EnumType
type Workflow_Status ¶
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 ¶
func (Workflow_Status) Descriptor() protoreflect.EnumDescriptor
func (Workflow_Status) Enum ¶
func (x Workflow_Status) Enum() *Workflow_Status
func (Workflow_Status) EnumDescriptor
deprecated
func (Workflow_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Workflow_Status.Descriptor instead.
func (Workflow_Status) Number ¶
func (x Workflow_Status) Number() protoreflect.EnumNumber
func (Workflow_Status) String ¶
func (x Workflow_Status) String() string
func (Workflow_Status) Type ¶
func (Workflow_Status) Type() protoreflect.EnumType