Documentation
¶
Index ¶
- func GetWildcardCertificate(ctx context.Context, c client.Client) (*corev1.Secret, error)
- func RunDeleteSeedFlow(ctx context.Context, sc, gc kubernetes.Interface, seed *Seed, ...) error
- func RunReconcileSeedFlow(ctx context.Context, k8sGardenClient kubernetes.Interface, ...) error
- type Builder
- type Seed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWildcardCertificate ¶
GetWildcardCertificate gets the wildcard certificate for the seed's ingress domain. Nil is returned if no wildcard certificate is configured.
func RunDeleteSeedFlow ¶
func RunDeleteSeedFlow(ctx context.Context, sc, gc kubernetes.Interface, seed *Seed, seedLogger *logrus.Entry) error
RunDeleteSeedFlow deletes certain resources from the seed cluster.
func RunReconcileSeedFlow ¶
func RunReconcileSeedFlow( ctx context.Context, k8sGardenClient kubernetes.Interface, k8sSeedClient kubernetes.Interface, seed *Seed, secrets map[string]*corev1.Secret, imageVector imagevector.ImageVector, componentImageVectors imagevector.ComponentImageVectors, conf *config.GardenletConfiguration, seedLogger *logrus.Entry, ) error
RunReconcileSeedFlow bootstraps a Seed cluster and deploys various required manifests.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is an object that builds Seed objects.
func (*Builder) WithSeedObject ¶
func (b *Builder) WithSeedObject(seedObject *gardencorev1beta1.Seed) *Builder
WithSeedObject sets the seedObjectFunc attribute at the Builder.
func (*Builder) WithSeedObjectFromLister ¶
func (b *Builder) WithSeedObjectFromLister(seedLister gardencorelisters.SeedLister, seedName string) *Builder
WithSeedObjectFromLister sets the seedObjectFunc attribute at the Builder after fetching it from the given lister.
type Seed ¶
type Seed struct { Info *gardencorev1beta1.Seed LoadBalancerServiceAnnotations map[string]string }
Seed is an object containing information about a Seed cluster.
func (*Seed) CheckMinimumK8SVersion ¶
func (s *Seed) CheckMinimumK8SVersion(seedClient kubernetes.Interface) (string, error)
CheckMinimumK8SVersion checks whether the Kubernetes version of the Seed cluster fulfills the minimal requirements.
func (*Seed) GetIngressFQDN ¶
GetIngressFQDN returns the fully qualified domain name of ingress sub-resource for the Seed cluster. The end result is '<subDomain>.<shootName>.<projectName>.<seed-ingress-domain>'.
func (*Seed) GetValidVolumeSize ¶
GetValidVolumeSize is to get a valid volume size. If the given size is smaller than the minimum volume size permitted by cloud provider on which seed cluster is running, it will return the minimum size.
func (*Seed) IngressDomain ¶
IngressDomain returns the ingress domain for the seed.