Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claim ¶ added in v0.1.15
type Claim interface {
Status([]*lang.Claim, api.ClaimQueryFlag) (*api.ClaimsStatus, error)
}
Claim is the interface for managing Claim
type Core ¶
type Core interface { Policy() Policy Claim() Claim Revision() Revision State() State User() User Version() Version }
Core is the Core API client interface
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.