Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { client.Client DiscoveryClient discovery.DiscoveryInterface }
func (*Client) GetObject ¶
func (c *Client) GetObject(ctx context.Context, options ObjectOptions) (*unstructured.Unstructured, error)
type ClusterOptions ¶
type ClusterOptions struct { // Impersonate is the configuration that RESTClient will use for impersonation. Impersonate *rest.ImpersonationConfig }
func (*ClusterOptions) AddFlags ¶
func (o *ClusterOptions) AddFlags(cmd *cobra.Command)
func (*ClusterOptions) PopulateDefaults ¶
func (o *ClusterOptions) PopulateDefaults()
type ObjectOptions ¶
type ObjectOptions struct { // Kind specifies the kind we want to change. It will be matched against kind, resource-name, aliases etc. Kind string // Name is the name of the object we want to change Name string // Namespace is the namespace of the object we want to change Namespace string }
func (*ObjectOptions) AddFlags ¶
func (o *ObjectOptions) AddFlags(cmd *cobra.Command)
func (*ObjectOptions) PopulateDefaults ¶
func (o *ObjectOptions) PopulateDefaults()
Click to show internal directories.
Click to hide internal directories.