install

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 // --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