clientset

package
v0.3.25 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	RestConfig *rest.Config

	Kube          kubernetes.Interface
	ApiExtensions clientset.Interface

	Input *inputClients

	Discovery *discoveryClients
}

func ClientsetFromContext

func ClientsetFromContext(ctx context.Context) (*Clientset, error)

initialize all resource clients here that will share a cache

type IstioClientset

type IstioClientset struct {
	MeshPolicies MeshPolicyClientLoader
}

func IstioClientsetFromContext

func IstioClientsetFromContext(ctx context.Context) (*IstioClientset, error)

type MeshPolicyClientLoader added in v0.3.23

type MeshPolicyClientLoader func() (v1alpha1.MeshPolicyClient, error)

Jump to

Keyboard shortcuts

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