Documentation ¶
Index ¶
- func CrdsFromManifest(crdManifestYaml string) ([]*v1beta1.CustomResourceDefinition, error)
- func CreateCrds(apiExts apiexts.Interface, crds ...*v1beta1.CustomResourceDefinition) error
- func DeleteCrds(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 ¶
func CreateCrds(apiExts apiexts.Interface, crds ...*v1beta1.CustomResourceDefinition) error
Types ¶
type KubeInstaller ¶
type KubeInstaller interface { Create(obj runtime.Object) error Update(obj runtime.Object) error Delete(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.