parser

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	ConfigFlags *genericclioptions.ConfigFlags
	Clientset   *kubernetes.Clientset
	Context     context.Context
	Namespace   string
}

func CreateParser

func CreateParser(ns string, configFlags *genericclioptions.ConfigFlags) (*Parser, error)

func (*Parser) FromConfigMap

func (p *Parser) FromConfigMap(name string) []v1.EnvVar

func (*Parser) FromDeployment

func (p *Parser) FromDeployment(name string) []v1.EnvVar

func (*Parser) FromJob

func (p *Parser) FromJob(name string) []v1.EnvVar

func (*Parser) FromPod

func (p *Parser) FromPod(name string) []v1.EnvVar

func (*Parser) FromSecret

func (p *Parser) FromSecret(name string) []v1.EnvVar

Jump to

Keyboard shortcuts

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