Documentation ¶
Overview ¶
Package client initialize and wrap a Kubernete's client-go rest.Config client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestClient ¶ added in v0.5.0
type RestClient struct {
// contains filtered or unexported fields
}
RestClient holds a Kubernetes rest client configuration
func New ¶ added in v0.5.0
func New(apiserver, kubeconfig string) (*RestClient, error)
New create a new RestClient
func (*RestClient) GetRestConfig ¶ added in v0.5.0
func (r *RestClient) GetRestConfig() *rest.Config
GetRestConfig returns the current rest.Config
Click to show internal directories.
Click to hide internal directories.