Documentation ¶
Index ¶
- func MetaNamespaceKey(obj interface{}) string
- type K8sAPI
- func NewAPI(timeout time.Duration) (*K8sAPI, error)
- func NewAPIForConfig(config *rest.Config, timeout time.Duration) (*K8sAPI, error)
- func NewAPIForConfigOrDie(config *rest.Config, timeout time.Duration) (*K8sAPI, error)
- func NewAPIForContext(kubeContext string, timeout time.Duration) (*K8sAPI, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetaNamespaceKey ¶
func MetaNamespaceKey(obj interface{}) string
Types ¶
type K8sAPI ¶
type K8sAPI struct { *rest.Config Client kubernetes.Interface EventClient v1core.EventsGetter DynamicClient dynamic.Interface DiscoveryClient discovery.DiscoveryInterface FlomeshClient flomesh.Interface ExtensionsClient extensionsClientset.Interface }
func NewAPIForConfig ¶
func NewAPIForConfigOrDie ¶
Click to show internal directories.
Click to hide internal directories.