state

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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) GetRenderedConfig added in v0.27.3

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

func (*Store) StoreConfig

func (s *Store) StoreConfig(rendered map[string]any) error

func (*Store) StoreKFD

func (s *Store) StoreKFD() error

type Storer

type Storer interface {
	StoreKFD() error
	StoreConfig(rendered map[string]any) error
	GetConfig() ([]byte, error)
	GetRenderedConfig() ([]byte, error)
}

Jump to

Keyboard shortcuts

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