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

kwebui

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFilePattern = "/tmp/config_%s"
View Source
const InventoryFilePattern = "/tmp/inventory_%s.ini"
View Source
const PhaseDeprovision = "DEPROVISION_STARTED"
View Source
const PhaseDeprovisionFailed = "DEPROVISION_FAILED"
View Source
const PhaseDeprovisioned = "DEPROVISIONED"
View Source
const PhaseFreshProvision = "PROVISION_STARTED"
View Source
const PhaseNoDeployment = "NOT_DEPLOYED"
View Source
const PhaseOtherError = "OTHER_ERROR"
View Source
const PhaseOwnerReferenceFailed = "OWNER_REFERENCE_FAILED"
View Source
const PhaseProvisionFailed = "PROVISION_FAILED"
View Source
const PhaseProvisioned = "PROVISIONED"
View Source
const PlaybookFile = "/opt/kwebui/kubevirt-web-ui-ansible/playbooks/kubevirt-web-ui/config.yml"
View Source
const VersionAutomatic = "automatic"
View Source
const WebUIContainerName = "console"

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new KWebUI Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AfterLast

func AfterLast(value string, a string) string

func Def

func Def(s string, other string, defVal string) string

func LogPerLine

func LogPerLine(header string, out string)

func ReconcileExistingDeployment

func ReconcileExistingDeployment(r *ReconcileKWebUI, request reconcile.Request, instance *kubevirtv1alpha1.KWebUI, deployment *extenstionsv1beta1.Deployment) (reconcile.Result, error)

func RemoveFile

func RemoveFile(name string)

func RunCommand

func RunCommand(cmd string, args []string, env []string, anonymArgs []string) error

func Unique

func Unique() string

Types

type ReconcileKWebUI

type ReconcileKWebUI struct {
	// contains filtered or unexported fields
}

ReconcileKWebUI reconciles a KWebUI object

func (*ReconcileKWebUI) Reconcile

func (r *ReconcileKWebUI) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a KWebUI object and makes changes based on the state read and what is in the KWebUI.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

Jump to

Keyboard shortcuts

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