client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 15 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Namespace string
	Registry  string
	Output    string
	Debug     bool
	Dry       bool
	Wait      bool
)

Functions

func ConfigPath added in v0.0.10

func ConfigPath(cfgFile string) string

Types

type ConfigSet

type ConfigSet struct {
	Core            *kubernetes.Clientset
	Build           *buildApi.Clientset
	Serving         *servingApi.Clientset
	Eventing        *eventingApi.Clientset
	GithubSource    *githubSource.Clientset
	TektonPipelines *pipelineApi.Clientset
	TektonTriggers  *triggersApi.Clientset
	Config          *rest.Config
}

ConfigSet contains different information that may be needed by underlying functions

func NewClient

func NewClient(cfgFile string) (ConfigSet, error)

NewClient returns ConfigSet created from available configuration file or from in-cluster environment

Jump to

Keyboard shortcuts

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