api

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Phase

type Phase string

Phase is the current phase of the deployment

const (
	// PhaseDeploying signals that the resources are being deployed
	PhaseDeploying Phase = "Deploying"

	// PhaseDeployed signals that the resources are successfully deployed
	PhaseDeployed Phase = "Deployed"

	// PhaseDeleting signals that the resources are being removed
	PhaseDeleting Phase = "Deleting"

	// PhaseDeleted signals that the resources are deleted
	PhaseDeleted Phase = "Deleted"

	// PhaseError signals that the deployment is in an error state
	PhaseError Phase = "Error"

	// PhaseUpgrading signals that the resources are being deployed
	PhaseUpgrading Phase = "Upgrading"

	// PhaseEmpty is an uninitialized phase
	PhaseEmpty Phase = ""
)

type Status

type Status struct {
	Phase Phase `json:"phase,omitempty"`
	// A list of current conditions of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty" optional:"true"`
	// The version of the resource as defined by the operator
	OperatorVersion string `json:"operatorVersion,omitempty" optional:"true"`
	// The desired version of the resource
	TargetVersion string `json:"targetVersion,omitempty" optional:"true"`
	// The observed version of the resource
	ObservedVersion string `json:"observedVersion,omitempty" optional:"true"`
}

Status represents status of a operator configuration resource; must be inlined in the operator configuration resource status

func (*Status) DeepCopyInto added in v0.0.2

func (in *Status) DeepCopyInto(out *Status)

DeepCopyInto is copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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