password

package
v0.0.0-...-c53fdc3 Latest Latest
Warning

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

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

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

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

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