pullsecret

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 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 AuthsType

type AuthsType struct {
	Auths map[string]coreReg.RegistryRecordType
}

type PullSecret

type PullSecret struct {
	FilePath string
	Inspect  bool
	Debug    bool
	Data     *AuthsType
}

func NewPullSecret

func NewPullSecret(filePath string, inspect, debug bool) *PullSecret

func (*PullSecret) Encode

func (ps *PullSecret) Encode(regName string) (string, error)

func (*PullSecret) GetPullSecretData

func (ps *PullSecret) GetPullSecretData()

type PullSecretInterface

type PullSecretInterface interface {
	GetPullSecretData()
	Encode(regName string) (string, error)
}

Jump to

Keyboard shortcuts

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