client

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

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
	EventSources *eventSourcesApi.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