template

package
v0.1.5-0...-22fdd08 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: CC0-1.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlImplementationDescription

type ControlImplementationDescription struct {
	// contains filtered or unexported fields
}

ControlImplementationDescription represents single table labeled "What is the solution and how is it implemented?"

func (*ControlImplementationDescription) ControlName

func (cid *ControlImplementationDescription) ControlName() (name string, err error)

func (*ControlImplementationDescription) PartRows

func (cid *ControlImplementationDescription) PartRows() ([]PartRow, error)

func (*ControlImplementationDescription) Plain

func (*ControlImplementationDescription) ReqRows

func (cid *ControlImplementationDescription) ReqRows() ([]PartRow, error)

func (*ControlImplementationDescription) SetValue

func (cid *ControlImplementationDescription) SetValue(response string) error

type ControlSummaryInformation

type ControlSummaryInformation struct {
	// contains filtered or unexported fields
}

ControlSummaryInformation represents single table labeled "Control Summary Information"

func (*ControlSummaryInformation) ControlName

func (csi *ControlSummaryInformation) ControlName() (name string, err error)

func (*ControlSummaryInformation) ImplementationStatus

func (csi *ControlSummaryInformation) ImplementationStatus() (*ImplementationStatus, error)

func (*ControlSummaryInformation) ParameterRows

func (csi *ControlSummaryInformation) ParameterRows() ([]ParameterRow, error)

func (*ControlSummaryInformation) ResponsibleRole

func (csi *ControlSummaryInformation) ResponsibleRole() (*ResponsibleRole, error)

type ImplementationStatus

type ImplementationStatus struct {
	// contains filtered or unexported fields
}

func (*ImplementationStatus) SetValue

func (is *ImplementationStatus) SetValue(newStatus fedramp.ImplementationStatus) error

type ParameterRow

type ParameterRow struct {
	// contains filtered or unexported fields
}

func (*ParameterRow) ControlId

func (pr *ParameterRow) ControlId() (string, error)

func (*ParameterRow) ParamId

func (pr *ParameterRow) ParamId() (string, error)

func (*ParameterRow) SetValue

func (pr *ParameterRow) SetValue(paramText string) error

type PartRow

type PartRow struct {
	// contains filtered or unexported fields
}

func (*PartRow) PartName

func (pr *PartRow) PartName() (string, error)

func (*PartRow) SetValue

func (pr *PartRow) SetValue(partResponse string) error

type ResponsibleRole

type ResponsibleRole struct {
	// contains filtered or unexported fields
}

Represents "Responsible Role" row in the Control Summary Table (usually first row)

func (*ResponsibleRole) SetValue

func (rr *ResponsibleRole) SetValue(roleName string) error

type Template

type Template struct {
	// contains filtered or unexported fields
}

func NewTemplate

func NewTemplate(level common.BaselineLevel) (*Template, error)

func NewTemplateFile

func NewTemplateFile(filePath string) (*Template, error)

func (*Template) Close

func (t *Template) Close()

func (*Template) ControlImplementationDescriptions

func (t *Template) ControlImplementationDescriptions() ([]ControlImplementationDescription, error)

func (*Template) ControlSummaryInformations

func (t *Template) ControlSummaryInformations() ([]ControlSummaryInformation, error)

func (*Template) Save

func (t *Template) Save(filePath string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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