Documentation ¶
Index ¶
- Variables
- type InstallOptions
- type Installer
- func (i *Installer) Install()
- func (i *Installer) InstallApplicationCRD()
- func (i *Installer) InstallApplicationController()
- func (i *Installer) InstallArgoCDRepoServer()
- func (i *Installer) InstallArgoCDServer()
- func (i *Installer) InstallNamespace()
- func (i *Installer) InstallResource(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
- func (i *Installer) MustInstallResource(obj *unstructured.Unstructured) *unstructured.Unstructured
- func (i *Installer) MustUninstallResource(obj *unstructured.Unstructured)
- func (i *Installer) Uninstall()
- func (i *Installer) UninstallResource(obj *unstructured.Unstructured) error
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 ConfigSuperuser bool ConfigMap 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) 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) MustInstallResource ¶
func (i *Installer) MustInstallResource(obj *unstructured.Unstructured) *unstructured.Unstructured
func (*Installer) MustUninstallResource ¶
func (i *Installer) MustUninstallResource(obj *unstructured.Unstructured)
func (*Installer) UninstallResource ¶
func (i *Installer) UninstallResource(obj *unstructured.Unstructured) error
UninstallResource deletes a resource from the cluster
Click to show internal directories.
Click to hide internal directories.