render

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 2 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 interface {
	GetWorkingDir() string
	TransformRulesFile() string
	ConfigurationFile() string
	GetKubeContext() string
	GetKubeNamespace() string
	GetKubeConfig() string
	TransformAllowList() []latest.ResourceFilter
	TransformDenyList() []latest.ResourceFilter
	GetNamespace() string
	Mode() config.RunMode
	EnablePlatformNodeAffinityInRenderedManifests() bool
	EnableGKEARMNodeTolerationInRenderedManifests() bool
}

type MockConfig

type MockConfig struct {
	WorkingDir string
	Namespace  string
}

func (MockConfig) ConfigurationFile

func (mc MockConfig) ConfigurationFile() string

func (MockConfig) EnableGKEARMNodeTolerationInRenderedManifests

func (mc MockConfig) EnableGKEARMNodeTolerationInRenderedManifests() bool

func (MockConfig) EnablePlatformNodeAffinityInRenderedManifests

func (mc MockConfig) EnablePlatformNodeAffinityInRenderedManifests() bool

func (MockConfig) GetKubeConfig

func (mc MockConfig) GetKubeConfig() string

func (MockConfig) GetKubeContext

func (mc MockConfig) GetKubeContext() string

func (MockConfig) GetKubeNamespace

func (mc MockConfig) GetKubeNamespace() string

func (MockConfig) GetNamespace

func (mc MockConfig) GetNamespace() string

func (MockConfig) GetWorkingDir

func (mc MockConfig) GetWorkingDir() string

func (MockConfig) Mode

func (mc MockConfig) Mode() config.RunMode

func (MockConfig) TransformAllowList

func (mc MockConfig) TransformAllowList() []latest.ResourceFilter

func (MockConfig) TransformDenyList

func (mc MockConfig) TransformDenyList() []latest.ResourceFilter

func (MockConfig) TransformRulesFile

func (mc MockConfig) TransformRulesFile() string

Directories

Path Synopsis
Note: This is copied from kpt schema version v1alpha2.
Note: This is copied from kpt schema version v1alpha2.
kpt

Jump to

Keyboard shortcuts

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