helper

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProviderStatusRawIsNil  = errors.New("providerStatus.Raw is nil, and can't be unmarshalled")
	ErrWrongInfrastructureType = errors.New("infrastructure type is not correct")
)
View Source
var (
	ErrClusterObjectNotComplete = errors.New("cluster.Seed or cluster.Shoot is nil")
)

Functions

func GetClusterForExtension

func GetClusterForExtension(
	ctx context.Context,
	c client.Reader,
	extension *extensionsv1alpha1.Extension,
) (*controller.Cluster, error)

func GetInfrastructureForExtension

func GetInfrastructureForExtension(
	ctx context.Context,
	c client.Reader,
	extension *extensionsv1alpha1.Extension,
	shootName string,
) (*extensionsv1alpha1.Infrastructure, error)

func GetProviderSpecificAllowedCIDRs

func GetProviderSpecificAllowedCIDRs(
	infra *extensionsv1alpha1.Infrastructure,
) ([]string, error)

func GetSeedSpecificAllowedCIDRs

func GetSeedSpecificAllowedCIDRs(seed *v1beta1.Seed) []string

func GetShootNodeSpecificAllowedCIDRs

func GetShootNodeSpecificAllowedCIDRs(shoot *v1beta1.Shoot) []string

func GetShootPodSpecificAllowedCIDRs

func GetShootPodSpecificAllowedCIDRs(shoot *v1beta1.Shoot) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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