Versions in this module Expand all Collapse all v0 v0.5.2 Nov 6, 2019 v0.5.1 Sep 2, 2019 Changes in this version type PostgresSpec + MasterKeyURL string v0.5.0 Jul 29, 2019 Changes in this version + const AWSClusterProviderKind + const AWSMachineProviderKind + const AWSProviderApiVersion + const AWSProviderGroupName + const AzureProviderApiVersion + const AzureProviderClusterKind + const AzureProviderGroupName + const AzureProviderMachineKind + const CACertCommonName + const CACertName + const DefaultKubernetesBindPort + const ETCDCACertCommonName + const ETCDCACertName + const FrontProxyCACertCommonName + const FrontProxyCACertName + const GroupName + const KubeadmVersionKey + const NodeLabelKey_Checksum + const NodePoolKey + const PharmerCluster + const PodNetworkCalico + const PodNetworkCanal + const PodNetworkFlannel + const ResourceCodeNodeGroup + const ResourceKindCluster + const ResourceKindNodeGroup + const ResourceNameCluster + const ResourceNameNodeGroup + const ResourceTypeCluster + const ResourceTypeNodeGroup + const RetryInterval + const RetryTimeout + const RoleKeyPrefix + const RoleMaster + const RoleMasterKey + const RoleNode + const RoleNodeKey + const SAKeyCommonName + const SAKeyName + const ServiceAccountName + var AddToScheme = localSchemeBuilder.AddToScheme + var ManagedProviders = sets.NewString("aks", "gke", "eks", "dokube") + var SchemeBuilder runtime.SchemeBuilder + var SchemeGroupVersion = schema.GroupVersion + func AssignTypeKind(v interface{}) error + func Convert_KubeConfig_To_Config(in *KubeConfig) *clientcmdapi.Config + func ErrAlreadyExist(err error) bool + func ErrObjectModified(err error) bool + type API struct + AdvertiseAddress string + BindPort int32 + func (in *API) DeepCopy() *API + func (in *API) DeepCopyInto(out *API) + type AWSSpec struct + BastionSGName string + IAMProfileMaster string + IAMProfileNode string + MasterIPSuffix string + MasterSGName string + NodeSGName string + PrivateSubnetCIDR string + PublicSubnetCIDR string + VpcCIDR string + VpcCIDRBase string + func (in *AWSSpec) DeepCopy() *AWSSpec + func (in *AWSSpec) DeepCopyInto(out *AWSSpec) + type AWSStatus struct + BastionSGId string + MasterSGId string + NodeSGId string + func (in *AWSStatus) DeepCopy() *AWSStatus + func (in *AWSStatus) DeepCopyInto(out *AWSStatus) + type AzureCloudConfig struct + AadClientID string + AadClientSecret string + Cloud string + CloudProviderBackoff bool + CloudProviderBackoffDuration int + CloudProviderBackoffExponent float32 + CloudProviderBackoffJitter float32 + CloudProviderBackoffRetries int + CloudProviderRateLimitBucket int + CloudProviderRateLimitQPS float32 + CloudProviderRatelimit bool + ExcludeMasterFromStandardLB bool + LoadBalancerSku string + Location string + MaximumLoadBalancerRuleCount int + PrimaryAvailabilitySetName string + PrimaryScaleSetName string + ProviderKeyName string + ProviderKeyVersion string + ProviderVaultName string + ResourceGroup string + RouteTableName string + SecurityGroupName string + SubnetName string + SubscriptionID string + TenantID string + UseInstanceMetadata bool + UseManagedIdentityExtension bool + UserAssignedIdentityID string + VMType string + VnetName string + func (in *AzureCloudConfig) DeepCopy() *AzureCloudConfig + func (in *AzureCloudConfig) DeepCopyInto(out *AzureCloudConfig) + type AzureSpec struct + AzureDNSZone string + ControlPlaneSubnetCIDR string + InstanceImageVersion string + InternalLBIPAddress string + NodeSubnetCIDR string + ResourceGroup string + RootPassword string + RouteTableName string + SecurityGroupName string + StorageAccountName string + SubnetCIDR string + SubnetName string + SubscriptionID string + VPCCIDR string + VnetName string + func (in *AzureSpec) DeepCopy() *AzureSpec + func (in *AzureSpec) DeepCopyInto(out *AzureSpec) + type AzureStorageSpec struct + Container string + Prefix string + func (in *AzureStorageSpec) DeepCopy() *AzureStorageSpec + func (in *AzureStorageSpec) DeepCopyInto(out *AzureStorageSpec) + type CloudSpec struct + AWS *AWSSpec + Azure *AzureSpec + CloudProvider string + Dokube *DokubeSpec + GCE *GoogleSpec + GKE *GKESpec + InstanceImage string + InstanceImageProject string + Linode *LinodeSpec + NetworkProvider string + OS string + Project string + Region string + SSHKeyName string + Zone string + func (in *CloudSpec) DeepCopy() *CloudSpec + func (in *CloudSpec) DeepCopyInto(out *CloudSpec) + type CloudStatus struct + AWS *AWSStatus + EKS *EKSStatus + LoadBalancer LoadBalancer + SSHKeyExternalID string + func (in *CloudStatus) DeepCopy() *CloudStatus + func (in *CloudStatus) DeepCopyInto(out *CloudStatus) + type Cluster struct + Spec PharmerClusterSpec + Status PharmerClusterStatus + func (c *Cluster) APIServerAddress() string + func (c *Cluster) APIServerURL() string + func (c *Cluster) CloudProvider() string + func (c *Cluster) ClusterConfig() ClusterConfig + func (c *Cluster) GenSSHKeyExternalID() string + func (c *Cluster) InitClusterAPI() + func (c *Cluster) MasterMachineName(n int) string + func (c *Cluster) SetClusterAPIEndpoints(addresses []core.NodeAddress) error + func (c *Cluster) SetNetworkingDefaults(provider string) + func (c Cluster) IsLessThanVersion(in string) bool + func (in *Cluster) DeepCopy() *Cluster + func (in *Cluster) DeepCopyInto(out *Cluster) + func (in *Cluster) DeepCopyObject() runtime.Object + type ClusterConfig struct + APIServerCertSANs []string + APIServerExtraArgs map[string]string + AuthorizationModes []string + Cloud CloudSpec + ControllerManagerExtraArgs map[string]string + CredentialName string + KubeletExtraArgs map[string]string + KubernetesVersion string + MasterCount int + SSHUserName string + SchedulerExtraArgs map[string]string + func (in *ClusterConfig) DeepCopy() *ClusterConfig + func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig) + type ClusterPhase string + const ClusterDeleted + const ClusterDeleting + const ClusterPending + const ClusterReady + const ClusterUpgrading + type ClusterState struct + DNSVersion string + KubeVersion string + KubeadmVersion string + KubeletVersions map[string]uint32 + func (in *ClusterState) DeepCopy() *ClusterState + func (in *ClusterState) DeepCopyInto(out *ClusterState) + type DokubeSpec struct + ClusterID string + func (in *DokubeSpec) DeepCopy() *DokubeSpec + func (in *DokubeSpec) DeepCopyInto(out *DokubeSpec) + type EKSStatus struct + RoleArn string + SecurityGroup string + SubnetID string + VpcID string + func (in *EKSStatus) DeepCopy() *EKSStatus + func (in *EKSStatus) DeepCopyInto(out *EKSStatus) + type ExecConfig struct + APIVersion string + Args []string + Command string + Env []ExecEnvVar + func (in *ExecConfig) DeepCopy() *ExecConfig + func (in *ExecConfig) DeepCopyInto(out *ExecConfig) + type ExecEnvVar struct + Name string + Value string + func (in *ExecEnvVar) DeepCopy() *ExecEnvVar + func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) + type GCECloudConfig struct + Multizone bool + NetworkName string + NodeInstancePrefix string + NodeTags []string + ProjectID string + TokenBody string + TokenURL string + func (in *GCECloudConfig) DeepCopy() *GCECloudConfig + func (in *GCECloudConfig) DeepCopyInto(out *GCECloudConfig) + type GCSSpec struct + Bucket string + Prefix string + func (in *GCSSpec) DeepCopy() *GCSSpec + func (in *GCSSpec) DeepCopyInto(out *GCSSpec) + type GKESpec struct + NetworkName string + Password string + UserName string + func (in *GKESpec) DeepCopy() *GKESpec + func (in *GKESpec) DeepCopyInto(out *GKESpec) + type GoogleSpec struct + NetworkName string + NodeScopes []string + NodeTags []string + func (in *GoogleSpec) DeepCopy() *GoogleSpec + func (in *GoogleSpec) DeepCopyInto(out *GoogleSpec) + type IPType string + type KubeConfig struct + AuthInfo NamedAuthInfo + Cluster NamedCluster + Context NamedContext + Preferences Preferences + func (in *KubeConfig) DeepCopy() *KubeConfig + func (in *KubeConfig) DeepCopyInto(out *KubeConfig) + func (in *KubeConfig) DeepCopyObject() runtime.Object + type LinodeCloudConfig struct + Token string + Zone string + func (in *LinodeCloudConfig) DeepCopy() *LinodeCloudConfig + func (in *LinodeCloudConfig) DeepCopyInto(out *LinodeCloudConfig) + type LinodeSpec struct + KernelID string + RootPassword string + func (in *LinodeSpec) DeepCopy() *LinodeSpec + func (in *LinodeSpec) DeepCopyInto(out *LinodeSpec) + type LoadBalancer struct + DNS string + IP string + Port int + func (in *LoadBalancer) DeepCopy() *LoadBalancer + func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer) + type LocalSpec struct + Path string + func (in *LocalSpec) DeepCopy() *LocalSpec + func (in *LocalSpec) DeepCopyInto(out *LocalSpec) + type MachineRole string + const MasterMachineRole + const NodeMachineRole + type NamedAuthInfo struct + ClientCertificateData []byte + ClientKeyData []byte + Exec *ExecConfig + Name string + Password string + Token string + Username string + func (in *NamedAuthInfo) DeepCopy() *NamedAuthInfo + func (in *NamedAuthInfo) DeepCopyInto(out *NamedAuthInfo) + type NamedCluster struct + CertificateAuthorityData []byte + Name string + Server string + func (in *NamedCluster) DeepCopy() *NamedCluster + func (in *NamedCluster) DeepCopyInto(out *NamedCluster) + type NamedContext struct + AuthInfo string + Cluster string + Name string + func (in *NamedContext) DeepCopy() *NamedContext + func (in *NamedContext) DeepCopyInto(out *NamedContext) + type NodeInfo struct + DiskId string + ExternalID string + Name string + PrivateIP string + PublicIP string + func (in *NodeInfo) DeepCopy() *NodeInfo + func (in *NodeInfo) DeepCopyInto(out *NodeInfo) + func (in *NodeInfo) DeepCopyObject() runtime.Object + type NodeLabels map[string]string + func (in NodeLabels) DeepCopy() NodeLabels + func (in NodeLabels) DeepCopyInto(out *NodeLabels) + func (n NodeLabels) String() string + type NodeSpec struct + DiskSize int64 + DiskType string + ExternalIPType IPType + KubeletExtraArgs map[string]string + SKU string + SpotPriceMax float64 + Type NodeType + func (in *NodeSpec) DeepCopy() *NodeSpec + func (in *NodeSpec) DeepCopyInto(out *NodeSpec) + type NodeType string + const MachineSlecetor + const NodeTypeSpot + type Operation struct + ClusterID int64 + Code string + ID int64 + State OperationState + UserID int64 + func (Operation) TableName() string + func (in *Operation) DeepCopy() *Operation + func (in *Operation) DeepCopyInto(out *Operation) + type OperationState int + const OperationDone + const OperationPending + const OperationRunning + type PacketCloudConfig struct + APIKey string + Project string + Zone string + func (in *PacketCloudConfig) DeepCopy() *PacketCloudConfig + func (in *PacketCloudConfig) DeepCopyInto(out *PacketCloudConfig) + type PharmerClusterSpec struct + AuditSink bool + ClusterAPI clusterapi.Cluster + Config ClusterConfig + func (in *PharmerClusterSpec) DeepCopy() *PharmerClusterSpec + func (in *PharmerClusterSpec) DeepCopyInto(out *PharmerClusterSpec) + type PharmerClusterStatus struct + Cloud CloudStatus + Phase ClusterPhase + Reason string + func (in *PharmerClusterStatus) DeepCopy() *PharmerClusterStatus + func (in *PharmerClusterStatus) DeepCopyInto(out *PharmerClusterStatus) + type PharmerConfig struct + Context string + Credentials []cloudapi.Credential + Store StorageBackend + func (in *PharmerConfig) DeepCopy() *PharmerConfig + func (in *PharmerConfig) DeepCopyInto(out *PharmerConfig) + func (in *PharmerConfig) DeepCopyObject() runtime.Object + func (pc PharmerConfig) GetStoreType() string + type PostgresSpec struct + DbName string + Host string + Password string + Port int64 + User string + func (in *PostgresSpec) DeepCopy() *PostgresSpec + func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec) + type Preferences struct + Colors bool + func (in *Preferences) DeepCopy() *Preferences + func (in *Preferences) DeepCopyInto(out *Preferences) + type ReservedIP struct + ID string + IP string + Name string + func (in *ReservedIP) DeepCopy() *ReservedIP + func (in *ReservedIP) DeepCopyInto(out *ReservedIP) + type S3Spec struct + Bucket string + Endpoint string + Prefix string + func (in *S3Spec) DeepCopy() *S3Spec + func (in *S3Spec) DeepCopyInto(out *S3Spec) + type SSHConfig struct + HostIP string + HostPort int32 + PrivateKey []byte + User string + func (in *SSHConfig) DeepCopy() *SSHConfig + func (in *SSHConfig) DeepCopyInto(out *SSHConfig) + type StorageBackend struct + Azure *AzureStorageSpec + CredentialName string + GCS *GCSSpec + Local *LocalSpec + Postgres *PostgresSpec + S3 *S3Spec + Swift *SwiftSpec + func (in *StorageBackend) DeepCopy() *StorageBackend + func (in *StorageBackend) DeepCopyInto(out *StorageBackend) + type SwiftSpec struct + Container string + Prefix string + func (in *SwiftSpec) DeepCopy() *SwiftSpec + func (in *SwiftSpec) DeepCopyInto(out *SwiftSpec) + type Upgrade struct + After ClusterState + Before ClusterState + Description string + func (in *Upgrade) DeepCopy() *Upgrade + func (in *Upgrade) DeepCopyInto(out *Upgrade) + func (in *Upgrade) DeepCopyObject() runtime.Object + func (u *Upgrade) CanUpgradeKubelets() bool + type VultrCloudConfig struct + Token string + func (in *VultrCloudConfig) DeepCopy() *VultrCloudConfig + func (in *VultrCloudConfig) DeepCopyInto(out *VultrCloudConfig)