Documentation
¶
Index ¶
- func CrdsFromManifest(crdManifestYaml string) ([]*v1beta1.CustomResourceDefinition, error)
- func CreateCrds(ctx context.Context, apiExts apiexts.Interface, ...) error
- func DeleteCrds(ctx context.Context, apiExts apiexts.Interface, crdNames ...string) error
- type KubeInstaller
- type KubeObjectList
- type UntypedKubeObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrdsFromManifest ¶
func CrdsFromManifest(crdManifestYaml string) ([]*v1beta1.CustomResourceDefinition, error)
func CreateCrds ¶
Types ¶
type KubeInstaller ¶
type KubeInstaller interface {
Create(ctx context.Context, obj runtime.Object) error
Update(ctx context.Context, obj runtime.Object) error
Delete(ctx context.Context, obj runtime.Object) error
}
func NewKubeInstaller ¶
func NewKubeInstaller(kube kubernetes.Interface, exts apiexts.Interface, namespace string) KubeInstaller
generic kube installer, CUD arbitrary kube objects
type KubeObjectList ¶
func ParseKubeManifest ¶
func ParseKubeManifest(manifest string) (KubeObjectList, error)
type UntypedKubeObject ¶
type UntypedKubeObject map[string]interface{}
Click to show internal directories.
Click to hide internal directories.