Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_Cluster(obj *Cluster)
- func SetDefaults_ClusterKubernetesAPIServerAmazonAccessLogs(obj *ClusterKubernetesAPIServerAmazonAccessLogs)
- func SetDefaults_ClusterKubernetesClusterAutoscaler(obj *ClusterKubernetesClusterAutoscaler)
- func SetDefaults_InstancePool(obj *InstancePool)
- func SetDefaults_Volume(obj *Volume)
- func SetObjectDefaults_Cluster(in *Cluster)
- func SetObjectDefaults_ClusterList(in *ClusterList)
- func SetObjectDefaults_InstancePool(in *InstancePool)
- func SetObjectDefaults_Volume(in *Volume)
- type AmazonESProxy
- type Cluster
- type ClusterAmazon
- type ClusterKubernetes
- type ClusterKubernetesAPIServer
- type ClusterKubernetesAPIServerAmazon
- type ClusterKubernetesAPIServerAmazonAccessLogs
- type ClusterKubernetesAPIServerOIDC
- type ClusterKubernetesCalico
- type ClusterKubernetesCalicoBackend
- type ClusterKubernetesClusterAutoscaler
- type ClusterKubernetesClusterAutoscalerOverprovisioning
- type ClusterKubernetesControllerManager
- type ClusterKubernetesDashboard
- type ClusterKubernetesGrafana
- type ClusterKubernetesHeapster
- type ClusterKubernetesInfluxDB
- type ClusterKubernetesKubelet
- type ClusterKubernetesPrometheus
- type ClusterKubernetesProxy
- type ClusterKubernetesScheduler
- type ClusterKubernetesTiller
- type ClusterList
- type ClusterPodSecurityPolicy
- type ClusterVaultHelper
- type EgressRule
- type Firewall
- type HTTPBasicAuth
- type IngressRule
- type InstancePool
- type InstancePoolAmazon
- type InstancePoolKubernetes
- type InternetGW
- type KubernetesAPI
- type Label
- type LoggingSink
- type LoggingSinkElasticsearch
- type LoggingSinkType
- type Network
- type SSH
- type Shared
- type Subnet
- type Taint
- type Values
- type Volume
Constants ¶
const ( CloudAmazon = "amazon" CloudAzure = "azure" CloudGoogle = "google" CloudBaremetal = "baremetal" CloudDigitalOcean = "digitalocean" )
const ( ClusterTypeHub = "hub" ClusterTypeClusterSingle = "cluster-single" ClusterTypeClusterMulti = "cluster-multi" )
const ( PrometheusModeFull = "Full" PrometheusModeExternalExportersOnly = "ExternalExportersOnly" PrometheusModeExternalScrapeTargetsOnly = "ExternalScrapeTargetsOnly" )
const ( KubernetesMasterRoleName = "master" KubernetesWorkerRoleName = "worker" KubernetesEtcdRoleName = "etcd" ImageBaseDefault = "centos-puppet-agent" ImageBaseDefaultWorker = "centos-puppet-agent-k8s-worker" )
constants for kubernetes role names
const ( InstancePoolSizeTiny = "tiny" InstancePoolSizeSmall = "small" InstancePoolSizeMedium = "medium" InstancePoolSizeLarge = "large" )
const ( InstancePoolTypeMaster = "master" InstancePoolTypeWorker = "worker" InstancePoolTypeEtcd = "etcd" InstancePoolTypeBastion = "bastion" // bastion node with public IP InstancePoolTypeJenkins = "jenkins" // jenkins CI/CD node InstancePoolTypeVault = "vault" InstancePoolTypeAll = "all" // master + worker + etcd InstancePoolTypeMasterEtcd = "master-etcd" // master + etcd InstancePoolTypeHybrid = "hybrid" // master + worker )
const ( LoggingSinkTypePlatform = LoggingSinkType("platform") // kernel, systemd, platform namespaces LoggingSinkTypeApplication = LoggingSinkType("application") // all other namespaces LoggingSinkTypeAudit = LoggingSinkType("audit") // api server audit logs LoggingSinkTypeAll = LoggingSinkType("all") )
const ( ExistingVPCAnnotationKey = "tarmak.io/existing-vpc-id" ExistingPublicSubnetIDsAnnotationKey = "tarmak.io/existing-public-subnet-ids" ExistingPrivateSubnetIDsAnnotationKey = "tarmak.io/existing-private-subnet-ids" )
exisiting VPC annotations
const ( NetworkTypeLocal = "local" NetworkTypePublic = "public" NetworkTypePrivate = "private" )
const ( VolumeTypeHDD = "hdd" VolumeTypeSSD = "ssd" )
const (
// represents Terraform in a destroy state
StateDestroy = "destroy"
)
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "cluster.k8s.io", Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetDefaults_Cluster ¶
func SetDefaults_Cluster(obj *Cluster)
func SetDefaults_ClusterKubernetesAPIServerAmazonAccessLogs ¶
func SetDefaults_ClusterKubernetesAPIServerAmazonAccessLogs(obj *ClusterKubernetesAPIServerAmazonAccessLogs)
func SetDefaults_ClusterKubernetesClusterAutoscaler ¶
func SetDefaults_ClusterKubernetesClusterAutoscaler(obj *ClusterKubernetesClusterAutoscaler)
func SetDefaults_InstancePool ¶
func SetDefaults_InstancePool(obj *InstancePool)
func SetDefaults_Volume ¶
func SetDefaults_Volume(obj *Volume)
func SetObjectDefaults_Cluster ¶
func SetObjectDefaults_Cluster(in *Cluster)
func SetObjectDefaults_ClusterList ¶
func SetObjectDefaults_ClusterList(in *ClusterList)
func SetObjectDefaults_InstancePool ¶
func SetObjectDefaults_InstancePool(in *InstancePool)
func SetObjectDefaults_Volume ¶
func SetObjectDefaults_Volume(in *Volume)
Types ¶
type AmazonESProxy ¶
type AmazonESProxy struct {
Port int `json:"port,omitempty"`
}
func (*AmazonESProxy) DeepCopy ¶
func (in *AmazonESProxy) DeepCopy() *AmazonESProxy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonESProxy.
func (*AmazonESProxy) DeepCopyInto ¶
func (in *AmazonESProxy) DeepCopyInto(out *AmazonESProxy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` CloudId string `json:"cloudId,omitempty"` InstancePools []InstancePool `json:"instancePools,omitempty"` Cloud string `json:"cloud,omitempty"` Location string `json:"location,omitempty"` Network *Network `json:"network,omitempty"` LoggingSinks []*LoggingSink `json:"loggingSinks,omitempty"` Values *Values `json:"values,omitempty"` KubernetesAPI *KubernetesAPI `json:"kubernetesAPI,omitempty"` GroupIdentifier string `json:"groupIdentifier,omitempty"` VaultHelper *ClusterVaultHelper `json:"vaultHelper,omitempty"` Environment string `json:"environment,omitempty"` Kubernetes *ClusterKubernetes `json:"kubernetes,omitempty"` Type string `json:"-"` // This specifies if a cluster is a hub, single or multi // Amazon specific options Amazon *ClusterAmazon `json:"amazon"` }
func NewCluster ¶
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAmazon ¶
type ClusterAmazon struct { // This fields contains ARNs for additional IAM policies to be added to // this instance pool AdditionalIAMPolicies []string `json:"additionalIAMPolicies,omitempty"` // When set to true, AWS Elastic Block Storage volumes are encrypted EBSEncrypted *bool `json:"ebsEncrypted,omitempty"` }
ClusterAmazon offers Amazon-specific settings for that instance pool
func (*ClusterAmazon) DeepCopy ¶
func (in *ClusterAmazon) DeepCopy() *ClusterAmazon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAmazon.
func (*ClusterAmazon) DeepCopyInto ¶
func (in *ClusterAmazon) DeepCopyInto(out *ClusterAmazon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetes ¶
type ClusterKubernetes struct { Zone string `json:"zone,omitempty"` Version string `json:"version,omitempty"` PodCIDR string `json:"podCIDR,omitempty"` ServiceCIDR string `json:"serviceCIDR,omitempty"` ClusterAutoscaler *ClusterKubernetesClusterAutoscaler `json:"clusterAutoscaler,omitempty"` Tiller *ClusterKubernetesTiller `json:"tiller,omitempty"` Dashboard *ClusterKubernetesDashboard `json:"dashboard,omitempty"` PodSecurityPolicy *ClusterPodSecurityPolicy `json:"podSecurityPolicy,omitempty"` Prometheus *ClusterKubernetesPrometheus `json:"prometheus,omitempty"` Grafana *ClusterKubernetesGrafana `json:"grafana,omiempty"` Heapster *ClusterKubernetesHeapster `json:"heapster,omiempty"` InfluxDB *ClusterKubernetesInfluxDB `json:"influxDB,omiempty"` APIServer *ClusterKubernetesAPIServer `json:"apiServer,omitempty"` Kubelet *ClusterKubernetesKubelet `json:"kubelet,omitempty"` Scheduler *ClusterKubernetesScheduler `json:"scheduler,omitempty"` Proxy *ClusterKubernetesProxy `json:"proxy,omitempty"` ControllerManager *ClusterKubernetesControllerManager `json:"controllerManager,omitempty"` Calico *ClusterKubernetesCalico `json:"calico,omitempty"` GlobalFeatureGates map[string]bool `json:"globalFeatureGates,omitempty"` }
func (*ClusterKubernetes) DeepCopy ¶
func (in *ClusterKubernetes) DeepCopy() *ClusterKubernetes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetes.
func (*ClusterKubernetes) DeepCopyInto ¶
func (in *ClusterKubernetes) DeepCopyInto(out *ClusterKubernetes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesAPIServer ¶
type ClusterKubernetesAPIServer struct { // expose the API server through a public load balancer Public bool `json:"public,omitempty"` AllowCIDRs []string `json:"allowCIDRs,omitempty"` EnableAdmissionControllers []string `json:"enableAdmissionControllers,omitempty"` DisableAdmissionControllers []string `json:"disableAdmissionControllers,omitempty"` // OIDC OIDC *ClusterKubernetesAPIServerOIDC `json:"oidc,omitempty"` // AWS specific options Amazon *ClusterKubernetesAPIServerAmazon `json:"amazon,omitempty"` AuthTokenWebhookFile string `json:"authTokenWebhookFile,omitempty"` FeatureGates map[string]bool `json:"featureGates,omitempty"` }
func (*ClusterKubernetesAPIServer) DeepCopy ¶
func (in *ClusterKubernetesAPIServer) DeepCopy() *ClusterKubernetesAPIServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesAPIServer.
func (*ClusterKubernetesAPIServer) DeepCopyInto ¶
func (in *ClusterKubernetesAPIServer) DeepCopyInto(out *ClusterKubernetesAPIServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesAPIServerAmazon ¶
type ClusterKubernetesAPIServerAmazon struct { PublicELBAccessLogs *ClusterKubernetesAPIServerAmazonAccessLogs `json:"publicELBAccessLogs,omitempty"` InternalELBAccessLogs *ClusterKubernetesAPIServerAmazonAccessLogs `json:"internalELBAccessLogs,omitempty"` AwsIAMAuthenticatorInit bool `json:"awsIAMAuthenticatorInit,omitempty"` }
func (*ClusterKubernetesAPIServerAmazon) DeepCopy ¶
func (in *ClusterKubernetesAPIServerAmazon) DeepCopy() *ClusterKubernetesAPIServerAmazon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesAPIServerAmazon.
func (*ClusterKubernetesAPIServerAmazon) DeepCopyInto ¶
func (in *ClusterKubernetesAPIServerAmazon) DeepCopyInto(out *ClusterKubernetesAPIServerAmazon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesAPIServerAmazonAccessLogs ¶
type ClusterKubernetesAPIServerAmazonAccessLogs struct { Enabled *bool `json:"enabled,omitempty"` Bucket string `json:"bucket,omitempty"` BucketPrefix string `json:"bucketPrefix,omitempty"` Interval *int `json:"interval,omitempty"` }
func (*ClusterKubernetesAPIServerAmazonAccessLogs) DeepCopy ¶
func (in *ClusterKubernetesAPIServerAmazonAccessLogs) DeepCopy() *ClusterKubernetesAPIServerAmazonAccessLogs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesAPIServerAmazonAccessLogs.
func (*ClusterKubernetesAPIServerAmazonAccessLogs) DeepCopyInto ¶
func (in *ClusterKubernetesAPIServerAmazonAccessLogs) DeepCopyInto(out *ClusterKubernetesAPIServerAmazonAccessLogs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesAPIServerOIDC ¶
type ClusterKubernetesAPIServerOIDC struct { // The client ID for the OpenID Connect client, must be set if oidc-issuer-url is set. ClientID string `json:"clientID,omitempty" hiera:"kubernetes::apiserver::oidc_client_id"` // If provided, the name of a custom OpenID Connect claim for specifying // user groups. The claim value is expected to be a string or array of // strings. This flag is experimental, please see the authentication // documentation for further details. GroupsClaim string `json:"groupsClaim,omitempty" hiera:"kubernetes::apiserver::oidc_groups_claim"` // If provided, all groups will be prefixed with this value to prevent // conflicts with other authentication strategies. GroupsPrefix string `json:"groupsPrefix,omitempty" hiera:"kubernetes::apiserver::oidc_groups_prefix"` // The URL of the OpenID issuer, only HTTPS scheme will be accepted. If // set, it will be used to verify the OIDC JSON Web Token (JWT). IssuerURL string `json:"issuerURL,omitempty" hiera:"kubernetes::apiserver::oidc_issuer_url"` // Comma-separated list of allowed JOSE asymmetric signing algorithms. JWTs // with a 'alg' header value not in this list will be rejected. Values are // defined by RFC 7518 https://tools.ietf.org/html/rfc7518#section-3.1. // (default [RS256]) SigningAlgs []string `json:"signingAlgs,omitempty" hiera:"kubernetes::apiserver::oidc_signing_algs"` // The OpenID claim to use as the user name. Note that claims other than // the default ('sub') is not guaranteed to be unique and immutable. This // flag is experimental, please see the authentication documentation for // further details. (default "sub") UsernameClaim string `json:"usernameClaim,omitempty" hiera:"kubernetes::apiserver::oidc_username_claim"` // If provided, all usernames will be prefixed with this value. If not // provided, username claims other than 'email' are prefixed by the issuer // URL to avoid clashes. To skip any prefixing, provide the value '-'. UsernamePrefix string `json:"usernamePrefix,omitempty" hiera:"kubernetes::apiserver::oidc_username_prefix"` }
func (*ClusterKubernetesAPIServerOIDC) DeepCopy ¶
func (in *ClusterKubernetesAPIServerOIDC) DeepCopy() *ClusterKubernetesAPIServerOIDC
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesAPIServerOIDC.
func (*ClusterKubernetesAPIServerOIDC) DeepCopyInto ¶
func (in *ClusterKubernetesAPIServerOIDC) DeepCopyInto(out *ClusterKubernetesAPIServerOIDC)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesCalico ¶
type ClusterKubernetesCalico struct { Backend ClusterKubernetesCalicoBackend `json:"backend"` EnableTypha bool `json:"enableTypha"` TyphaReplicas *int `json:"typhaReplicas"` }
func (*ClusterKubernetesCalico) DeepCopy ¶
func (in *ClusterKubernetesCalico) DeepCopy() *ClusterKubernetesCalico
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesCalico.
func (*ClusterKubernetesCalico) DeepCopyInto ¶
func (in *ClusterKubernetesCalico) DeepCopyInto(out *ClusterKubernetesCalico)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesCalicoBackend ¶
type ClusterKubernetesCalicoBackend string
const ( CalicoBackendEtcd ClusterKubernetesCalicoBackend = "etcd" CalicoBackendKubernetes ClusterKubernetesCalicoBackend = "kubernetes" )
type ClusterKubernetesClusterAutoscaler ¶
type ClusterKubernetesClusterAutoscaler struct { Enabled bool `json:"enabled,omitempty"` Image string `json:"image,omitempty"` Version string `json:"version,omitempty"` ScaleDownUtilizationThreshold *float64 `json:"scaleDownUtilizationThreshold,omitempty"` Overprovisioning *ClusterKubernetesClusterAutoscalerOverprovisioning `json:"overprovisioning,omitempty"` }
func (*ClusterKubernetesClusterAutoscaler) DeepCopy ¶
func (in *ClusterKubernetesClusterAutoscaler) DeepCopy() *ClusterKubernetesClusterAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesClusterAutoscaler.
func (*ClusterKubernetesClusterAutoscaler) DeepCopyInto ¶
func (in *ClusterKubernetesClusterAutoscaler) DeepCopyInto(out *ClusterKubernetesClusterAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesClusterAutoscalerOverprovisioning ¶
type ClusterKubernetesClusterAutoscalerOverprovisioning struct { Enabled bool `json:"enabled,omitempty"` Image string `json:"image,omitempty"` Version string `json:"version,omitempty"` ReservedMillicoresPerReplica int `json:"reservedMillicoresPerReplica,omitempty"` ReservedMegabytesPerReplica int `json:"reservedMegabytesPerReplica,omitempty"` CoresPerReplica int `json:"coresPerReplica,omitempty"` NodesPerReplica int `json:"nodesPerReplica,omitempty"` ReplicaCount int `json:"replicaCount,omitempty"` }
func (*ClusterKubernetesClusterAutoscalerOverprovisioning) DeepCopy ¶
func (in *ClusterKubernetesClusterAutoscalerOverprovisioning) DeepCopy() *ClusterKubernetesClusterAutoscalerOverprovisioning
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesClusterAutoscalerOverprovisioning.
func (*ClusterKubernetesClusterAutoscalerOverprovisioning) DeepCopyInto ¶
func (in *ClusterKubernetesClusterAutoscalerOverprovisioning) DeepCopyInto(out *ClusterKubernetesClusterAutoscalerOverprovisioning)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesControllerManager ¶
type ClusterKubernetesControllerManager struct {
FeatureGates map[string]bool `json:"featureGates,omitempty"`
}
func (*ClusterKubernetesControllerManager) DeepCopy ¶
func (in *ClusterKubernetesControllerManager) DeepCopy() *ClusterKubernetesControllerManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesControllerManager.
func (*ClusterKubernetesControllerManager) DeepCopyInto ¶
func (in *ClusterKubernetesControllerManager) DeepCopyInto(out *ClusterKubernetesControllerManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesDashboard ¶
type ClusterKubernetesDashboard struct { Enabled bool `json:"enabled,omitempty"` Image string `json:"image,omitempty"` Version string `json:"version,omitempty"` }
func (*ClusterKubernetesDashboard) DeepCopy ¶
func (in *ClusterKubernetesDashboard) DeepCopy() *ClusterKubernetesDashboard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesDashboard.
func (*ClusterKubernetesDashboard) DeepCopyInto ¶
func (in *ClusterKubernetesDashboard) DeepCopyInto(out *ClusterKubernetesDashboard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesGrafana ¶
type ClusterKubernetesGrafana struct {
Enabled bool `json:"enabled,omitempty"`
}
func (*ClusterKubernetesGrafana) DeepCopy ¶
func (in *ClusterKubernetesGrafana) DeepCopy() *ClusterKubernetesGrafana
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesGrafana.
func (*ClusterKubernetesGrafana) DeepCopyInto ¶
func (in *ClusterKubernetesGrafana) DeepCopyInto(out *ClusterKubernetesGrafana)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesHeapster ¶
type ClusterKubernetesHeapster struct {
Enabled bool `json:"enabled,omitempty"`
}
func (*ClusterKubernetesHeapster) DeepCopy ¶
func (in *ClusterKubernetesHeapster) DeepCopy() *ClusterKubernetesHeapster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesHeapster.
func (*ClusterKubernetesHeapster) DeepCopyInto ¶
func (in *ClusterKubernetesHeapster) DeepCopyInto(out *ClusterKubernetesHeapster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesInfluxDB ¶
type ClusterKubernetesInfluxDB struct {
Enabled bool `json:"enabled,omitempty"`
}
func (*ClusterKubernetesInfluxDB) DeepCopy ¶
func (in *ClusterKubernetesInfluxDB) DeepCopy() *ClusterKubernetesInfluxDB
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesInfluxDB.
func (*ClusterKubernetesInfluxDB) DeepCopyInto ¶
func (in *ClusterKubernetesInfluxDB) DeepCopyInto(out *ClusterKubernetesInfluxDB)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesKubelet ¶
type ClusterKubernetesKubelet struct {
FeatureGates map[string]bool `json:"featureGates,omitempty"`
}
func (*ClusterKubernetesKubelet) DeepCopy ¶
func (in *ClusterKubernetesKubelet) DeepCopy() *ClusterKubernetesKubelet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesKubelet.
func (*ClusterKubernetesKubelet) DeepCopyInto ¶
func (in *ClusterKubernetesKubelet) DeepCopyInto(out *ClusterKubernetesKubelet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesPrometheus ¶
type ClusterKubernetesPrometheus struct { // Enable a cluster internal prometheus deployment, default: true Enabled bool `json:"enabled,omitempty"` // Mode defines which components are installed Mode string `json:"mode,omitempty"` }
Configure the cluster internal deployment of prometheus
func (*ClusterKubernetesPrometheus) DeepCopy ¶
func (in *ClusterKubernetesPrometheus) DeepCopy() *ClusterKubernetesPrometheus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesPrometheus.
func (*ClusterKubernetesPrometheus) DeepCopyInto ¶
func (in *ClusterKubernetesPrometheus) DeepCopyInto(out *ClusterKubernetesPrometheus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesProxy ¶
func (*ClusterKubernetesProxy) DeepCopy ¶
func (in *ClusterKubernetesProxy) DeepCopy() *ClusterKubernetesProxy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesProxy.
func (*ClusterKubernetesProxy) DeepCopyInto ¶
func (in *ClusterKubernetesProxy) DeepCopyInto(out *ClusterKubernetesProxy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesScheduler ¶
type ClusterKubernetesScheduler struct {
FeatureGates map[string]bool `json:"featureGates,omitempty"`
}
func (*ClusterKubernetesScheduler) DeepCopy ¶
func (in *ClusterKubernetesScheduler) DeepCopy() *ClusterKubernetesScheduler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesScheduler.
func (*ClusterKubernetesScheduler) DeepCopyInto ¶
func (in *ClusterKubernetesScheduler) DeepCopyInto(out *ClusterKubernetesScheduler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterKubernetesTiller ¶
type ClusterKubernetesTiller struct { Enabled bool `json:"enabled,omitempty"` Image string `json:"image,omitempty"` Version string `json:"version,omitempty"` }
func (*ClusterKubernetesTiller) DeepCopy ¶
func (in *ClusterKubernetesTiller) DeepCopy() *ClusterKubernetesTiller
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterKubernetesTiller.
func (*ClusterKubernetesTiller) DeepCopyInto ¶
func (in *ClusterKubernetesTiller) DeepCopyInto(out *ClusterKubernetesTiller)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPodSecurityPolicy ¶
type ClusterPodSecurityPolicy struct {
Enabled bool `json:"enabled,omitempty"`
}
func (*ClusterPodSecurityPolicy) DeepCopy ¶
func (in *ClusterPodSecurityPolicy) DeepCopy() *ClusterPodSecurityPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodSecurityPolicy.
func (*ClusterPodSecurityPolicy) DeepCopyInto ¶
func (in *ClusterPodSecurityPolicy) DeepCopyInto(out *ClusterPodSecurityPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVaultHelper ¶
type ClusterVaultHelper struct {
URL string `json:"url,omitempty"`
}
func (*ClusterVaultHelper) DeepCopy ¶
func (in *ClusterVaultHelper) DeepCopy() *ClusterVaultHelper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVaultHelper.
func (*ClusterVaultHelper) DeepCopyInto ¶
func (in *ClusterVaultHelper) DeepCopyInto(out *ClusterVaultHelper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressRule ¶
type EgressRule struct { EgressToPort string `json:"egressToPort,omitempty"` //this thing should be a string. EgressDestination string `json:"egressDestination,omitempty"` EgressProtocol string `json:"egressProtocol,omitempty"` }
EgressRule parameters for the firewall
func (*EgressRule) DeepCopy ¶
func (in *EgressRule) DeepCopy() *EgressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressRule.
func (*EgressRule) DeepCopyInto ¶
func (in *EgressRule) DeepCopyInto(out *EgressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Firewall ¶
type Firewall struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Identifier string `json:"identifier,omitempty"` IngressRules []*IngressRule `json:"ingressRules,omitempty"` EgressRules []*EgressRule `json:"egressRules,omitempty"` }
Firewall contains the configuration a user expects to be applied.
func (*Firewall) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Firewall.
func (*Firewall) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPBasicAuth ¶
type HTTPBasicAuth struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
func (*HTTPBasicAuth) DeepCopy ¶
func (in *HTTPBasicAuth) DeepCopy() *HTTPBasicAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPBasicAuth.
func (*HTTPBasicAuth) DeepCopyInto ¶
func (in *HTTPBasicAuth) DeepCopyInto(out *HTTPBasicAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRule ¶
type IngressRule struct { IngressFromPort string `json:"ingressFromPort,omitempty"` IngressToPort string `json:"ingressToPort,omitempty"` //this thing should be a string. IngressSource string `json:"ingressSource,omitempty"` IngressProtocol string `json:"ingressProtocol,omitempty"` }
IngressRule parameters for the firewall
func (*IngressRule) DeepCopy ¶
func (in *IngressRule) DeepCopy() *IngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (*IngressRule) DeepCopyInto ¶
func (in *IngressRule) DeepCopyInto(out *IngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstancePool ¶
type InstancePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Identifier string `json:"identifier,omitempty"` MinCount int `json:"minCount,omitempty"` MaxCount int `json:"maxCount,omitempty"` Type string `json:"type,omitempty"` Image string `json:"image,omitempty"` Size string `json:"size,omitempty"` SpotPrice string `json:"spotPrice,omitempty"` BootstrapScripts []string `json:"bootstrapScripts,omitempty"` Subnets []*Subnet `json:"subnets,omitempty"` Firewalls []*Firewall `json:"firewalls,omitempty"` Volumes []Volume `json:"volumes,omitempty"` Kubernetes *InstancePoolKubernetes `json:"kubernetes,omitempty"` AllowCIDRs []string `json:"allowCIDRs,omitempty"` Labels []*Label `json:"labels,omitempty"` Taints []*Taint `json:"taints,omitempty"` // Amazon specific settings for that instance pool Amazon *InstancePoolAmazon `json:"amazon,omitempty"` }
func (*InstancePool) DeepCopy ¶
func (in *InstancePool) DeepCopy() *InstancePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePool.
func (*InstancePool) DeepCopyInto ¶
func (in *InstancePool) DeepCopyInto(out *InstancePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstancePool) DeepCopyObject ¶
func (in *InstancePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstancePoolAmazon ¶
type InstancePoolAmazon struct { // This fields contains ARNs for additional IAM policies to be added to // this instance pool AdditionalIAMPolicies []string `json:"additionalIAMPolicies,omitempty"` }
Amazon specific settings for that instance pool
func (*InstancePoolAmazon) DeepCopy ¶
func (in *InstancePoolAmazon) DeepCopy() *InstancePoolAmazon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePoolAmazon.
func (*InstancePoolAmazon) DeepCopyInto ¶
func (in *InstancePoolAmazon) DeepCopyInto(out *InstancePoolAmazon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstancePoolKubernetes ¶
type InstancePoolKubernetes struct {
Version string `json:"version,omitempty"`
}
func (*InstancePoolKubernetes) DeepCopy ¶
func (in *InstancePoolKubernetes) DeepCopy() *InstancePoolKubernetes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePoolKubernetes.
func (*InstancePoolKubernetes) DeepCopyInto ¶
func (in *InstancePoolKubernetes) DeepCopyInto(out *InstancePoolKubernetes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternetGW ¶
type InternetGW struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Identifier string `json:"identifier,omitempty"` }
func (*InternetGW) DeepCopy ¶
func (in *InternetGW) DeepCopy() *InternetGW
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetGW.
func (*InternetGW) DeepCopyInto ¶
func (in *InternetGW) DeepCopyInto(out *InternetGW)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesAPI ¶
type KubernetesAPI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Endpoint string `json:"endpoint,omitempty"` Port string `json:"port,omitempty"` }
func (*KubernetesAPI) DeepCopy ¶
func (in *KubernetesAPI) DeepCopy() *KubernetesAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesAPI.
func (*KubernetesAPI) DeepCopyInto ¶
func (in *KubernetesAPI) DeepCopyInto(out *KubernetesAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Label ¶
Label structure for instancepool node labels
func (*Label) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Label.
func (*Label) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingSink ¶
type LoggingSink struct { Elasticsearch *LoggingSinkElasticsearch `json:"elasticsearch,omitempty"` Types []LoggingSinkType `json:"types,omitempty"` }
func (*LoggingSink) DeepCopy ¶
func (in *LoggingSink) DeepCopy() *LoggingSink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingSink.
func (*LoggingSink) DeepCopyInto ¶
func (in *LoggingSink) DeepCopyInto(out *LoggingSink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingSinkElasticsearch ¶
type LoggingSinkElasticsearch struct { // https://fluentbit.io/documentation/0.12/output/elasticsearch.html Host string `json:"host,omitempty"` Port int `json:"port,omitempty"` LogstashPrefix string `json:"logstashPrefix,omitempty"` TLS *bool `json:"tls,omitempty"` TLSVerify bool `json:"tlsVerify,omitempty"` TLSCA string `json:"tlsCA,omitempty"` HTTPBasicAuth *HTTPBasicAuth `json:"httpBasicAuth,omitempty"` AmazonESProxy *AmazonESProxy `json:"amazonESProxy,omitempty"` }
func (*LoggingSinkElasticsearch) DeepCopy ¶
func (in *LoggingSinkElasticsearch) DeepCopy() *LoggingSinkElasticsearch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingSinkElasticsearch.
func (*LoggingSinkElasticsearch) DeepCopyInto ¶
func (in *LoggingSinkElasticsearch) DeepCopyInto(out *LoggingSinkElasticsearch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingSinkType ¶
type LoggingSinkType string
type Network ¶
type Network struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` CIDR string `json:"cidr,omitempty"` Identifier string `json:"identifier,omitempty"` Type string `json:"type,omitempty"` InternetGW *InternetGW `json:"internetGW,omitempty"` }
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSH ¶
type SSH struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` User string `json:"user,omitempty"` Identifier string `json:"identifier,omitempty"` PublicKeyPath string `json:"publicKeyPath,omitempty"` PublicKeyData []byte `json:"publicKeyData,omitempty"` PublicKeyFingerprint string `json:"publicKeyFingerprint,omitempty"` PrivateKeyPath string `json:"privateKeyPath,omitempty"` }
func (*SSH) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSH.
func (*SSH) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Shared ¶
type Shared struct {}
Shared object infor among rules.
func (*Shared) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Shared.
func (*Shared) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Identifier string `json:"identifier,omitempty"` CIDR string `json:"cidr,omitempty"` Location string `json:"location,omitempty"` Zone string `json:"zone,omitempty"` }
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Taint ¶
type Taint struct { Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` Effect string `json:"effect,omitempty"` }
Taint structure for instancepool node taints
func (*Taint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
func (*Taint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Values ¶
type Values struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` ItemMap map[string]string `json:"itemMap,omitempty"` }
func (*Values) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Values.
func (*Values) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Volume ¶
type Volume struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Size *resource.Quantity `json:"size,omitempty"` // Volume Size Type string `json:"type,omitempty"` // Volume Type }
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Volume) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.