Documentation ¶
Index ¶
- Variables
- func ComputeShortShootID(shoot *v1beta1.Shoot) string
- func GetClusterForExtension(ctx context.Context, c client.Reader, extension *extensionsv1alpha1.Extension) (*controller.Cluster, error)
- func GetInfrastructureForExtension(ctx context.Context, c client.Reader, extension *extensionsv1alpha1.Extension, ...) (*extensionsv1alpha1.Infrastructure, error)
- func GetProviderSpecificAllowedCIDRs(infra *extensionsv1alpha1.Infrastructure) ([]string, error)
- func GetSeedIngressDomain(seed *v1beta1.Seed) string
- func GetSeedSpecificAllowedCIDRs(seed *v1beta1.Seed) []string
- func GetShootNodeSpecificAllowedCIDRs(shoot *v1beta1.Shoot) []string
- func GetShootPodSpecificAllowedCIDRs(shoot *v1beta1.Shoot) []string
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") )
Error variables for helper pkg
View Source
var (
ErrClusterObjectNotComplete = errors.New("cluster.Seed or cluster.Shoot is nil")
)
Error variables for helper pkg
Functions ¶
func ComputeShortShootID ¶ added in v1.1.0
ComputeShortShootID computes the host for a given prefix.
func GetClusterForExtension ¶
func GetClusterForExtension( ctx context.Context, c client.Reader, extension *extensionsv1alpha1.Extension, ) (*controller.Cluster, error)
GetClusterForExtension returns Cluster object for an extension object
func GetInfrastructureForExtension ¶
func GetInfrastructureForExtension( ctx context.Context, c client.Reader, extension *extensionsv1alpha1.Extension, shootName string, ) (*extensionsv1alpha1.Infrastructure, error)
GetInfrastructureForExtension returns Infrastructure object for an extension object
func GetProviderSpecificAllowedCIDRs ¶
func GetProviderSpecificAllowedCIDRs( infra *extensionsv1alpha1.Infrastructure, ) ([]string, error)
GetProviderSpecificAllowedCIDRs returns the allowed CIDRs for the Infrastructure object.
func GetSeedIngressDomain ¶ added in v1.1.0
GetSeedIngressDomain returns the ingress domain of the seed
func GetSeedSpecificAllowedCIDRs ¶
GetSeedSpecificAllowedCIDRs returns the node and pod CIDRs from the seed
func GetShootNodeSpecificAllowedCIDRs ¶
GetShootNodeSpecificAllowedCIDRs returns the node CIDRs of the shoot
func GetShootPodSpecificAllowedCIDRs ¶
GetShootPodSpecificAllowedCIDRs returns the pod CIDRs of the shoot
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.