install

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: Apache-2.0 Imports: 27 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

View Source
var (

	// Default namespace and image names which `argocd install` uses during install
	DefaultInstallNamespace = "argocd"
	DefaultControllerImage  = imageNamespace + "/argocd-application-controller:" + imageTag
	DefaultUIImage          = imageNamespace + "/argocd-ui:" + imageTag
	DefaultServerImage      = imageNamespace + "/argocd-server:" + imageTag
	DefaultRepoServerImage  = imageNamespace + "/argocd-repo-server:" + imageTag
)

Functions

This section is empty.

Types

type InstallOptions

type InstallOptions struct {
	DryRun            bool
	Upgrade           bool
	UpdateSuperuser   bool
	UpdateSignature   bool
	SuperuserPassword string
	Namespace         string
	ControllerImage   string
	UIImage           string
	ServerImage       string
	RepoServerImage   string
	ImagePullPolicy   string
}

InstallOptions stores a collection of installation settings.

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()

func (*Installer) InstallApplicationCRD

func (i *Installer) InstallApplicationCRD()

func (*Installer) InstallApplicationController

func (i *Installer) InstallApplicationController()

func (*Installer) InstallArgoCDRepoServer

func (i *Installer) InstallArgoCDRepoServer()

func (*Installer) InstallArgoCDServer

func (i *Installer) InstallArgoCDServer()

func (*Installer) InstallNamespace

func (i *Installer) InstallNamespace()

func (*Installer) InstallRBACConfigMap added in v0.5.0

func (i *Installer) InstallRBACConfigMap()

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) InstallSettings added in v0.3.0

func (i *Installer) InstallSettings()

func (*Installer) MustInstallResource

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

func (*Installer) MustUninstallResource

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

func (*Installer) Uninstall

func (i *Installer) Uninstall(deleteNamespace, deleteCRD bool)

func (*Installer) UninstallResource

func (i *Installer) UninstallResource(obj *unstructured.Unstructured) error

UninstallResource deletes a resource from the cluster

Jump to

Keyboard shortcuts

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