policy

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Output

func Output() output.Interface

Types

type API

type API struct{}

func (*API) Delete

func (api *API) Delete()

func (*API) Export

func (api *API) Export()

func (*API) Import

func (api *API) Import(yamlFile string)

func (*API) SetDefault

func (api *API) SetDefault()

func (*API) SetRule

func (api *API) SetRule()

func (*API) Show

func (api *API) Show()

func (*API) UnsetRule

func (api *API) UnsetRule()

type Interface

type Interface interface {
	Show()
	Import(yamlFile string)
	Export()
	SetDefault()
	SetRule()
	UnsetRule()
	Delete()
}

func Resource

func Resource() Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳