Documentation ¶
Index ¶
Constants ¶
View Source
const KusionState = "kusion_state.json"
Variables ¶
This section is empty.
Functions ¶
func NewFileSystemState ¶
func NewFileSystemState() states.StateStorage
func NewLocalBackend ¶ added in v0.6.0
Types ¶
type FileSystemState ¶
type FileSystemState struct { // state Path is in the same dir where command line is invoked Path string }
func (*FileSystemState) Delete ¶
func (f *FileSystemState) Delete(id string) error
func (*FileSystemState) GetLatestState ¶
func (f *FileSystemState) GetLatestState(query *states.StateQuery) (*states.State, error)
type LocalBackend ¶ added in v0.6.0
type LocalBackend struct {
FileSystemState
}
func (*LocalBackend) ConfigSchema ¶ added in v0.6.0
func (f *LocalBackend) ConfigSchema() cty.Type
func (*LocalBackend) Configure ¶ added in v0.6.0
func (f *LocalBackend) Configure(obj cty.Value) error
func (*LocalBackend) StateStorage ¶ added in v0.6.0
func (f *LocalBackend) StateStorage() states.StateStorage
Click to show internal directories.
Click to hide internal directories.