Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PoliciesGetURI is the policies endpoint defined here http://docs.akana.com/cm/api/policies/m_policies_getPolicies.htm
PoliciesGetURI = "/api/policies"
)
Variables ¶
This section is empty.
Functions ¶
func ListPolicies ¶
func ListPolicies(types []string, showinactivepolicies bool, outputformat string, config control.Configuration, debug bool) error
ListPolicies outputs a list of policies and their IDs should show a more human readable output
Types ¶
type PolicyType ¶
type PolicyType int
PolicyType is a type of policy
const ( // Operational represents an Operational Policy type Operational PolicyType = 1 + iota // Denial represents a Denial of Service Policy type Denial // Compliance represents a Compliance Policy type Compliance // SLA represents a Service Level Policy type SLA )
Click to show internal directories.
Click to hide internal directories.