clientset

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 19 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
	Supergloo *SuperglooClients

	// 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)

type LinkerdClients added in v0.3.12

type LinkerdClients struct {
	ServiceProfile v1.ServiceProfileClient
}

func LinkerdFromContext added in v0.3.12

func LinkerdFromContext(ctx context.Context) (*LinkerdClients, error)

type SuperglooClients added in v0.3.12

type SuperglooClients struct {
	Install      v1.InstallClient
	Mesh         v1.MeshClient
	MeshGroup    v1.MeshGroupClient
	MeshIngress  v1.MeshIngressClient
	Upstream     gloov1.UpstreamClient
	RoutingRule  v1.RoutingRuleClient
	SecurityRule v1.SecurityRuleClient
	TlsSecret    v1.TlsSecretClient
	Secret       gloov1.SecretClient
}

Jump to

Keyboard shortcuts

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