Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core interface {
Policy() Policy
Dependency() Dependency
Revision() Revision
State() State
User() User
Version() Version
}
Core is the Core API client interface
type Dependency ¶ added in v0.1.14
type Dependency interface {
Status([]*lang.Dependency, api.DependencyQueryFlag) (*api.DependenciesStatus, error)
}
Dependency is the interface for managing Dependency
type Policy ¶
type Policy interface {
Show(gen runtime.Generation) (*engine.PolicyData, error)
Apply([]runtime.Object, bool, logrus.Level) (*api.PolicyUpdateResult, error)
Delete([]runtime.Object, bool, logrus.Level) (*api.PolicyUpdateResult, error)
}
Policy is the interface for managing Policy
type Revision ¶
type Revision interface {
Show(gen runtime.Generation) (*engine.Revision, error)
}
Revision is the interface for getting Revisions
type State ¶ added in v0.1.8
type State interface {
Reset(bool) (*api.PolicyUpdateResult, error)
}
State is the interface for resetting Actual State
Click to show internal directories.
Click to hide internal directories.