resourcemanager

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action string
const (
	InstallAction   Action = "install"
	UninstallAction Action = "uninstall"
)

type Manager

type Manager interface {
	SetObjects(objects object.K8sObjects)
	Install() Manager
	Uninstall() Manager
	Do() error
	Resources() object.K8sObjects
	YAML() (string, error)
}

type ResourcesManager

type ResourcesManager struct {
	// contains filtered or unexported fields
}

func New

func New(client k8sclient.Client, labelManager k8s.LabelManager) *ResourcesManager

func (*ResourcesManager) Do

func (r *ResourcesManager) Do() error

func (*ResourcesManager) Install

func (r *ResourcesManager) Install() Manager

func (*ResourcesManager) Resources

func (r *ResourcesManager) Resources() object.K8sObjects

func (*ResourcesManager) SetObjects

func (r *ResourcesManager) SetObjects(objects object.K8sObjects)

func (*ResourcesManager) Uninstall

func (r *ResourcesManager) Uninstall() Manager

func (*ResourcesManager) YAML

func (r *ResourcesManager) YAML() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL