build

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectCtlInfo added in v2.1.0

func DetectCtlInfo(args []string) (name string, isKubectlPlugin bool)

func IsKubectlPlugin added in v2.1.0

func IsKubectlPlugin(ctx context.Context) bool

func Name

func Name(ctx context.Context) string

func WithCtlInfo added in v2.1.0

func WithCtlInfo(ctx context.Context, name string, isKubectlPlugin bool) context.Context

func WithTemplate

func WithTemplate(ctx context.Context, str string) string

WithTemplate returns a string that has the build name templated out with the configured build name. Build name templates on '{{ .BuildName }}' variable.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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