Documentation ¶
Index ¶
- func ParseManifestYAML(manifest, namespace string) ([]corev1.ObjectReference, error)
- type App
- func (r *App) Install(ctx context.Context, name, namespace, version string, ...) error
- func (r *App) Search(ctx context.Context, name string) (string, error)
- func (r *App) Uninstall(ctx context.Context, name, namespace string) error
- func (r *App) Workloads(ctx context.Context, namespace string) ([]corev1.ObjectReference, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseManifestYAML ¶ added in v0.0.5
func ParseManifestYAML(manifest, namespace string) ([]corev1.ObjectReference, error)
ParseManifestYAML splits yaml manifests with multiple K8s object specs and returns list of workload object references
Types ¶
type App ¶ added in v0.0.4
type App struct {
// contains filtered or unexported fields
}
App represents K8s app defined with plain YAML manifests
func (*App) Install ¶ added in v0.0.4
func (r *App) Install(ctx context.Context, name, namespace, version string, options map[string]string) error
Install installs the app specified by name, version and namespace.
Click to show internal directories.
Click to hide internal directories.