clientset

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 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

	Prometheus promv1.PrometheusConfigClient

	// config for supergloo
	Input *inputClients

	// discovery resources from kubernetes
	Discovery *discoveryClients
}

func ClientsetFromContext

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

initialize all resource clients here that will share a cache

type IstioClients

type IstioClients struct {
	RbacConfig         rbacv1alpha1.RbacConfigClient
	ServiceRole        rbacv1alpha1.ServiceRoleClient
	ServiceRoleBinding rbacv1alpha1.ServiceRoleBindingClient
	MeshPolicy         policyv1alpha1.MeshPolicyClient
	DestinationRule    v1alpha3.DestinationRuleClient
	VirtualService     v1alpha3.VirtualServiceClient
}

func IstioFromContext

func IstioFromContext(ctx context.Context) (*IstioClients, error)

Jump to

Keyboard shortcuts

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