Help us shape the future of Go! Take the 2026 Go Developer Survey

install

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

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