Documentation ¶
Index ¶
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
}
Client is a client for registering custom resources.
func NewClient ¶
NewClient returns a client that connects to the API server specified by the kubeConfig provided.
func (*Client) Register ¶
func (c *Client) Register(ctx context.Context, crd *apiextensionsv1.CustomResourceDefinition) error
Register upserts a CustomResourceDefinition.
Click to show internal directories.
Click to hide internal directories.