v1alpha1

package
v0.0.0-...-d4aeb26 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the tools v1alpha1 API group +kubebuilder:object:generate=true +groupName=tools.opdev.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "tools.opdev.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type DisconnectedFriendlyApp

type DisconnectedFriendlyApp struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DisconnectedFriendlyAppSpec   `json:"spec,omitempty"`
	Status DisconnectedFriendlyAppStatus `json:"status,omitempty"`
}

DisconnectedFriendlyApp is the Schema for the disconnectedfriendlyapps API

func (*DisconnectedFriendlyApp) BusyBoxReplicas

func (a *DisconnectedFriendlyApp) BusyBoxReplicas() *int32

func (*DisconnectedFriendlyApp) DeepCopy

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

func (*DisconnectedFriendlyApp) DeepCopyInto

func (in *DisconnectedFriendlyApp) DeepCopyInto(out *DisconnectedFriendlyApp)

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

func (*DisconnectedFriendlyApp) DeepCopyObject

func (in *DisconnectedFriendlyApp) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DisconnectedFriendlyApp) PopulateStatus

func (a *DisconnectedFriendlyApp) PopulateStatus()

PopulateStatus updates the status based on other values from the same resource.

func (*DisconnectedFriendlyApp) SleeperReplicas

func (a *DisconnectedFriendlyApp) SleeperReplicas() *int32

type DisconnectedFriendlyAppList

type DisconnectedFriendlyAppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DisconnectedFriendlyApp `json:"items"`
}

DisconnectedFriendlyAppList contains a list of DisconnectedFriendlyApp

func (*DisconnectedFriendlyAppList) DeepCopy

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

func (*DisconnectedFriendlyAppList) DeepCopyInto

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

func (*DisconnectedFriendlyAppList) DeepCopyObject

func (in *DisconnectedFriendlyAppList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DisconnectedFriendlyAppSpec

type DisconnectedFriendlyAppSpec struct {
	// BusyBoxReplicas is the number of replicas of the BusyBox app associated
	// with this instance of DisconnectedFriendlyApp.
	BusyBoxReplicas *int32 `json:"busyBoxReplicas,omitempty"`
	// SleeperReplicas is the number of replicas of the Sleeper app associated
	// with this instance of DisconnectedFriendlyApp.
	SleeperReplicas *int32 `json:"sleeperReplicas,omitempty"`
}

DisconnectedFriendlyAppSpec defines the desired state of DisconnectedFriendlyApp

func (*DisconnectedFriendlyAppSpec) DeepCopy

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

func (*DisconnectedFriendlyAppSpec) DeepCopyInto

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

type DisconnectedFriendlyAppStatus

type DisconnectedFriendlyAppStatus struct {
	// ObservedGeneration is the last generation that the controller has acted upon.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// BusyBoxImage is the image that the controller will use for the BusyBox deployment.
	// This is inferred from the environment variable DFA_BUSYBOX_IMAGE or defaulted.
	BusyBoxImage string `json:"busyBoxImage,omitempty"`
	// SleeperImage is the image that the controller will use for the BusyBox deployment.
	// This is inferred from the environment variable DFA_SLEEPER_IMAGE or defaulted.
	SleeperImage string `json:"sleeperImage,omitempty"`
	// DefaultBusyBoxImage is the default value hardcoded for BusyBox in this operator.
	DefaultBusyBoxImage string `json:"defaultBusyBoxImage,omitempty"`
	// DefaultSleeperImage is the default value hardcoded for Sleeper in this operator.
	DefaultSleeperImage string `json:"defaultSleeperImage,omitempty"`
}

DisconnectedFriendlyAppStatus defines the observed state of DisconnectedFriendlyApp

func (*DisconnectedFriendlyAppStatus) DeepCopy

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

func (*DisconnectedFriendlyAppStatus) DeepCopyInto

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