inspect

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuildEnvs = struct {
		Unspecified      BuildEnv
		Local            BuildEnv
		GoogleCloudBuild BuildEnv
		Cluster          BuildEnv
	}{
		Local: "local", GoogleCloudBuild: "googleCloudBuild", Cluster: "cluster",
	}
)

Functions

func PrintBuildEnvsList

func PrintBuildEnvsList(ctx context.Context, out io.Writer, opts Options) error

func PrintModulesList

func PrintModulesList(ctx context.Context, out io.Writer, opts Options) error

func PrintProfilesList

func PrintProfilesList(ctx context.Context, out io.Writer, opts Options) error

Types

type BuildEnv

type BuildEnv string

func GetBuildEnv

func GetBuildEnv(t *latestV1.BuildType) BuildEnv

type BuildEnvOptions

type BuildEnvOptions struct {
	// Profiles is the slice of profile names to activate.
	Profiles []string
}

BuildEnvOptions holds flag values for various `skaffold inspect build-env` commands

type Options

type Options struct {
	// Filename is the `skaffold.yaml` file path
	Filename string
	// OutFormat is the output format. One of: json
	OutFormat string
	// Modules is the module filter for specific commands
	Modules []string

	ProfilesOptions
	BuildEnvOptions
}

Options holds flag values for the various `skaffold inspect` commands

type ProfilesOptions

type ProfilesOptions struct {
	// BuildEnv is the build-env filter for command output. One of: local, googleCloudBuild, cluster.
	BuildEnv BuildEnv
}

ProfilesOptions holds flag values for various `skaffold inspect profiles` commands

Jump to

Keyboard shortcuts

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