Documentation ¶
Index ¶
- func CNIModeInto(cniMode types.ContainerNetworkMode, i interface{}) (bool, error)
- func CloudClientInto(bceClient cloud.Interface, i interface{}) (bool, error)
- func CrdClientInto(crdClient versioned.Interface, i interface{}) (bool, error)
- func KubeClientInto(kubeClient kubernetes.Interface, i interface{}) (bool, error)
- func KubeInformerInto(kubeInformer informers.SharedInformerFactory, i interface{}) (bool, error)
- func NetworkInformerInto(networkInformer crdinformers.SharedInformerFactory, i interface{}) (bool, error)
- type CNIModeInject
- type CRDClient
- type CloudClientInject
- type KubeClient
- type KubeInformerInject
- type NetworkInformerInject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CNIModeInto ¶
func CNIModeInto(cniMode types.ContainerNetworkMode, i interface{}) (bool, error)
func CrdClientInto ¶
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 CloudClientInject ¶
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
}
Click to show internal directories.
Click to hide internal directories.