policies

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2017 License: Apache-2.0 Imports: 9 Imported by: 1

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
)

Jump to

Keyboard shortcuts

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