mocks

package
v0.0.0-...-5b41cc5 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2016 License: CC0-1.0 Imports: 3 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 {
	mock.Mock
}

Certification is an autogenerated mock type for the Certification type

func (*Certification) GetControlKeysFor

func (_m *Certification) GetControlKeysFor(standardKey string) []string

GetControlKeysFor provides a mock function with given fields: standardKey

func (*Certification) GetKey

func (_m *Certification) GetKey() string

GetKey provides a mock function with given fields:

func (*Certification) GetSortedStandards

func (_m *Certification) GetSortedStandards() []string

GetSortedStandards provides a mock function with given fields:

type Component

type Component struct {
	mock.Mock
}

Component is an autogenerated mock type for the Component type

func (*Component) GetAllSatisfies

func (_m *Component) GetAllSatisfies() []common.Satisfies

GetAllSatisfies provides a mock function with given fields:

func (*Component) GetKey

func (_m *Component) GetKey() string

GetKey provides a mock function with given fields:

func (*Component) GetName

func (_m *Component) GetName() string

GetName provides a mock function with given fields:

func (*Component) GetReferences

func (_m *Component) GetReferences() *common.GeneralReferences

GetReferences provides a mock function with given fields:

func (*Component) GetResponsibleRole

func (_m *Component) GetResponsibleRole() string

GetResponsibleRole provides a mock function with given fields:

func (*Component) GetVerifications

func (_m *Component) GetVerifications() *common.VerificationReferences

GetVerifications provides a mock function with given fields:

func (*Component) GetVersion

func (_m *Component) GetVersion() semver.Version

GetVersion provides a mock function with given fields:

func (*Component) SetKey

func (_m *Component) SetKey(_a0 string)

SetKey provides a mock function with given fields: _a0

func (*Component) SetVersion

func (_m *Component) SetVersion(_a0 semver.Version)

SetVersion provides a mock function with given fields: _a0

type Control

type Control struct {
	mock.Mock
}

Control is an autogenerated mock type for the Control type

func (*Control) GetFamily

func (_m *Control) GetFamily() string

GetFamily provides a mock function with given fields:

func (*Control) GetName

func (_m *Control) GetName() string

GetName provides a mock function with given fields:

type OpenControl

type OpenControl struct {
	mock.Mock
}

OpenControl is an autogenerated mock type for the OpenControl type

func (*OpenControl) GetCertifications

func (_m *OpenControl) GetCertifications() []string

GetCertifications provides a mock function with given fields:

func (*OpenControl) GetCertificationsDependencies

func (_m *OpenControl) GetCertificationsDependencies() []common.RemoteSource

GetCertificationsDependencies provides a mock function with given fields:

func (*OpenControl) GetComponents

func (_m *OpenControl) GetComponents() []string

GetComponents provides a mock function with given fields:

func (*OpenControl) GetComponentsDependencies

func (_m *OpenControl) GetComponentsDependencies() []common.RemoteSource

GetComponentsDependencies provides a mock function with given fields:

func (*OpenControl) GetStandards

func (_m *OpenControl) GetStandards() []string

GetStandards provides a mock function with given fields:

func (*OpenControl) GetStandardsDependencies

func (_m *OpenControl) GetStandardsDependencies() []common.RemoteSource

GetStandardsDependencies provides a mock function with given fields:

type RemoteSource

type RemoteSource struct {
	mock.Mock
}

RemoteSource is an autogenerated mock type for the RemoteSource type

func (*RemoteSource) GetConfigFile

func (_m *RemoteSource) GetConfigFile() string

GetConfigFile provides a mock function with given fields:

func (*RemoteSource) GetRevision

func (_m *RemoteSource) GetRevision() string

GetRevision provides a mock function with given fields:

func (*RemoteSource) GetURL

func (_m *RemoteSource) GetURL() string

GetURL provides a mock function with given fields:

type Satisfies

type Satisfies struct {
	mock.Mock
}

Satisfies is an autogenerated mock type for the Satisfies type

func (*Satisfies) GetControlKey

func (_m *Satisfies) GetControlKey() string

GetControlKey provides a mock function with given fields:

func (*Satisfies) GetControlOrigin

func (_m *Satisfies) GetControlOrigin() string

GetControlOrigin provides a mock function with given fields:

func (*Satisfies) GetControlOrigins

func (_m *Satisfies) GetControlOrigins() []string

GetControlOrigins provides a mock function with given fields:

func (*Satisfies) GetCoveredBy

func (_m *Satisfies) GetCoveredBy() common.CoveredByList

GetCoveredBy provides a mock function with given fields:

func (*Satisfies) GetImplementationStatus

func (_m *Satisfies) GetImplementationStatus() string

GetImplementationStatus provides a mock function with given fields:

func (*Satisfies) GetImplementationStatuses

func (_m *Satisfies) GetImplementationStatuses() []string

GetImplementationStatuses provides a mock function with given fields:

func (*Satisfies) GetNarratives

func (_m *Satisfies) GetNarratives() []common.Section

GetNarratives provides a mock function with given fields:

func (*Satisfies) GetParameters

func (_m *Satisfies) GetParameters() []common.Section

GetParameters provides a mock function with given fields:

func (*Satisfies) GetStandardKey

func (_m *Satisfies) GetStandardKey() string

GetStandardKey provides a mock function with given fields:

type Section

type Section struct {
	mock.Mock
}

Section is an autogenerated mock type for the Section type

func (*Section) GetKey

func (_m *Section) GetKey() string

GetKey provides a mock function with given fields:

func (*Section) GetText

func (_m *Section) GetText() string

GetText provides a mock function with given fields:

type Standard

type Standard struct {
	mock.Mock
}

Standard is an autogenerated mock type for the Standard type

func (*Standard) GetControl

func (_m *Standard) GetControl(_a0 string) common.Control

GetControl provides a mock function with given fields: _a0

func (*Standard) GetControls

func (_m *Standard) GetControls() map[string]common.Control

GetControls provides a mock function with given fields:

func (*Standard) GetName

func (_m *Standard) GetName() string

GetName provides a mock function with given fields:

func (*Standard) GetSortedControls

func (_m *Standard) GetSortedControls() []string

GetSortedControls provides a mock function with given fields:

type Workspace

type Workspace struct {
	mock.Mock
}

Workspace is an autogenerated mock type for the Workspace type

func (*Workspace) GetAllComponents

func (_m *Workspace) GetAllComponents() []common.Component

GetAllComponents provides a mock function with given fields:

func (*Workspace) GetAllVerificationsWith

func (_m *Workspace) GetAllVerificationsWith(standardKey string, controlKey string) common.Verifications

GetAllVerificationsWith provides a mock function with given fields: standardKey, controlKey

func (*Workspace) GetCertification

func (_m *Workspace) GetCertification() common.Certification

GetCertification provides a mock function with given fields:

func (*Workspace) GetComponent

func (_m *Workspace) GetComponent(componentKey string) (common.Component, bool)

GetComponent provides a mock function with given fields: componentKey

func (*Workspace) GetStandard

func (_m *Workspace) GetStandard(standardKey string) (common.Standard, bool)

GetStandard provides a mock function with given fields: standardKey

func (*Workspace) LoadCertification

func (_m *Workspace) LoadCertification(_a0 string) error

LoadCertification provides a mock function with given fields: _a0

func (*Workspace) LoadComponents

func (_m *Workspace) LoadComponents(_a0 string) []error

LoadComponents provides a mock function with given fields: _a0

func (*Workspace) LoadStandards

func (_m *Workspace) LoadStandards(_a0 string) []error

LoadStandards provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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