Documentation ¶
Index ¶
- func ApplyCRDs(ctx context.Context, c *rest.Config, ...) error
- func ApplyNamespace(ctx context.Context, c *rest.Config, namespace string) (*corev1.Namespace, error)
- func GetConfig(kubeConfigPath string) (*rest.Config, error)
- func KubeConfigFromClient(c client.Client) *rest.Config
- func NewClient(kubeConfigPath string) (client.Client, error)
- func ToCRD(d *CustomResourceDefinition) *apiextensionsv1.CustomResourceDefinition
- type CustomResourceDefinition
- type Object
- type ObjectList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyCRDs ¶
func ApplyCRDs(ctx context.Context, c *rest.Config, crds ...*apiextensionsv1.CustomResourceDefinition) error
func ApplyNamespace ¶
func ToCRD ¶
func ToCRD(d *CustomResourceDefinition) *apiextensionsv1.CustomResourceDefinition
Types ¶
type Object ¶
func NewForGroupVersionKind ¶
func NewForGroupVersionKind(gvk schema.GroupVersionKind) (Object, error)
type ObjectList ¶
type ObjectList = client.ObjectList
func ObjectListFromRuntimeObject ¶
func ObjectListFromRuntimeObject(ro runtime.Object) (ObjectList, error)
Click to show internal directories.
Click to hide internal directories.