Documentation ¶
Index ¶
- func ManifestReader(ctx context.Context, src, baseDir string) (reader io.ReadCloser)
- func WriteManifest(obj []*K8sObject, writer io.Writer) (err error)
- type K8sObject
- func (o *K8sObject) CrdGvk() string
- func (o *K8sObject) Gvk() string
- func (o *K8sObject) ID() string
- func (o *K8sObject) Labels() (l map[string]string)
- func (o *K8sObject) OwnerReferences() (r []*OwnerReference)
- func (o *K8sObject) Validate() (err error)
- func (o *K8sObject) WriteYaml(writer io.Writer) (err error)
- type OwnerReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManifestReader ¶
func ManifestReader(ctx context.Context, src, baseDir string) (reader io.ReadCloser)
Provides a reader for the given manifest dir or URL.
Types ¶
Click to show internal directories.
Click to hide internal directories.