apply

package
v1.13.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Types

type ApplyCommandConfig

type ApplyCommandConfig struct {
	KubeConfig     string
	Context        string
	Namespace      string
	MutateLogPath  string
	Variables      []string
	ValuesFile     string
	UserInfoPath   string
	Cluster        bool
	PolicyReport   bool
	Stdin          bool
	RegistryAccess bool
	AuditWarn      bool
	ResourcePaths  []string
	PolicyPaths    []string
	GitBranch      string

	Exception      []string
	ContinueOnFail bool

	GenerateExceptions    bool
	GeneratedExceptionTTL time.Duration
	// contains filtered or unexported fields
}

type SkippedInvalidPolicies

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

type WarnExitCodeError added in v1.12.0

type WarnExitCodeError struct {
	ExitCode int
}

func (WarnExitCodeError) Error added in v1.12.0

func (w WarnExitCodeError) Error() string

Jump to

Keyboard shortcuts

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