deployments

package
v0.0.0-...-7aa9df5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EiriniDeploymentID = "eirini"
)
View Source
const (
	GiteaDeploymentID = "gitea"
)
View Source
const (
	QuarksDeploymentID = "quarks"
)
View Source
const (
	RegistryDeploymentID = "carrier-registry"
)
View Source
const (
	TektonDeploymentID = "tekton"
)
View Source
const (
	TraefikDeploymentID = "traefik"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Eirini

type Eirini struct {
	Debug   bool
	Timeout int
}

func (*Eirini) Backup

func (k *Eirini) Backup(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Eirini) Delete

func (k Eirini) Delete(c *kubernetes.Cluster, ui *ui.UI) error

Delete removes Eirini from kubernetes cluster

func (Eirini) Deploy

func (k Eirini) Deploy(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

func (Eirini) Describe

func (k Eirini) Describe() string

func (Eirini) ExtractRelease

func (k Eirini) ExtractRelease() (string, error)

ExtractRelease extracts the embedded Eirini release tarball in a temporary directory. It returns the path to the directory or an error if something fails.

func (Eirini) GetVersion

func (k Eirini) GetVersion() string

func (*Eirini) ID

func (k *Eirini) ID() string

func (*Eirini) NeededOptions

func (k *Eirini) NeededOptions() kubernetes.InstallationOptions

func (*Eirini) Restore

func (k *Eirini) Restore(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Eirini) Upgrade

func (k Eirini) Upgrade(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

type Gitea

type Gitea struct {
	Debug   bool
	Timeout int
}

func (*Gitea) Backup

func (k *Gitea) Backup(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Gitea) Delete

func (k Gitea) Delete(c *kubernetes.Cluster, ui *ui.UI) error

Delete removes Gitea from kubernetes cluster

func (Gitea) Deploy

func (k Gitea) Deploy(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

func (Gitea) Describe

func (k Gitea) Describe() string

func (Gitea) GetVersion

func (k Gitea) GetVersion() string

func (*Gitea) ID

func (k *Gitea) ID() string

func (*Gitea) NeededOptions

func (k *Gitea) NeededOptions() kubernetes.InstallationOptions

func (*Gitea) Restore

func (k *Gitea) Restore(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Gitea) Upgrade

func (k Gitea) Upgrade(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

type Quarks

type Quarks struct {
	Debug   bool
	Timeout int
}

func (*Quarks) Backup

func (k *Quarks) Backup(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Quarks) Delete

func (k Quarks) Delete(c *kubernetes.Cluster, ui *ui.UI) error

Delete removes Quarks from kubernetes cluster

func (Quarks) Deploy

func (k Quarks) Deploy(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

func (Quarks) Describe

func (k Quarks) Describe() string

func (Quarks) GetVersion

func (k Quarks) GetVersion() string

func (*Quarks) ID

func (k *Quarks) ID() string

func (*Quarks) NeededOptions

func (k *Quarks) NeededOptions() kubernetes.InstallationOptions

func (*Quarks) Restore

func (k *Quarks) Restore(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Quarks) Upgrade

func (k Quarks) Upgrade(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

type Registry

type Registry struct {
	Debug   bool
	Timeout int
}

func (*Registry) Backup

func (k *Registry) Backup(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Registry) Delete

func (k Registry) Delete(c *kubernetes.Cluster, ui *ui.UI) error

Delete removes Registry from kubernetes cluster

func (Registry) Deploy

func (k Registry) Deploy(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

func (Registry) Describe

func (k Registry) Describe() string

func (Registry) GetVersion

func (k Registry) GetVersion() string

func (*Registry) ID

func (k *Registry) ID() string

func (*Registry) NeededOptions

func (k *Registry) NeededOptions() kubernetes.InstallationOptions

func (*Registry) Restore

func (k *Registry) Restore(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Registry) Upgrade

func (k Registry) Upgrade(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

type Tekton

type Tekton struct {
	Debug      bool
	Secrets    []string
	ConfigMaps []string
	Timeout    int
}

func (*Tekton) Backup

func (k *Tekton) Backup(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Tekton) Delete

func (k Tekton) Delete(c *kubernetes.Cluster, ui *ui.UI) error

Delete removes Tekton from kubernetes cluster

func (Tekton) Deploy

func (k Tekton) Deploy(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

func (Tekton) Describe

func (k Tekton) Describe() string

func (Tekton) GetVersion

func (k Tekton) GetVersion() string

func (*Tekton) ID

func (k *Tekton) ID() string

func (*Tekton) NeededOptions

func (k *Tekton) NeededOptions() kubernetes.InstallationOptions

func (*Tekton) Restore

func (k *Tekton) Restore(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Tekton) Upgrade

func (k Tekton) Upgrade(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

type Traefik

type Traefik struct {
	Debug   bool
	Timeout int
}

func (*Traefik) Backup

func (k *Traefik) Backup(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Traefik) Delete

func (k Traefik) Delete(c *kubernetes.Cluster, ui *ui.UI) error

Delete removes traefik from kubernetes cluster

func (Traefik) Deploy

func (k Traefik) Deploy(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

func (Traefik) Describe

func (k Traefik) Describe() string

func (Traefik) GetVersion

func (k Traefik) GetVersion() string

func (*Traefik) ID

func (k *Traefik) ID() string

func (*Traefik) NeededOptions

func (k *Traefik) NeededOptions() kubernetes.InstallationOptions

func (*Traefik) Restore

func (k *Traefik) Restore(c *kubernetes.Cluster, ui *ui.UI, d string) error

func (Traefik) Upgrade

func (k Traefik) Upgrade(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.InstallationOptions) error

Jump to

Keyboard shortcuts

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