client

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package client initialize and wrap a Kubernete's client-go rest.Config client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface added in v0.5.0

type Interface interface {
	GetRestConfig() *rest.Config
}

Interface abstracts access to a concrete Kubernetes rest.Client

type RestClient added in v0.5.0

type RestClient struct {
	// contains filtered or unexported fields
}

RestClient holds a Kubernetes rest client configuration

func New added in v0.5.0

func New(apiserver, kubeconfig string) (*RestClient, error)

New create a new RestClient

func (*RestClient) GetRestConfig added in v0.5.0

func (r *RestClient) GetRestConfig() *rest.Config

GetRestConfig returns the current rest.Config

Jump to

Keyboard shortcuts

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