certification

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certification

type Certification struct {
	Key       string                            `yaml:"name" json:"name"`
	Standards map[string]map[string]interface{} `yaml:"standards" json:"standards"`
}

Certification struct is a collection of specific standards and controls Schema info: https://github.com/opencontrol/schemas#certifications

func (Certification) GetControlKeysFor

func (certification Certification) GetControlKeysFor(standardKey string) []string

GetControlKeysFor returns the control keys for the given standard key.

func (Certification) GetKey

func (certification Certification) GetKey() string

GetKey returns the name of the certification.

func (Certification) GetSortedStandards

func (certification Certification) GetSortedStandards() []string

GetSortedStandards returns a list of sorted standard names

func (*Certification) MarshalJSON

func (certification *Certification) MarshalJSON() (b []byte, e error)

MarshalJSON provides JSON support

Jump to

Keyboard shortcuts

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