client

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 5 Imported by: 1

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, context, 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