state

package
v0.11.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	// Get returns the state, if the state does not exist, return nil.
	Get() (*v1.State, error)

	// Apply updates the state if already exists, or create a new state.
	Apply(state *v1.State) error
}

Storage is used to provide the state storage for a set of real resources belonging to a specified stack, which is determined by the combination of project name, stack name and workspace name.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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