Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultClient ¶
func NewClient ¶
func NewClient(host string, tp token.TokenProvider, ca []byte) (*DefaultClient, error)
func NewInCluster ¶
func NewInCluster() (*DefaultClient, error)
NewInCluster creates Client if it is inside Kubernetes.
func (*DefaultClient) APIServerURL ¶
func (kc *DefaultClient) APIServerURL() string
Click to show internal directories.
Click to hide internal directories.