opencontrol

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	Family      string `yaml:"family"`
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
}

type Controls

type Controls map[string]Control

func (Controls) Add

func (controls Controls) Add(ctrl *catalog.Control, family string)

type Standard

type Standard struct {
	Name     string   `yaml:"name"`
	Controls Controls `yaml:",inline"`
}

func NewStandard

func NewStandard(catalog *catalog.Catalog) (*Standard, error)

func (*Standard) SaveToFile

func (std *Standard) SaveToFile(filename string) error

Jump to

Keyboard shortcuts

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