Documentation ¶
Index ¶
- Variables
- func NewClient(restConfig *restclient.Config, options runtimeclient.Options) (runtimeclient.Client, error)
- func NewRestClient(conf []byte) (*restclient.Config, error)
- func NewRestToClientSet(restConfig *restclient.Config) (*kubernetes.Clientset, error)
- func NewRestToClusterObject(restConfig *restclient.Config) (cluster.Cluster, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnectError = errors.New("connection error in k8s client")
Functions ¶
func NewClient ¶ added in v1.0.12
func NewClient(restConfig *restclient.Config, options runtimeclient.Options) (runtimeclient.Client, error)
func NewRestClient ¶
func NewRestClient(conf []byte) (*restclient.Config, error)
func NewRestToClientSet ¶
func NewRestToClientSet(restConfig *restclient.Config) (*kubernetes.Clientset, error)
func NewRestToClusterObject ¶
func NewRestToClusterObject(restConfig *restclient.Config) (cluster.Cluster, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.