client

package
v0.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Fleet     fleetcontrollers.Interface
	Core      corev1.Interface
	Apply     apply.Apply
	Namespace string
}

func NewClient

func NewClient(kubeConfig, namespace string) (*Client, error)

type Getter

type Getter struct {
	Kubeconfig      string
	FleetKubeconfig string
	Namespace       string
}

func NewGetter

func NewGetter(kubeconfig, namespace string) *Getter

func (*Getter) Get

func (g *Getter) Get() (*Client, error)

func (*Getter) GetFleet

func (g *Getter) GetFleet() (*Client, error)

Jump to

Keyboard shortcuts

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