credentials

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateCredentials

func UpdateCredentials(input UpdateCredentialsInput) error

UpdateCredentials updates the CAPA controller bootstrap secret RolloutControllers() must be called after any change to the controller bootstrap secret to take effect.

func ZeroCredentials

func ZeroCredentials(input ZeroCredentialsInput) error

ZeroCredentials zeroes out the CAPA controller bootstrap secret. RolloutControllers() must be called after any change to the controller bootstrap secret to take effect.

Types

type UpdateCredentialsInput

type UpdateCredentialsInput struct {
	KubeconfigPath    string
	KubeconfigContext string
	Credentials       string
	Namespace         string
}

UpdateCredentialsInput defines the specs for update credentials input.

type ZeroCredentialsInput

type ZeroCredentialsInput struct {
	KubeconfigPath    string
	KubeconfigContext string
	Namespace         string
}

ZeroCredentialsInput defines the specs for zero credentials input.

Jump to

Keyboard shortcuts

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