orb

package
v1.87.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUndefinedDBConn = errors.New("desired state for database connection is undefined")

Functions

func AdaptFunc

func AdaptFunc(
	action string,
	binaryVersion *string,
	gitops bool,
	features []string,
	dbConn db.Connection,
) operator.AdaptFunc

func Reconcile

func Reconcile(
	monitor mntr.Monitor,
	spec *Spec,
	gitops bool,
) (
	operator.EnsureFunc,
	operator.DestroyFunc,
)

Types

type DesiredV0

type DesiredV0 struct {
	Common             *tree.Common `yaml:",inline"`
	Spec               *Spec        `json:"spec" yaml:"spec"`
	IAM                *tree.Tree   `json:"iam" yaml:"iam"`
	DatabaseConnection *tree.Tree   `json:"databaseConnection" yaml:"databaseConnection"`
}

func ParseDesiredV0

func ParseDesiredV0(desiredTree *tree.Tree) (*DesiredV0, error)

type Spec

type Spec struct {
	Verbose         bool                `json:"verbose" yaml:"verbose"`
	NodeSelector    map[string]string   `json:"nodeSelector,omitempty" yaml:"nodeSelector,omitempty"`
	Tolerations     []corev1.Toleration `json:"tolerations,omitempty" yaml:"tolerations,omitempty"`
	Version         string              `json:"version,omitempty" yaml:"version,omitempty"`
	SelfReconciling bool                `json:"selfReconciling" yaml:"selfReconciling"`
	//Use this registry to pull container images from
	//@default: <multiple public registries>
	CustomImageRegistry string `json:"customImageRegistry,omitempty" yaml:"customImageRegistry,omitempty"`
}

+kubebuilder:object:generate=true

func (*Spec) DeepCopy

func (in *Spec) DeepCopy() *Spec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

DeepCopyInto is an autogenerated deepcopy function, 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