config

package
v1.27.10 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	OutputDir             string
	DeletePrevDir         bool
	ExcludedResourceTypes []string
	SecretsEncryptKey     string
	GcpLogFormat          bool
}

func GetDefaultAppConfig

func GetDefaultAppConfig() AppConfig

func (*AppConfig) FilterIncludedResources

func (config *AppConfig) FilterIncludedResources(resourceTypes []*k8s.ApiResourceType) []*k8s.ApiResourceType

func (*AppConfig) IncludeSecrets

func (config *AppConfig) IncludeSecrets() bool

func (*AppConfig) IsResourceIncluded

func (config *AppConfig) IsResourceIncluded(resourceType *k8s.ApiResourceType) bool

func (*AppConfig) Validate

func (config *AppConfig) Validate()

Jump to

Keyboard shortcuts

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