config

package
v0.4.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Cache                  string
	CPUProfileFile         string
	ExitOnError            bool
	Files                  []string
	SchemaLocations        []string
	SkipTLS                bool
	SkipKinds              map[string]struct{}
	RejectKinds            map[string]struct{}
	OutputFormat           string
	KubernetesVersion      string
	NumberOfWorkers        int
	Summary                bool
	Strict                 bool
	Verbose                bool
	IgnoreMissingSchemas   bool
	IgnoreFilenamePatterns []string
	Help                   bool
}

func FromFlags

func FromFlags(progName string, args []string) (Config, string, error)

FromFlags retrieves kubeconform's runtime configuration from the command-line parameters

Jump to

Keyboard shortcuts

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