Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
- func (c *Client) Delete(ctx context.Context, gvk schema.GroupVersionKind, ns string, name string) error
- func (c *Client) Get(ctx context.Context, gvk schema.GroupVersionKind, ns string, name string) (*unstructured.Unstructured, error)
- func (c *Client) Update(ctx context.Context, obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
- type ExposeOperator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func InClusterClient ¶
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
func (*Client) Get ¶
func (c *Client) Get(ctx context.Context, gvk schema.GroupVersionKind, ns string, name string) (*unstructured.Unstructured, error)
func (*Client) Update ¶
func (c *Client) Update(ctx context.Context, obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
type ExposeOperator ¶
type ExposeOperator struct {
// contains filtered or unexported fields
}
func NewExposeOperator ¶
func NewExposeOperator(name string, kc *Client, namespace string) *ExposeOperator
func (*ExposeOperator) HijackService ¶
func (*ExposeOperator) RestoreService ¶
func (o *ExposeOperator) RestoreService(ctx context.Context, serviceName string) error
Click to show internal directories.
Click to hide internal directories.