Documentation ¶
Index ¶
- Constants
- func NewFileSystemState() states.StateStorage
- type FileSystemState
- func (f *FileSystemState) Apply(state *states.State) error
- func (f *FileSystemState) ConfigSchema() cty.Type
- func (f *FileSystemState) Configure(obj cty.Value) error
- func (f *FileSystemState) Delete(id string) error
- func (f *FileSystemState) GetLatestState(query *states.StateQuery) (*states.State, error)
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) ConfigSchema ¶
func (f *FileSystemState) ConfigSchema() cty.Type
func (*FileSystemState) Delete ¶
func (f *FileSystemState) Delete(id string) error
func (*FileSystemState) GetLatestState ¶
func (f *FileSystemState) GetLatestState(query *states.StateQuery) (*states.State, error)
Click to show internal directories.
Click to hide internal directories.