injector

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CNIModeInto

func CNIModeInto(cniMode types.ContainerNetworkMode, i interface{}) (bool, error)

func CloudClientInto

func CloudClientInto(bceClient cloud.Interface, i interface{}) (bool, error)

func CrdClientInto

func CrdClientInto(crdClient versioned.Interface, i interface{}) (bool, error)

CrdClientInto will set crdClient and return the result on i if it implements Scheme. Returns false if i does not implement Scheme.

func KubeClientInto

func KubeClientInto(kubeClient kubernetes.Interface, i interface{}) (bool, error)

CrdClientInto will set crdClient and return the result on i if it implements Scheme. Returns false if i does not implement Scheme.

func KubeInformerInto

func KubeInformerInto(kubeInformer informers.SharedInformerFactory, i interface{}) (bool, error)

func NetworkInformerInto

func NetworkInformerInto(networkInformer crdinformers.SharedInformerFactory, i interface{}) (bool, error)

Types

type CNIModeInject

type CNIModeInject interface {
	InjectCNIMode(cniMode types.ContainerNetworkMode) error
}

type CRDClient

type CRDClient interface {
	InjectCRDClient(crdClient versioned.Interface) error
}

injector crd client to handler of webhook

type CloudClientInject

type CloudClientInject interface {
	InjectCloudClient(bceClient cloud.Interface) error
}

type KubeClient

type KubeClient interface {
	InjectKubeClient(kubeClient kubernetes.Interface) error
}

injector kube client to handler of webhook

type KubeInformerInject

type KubeInformerInject interface {
	InjectKubeInformer(kubeInformer informers.SharedInformerFactory) error
}

type NetworkInformerInject

type NetworkInformerInject interface {
	InjectNetworkInformer(networkInformer crdinformers.SharedInformerFactory) error
}

Jump to

Keyboard shortcuts

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