state

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	DistroPath    string
	ConfigPath    string
	WorkDir       string
	KubectlRunner *kubectl.Runner
}

func NewStore

func NewStore(distroPath, configPath, workDir, kubectlVersion, binPath string) *Store

func (*Store) GetConfig

func (s *Store) GetConfig() ([]byte, error)

func (*Store) StoreConfig

func (s *Store) StoreConfig() error

func (*Store) StoreKFD

func (s *Store) StoreKFD() error

type Storer

type Storer interface {
	StoreKFD() error
	StoreConfig() error
	GetConfig() ([]byte, error)
}

Jump to

Keyboard shortcuts

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