composer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DummyNamespace string = "dummy-namespace-c2p"

Functions

This section is empty.

Types

type Composer

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

func NewComposer

func NewComposer(policiesDir string, tempDir string) *Composer

func NewComposerByTempDirectory

func NewComposerByTempDirectory(policiesDir string, tempDir pkg.TempDirectory) *Composer

func (*Composer) Compose

func (c *Composer) Compose(namespace string, componentObjects []oscal.ComponentObject, clusterSelectors map[string]string) error

func (*Composer) ComposeByC2PParsed

func (c *Composer) ComposeByC2PParsed(c2pParsed typec2pcr.C2PCRParsed) error

func (*Composer) CopyAllTo

func (c *Composer) CopyAllTo(destDir string) error

func (*Composer) GeneratePolicySet

func (c *Composer) GeneratePolicySet() (*resmap.ResMap, error)

func (*Composer) GetPoliciesDir

func (c *Composer) GetPoliciesDir() string

Jump to

Keyboard shortcuts

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