Documentation ¶
Index ¶
- type K8sClientBuilder
- type K8sClientBuilderImpl
- func (s *K8sClientBuilderImpl) GetClientset() (kubernetes.Interface, error)
- func (s *K8sClientBuilderImpl) GetConfig() *rest.Config
- func (s *K8sClientBuilderImpl) GetExtClientset() (clientset.Interface, error)
- func (s *K8sClientBuilderImpl) GetRestClient(gv *schema.GroupVersion, unversion bool) (rest.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClientBuilder ¶
type K8sClientBuilder interface { GetConfig() *rest.Config GetClientset() (kubernetes.Interface, error) GetExtClientset() (clientset.Interface, error) GetRestClient(*schema.GroupVersion, bool) (rest.Interface, error) }
func NewK8sClientBuilder ¶
func NewK8sClientBuilder() (K8sClientBuilder, error)
type K8sClientBuilderImpl ¶
type K8sClientBuilderImpl struct { K8sClientBuilder // contains filtered or unexported fields }
func (*K8sClientBuilderImpl) GetClientset ¶
func (s *K8sClientBuilderImpl) GetClientset() (kubernetes.Interface, error)
func (*K8sClientBuilderImpl) GetConfig ¶
func (s *K8sClientBuilderImpl) GetConfig() *rest.Config
func (*K8sClientBuilderImpl) GetExtClientset ¶
func (s *K8sClientBuilderImpl) GetExtClientset() (clientset.Interface, error)
func (*K8sClientBuilderImpl) GetRestClient ¶
func (s *K8sClientBuilderImpl) GetRestClient(gv *schema.GroupVersion, unversion bool) (rest.Interface, error)
Click to show internal directories.
Click to hide internal directories.