identity

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

View Source
const (
	UsernameKey = "username"
	PasswordKey = "password"
)

Variables

This section is empty.

Functions

func IsOwnedByIdentityOrCluster added in v1.2.0

func IsOwnedByIdentityOrCluster(ownerReferences []metav1.OwnerReference) bool

func IsSecretIdentity

func IsSecretIdentity(cluster *infrav1.VSphereCluster) bool

IsSecretIdentity returns true if the VSphereCluster identity is a Secret.

Types

type Credentials

type Credentials struct {
	Username string
	Password string
}

func GetCredentials

func GetCredentials(ctx context.Context, c client.Client, cluster *infrav1.VSphereCluster, controllerNamespace string) (*Credentials, error)

Jump to

Keyboard shortcuts

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