identity

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 3

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

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