spec

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 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 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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