template

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthProxyPatchFile = "cosmo-auth-proxy-patch.yaml"
	AuthProxyRoleBFile = "cosmo-auth-proxy-roleb.yaml"
)
View Source
const (
	DefaultPackagedFile = "packaged.yaml"
)

Variables

View Source
var (
	SecretFileDefaultMode = int32(420)
)

Functions

func AddCommand

func AddCommand(cmd *cobra.Command, o *cmdutil.CliOptions)

func GetCmd added in v0.8.0

func GetCmd(cmd *cobra.Command, cliOpt *cmdutil.CliOptions) *cobra.Command

func NewKustomize

func NewKustomize(disableNamePrefix bool) *types.Kustomization

func StructToYaml

func StructToYaml(obj interface{}) []byte

Types

type GetOption added in v0.8.0

type GetOption struct {
	*cmdutil.CliOptions
	TemplateNames []string
	TypeWorkspace bool
	// contains filtered or unexported fields
}

func (*GetOption) Complete added in v0.8.0

func (o *GetOption) Complete(cmd *cobra.Command, args []string) error

func (*GetOption) PreRunE added in v0.8.0

func (o *GetOption) PreRunE(cmd *cobra.Command, args []string) error

func (*GetOption) RunE added in v0.8.0

func (o *GetOption) RunE(cmd *cobra.Command, args []string) error

func (*GetOption) Validate added in v0.8.0

func (o *GetOption) Validate(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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