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 Spec, if the Spec does not exist, return nil.
Get() (*v1.Intent, error)
// Apply updates the spec if already exists, or create a new spec.
Apply(state *v1.Intent) error
}
Storage is an interface that may be implemented by the application to retrieve or create spec entries from storage.
Click to show internal directories.
Click to hide internal directories.