install

package
v2.1.0-beta2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallOptions

type InstallOptions struct {
	Upgrade          bool   // --upgrade
	DryRun           bool   // --dry-run
	Namespace        string // --install-namespace
	InstanceID       string // --instanceid
	ConfigMap        string // --configmap
	ControllerImage  string // --controller-image
	ServiceAccount   string // --service-account
	ExecutorImage    string // --executor-image
	UIImage          string // --ui-image
	UIBaseHref       string // --ui-base-href
	UIServiceAccount string // --ui-service-account
	EnableWebConsole bool   // --enable-web-console
	ImagePullPolicy  string // --image-pull-policy
}

type Installer

type Installer struct {
	InstallOptions
	// contains filtered or unexported fields
}

func NewInstaller

func NewInstaller(config *rest.Config, opts InstallOptions) (*Installer, error)

func (*Installer) Install

func (i *Installer) Install()

Install installs the Argo controller and UI in the given Namespace

func (*Installer) InstallArgoUI

func (i *Installer) InstallArgoUI()

func (*Installer) InstallResource

func (i *Installer) InstallResource(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)

InstallResource creates or updates a resource. If installed resource is up-to-date, does nothing

func (*Installer) InstallWorkflowCRD

func (i *Installer) InstallWorkflowCRD()

func (*Installer) InstallWorkflowController

func (i *Installer) InstallWorkflowController()

func (*Installer) IsRBACSupported

func (i *Installer) IsRBACSupported() bool

IsRBACSupported returns whether or not RBAC is supported on the cluster

func (*Installer) MustInstallResource

func (i *Installer) MustInstallResource(obj *unstructured.Unstructured) *unstructured.Unstructured

Jump to

Keyboard shortcuts

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