Documentation ¶
Index ¶
- type InstallOptions
- type Installer
- func (i *Installer) Install()
- func (i *Installer) InstallArgoUI()
- func (i *Installer) InstallResource(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
- func (i *Installer) InstallWorkflowCRD()
- func (i *Installer) InstallWorkflowController()
- func (i *Installer) IsRBACSupported() bool
- func (i *Installer) MustInstallResource(obj *unstructured.Unstructured) *unstructured.Unstructured
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 ¶
IsRBACSupported returns whether or not RBAC is supported on the cluster
func (*Installer) MustInstallResource ¶
func (i *Installer) MustInstallResource(obj *unstructured.Unstructured) *unstructured.Unstructured
Click to show internal directories.
Click to hide internal directories.