client

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigSet

type ConfigSet struct {
	Core     *kubernetes.Clientset
	Build    *buildApi.Clientset
	Serving  *servingApi.Clientset
	Eventing *eventingApi.Clientset

	Config *rest.Config

	Namespace string
	Registry  string
}

ConfigSet contains different information that may be needed by underlying functions

func NewClient

func NewClient(cfgFile, namespace, registry 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