spec

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RoleType_name = map[int32]string{
		0: "ApiServer",
		1: "Ingress",
	}
	RoleType_value = map[string]int32{
		"ApiServer": 0,
		"Ingress":   1,
	}
)

Enum value maps for RoleType.

View Source
var (
	ClusterType_name = map[int32]string{
		0: "K8s",
		1: "LB",
	}
	ClusterType_value = map[string]int32{
		"K8s": 0,
		"LB":  1,
	}
)

Enum value maps for ClusterType.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_spec_dns_proto protoreflect.FileDescriptor
View Source
var File_spec_manifest_proto protoreflect.FileDescriptor
View Source
var File_spec_nodepool_proto protoreflect.FileDescriptor
View Source
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) GetHash

func (x *ClusterInfo) GetHash() string

func (*ClusterInfo) GetName

func (x *ClusterInfo) GetName() string

func (*ClusterInfo) GetNodePools

func (x *ClusterInfo) GetNodePools() []*NodePool

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use Clusters.ProtoReflect.Descriptor instead.

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

func (*Clusters) Reset

func (x *Clusters) Reset()

func (*Clusters) String

func (x *Clusters) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetClusters

func (x *Config) GetClusters() map[string]*ClusterState

func (*Config) GetK8SCtx

func (x *Config) GetK8SCtx() *KubernetesContext

func (*Config) GetManifest

func (x *Config) GetManifest() *Manifest

func (*Config) GetName

func (x *Config) GetName() string

func (*Config) GetVersion

func (x *Config) GetVersion() uint64

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type 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) Descriptor() ([]byte, []int)

Deprecated: Use DNS.ProtoReflect.Descriptor instead.

func (*DNS) GetDnsZone

func (x *DNS) GetDnsZone() string

func (*DNS) GetEndpoint

func (x *DNS) GetEndpoint() string

func (*DNS) GetHostname

func (x *DNS) GetHostname() string

func (*DNS) GetProvider

func (x *DNS) GetProvider() *Provider

func (*DNS) ProtoMessage

func (*DNS) ProtoMessage()

func (*DNS) ProtoReflect

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

func (*DNS) Reset

func (x *DNS) Reset()

func (*DNS) String

func (x *DNS) String() string

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
const (
	Event_UNKNOWN Event = 0
	Event_CREATE  Event = 1
	Event_UPDATE  Event = 2
	Event_DELETE  Event = 3
)

func (Event) Descriptor

func (Event) Descriptor() protoreflect.EnumDescriptor

func (Event) Enum

func (x Event) Enum() *Event

func (Event) EnumDescriptor deprecated

func (Event) EnumDescriptor() ([]byte, []int)

Deprecated: Use Event.Descriptor instead.

func (Event) Number

func (x Event) Number() protoreflect.EnumNumber

func (Event) String

func (x Event) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Events.ProtoReflect.Descriptor instead.

func (*Events) GetAutoscaled

func (x *Events) GetAutoscaled() bool

func (*Events) GetEvents

func (x *Events) GetEvents() []*TaskEvent

func (*Events) GetTtl

func (x *Events) GetTtl() int32

func (*Events) ProtoMessage

func (*Events) ProtoMessage()

func (*Events) ProtoReflect

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

func (*Events) Reset

func (x *Events) Reset()

func (*Events) String

func (x *Events) String() string

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 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 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) Descriptor() ([]byte, []int)

Deprecated: Use LBcluster.ProtoReflect.Descriptor instead.

func (*LBcluster) GetClusterInfo

func (x *LBcluster) GetClusterInfo() *ClusterInfo

func (*LBcluster) GetDns

func (x *LBcluster) GetDns() *DNS

func (*LBcluster) GetRoles

func (x *LBcluster) GetRoles() []*Role

func (*LBcluster) GetTargetedK8S

func (x *LBcluster) GetTargetedK8S() string

func (*LBcluster) ProtoMessage

func (*LBcluster) ProtoMessage()

func (*LBcluster) ProtoReflect

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

func (*LBcluster) Reset

func (x *LBcluster) Reset()

func (*LBcluster) String

func (x *LBcluster) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetChecksum

func (x *Manifest) GetChecksum() []byte

func (*Manifest) GetLastAppliedChecksum

func (x *Manifest) GetLastAppliedChecksum() []byte

func (*Manifest) GetRaw

func (x *Manifest) GetRaw() string

func (*Manifest) GetState

func (x *Manifest) GetState() Manifest_State

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

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

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

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) 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 (Manifest_State) String

func (x Manifest_State) String() string

func (Manifest_State) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetNodeType

func (x *Node) GetNodeType() NodeType

func (*Node) GetPrivate

func (x *Node) GetPrivate() string

func (*Node) GetPublic

func (x *Node) GetPublic() string

func (*Node) GetUsername

func (x *Node) GetUsername() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use NodePool.ProtoReflect.Descriptor instead.

func (*NodePool) GetAnnotations

func (x *NodePool) GetAnnotations() map[string]string

func (*NodePool) GetDynamicNodePool

func (x *NodePool) GetDynamicNodePool() *DynamicNodePool

func (*NodePool) GetIsControl

func (x *NodePool) GetIsControl() bool

func (*NodePool) GetLabels

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

func (*NodePool) GetName

func (x *NodePool) GetName() string

func (*NodePool) GetNodes

func (x *NodePool) GetNodes() []*Node

func (*NodePool) GetStaticNodePool

func (x *NodePool) GetStaticNodePool() *StaticNodePool

func (*NodePool) GetTaints

func (x *NodePool) GetTaints() []*Taint

func (*NodePool) GetType

func (m *NodePool) GetType() isNodePool_Type

func (*NodePool) ProtoMessage

func (*NodePool) ProtoMessage()

func (*NodePool) ProtoReflect

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

func (*NodePool) Reset

func (x *NodePool) Reset()

func (*NodePool) String

func (x *NodePool) String() string

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.

const (
	// Worker/Compute node.
	NodeType_worker NodeType = 0
	// Master/Control node.
	NodeType_master NodeType = 1
	// Master node, which is also an API endpoint.
	NodeType_apiEndpoint NodeType = 2
)

func (NodeType) Descriptor

func (NodeType) Descriptor() protoreflect.EnumDescriptor

func (NodeType) Enum

func (x NodeType) Enum() *NodeType

func (NodeType) EnumDescriptor deprecated

func (NodeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodeType.Descriptor instead.

func (NodeType) Number

func (x NodeType) Number() protoreflect.EnumNumber

func (NodeType) String

func (x NodeType) String() string

func (NodeType) Type

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) Descriptor deprecated

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

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetAws

func (x *Provider) GetAws() *AWSProvider

func (*Provider) GetAzure

func (x *Provider) GetAzure() *AzureProvider

func (*Provider) GetCloudProviderName

func (x *Provider) GetCloudProviderName() string

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 (x *Provider) GetSpecName() string

func (*Provider) GetTemplates

func (x *Provider) GetTemplates() *TemplateRepository

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

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

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

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 RetryStrategy

type RetryStrategy struct {
	Repeat   bool         `protobuf:"varint,1,opt,name=repeat,proto3" json:"repeat,omitempty"`
	Rollback []*TaskEvent `protobuf:"bytes,2,rep,name=rollback,proto3" json:"rollback,omitempty"`
	// contains filtered or unexported fields
}

func (*RetryStrategy) Descriptor deprecated

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

Deprecated: Use RetryStrategy.ProtoReflect.Descriptor instead.

func (*RetryStrategy) GetRepeat

func (x *RetryStrategy) GetRepeat() bool

func (*RetryStrategy) GetRollback

func (x *RetryStrategy) GetRollback() []*TaskEvent

func (*RetryStrategy) ProtoMessage

func (*RetryStrategy) ProtoMessage()

func (*RetryStrategy) ProtoReflect

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

func (*RetryStrategy) Reset

func (x *RetryStrategy) Reset()

func (*RetryStrategy) String

func (x *RetryStrategy) 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.
	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) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetPort

func (x *Role) GetPort() int32

func (*Role) GetProtocol

func (x *Role) GetProtocol() string

func (*Role) GetRoleType

func (x *Role) GetRoleType() RoleType

func (*Role) GetTargetPools

func (x *Role) GetTargetPools() []string

func (*Role) GetTargetPort

func (x *Role) GetTargetPort() int32

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleType

type RoleType int32

RoleType specifies the type of the role.

const (
	// API server load balancer.
	RoleType_ApiServer RoleType = 0
	// Ingress load balancer.
	RoleType_Ingress RoleType = 1
)

func (RoleType) Descriptor

func (RoleType) Descriptor() protoreflect.EnumDescriptor

func (RoleType) Enum

func (x RoleType) Enum() *RoleType

func (RoleType) EnumDescriptor deprecated

func (RoleType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoleType.Descriptor instead.

func (RoleType) Number

func (x RoleType) Number() protoreflect.EnumNumber

func (RoleType) String

func (x RoleType) String() string

func (RoleType) Type

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) Enum

func (StaticNodepoolInfo) EnumDescriptor deprecated

func (StaticNodepoolInfo) EnumDescriptor() ([]byte, []int)

Deprecated: Use StaticNodepoolInfo.Descriptor instead.

func (StaticNodepoolInfo) Number

func (StaticNodepoolInfo) String

func (x StaticNodepoolInfo) String() string

func (StaticNodepoolInfo) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Taint.ProtoReflect.Descriptor instead.

func (*Taint) GetEffect

func (x *Taint) GetEffect() string

func (*Taint) GetKey

func (x *Taint) GetKey() string

func (*Taint) GetValue

func (x *Taint) GetValue() string

func (*Taint) ProtoMessage

func (*Taint) ProtoMessage()

func (*Taint) ProtoReflect

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

func (*Taint) Reset

func (x *Taint) Reset()

func (*Taint) String

func (x *Taint) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Task.ProtoReflect.Descriptor instead.

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

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     *RetryStrategy         `protobuf:"bytes,6,opt,name=onError,proto3" json:"onError,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskEvent) Descriptor deprecated

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

Deprecated: Use TaskEvent.ProtoReflect.Descriptor instead.

func (*TaskEvent) GetDescription

func (x *TaskEvent) GetDescription() string

func (*TaskEvent) GetEvent

func (x *TaskEvent) GetEvent() Event

func (*TaskEvent) GetId

func (x *TaskEvent) GetId() string

func (*TaskEvent) GetOnError

func (x *TaskEvent) GetOnError() *RetryStrategy

func (*TaskEvent) GetTask

func (x *TaskEvent) GetTask() *Task

func (*TaskEvent) GetTimestamp

func (x *TaskEvent) GetTimestamp() *timestamppb.Timestamp

func (*TaskEvent) ProtoMessage

func (*TaskEvent) ProtoMessage()

func (*TaskEvent) ProtoReflect

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

func (*TaskEvent) Reset

func (x *TaskEvent) Reset()

func (*TaskEvent) String

func (x *TaskEvent) String() string

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) 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) Descriptor() ([]byte, []int)

Deprecated: Use Workflow.ProtoReflect.Descriptor instead.

func (*Workflow) GetDescription

func (x *Workflow) GetDescription() string

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

func (*Workflow) Reset

func (x *Workflow) Reset()

func (*Workflow) String

func (x *Workflow) String() string

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) 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 (Workflow_Stage) String

func (x Workflow_Stage) String() string

func (Workflow_Stage) Type

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) 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 (Workflow_Status) String

func (x Workflow_Status) String() string

func (Workflow_Status) Type

Jump to

Keyboard shortcuts

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