privatecluster

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFieldNotFoundOnInfrastructureType

func IsFieldNotFoundOnInfrastructureType(err error) bool

IsFieldNotFoundOnInfrastructureType asserts fieldNotFoundOnInfrastructureTypeError.

func IsPrivateCluster

func IsPrivateCluster(ctx context.Context, logger micrologger.Logger, ctrlclient client.Client, cr capi.Cluster) (bool, error)

IsPrivateCluster returns true if the cluster is a private cluster (i.e. it has no direct internet access). -In CAPZ and CAPA, we respect WC attributes. A non-private WC can exist in a private MC - In CAPV and CAPVCD, we respect MC attributes. If MC is private, all WCs are private. - In CAPG, we don’t have private concept.

Types

This section is empty.

Jump to

Keyboard shortcuts

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