fetchfixes

package
v0.0.0-...-e7e5610 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComplianceRemediationHelper

func NewComplianceRemediationHelper(
	kuser common.KubeClientUser, name string, outputPath string, mcRoles []string,
	emb emb.ExtraManifestBuilder, streams genericclioptions.IOStreams,
) common.ObjectHelper

func NewProfileHelper

func NewProfileHelper(
	kuser common.KubeClientUser, name string, outputPath string, mcRoles []string,
	emb emb.ExtraManifestBuilder, streams genericclioptions.IOStreams,
) common.ObjectHelper

func NewRuleHelper

func NewRuleHelper(
	kuser common.KubeClientUser, name string, outputPath string, mcRoles []string,
	emb emb.ExtraManifestBuilder, streams genericclioptions.IOStreams) common.ObjectHelper

Types

type ComplianceRemediationHelper

type ComplianceRemediationHelper struct {
	FixPersister
	// contains filtered or unexported fields
}

func (*ComplianceRemediationHelper) Handle

func (h *ComplianceRemediationHelper) Handle() error

type FetchFixesContext

type FetchFixesContext struct {
	common.CommandContext

	OutputPath string
	// MachineConfig roles
	MCRoles                []string
	ExtraManifestBuildType string
	EMB                    emb.ExtraManifestBuilder
}

func NewFetchFixesContext

func NewFetchFixesContext(streams genericclioptions.IOStreams) *FetchFixesContext

func (*FetchFixesContext) Run

func (o *FetchFixesContext) Run() error

func (*FetchFixesContext) Validate

func (o *FetchFixesContext) Validate() error

Validate ensures that all required arguments and flag values are provided

type FixPersister

type FixPersister struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

type ProfileHelper

type ProfileHelper struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func (*ProfileHelper) Handle

func (h *ProfileHelper) Handle() error

type RuleHelper

type RuleHelper struct {
	FixPersister
	// contains filtered or unexported fields
}

func (*RuleHelper) Handle

func (h *RuleHelper) Handle() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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