identity

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudsSecretKey = "clouds.yaml"
	CaSecretKey     = "cacert"
)

Variables

This section is empty.

Functions

func IsMachineSecretIdentity

func IsMachineSecretIdentity(identityRef *infrav1.ICSIdentityReference) bool

func IsSecretIdentity

func IsSecretIdentity(cluster *infrav1.ICSCluster) bool

func NewClientFromCluster

func NewClientFromCluster(ctx context.Context, ctrlClient client.Client, icsCluster *infrav1.ICSCluster) (*basev1.ICenter, error)

func NewClientFromMachine

func NewClientFromMachine(ctx context.Context, ctrlClient client.Client, nameSpace string, cloudName string, identityRef *infrav1.ICSIdentityReference) (*basev1.ICenter, error)

func ValidateInputs

func ValidateInputs(c client.Client, cluster *infrav1.ICSCluster) error

func ValidateMachineInputs

func ValidateMachineInputs(c client.Client, vm *infrav1.ICSVM) error

Types

type Credentials

type Credentials struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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