password

package
v0.90.16 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 75

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeadminPassword

type KubeadminPassword struct {
	Password     string
	PasswordHash []byte
	File         *asset.File
}

KubeadminPassword is the asset for the kubeadmin user password

func (*KubeadminPassword) Dependencies

func (a *KubeadminPassword) Dependencies() []asset.Asset

Dependencies returns no dependencies.

func (*KubeadminPassword) Files added in v0.9.2

func (a *KubeadminPassword) Files() []*asset.File

Files returns the password file.

func (*KubeadminPassword) Generate

func (a *KubeadminPassword) Generate(asset.Parents) error

Generate the kubeadmin password

func (*KubeadminPassword) Load added in v0.9.2

func (a *KubeadminPassword) Load(f asset.FileFetcher) (found bool, err error)

Load loads a predefined hash only, if one is supplied

func (*KubeadminPassword) Name

func (a *KubeadminPassword) Name() string

Name returns the human-friendly name of the asset.

Jump to

Keyboard shortcuts

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