Documentation
¶
Overview ¶
Package client contains the implementation of the client side communication with the Kubernetes master. OpenShift currently embeds the Kubernetes's kubecfg command line for prototyping and debugging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandKubecfg ¶
DEPRECATED, use NewCommandCLI instead
Types ¶
type JSONPrinter ¶
type JSONPrinter struct{}
JSONPrinter is an implementation of ResourcePrinter which parsess raw JSON, and re-formats as indented, human-readable JSON.
type KubeConfig ¶
type KubeConfig struct {
ClientConfig kclient.Config
ServerVersion bool
PreventSkew bool
Config string
TemplateConfig string
Selector string
UpdatePeriod time.Duration
PortSpec string
ServicePort int
AuthConfig string
JSON bool
YAML bool
Verbose bool
Proxy bool
WWW string
TemplateFile string
TemplateStr string
ID string
Namespace string
BuildConfigID string
ImageName string
APIVersion string
OSAPIVersion string
Args []string
// contains filtered or unexported fields
}
func (*KubeConfig) Arg ¶
func (c *KubeConfig) Arg(index int) string
func (*KubeConfig) Run ¶
func (c *KubeConfig) Run()
Click to show internal directories.
Click to hide internal directories.