Documentation
¶
Index ¶
- func FlagParse()
- func FlagString(name string, value string, usage string) *string
- type Client
- func (c *Client) BuildConfigFromFlags(masterUrl string, kubeconfigPath string) (*rest.Config, error)
- func (c *Client) InClusterConfig() (*rest.Config, error)
- func (c *Client) NewForConfig(*rest.Config) (*kubernetes.Clientset, error)
- func (c *Client) NewIngressRouteClientForConfig(*rest.Config) (*ingressroute.CustomResourceClient, error)
- func (c *Client) OsUserHomeDir() (string, error)
- type MockRoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BuildConfigFromFlags ¶
func (*Client) NewForConfig ¶
NewForConfig returns a new Kubernetes clientset
func (*Client) NewIngressRouteClientForConfig ¶
func (c *Client) NewIngressRouteClientForConfig(*rest.Config) (*ingressroute.CustomResourceClient, error)
NewIngressRouteClientForConfig returns a new ingressroute client
func (*Client) OsUserHomeDir ¶
type MockRoundTripper ¶
MockRoundTripper is a mock implementation of the RoundTripper interface.
Click to show internal directories.
Click to hide internal directories.