local

package
v0.5.4-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const KusionState = "kusion_state.json"

Variables

This section is empty.

Functions

func NewFileSystemState

func NewFileSystemState() states.StateStorage

Types

type FileSystemState

type FileSystemState struct {
	// state Path is in the same dir where command line is invoked
	Path string
}

func (*FileSystemState) Apply

func (f *FileSystemState) Apply(state *states.State) error

func (*FileSystemState) ConfigSchema

func (f *FileSystemState) ConfigSchema() cty.Type

func (*FileSystemState) Configure

func (f *FileSystemState) Configure(obj cty.Value) error

func (*FileSystemState) Delete

func (f *FileSystemState) Delete(id string) error

func (*FileSystemState) GetLatestState

func (f *FileSystemState) GetLatestState(query *states.StateQuery) (*states.State, error)

Jump to

Keyboard shortcuts

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