Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Namespace string *kubernetes.Clientset *rest.Config }
Client is kubernetes client set wrapper
func NewClient ¶
func NewClient(clientGetter genericclioptions.RESTClientGetter) (*Client, error)
NewClient return new kubernetes client
type ToggleOptions ¶
type ToggleOptions struct { Service string Ingress string Kube *kube.ConfigFlags Host *string }
func (*ToggleOptions) GetIngress ¶
func (opts *ToggleOptions) GetIngress(resource string) (*networkv1.Ingress, error)
func (*ToggleOptions) Parse ¶
func (opts *ToggleOptions) Parse() *flag.FlagSet
func (*ToggleOptions) Patch ¶
func (opts *ToggleOptions) Patch(patch *Patch) error
Click to show internal directories.
Click to hide internal directories.