Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BootstrapClusters ¶
func BootstrapClusters(k8sGardenClient kubernetes.Client, k8sGardenInformers gardeninformers.Interface, secrets map[string]*corev1.Secret) error
BootstrapClusters bootstraps the Seeds cluster and deploys various required manifests.
Types ¶
type Seed ¶
type Seed struct { Info *gardenv1beta1.Seed Secret *corev1.Secret CloudProvider gardenv1beta1.CloudProvider CloudProfile *gardenv1beta1.CloudProfile }
Seed is an object containing information about a Seed cluster.
func List ¶
func List(k8sGardenClient kubernetes.Client, k8sGardenInformers gardeninformers.Interface) ([]*Seed, error)
List returns a list of Seed clusters (along with the referenced secrets).
func New ¶
func New(k8sGardenClient kubernetes.Client, k8sGardenInformers gardeninformers.Interface, seed *gardenv1beta1.Seed) (*Seed, error)
New takes a <k8sGardenClient>, the <k8sGardenInformers> and a <seed> manifest, and creates a new Seed representation. It will add the CloudProfile and identify the cloud provider.
func NewFromName ¶
func NewFromName(k8sGardenClient kubernetes.Client, k8sGardenInformers gardeninformers.Interface, seedName string) (*Seed, error)
NewFromName creates a new Seed object based on the name of a Seed manifest.
func (*Seed) GetIngressFQDN ¶
GetIngressFQDN returns the fully qualified domain name of ingress sub-resource for the Seed cluster. The end result is '<subDomain>.<shoot-name>.<garden-namespace>.ingress.<seed-fqdn>'. It must not exceed 64 characters in length (see RFC-5280 for details).