env

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	options.BaseOptions

	Args         []string
	Exclude      []string
	Format       string
	Namespace    string
	BuildFilter  tektonlog.BuildPodInfoFilter
	KubeClient   kubernetes.Interface
	JXClient     versioned.Interface
	TektonClient tektonclient.Interface
	TektonLogger *tektonlog.TektonLogger
	Input        input.Interface
}

Options the command line options

func NewCmdPipelineEnv

func NewCmdPipelineEnv() (*cobra.Command, *Options)

NewCmdPipelineEnv creates the command

func (*Options) PodEnvVars

func (o *Options) PodEnvVars(pod *corev1.Pod, containerName string) (map[string]string, error)

PodEnvVars returns the pod environment variables for the given container name

func (*Options) Run

func (o *Options) Run() error

Run implements this command

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies things are setup correctly

type PipelinePod

type PipelinePod struct {
	PodName      string
	ActivitySpec *v1.PipelineActivitySpec
	PipelineRuns []*v1beta1.PipelineRun
}

Jump to

Keyboard shortcuts

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