v1alpha1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the workloads v1alpha1 API group +kubebuilder:object:generate=true +groupName=korifi.cloudfoundry.org

Index

Constants

View Source
const (
	CFOrgFinalizerName = "cfOrg.korifi.cloudfoundry.org"

	OrgNameKey             = "cloudfoundry.org/org-name"
	OrgGUIDKey             = "cloudfoundry.org/org-guid"
	OrgSpaceDeprecatedName = "XXX-deprecated-XXX"
)
View Source
const (
	CFSpaceFinalizerName = "cfSpace.korifi.cloudfoundry.org"

	SpaceNameKey = "cloudfoundry.org/space-name"
	SpaceGUIDKey = "cloudfoundry.org/space-guid"
)
View Source
const (
	TaskInitializedConditionType = "Initialized"
	TaskStartedConditionType     = "Started"
	TaskSucceededConditionType   = "Succeeded"
	TaskFailedConditionType      = "Failed"
	TaskCanceledConditionType    = "Canceled"
)
View Source
const (
	BuildpackLifecycle LifecycleType = "buildpack"
	DockerPackage      PackageType   = "docker"

	StartedState DesiredState = "STARTED"
	StoppedState DesiredState = "STOPPED"

	HTTPHealthCheckType    HealthCheckType = "http"
	PortHealthCheckType    HealthCheckType = "port"
	ProcessHealthCheckType HealthCheckType = "process"
)
View Source
const (
	CFAppGUIDLabelKey        = "korifi.cloudfoundry.org/app-guid"
	CFAppRevisionKey         = "korifi.cloudfoundry.org/app-rev"
	CFAppLastStopRevisionKey = "korifi.cloudfoundry.org/last-stop-app-rev"
	CFAppRevisionKeyDefault  = "0"
	CFPackageGUIDLabelKey    = "korifi.cloudfoundry.org/package-guid"
	CFBuildGUIDLabelKey      = "korifi.cloudfoundry.org/build-guid"
	CFProcessGUIDLabelKey    = "korifi.cloudfoundry.org/process-guid"
	CFProcessTypeLabelKey    = "korifi.cloudfoundry.org/process-type"
	CFDomainGUIDLabelKey     = "korifi.cloudfoundry.org/domain-guid"
	CFRouteGUIDLabelKey      = "korifi.cloudfoundry.org/route-guid"
	CFTaskGUIDLabelKey       = "korifi.cloudfoundry.org/task-guid"

	StagingConditionType   = "Staging"
	ReadyConditionType     = "Ready"
	SucceededConditionType = "Succeeded"

	PropagateRoleBindingAnnotation    = "cloudfoundry.org/propagate-cf-role"
	PropagateServiceAccountAnnotation = "cloudfoundry.org/propagate-service-account"
	PropagateDeletionAnnotation       = "cloudfoundry.org/propagate-deletion"
	PropagatedFromLabel               = "cloudfoundry.org/propagated-from"
)
View Source
const (
	BuildWorkloadFinalizerName = "kpack-image-builder.korifi.cloudfoundry.org/buildworkload"
)
View Source
const (
	CFAppFinalizerName = "cfApp.korifi.cloudfoundry.org"
)
View Source
const (
	CFDomainFinalizerName = "cfDomain.korifi.cloudfoundry.org"
)
View Source
const (
	CFPackageFinalizerName = "korifi.cloudfoundry.org/cfPackageController"
)
View Source
const (
	ProcessTypeWeb = "web"
)
View Source
const (
	UserProvidedType = "user-provided"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "korifi.cloudfoundry.org", 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 AppWorkload

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

	Spec   AppWorkloadSpec   `json:"spec,omitempty"`
	Status AppWorkloadStatus `json:"status,omitempty"`
}

AppWorkload is the Schema for the appworkloads API

func (*AppWorkload) DeepCopy

func (in *AppWorkload) DeepCopy() *AppWorkload

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

func (*AppWorkload) DeepCopyInto

func (in *AppWorkload) DeepCopyInto(out *AppWorkload)

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

func (*AppWorkload) DeepCopyObject

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

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

type AppWorkloadList

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

AppWorkloadList contains a list of AppWorkload

func (*AppWorkloadList) DeepCopy

func (in *AppWorkloadList) DeepCopy() *AppWorkloadList

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

func (*AppWorkloadList) DeepCopyInto

func (in *AppWorkloadList) DeepCopyInto(out *AppWorkloadList)

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

func (*AppWorkloadList) DeepCopyObject

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

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

type AppWorkloadSpec

type AppWorkloadSpec struct {
	// +kubebuilder:validation:Required
	GUID        string `json:"GUID"`
	Version     string `json:"version"`
	AppGUID     string `json:"appGUID"`
	ProcessType string `json:"processType"`
	Image       string `json:"image"`

	// An optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
	// +kubebuilder:validation:Optional
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets"`

	Command        []string        `json:"command,omitempty"`
	Env            []corev1.EnvVar `json:"env,omitempty"`
	StartupProbe   *corev1.Probe   `json:"startupProbe,omitempty"`
	LivenessProbe  *corev1.Probe   `json:"livenessProbe,omitempty"`
	ReadinessProbe *corev1.Probe   `json:"readinessProbe,omitempty"`
	Ports          []int32         `json:"ports,omitempty"`

	// +kubebuilder:default:=1
	Instances int32 `json:"instances"`

	// The name of the runner that should reconcile this AppWorkload resource and execute running its instances
	// +kubebuilder:validation:Required
	RunnerName string `json:"runnerName"`

	// +kubebuilder:validation:Optional
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}

AppWorkloadSpec defines the desired state of AppWorkload

func (*AppWorkloadSpec) DeepCopy

func (in *AppWorkloadSpec) DeepCopy() *AppWorkloadSpec

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

func (*AppWorkloadSpec) DeepCopyInto

func (in *AppWorkloadSpec) DeepCopyInto(out *AppWorkloadSpec)

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

type AppWorkloadStatus

type AppWorkloadStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the AppWorkload that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

AppWorkloadStatus defines the observed state of AppWorkload

func (*AppWorkloadStatus) DeepCopy

func (in *AppWorkloadStatus) DeepCopy() *AppWorkloadStatus

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

func (*AppWorkloadStatus) DeepCopyInto

func (in *AppWorkloadStatus) DeepCopyInto(out *AppWorkloadStatus)

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

type BuildDropletStatus

type BuildDropletStatus struct {
	// The Container registry image, and secrets to access
	Registry Registry `json:"registry"`

	// The stack used to build the Droplet
	//+kubebuilder:validation:Optional
	Stack string `json:"stack"`

	// The process types and associated start commands for the Droplet
	//+kubebuilder:validation:Optional
	ProcessTypes []ProcessType `json:"processTypes"`

	// The exposed ports for the application
	//+kubebuilder:validation:Optional
	Ports []int32 `json:"ports"`
}

BuildDropletStatus defines the observed state of the CFBuild's Droplet or runnable image

func (*BuildDropletStatus) DeepCopy

func (in *BuildDropletStatus) DeepCopy() *BuildDropletStatus

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

func (*BuildDropletStatus) DeepCopyInto

func (in *BuildDropletStatus) DeepCopyInto(out *BuildDropletStatus)

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

type BuildWorkload

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

	Spec   BuildWorkloadSpec   `json:"spec,omitempty"`
	Status BuildWorkloadStatus `json:"status,omitempty"`
}

BuildWorkload is the Schema for the buildworkloads API

func (*BuildWorkload) DeepCopy

func (in *BuildWorkload) DeepCopy() *BuildWorkload

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

func (*BuildWorkload) DeepCopyInto

func (in *BuildWorkload) DeepCopyInto(out *BuildWorkload)

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

func (*BuildWorkload) DeepCopyObject

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

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

type BuildWorkloadList

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

BuildWorkloadList contains a list of BuildWorkload

func (*BuildWorkloadList) DeepCopy

func (in *BuildWorkloadList) DeepCopy() *BuildWorkloadList

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

func (*BuildWorkloadList) DeepCopyInto

func (in *BuildWorkloadList) DeepCopyInto(out *BuildWorkloadList)

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

func (*BuildWorkloadList) DeepCopyObject

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

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

type BuildWorkloadSpec

type BuildWorkloadSpec struct {
	// A reference to the CFBuild that requested the build. The CFBuild must be in the same namespace
	BuildRef RequiredLocalObjectReference `json:"buildRef"`

	// The details necessary to pull the image containing the application source
	Source PackageSource `json:"source,omitempty"`

	// Buildpacks to include in auto-detection when building the app image.
	// If no values are specified, then all available buildpacks will be used for auto-detection
	Buildpacks []string `json:"buildpacks,omitempty"`

	// The environment variables to set on the container that builds the image
	Env []v1.EnvVar `json:"env,omitempty"`

	Services []v1.ObjectReference `json:"services,omitempty"`

	// The name of the builder that should reconcile this BuildWorkload resource and execute the image building
	// +kubebuilder:validation:Required
	BuilderName string `json:"builderName"`
}

BuildWorkloadSpec defines the desired state of BuildWorkload

func (*BuildWorkloadSpec) DeepCopy

func (in *BuildWorkloadSpec) DeepCopy() *BuildWorkloadSpec

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

func (*BuildWorkloadSpec) DeepCopyInto

func (in *BuildWorkloadSpec) DeepCopyInto(out *BuildWorkloadSpec)

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

type BuildWorkloadStatus

type BuildWorkloadStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	Droplet *BuildDropletStatus `json:"droplet,omitempty"`

	// ObservedGeneration captures the latest generation of the BuildWorkload that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

BuildWorkloadStatus defines the observed state of BuildWorkload

func (*BuildWorkloadStatus) DeepCopy

func (in *BuildWorkloadStatus) DeepCopy() *BuildWorkloadStatus

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

func (*BuildWorkloadStatus) DeepCopyInto

func (in *BuildWorkloadStatus) DeepCopyInto(out *BuildWorkloadStatus)

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

type BuilderInfo added in v0.3.0

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

	Spec   BuilderInfoSpec   `json:"spec,omitempty"`
	Status BuilderInfoStatus `json:"status,omitempty"`
}

BuilderInfo is the Schema for the builderinfos API

func (*BuilderInfo) DeepCopy added in v0.3.0

func (in *BuilderInfo) DeepCopy() *BuilderInfo

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

func (*BuilderInfo) DeepCopyInto added in v0.3.0

func (in *BuilderInfo) DeepCopyInto(out *BuilderInfo)

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

func (*BuilderInfo) DeepCopyObject added in v0.3.0

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

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

type BuilderInfoList added in v0.3.0

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

BuilderInfoList contains a list of BuilderInfo

func (*BuilderInfoList) DeepCopy added in v0.3.0

func (in *BuilderInfoList) DeepCopy() *BuilderInfoList

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

func (*BuilderInfoList) DeepCopyInto added in v0.3.0

func (in *BuilderInfoList) DeepCopyInto(out *BuilderInfoList)

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

func (*BuilderInfoList) DeepCopyObject added in v0.3.0

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

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

type BuilderInfoSpec added in v0.3.0

type BuilderInfoSpec struct{}

BuilderInfoSpec defines the desired state of BuilderInfo

func (*BuilderInfoSpec) DeepCopy added in v0.3.0

func (in *BuilderInfoSpec) DeepCopy() *BuilderInfoSpec

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

func (*BuilderInfoSpec) DeepCopyInto added in v0.3.0

func (in *BuilderInfoSpec) DeepCopyInto(out *BuilderInfoSpec)

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

type BuilderInfoStatus added in v0.3.0

type BuilderInfoStatus struct {
	Stacks     []BuilderInfoStatusStack     `json:"stacks"`
	Buildpacks []BuilderInfoStatusBuildpack `json:"buildpacks"`
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the BuilderInfo that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

BuilderInfoStatus defines the observed state of BuilderInfo

func (*BuilderInfoStatus) DeepCopy added in v0.3.0

func (in *BuilderInfoStatus) DeepCopy() *BuilderInfoStatus

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

func (*BuilderInfoStatus) DeepCopyInto added in v0.3.0

func (in *BuilderInfoStatus) DeepCopyInto(out *BuilderInfoStatus)

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

type BuilderInfoStatusBuildpack added in v0.3.0

type BuilderInfoStatusBuildpack struct {
	Name              string      `json:"name"`
	Version           string      `json:"version"`
	Stack             string      `json:"stack"`
	CreationTimestamp metav1.Time `json:"creationTimestamp"`
	UpdatedTimestamp  metav1.Time `json:"updatedTimestamp"`
}

func (*BuilderInfoStatusBuildpack) DeepCopy added in v0.3.0

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

func (*BuilderInfoStatusBuildpack) DeepCopyInto added in v0.3.0

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

type BuilderInfoStatusStack added in v0.3.0

type BuilderInfoStatusStack struct {
	Name              string      `json:"name"`
	Description       string      `json:"description"`
	CreationTimestamp metav1.Time `json:"creationTimestamp"`
	UpdatedTimestamp  metav1.Time `json:"updatedTimestamp"`
}

func (*BuilderInfoStatusStack) DeepCopy added in v0.3.0

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

func (*BuilderInfoStatusStack) DeepCopyInto added in v0.3.0

func (in *BuilderInfoStatusStack) DeepCopyInto(out *BuilderInfoStatusStack)

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

type CFApp

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

	Spec   CFAppSpec   `json:"spec,omitempty"`
	Status CFAppStatus `json:"status,omitempty"`
}

CFApp is the Schema for the cfapps API

func (*CFApp) DeepCopy

func (in *CFApp) DeepCopy() *CFApp

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

func (*CFApp) DeepCopyInto

func (in *CFApp) DeepCopyInto(out *CFApp)

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

func (*CFApp) DeepCopyObject

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

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

func (*CFApp) Default

func (r *CFApp) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*CFApp) SetupWebhookWithManager

func (r *CFApp) SetupWebhookWithManager(mgr ctrl.Manager) error

func (CFApp) StatusConditions

func (a CFApp) StatusConditions() []metav1.Condition

func (CFApp) UniqueName added in v0.8.0

func (a CFApp) UniqueName() string

func (CFApp) UniqueValidationErrorMessage added in v0.8.0

func (a CFApp) UniqueValidationErrorMessage() string

type CFAppList

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

CFAppList contains a list of CFApp

func (*CFAppList) DeepCopy

func (in *CFAppList) DeepCopy() *CFAppList

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

func (*CFAppList) DeepCopyInto

func (in *CFAppList) DeepCopyInto(out *CFAppList)

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

func (*CFAppList) DeepCopyObject

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

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

type CFAppSpec

type CFAppSpec struct {
	// The mutable, user-friendly name of the app. Unlike metadata.name, the user can change this field.
	// This is more restrictive than CC's app model- to make default route validation errors less likely
	// +kubebuilder:validation:Pattern="^[-\\w]+$"
	DisplayName string `json:"displayName"`

	// The user-requested state of the CFApp. The currently-applied state of the CFApp is in status.ObservedDesiredState.
	// Allowed values are "STARTED", and "STOPPED".
	// +kubebuilder:validation:Enum=STOPPED;STARTED
	DesiredState DesiredState `json:"desiredState"`

	// Specifies how to build images for the app
	Lifecycle Lifecycle `json:"lifecycle"`

	// The name of a Secret in the same namespace, which contains the environment variables to be set on every one of its running containers (via AppWorkload)
	EnvSecretName string `json:"envSecretName,omitempty"`

	// A reference to the CFBuild currently assigned to the app. The CFBuild must be in the same namespace.
	CurrentDropletRef v1.LocalObjectReference `json:"currentDropletRef,omitempty"`
}

CFAppSpec defines the desired state of CFApp

func (*CFAppSpec) DeepCopy

func (in *CFAppSpec) DeepCopy() *CFAppSpec

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

func (*CFAppSpec) DeepCopyInto

func (in *CFAppSpec) DeepCopyInto(out *CFAppSpec)

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

type CFAppStatus

type CFAppStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// Deprecated: No longer used
	//+kubebuilder:validation:Optional
	ObservedDesiredState DesiredState `json:"observedDesiredState"`

	// VCAPServicesSecretName contains the name of the CFApp's VCAP_SERVICES Secret, which should exist in the same namespace
	//+kubebuilder:validation:Optional
	VCAPServicesSecretName string `json:"vcapServicesSecretName"`

	// VCAPApplicationSecretName contains the name of the CFApp's VCAP_APPLICATION Secret, which should exist in the same namespace
	//+kubebuilder:validation:Optional
	VCAPApplicationSecretName string `json:"vcapApplicationSecretName"`

	// ObservedGeneration captures the latest generation of the CFApp that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFAppStatus defines the observed state of CFApp

func (*CFAppStatus) DeepCopy

func (in *CFAppStatus) DeepCopy() *CFAppStatus

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

func (*CFAppStatus) DeepCopyInto

func (in *CFAppStatus) DeepCopyInto(out *CFAppStatus)

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

type CFBuild

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

	Spec   CFBuildSpec   `json:"spec,omitempty"`
	Status CFBuildStatus `json:"status,omitempty"`
}

CFBuild is the Schema for the cfbuilds API

func (*CFBuild) DeepCopy

func (in *CFBuild) DeepCopy() *CFBuild

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

func (*CFBuild) DeepCopyInto

func (in *CFBuild) DeepCopyInto(out *CFBuild)

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

func (*CFBuild) DeepCopyObject

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

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

func (*CFBuild) Default

func (r *CFBuild) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*CFBuild) SetupWebhookWithManager

func (r *CFBuild) SetupWebhookWithManager(mgr ctrl.Manager) error

type CFBuildList

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

CFBuildList contains a list of CFBuild

func (*CFBuildList) DeepCopy

func (in *CFBuildList) DeepCopy() *CFBuildList

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

func (*CFBuildList) DeepCopyInto

func (in *CFBuildList) DeepCopyInto(out *CFBuildList)

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

func (*CFBuildList) DeepCopyObject

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

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

type CFBuildSpec

type CFBuildSpec struct {
	// The CFPackage associated with this build. Must be in the same namespace
	PackageRef v1.LocalObjectReference `json:"packageRef"`
	// The CFApp associated with this build. Must be in the same namespace
	AppRef v1.LocalObjectReference `json:"appRef"`

	// The memory limit for the pod that will stage the image
	StagingMemoryMB int `json:"stagingMemoryMB"`
	// Unimplemented: StagingDiskMB is the ephemeral-disk size request for the pod that will stage the image
	StagingDiskMB int `json:"stagingDiskMB"`

	// Specifies the buildpacks and stack for the build
	Lifecycle Lifecycle `json:"lifecycle"`
}

CFBuildSpec defines the desired state of CFBuild

func (*CFBuildSpec) DeepCopy

func (in *CFBuildSpec) DeepCopy() *CFBuildSpec

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

func (*CFBuildSpec) DeepCopyInto

func (in *CFBuildSpec) DeepCopyInto(out *CFBuildSpec)

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

type CFBuildStatus

type CFBuildStatus struct {
	Droplet *BuildDropletStatus `json:"droplet,omitempty"`
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the CFBuild that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFBuildStatus defines the observed state of CFBuild

func (*CFBuildStatus) DeepCopy

func (in *CFBuildStatus) DeepCopy() *CFBuildStatus

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

func (*CFBuildStatus) DeepCopyInto

func (in *CFBuildStatus) DeepCopyInto(out *CFBuildStatus)

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

type CFDomain

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

	Spec   CFDomainSpec   `json:"spec,omitempty"`
	Status CFDomainStatus `json:"status,omitempty"`
}

CFDomain is the Schema for the cfdomains API

func (*CFDomain) DeepCopy

func (in *CFDomain) DeepCopy() *CFDomain

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

func (*CFDomain) DeepCopyInto

func (in *CFDomain) DeepCopyInto(out *CFDomain)

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

func (*CFDomain) DeepCopyObject

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

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

type CFDomainList

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

CFDomainList contains a list of CFDomain

func (*CFDomainList) DeepCopy

func (in *CFDomainList) DeepCopy() *CFDomainList

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

func (*CFDomainList) DeepCopyInto

func (in *CFDomainList) DeepCopyInto(out *CFDomainList)

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

func (*CFDomainList) DeepCopyObject

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

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

type CFDomainSpec

type CFDomainSpec struct {
	// The domain name. It is required and must conform to RFC 1035
	Name string `json:"name"`
}

CFDomainSpec defines the desired state of CFDomain

func (*CFDomainSpec) DeepCopy

func (in *CFDomainSpec) DeepCopy() *CFDomainSpec

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

func (*CFDomainSpec) DeepCopyInto

func (in *CFDomainSpec) DeepCopyInto(out *CFDomainSpec)

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

type CFDomainStatus

type CFDomainStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the CFDomain that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFDomainStatus defines the observed state of CFDomain

func (*CFDomainStatus) DeepCopy

func (in *CFDomainStatus) DeepCopy() *CFDomainStatus

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

func (*CFDomainStatus) DeepCopyInto

func (in *CFDomainStatus) DeepCopyInto(out *CFDomainStatus)

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

type CFOrg

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

	Spec   CFOrgSpec   `json:"spec,omitempty"`
	Status CFOrgStatus `json:"status,omitempty"`
}

CFOrg is the Schema for the cforgs API

func (*CFOrg) DeepCopy

func (in *CFOrg) DeepCopy() *CFOrg

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

func (*CFOrg) DeepCopyInto

func (in *CFOrg) DeepCopyInto(out *CFOrg)

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

func (*CFOrg) DeepCopyObject

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

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

func (*CFOrg) GetStatus added in v0.9.0

func (o *CFOrg) GetStatus() status.NamespaceStatus

func (CFOrg) StatusConditions added in v0.9.0

func (o CFOrg) StatusConditions() []metav1.Condition

func (CFOrg) UniqueName added in v0.8.0

func (o CFOrg) UniqueName() string

func (CFOrg) UniqueValidationErrorMessage added in v0.8.0

func (o CFOrg) UniqueValidationErrorMessage() string

type CFOrgList

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

CFOrgList contains a list of CFOrg

func (*CFOrgList) DeepCopy

func (in *CFOrgList) DeepCopy() *CFOrgList

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

func (*CFOrgList) DeepCopyInto

func (in *CFOrgList) DeepCopyInto(out *CFOrgList)

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

func (*CFOrgList) DeepCopyObject

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

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

type CFOrgSpec

type CFOrgSpec struct {
	// The mutable, user-friendly name of the CFOrg. Unlike metadata.name, the user can change this field.
	// +kubebuilder:validation:Pattern="^[[:alnum:][:punct:][:print:]]+$"
	DisplayName string `json:"displayName"`
}

CFOrgSpec defines the desired state of CFOrg

func (*CFOrgSpec) DeepCopy

func (in *CFOrgSpec) DeepCopy() *CFOrgSpec

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

func (*CFOrgSpec) DeepCopyInto

func (in *CFOrgSpec) DeepCopyInto(out *CFOrgSpec)

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

type CFOrgStatus

type CFOrgStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	GUID string `json:"guid"`

	// ObservedGeneration captures the latest generation of the CFOrg that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFOrgStatus defines the observed state of CFOrg

func (*CFOrgStatus) DeepCopy

func (in *CFOrgStatus) DeepCopy() *CFOrgStatus

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

func (*CFOrgStatus) DeepCopyInto

func (in *CFOrgStatus) DeepCopyInto(out *CFOrgStatus)

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

func (*CFOrgStatus) GetConditions added in v0.9.0

func (s *CFOrgStatus) GetConditions() *[]metav1.Condition

func (*CFOrgStatus) SetGUID added in v0.9.0

func (s *CFOrgStatus) SetGUID(guid string)

func (*CFOrgStatus) SetObservedGeneration added in v0.9.0

func (s *CFOrgStatus) SetObservedGeneration(generation int64)

type CFPackage

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

	Spec   CFPackageSpec   `json:"spec,omitempty"`
	Status CFPackageStatus `json:"status,omitempty"`
}

CFPackage is the Schema for the cfpackages API

func (*CFPackage) DeepCopy

func (in *CFPackage) DeepCopy() *CFPackage

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

func (*CFPackage) DeepCopyInto

func (in *CFPackage) DeepCopyInto(out *CFPackage)

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

func (*CFPackage) DeepCopyObject

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

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

func (*CFPackage) Default

func (r *CFPackage) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*CFPackage) SetupWebhookWithManager

func (r *CFPackage) SetupWebhookWithManager(mgr ctrl.Manager) error

func (CFPackage) StatusConditions added in v0.7.0

func (p CFPackage) StatusConditions() []metav1.Condition

type CFPackageList

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

CFPackageList contains a list of CFPackage

func (*CFPackageList) DeepCopy

func (in *CFPackageList) DeepCopy() *CFPackageList

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

func (*CFPackageList) DeepCopyInto

func (in *CFPackageList) DeepCopyInto(out *CFPackageList)

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

func (*CFPackageList) DeepCopyObject

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

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

type CFPackageSpec

type CFPackageSpec struct {
	// The package type. Allowed values are "bits" and "docker".
	Type PackageType `json:"type"`

	// Reference the CFApp that owns this package. The CFApp must be in the same namespace.
	AppRef v1.LocalObjectReference `json:"appRef"`

	// Contains the details for the source image (e.g. its bits)
	Source PackageSource `json:"source,omitempty"`
}

CFPackageSpec defines the desired state of CFPackage

func (*CFPackageSpec) DeepCopy

func (in *CFPackageSpec) DeepCopy() *CFPackageSpec

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

func (*CFPackageSpec) DeepCopyInto

func (in *CFPackageSpec) DeepCopyInto(out *CFPackageSpec)

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

type CFPackageStatus

type CFPackageStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the CFPackage that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFPackageStatus defines the observed state of CFPackage

func (*CFPackageStatus) DeepCopy

func (in *CFPackageStatus) DeepCopy() *CFPackageStatus

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

func (*CFPackageStatus) DeepCopyInto

func (in *CFPackageStatus) DeepCopyInto(out *CFPackageStatus)

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

type CFProcess

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

	Spec   CFProcessSpec   `json:"spec,omitempty"`
	Status CFProcessStatus `json:"status,omitempty"`
}

CFProcess is the Schema for the cfprocesses API

func (*CFProcess) DeepCopy

func (in *CFProcess) DeepCopy() *CFProcess

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

func (*CFProcess) DeepCopyInto

func (in *CFProcess) DeepCopyInto(out *CFProcess)

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

func (*CFProcess) DeepCopyObject

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

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

func (*CFProcess) SetStableName

func (r *CFProcess) SetStableName(appGUID string)

type CFProcessDefaulter added in v0.3.0

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

func NewCFProcessDefaulter added in v0.3.0

func NewCFProcessDefaulter(defaultMemoryMB, defaultDiskQuotaMB int64, defaultTimeout int64) *CFProcessDefaulter

func (*CFProcessDefaulter) DeepCopy added in v0.3.0

func (in *CFProcessDefaulter) DeepCopy() *CFProcessDefaulter

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

func (*CFProcessDefaulter) DeepCopyInto added in v0.3.0

func (in *CFProcessDefaulter) DeepCopyInto(out *CFProcessDefaulter)

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

func (*CFProcessDefaulter) Default added in v0.3.0

func (d *CFProcessDefaulter) Default(ctx context.Context, obj runtime.Object) error

func (*CFProcessDefaulter) SetupWebhookWithManager added in v0.3.0

func (d *CFProcessDefaulter) SetupWebhookWithManager(mgr ctrl.Manager) error

type CFProcessList

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

CFProcessList contains a list of CFProcess

func (*CFProcessList) DeepCopy

func (in *CFProcessList) DeepCopy() *CFProcessList

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

func (*CFProcessList) DeepCopyInto

func (in *CFProcessList) DeepCopyInto(out *CFProcessList)

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

func (*CFProcessList) DeepCopyObject

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

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

type CFProcessSpec

type CFProcessSpec struct {
	// A reference to the CFApp that owns this CFProcess. The CFApp must be in the same namespace.
	AppRef v1.LocalObjectReference `json:"appRef"`

	// The name of the process within the CFApp (e.g. "web")
	ProcessType string `json:"processType"`

	// Command string used to run this process on the app image. This is analogous to command in k8s and ENTRYPOINT in Docker
	Command string `json:"command,omitempty"`

	// The default command for this process as defined by the build. This field is ignored when the Command field is set
	DetectedCommand string `json:"detectedCommand,omitempty"`

	// Used to build the Liveness and Readiness Probes for the process' AppWorkload.
	HealthCheck HealthCheck `json:"healthCheck"`

	// The desired number of replicas to deploy
	DesiredInstances *int `json:"desiredInstances,omitempty"`

	// The memory limit in MiB
	MemoryMB int64 `json:"memoryMB"`

	// The disk limit in MiB
	DiskQuotaMB int64 `json:"diskQuotaMB"`

	// The ports to expose
	// Deprecated: No longer used
	// +kubebuilder:validation:Optional
	Ports []int32 `json:"ports,omitempty"`
}

CFProcessSpec defines the desired state of CFProcess

func (*CFProcessSpec) DeepCopy

func (in *CFProcessSpec) DeepCopy() *CFProcessSpec

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

func (*CFProcessSpec) DeepCopyInto

func (in *CFProcessSpec) DeepCopyInto(out *CFProcessSpec)

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

type CFProcessStatus

type CFProcessStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the CFProcess that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFProcessStatus defines the observed state of CFProcess

func (*CFProcessStatus) DeepCopy

func (in *CFProcessStatus) DeepCopy() *CFProcessStatus

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

func (*CFProcessStatus) DeepCopyInto

func (in *CFProcessStatus) DeepCopyInto(out *CFProcessStatus)

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

type CFRoute

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

	Spec   CFRouteSpec   `json:"spec,omitempty"`
	Status CFRouteStatus `json:"status,omitempty"`
}

CFRoute is the Schema for the cfroutes API

func (*CFRoute) DeepCopy

func (in *CFRoute) DeepCopy() *CFRoute

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

func (*CFRoute) DeepCopyInto

func (in *CFRoute) DeepCopyInto(out *CFRoute)

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

func (*CFRoute) DeepCopyObject

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

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

func (*CFRoute) Default

func (r *CFRoute) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*CFRoute) SetupWebhookWithManager

func (r *CFRoute) SetupWebhookWithManager(mgr ctrl.Manager) error

func (CFRoute) UniqueName added in v0.8.0

func (r CFRoute) UniqueName() string

func (CFRoute) UniqueValidationErrorMessage added in v0.8.0

func (r CFRoute) UniqueValidationErrorMessage() string

type CFRouteList

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

CFRouteList contains a list of CFRoute

func (*CFRouteList) DeepCopy

func (in *CFRouteList) DeepCopy() *CFRouteList

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

func (*CFRouteList) DeepCopyInto

func (in *CFRouteList) DeepCopyInto(out *CFRouteList)

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

func (*CFRouteList) DeepCopyObject

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

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

type CFRouteSpec

type CFRouteSpec struct {
	// The subdomain of the route within the domain. Host is optional and defaults to empty.
	// When the host is empty, then the name of the app will be used
	Host string `json:"host,omitempty"`
	// Path is optional, defaults to empty
	Path string `json:"path,omitempty"`
	// Protocol is optional and defaults to http. Currently only http is supported
	Protocol Protocol `json:"protocol,omitempty"`
	// A reference to the CFDomain this CFRoute is assigned to, including name and namespace
	DomainRef v1.ObjectReference `json:"domainRef"`
	// Destinations are optional. A route can exist without any destinations, independently of any CFApps
	Destinations []Destination `json:"destinations,omitempty"`
}

CFRouteSpec defines the desired state of CFRoute

func (*CFRouteSpec) DeepCopy

func (in *CFRouteSpec) DeepCopy() *CFRouteSpec

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

func (*CFRouteSpec) DeepCopyInto

func (in *CFRouteSpec) DeepCopyInto(out *CFRouteSpec)

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

type CFRouteStatus

type CFRouteStatus struct {
	CurrentStatus CurrentStatus `json:"currentStatus"`
	Description   string        `json:"description"`
	// The fully-qualified domain name for the route
	FQDN string `json:"fqdn,omitempty"`

	// The URI (FQDN + path) for the route
	URI string `json:"uri,omitempty"`

	// The observed state of the destinations. This is mainly used to record the target port of the underlying service
	Destinations []Destination `json:"destinations,omitempty"`

	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the CFRoute that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFRouteStatus defines the observed state of CFRoute

func (*CFRouteStatus) DeepCopy

func (in *CFRouteStatus) DeepCopy() *CFRouteStatus

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

func (*CFRouteStatus) DeepCopyInto

func (in *CFRouteStatus) DeepCopyInto(out *CFRouteStatus)

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

type CFServiceBinding

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

	Spec CFServiceBindingSpec `json:"spec,omitempty"`

	Status CFServiceBindingStatus `json:"status,omitempty"`
}

CFServiceBinding is the Schema for the cfservicebindings API

func (*CFServiceBinding) DeepCopy

func (in *CFServiceBinding) DeepCopy() *CFServiceBinding

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

func (*CFServiceBinding) DeepCopyInto

func (in *CFServiceBinding) DeepCopyInto(out *CFServiceBinding)

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

func (*CFServiceBinding) DeepCopyObject

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

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

func (CFServiceBinding) StatusConditions added in v0.5.0

func (b CFServiceBinding) StatusConditions() []metav1.Condition

func (CFServiceBinding) UniqueName added in v0.8.0

func (b CFServiceBinding) UniqueName() string

func (CFServiceBinding) UniqueValidationErrorMessage added in v0.8.0

func (b CFServiceBinding) UniqueValidationErrorMessage() string

type CFServiceBindingList

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

CFServiceBindingList contains a list of CFServiceBinding

func (*CFServiceBindingList) DeepCopy

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

func (*CFServiceBindingList) DeepCopyInto

func (in *CFServiceBindingList) DeepCopyInto(out *CFServiceBindingList)

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

func (*CFServiceBindingList) DeepCopyObject

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

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

type CFServiceBindingSpec

type CFServiceBindingSpec struct {
	// The mutable, user-friendly name of the service binding. Unlike metadata.name, the user can change this field
	DisplayName *string `json:"displayName,omitempty"`

	// The Service this binding uses. When created by the korifi API, this will refer to a CFServiceInstance
	Service v1.ObjectReference `json:"service"`

	// A reference to the CFApp that owns this service binding. The CFApp must be in the same namespace
	AppRef v1.LocalObjectReference `json:"appRef"`
}

CFServiceBindingSpec defines the desired state of CFServiceBinding

func (*CFServiceBindingSpec) DeepCopy

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

func (*CFServiceBindingSpec) DeepCopyInto

func (in *CFServiceBindingSpec) DeepCopyInto(out *CFServiceBindingSpec)

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

type CFServiceBindingStatus

type CFServiceBindingStatus struct {
	// A reference to the Secret containing the credentials.
	// This is required to conform to the Kubernetes Service Bindings spec
	// +optional
	Binding v1.LocalObjectReference `json:"binding"`

	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the CFServiceBinding that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFServiceBindingStatus defines the observed state of CFServiceBinding

func (*CFServiceBindingStatus) DeepCopy

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

func (*CFServiceBindingStatus) DeepCopyInto

func (in *CFServiceBindingStatus) DeepCopyInto(out *CFServiceBindingStatus)

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

type CFServiceInstance

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

	Spec CFServiceInstanceSpec `json:"spec,omitempty"`

	Status CFServiceInstanceStatus `json:"status,omitempty"`
}

CFServiceInstance is the Schema for the cfserviceinstances API

func (*CFServiceInstance) DeepCopy

func (in *CFServiceInstance) DeepCopy() *CFServiceInstance

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

func (*CFServiceInstance) DeepCopyInto

func (in *CFServiceInstance) DeepCopyInto(out *CFServiceInstance)

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

func (*CFServiceInstance) DeepCopyObject

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

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

func (CFServiceInstance) UniqueName added in v0.8.0

func (si CFServiceInstance) UniqueName() string

func (CFServiceInstance) UniqueValidationErrorMessage added in v0.8.0

func (si CFServiceInstance) UniqueValidationErrorMessage() string

type CFServiceInstanceList

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

CFServiceInstanceList contains a list of CFServiceInstance

func (*CFServiceInstanceList) DeepCopy

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

func (*CFServiceInstanceList) DeepCopyInto

func (in *CFServiceInstanceList) DeepCopyInto(out *CFServiceInstanceList)

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

func (*CFServiceInstanceList) DeepCopyObject

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

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

type CFServiceInstanceSpec

type CFServiceInstanceSpec struct {
	// The mutable, user-friendly name of the service instance. Unlike metadata.name, the user can change this field
	DisplayName string `json:"displayName"`

	// Name of a secret containing the service credentials. The Secret must be in the same namespace
	SecretName string `json:"secretName"`

	// Type of the Service Instance. Must be `user-provided`
	Type InstanceType `json:"type"`

	// Service label to use when adding this instance to VCAP_Services
	// Defaults to `user-provided` when this field is not set
	// +optional
	ServiceLabel *string `json:"serviceLabel,omitempty"`

	// Tags are used by apps to identify service instances
	Tags []string `json:"tags,omitempty"`
}

CFServiceInstanceSpec defines the desired state of CFServiceInstance

func (*CFServiceInstanceSpec) DeepCopy

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

func (*CFServiceInstanceSpec) DeepCopyInto

func (in *CFServiceInstanceSpec) DeepCopyInto(out *CFServiceInstanceSpec)

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

type CFServiceInstanceStatus

type CFServiceInstanceStatus struct {
	// A reference to the Secret containing the credentials (same as spec.secretName).
	// This is required to conform to the Kubernetes Service Bindings spec
	// +optional
	Binding corev1.LocalObjectReference `json:"binding"`

	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the CFServiceInstance that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFServiceInstanceStatus defines the observed state of CFServiceInstance

func (*CFServiceInstanceStatus) DeepCopy

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

func (*CFServiceInstanceStatus) DeepCopyInto

func (in *CFServiceInstanceStatus) DeepCopyInto(out *CFServiceInstanceStatus)

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

type CFSpace

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

	Spec   CFSpaceSpec   `json:"spec,omitempty"`
	Status CFSpaceStatus `json:"status,omitempty"`
}

CFSpace is the Schema for the cfspaces API

func (*CFSpace) DeepCopy

func (in *CFSpace) DeepCopy() *CFSpace

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

func (*CFSpace) DeepCopyInto

func (in *CFSpace) DeepCopyInto(out *CFSpace)

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

func (*CFSpace) DeepCopyObject

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

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

func (*CFSpace) GetStatus added in v0.9.0

func (s *CFSpace) GetStatus() status.NamespaceStatus

func (CFSpace) StatusConditions added in v0.9.0

func (s CFSpace) StatusConditions() []metav1.Condition

func (CFSpace) UniqueName added in v0.8.0

func (s CFSpace) UniqueName() string

func (CFSpace) UniqueValidationErrorMessage added in v0.8.0

func (s CFSpace) UniqueValidationErrorMessage() string

type CFSpaceList

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

CFSpaceList contains a list of CFSpace

func (*CFSpaceList) DeepCopy

func (in *CFSpaceList) DeepCopy() *CFSpaceList

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

func (*CFSpaceList) DeepCopyInto

func (in *CFSpaceList) DeepCopyInto(out *CFSpaceList)

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

func (*CFSpaceList) DeepCopyObject

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

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

type CFSpaceSpec

type CFSpaceSpec struct {
	// The mutable, user-friendly name of the space. Unlike metadata.name, the user can change this field
	// +kubebuilder:validation:Pattern="^[[:alnum:][:punct:][:print:]]+$"
	DisplayName string `json:"displayName"`
}

CFSpaceSpec defines the desired state of CFSpace

func (*CFSpaceSpec) DeepCopy

func (in *CFSpaceSpec) DeepCopy() *CFSpaceSpec

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

func (*CFSpaceSpec) DeepCopyInto

func (in *CFSpaceSpec) DeepCopyInto(out *CFSpaceSpec)

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

type CFSpaceStatus

type CFSpaceStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	GUID string `json:"guid"`

	// ObservedGeneration captures the latest generation of the CFSpace that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFSpaceStatus defines the observed state of CFSpace

func (*CFSpaceStatus) DeepCopy

func (in *CFSpaceStatus) DeepCopy() *CFSpaceStatus

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

func (*CFSpaceStatus) DeepCopyInto

func (in *CFSpaceStatus) DeepCopyInto(out *CFSpaceStatus)

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

func (*CFSpaceStatus) GetConditions added in v0.9.0

func (s *CFSpaceStatus) GetConditions() *[]metav1.Condition

func (*CFSpaceStatus) SetGUID added in v0.9.0

func (s *CFSpaceStatus) SetGUID(guid string)

func (*CFSpaceStatus) SetObservedGeneration added in v0.9.0

func (s *CFSpaceStatus) SetObservedGeneration(generation int64)

type CFTask

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

	Spec   CFTaskSpec   `json:"spec,omitempty"`
	Status CFTaskStatus `json:"status,omitempty"`
}

CFTask is the Schema for the cftasks API

func (*CFTask) DeepCopy

func (in *CFTask) DeepCopy() *CFTask

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

func (*CFTask) DeepCopyInto

func (in *CFTask) DeepCopyInto(out *CFTask)

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

func (*CFTask) DeepCopyObject

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

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

func (CFTask) StatusConditions

func (t CFTask) StatusConditions() []metav1.Condition

type CFTaskList

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

CFTaskList contains a list of CFTask

func (*CFTaskList) DeepCopy

func (in *CFTaskList) DeepCopy() *CFTaskList

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

func (*CFTaskList) DeepCopyInto

func (in *CFTaskList) DeepCopyInto(out *CFTaskList)

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

func (*CFTaskList) DeepCopyObject

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

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

type CFTaskSpec

type CFTaskSpec struct {
	// The command used to start the task process
	Command string `json:"command,omitempty"`
	// A reference to the CFApp containing the code or script for this CFTask
	AppRef corev1.LocalObjectReference `json:"appRef,omitempty"`
	// A boolean describing whether the CFTask has been canceled
	// +optional
	Canceled bool `json:"canceled"`
}

CFTaskSpec defines the desired state of CFTask

func (*CFTaskSpec) DeepCopy

func (in *CFTaskSpec) DeepCopy() *CFTaskSpec

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

func (*CFTaskSpec) DeepCopyInto

func (in *CFTaskSpec) DeepCopyInto(out *CFTaskSpec)

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

type CFTaskStatus

type CFTaskStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// +optional
	SequenceID int64 `json:"sequenceId"`
	// +optional
	MemoryMB int64 `json:"memoryMB"`
	// +optional
	DiskQuotaMB int64 `json:"diskQuotaMB"`
	// +optional
	DropletRef corev1.LocalObjectReference `json:"dropletRef"`

	// ObservedGeneration captures the latest generation of the CFTask that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

CFTaskStatus defines the observed state of CFTask

func (*CFTaskStatus) DeepCopy

func (in *CFTaskStatus) DeepCopy() *CFTaskStatus

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

func (*CFTaskStatus) DeepCopyInto

func (in *CFTaskStatus) DeepCopyInto(out *CFTaskStatus)

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

type CurrentStatus

type CurrentStatus string

CurrentStatus declares whether the CFRoute is currently valid or invalid +kubebuilder:validation:Enum=valid;invalid

const (
	// Deprecated. Used for removing leftover finalizers
	CFRouteFinalizerName = "cfRoute.korifi.cloudfoundry.org"

	ValidStatus   CurrentStatus = "valid"
	InvalidStatus CurrentStatus = "invalid"
)

type DesiredState

type DesiredState string

DesiredState defines the desired state of CFApp.

type Destination

type Destination struct {
	// A unique identifier for this route destination. Required to support CF V3 Destination endpoints
	GUID string `json:"guid"`
	// The port to use for the destination. Port is optional, and defaults to
	// either the droplet port, or 8080 if no ports are available in the
	// droplet
	//+kubebuilder:validation:Optional
	Port *int `json:"port,omitempty"`
	// A required reference to the CFApp that will receive traffic. The CFApp must be in the same namespace
	AppRef v1.LocalObjectReference `json:"appRef"`
	// The process type on the CFApp app which will receive traffic
	ProcessType string `json:"processType"`
	// Protocol is optional, when set must be "http1"
	// +kubebuilder:validation:Enum=http1
	//+kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty"`
}

Destination defines a target for a CFRoute, does not carry meaning outside of a CF context

func (*Destination) DeepCopy

func (in *Destination) DeepCopy() *Destination

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

func (*Destination) DeepCopyInto

func (in *Destination) DeepCopyInto(out *Destination)

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

type HealthCheck

type HealthCheck struct {
	// The type of Health Check the App process will use
	// Valid values are "http", "port", and "process".
	// For processType "web", the default type is "port". For all other processes, the default is "process".
	Type HealthCheckType `json:"type"`

	// The input parameters for the liveness and readiness probes in kubernetes
	Data HealthCheckData `json:"data"`
}

func (*HealthCheck) DeepCopy

func (in *HealthCheck) DeepCopy() *HealthCheck

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

func (*HealthCheck) DeepCopyInto

func (in *HealthCheck) DeepCopyInto(out *HealthCheck)

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

type HealthCheckData

type HealthCheckData struct {
	// The http endpoint to use with "http" healthchecks
	HTTPEndpoint string `json:"httpEndpoint,omitempty"`

	InvocationTimeoutSeconds int64 `json:"invocationTimeoutSeconds"`
	TimeoutSeconds           int64 `json:"timeoutSeconds"`
}

HealthCheckData used to pass through input parameters to liveness probe

func (*HealthCheckData) DeepCopy

func (in *HealthCheckData) DeepCopy() *HealthCheckData

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

func (*HealthCheckData) DeepCopyInto

func (in *HealthCheckData) DeepCopyInto(out *HealthCheckData)

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

type HealthCheckType

type HealthCheckType string

HealthCheckType used to ensure illegal HealthCheckTypes are not passed +kubebuilder:validation:Enum=http;port;process;""

type InstanceType

type InstanceType string

InstanceType defines the type of the Service Instance +kubebuilder:validation:Enum=user-provided

type Lifecycle

type Lifecycle struct {
	// The CF Lifecycle type.
	// Only "buildpack" and "docker" are currently allowed
	Type LifecycleType `json:"type"`
	// Data used to specify details for the Lifecycle
	Data LifecycleData `json:"data"`
}

func (*Lifecycle) DeepCopy

func (in *Lifecycle) DeepCopy() *Lifecycle

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

func (*Lifecycle) DeepCopyInto

func (in *Lifecycle) DeepCopyInto(out *Lifecycle)

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

type LifecycleData

type LifecycleData struct {
	// Buildpacks to include in auto-detection when building the app image.
	// If no values are specified, then all available buildpacks will be used for auto-detection
	Buildpacks []string `json:"buildpacks,omitempty"`

	// Stack to use when building the app image
	Stack string `json:"stack"`
}

LifecycleData is shared by CFApp and CFBuild

func (*LifecycleData) DeepCopy

func (in *LifecycleData) DeepCopy() *LifecycleData

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

func (*LifecycleData) DeepCopyInto

func (in *LifecycleData) DeepCopyInto(out *LifecycleData)

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

type LifecycleType

type LifecycleType string

LifecycleType inform the platform of how to build droplets and run apps allow only values "buildpack" or "docker" +kubebuilder:validation:Enum=buildpack;docker

type PackageSource

type PackageSource struct {
	// registry (i.e an OCI image in a registry that contains application source)
	Registry Registry `json:"registry"`
}

func (*PackageSource) DeepCopy

func (in *PackageSource) DeepCopy() *PackageSource

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

func (*PackageSource) DeepCopyInto

func (in *PackageSource) DeepCopyInto(out *PackageSource)

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

type PackageType

type PackageType string

PackageType used to enum the inputs to package.type +kubebuilder:validation:Enum=bits;docker

type ProcessType

type ProcessType struct {
	Type    string `json:"type"`
	Command string `json:"command"`
}

ProcessType is a map of process names and associated start commands for the Droplet

func (*ProcessType) DeepCopy

func (in *ProcessType) DeepCopy() *ProcessType

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

func (*ProcessType) DeepCopyInto

func (in *ProcessType) DeepCopyInto(out *ProcessType)

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

type Protocol

type Protocol string

Protocol defines the transport protocol of the route +kubebuilder:validation:Enum=http;tcp

type Registry

type Registry struct {
	// The location of the source image
	Image string `json:"image"`
	// A list of secrets required to pull the image from its repository
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

Registry is used by CFPackage and CFBuild/Droplet to identify Registry and secrets to access the image provided

func (*Registry) DeepCopy

func (in *Registry) DeepCopy() *Registry

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

func (*Registry) DeepCopyInto

func (in *Registry) DeepCopyInto(out *Registry)

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

type RequiredLocalObjectReference added in v0.3.0

type RequiredLocalObjectReference struct {
	Name string `json:"name"`
}

RequiredLocalObjectReference is a reference to an object in the same namespace. Unlike k8s.io/api/core/v1/LocalObjectReference, name is required.

func (*RequiredLocalObjectReference) DeepCopy added in v0.3.0

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

func (*RequiredLocalObjectReference) DeepCopyInto added in v0.3.0

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

type RunnerInfo added in v0.8.0

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

	Spec   RunnerInfoSpec   `json:"spec,omitempty"`
	Status RunnerInfoStatus `json:"status,omitempty"`
}

RunnerInfo is the Schema for the runnerinfos API

func (*RunnerInfo) DeepCopy added in v0.8.0

func (in *RunnerInfo) DeepCopy() *RunnerInfo

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

func (*RunnerInfo) DeepCopyInto added in v0.8.0

func (in *RunnerInfo) DeepCopyInto(out *RunnerInfo)

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

func (*RunnerInfo) DeepCopyObject added in v0.8.0

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

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

type RunnerInfoCapabilities added in v0.8.0

type RunnerInfoCapabilities struct {
	RollingDeploy bool `json:"rollingDeploy,omitempty"`
}

func (*RunnerInfoCapabilities) DeepCopy added in v0.8.0

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

func (*RunnerInfoCapabilities) DeepCopyInto added in v0.8.0

func (in *RunnerInfoCapabilities) DeepCopyInto(out *RunnerInfoCapabilities)

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

type RunnerInfoList added in v0.8.0

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

RunnerInfoList contains a list of RunnerInfo

func (*RunnerInfoList) DeepCopy added in v0.8.0

func (in *RunnerInfoList) DeepCopy() *RunnerInfoList

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

func (*RunnerInfoList) DeepCopyInto added in v0.8.0

func (in *RunnerInfoList) DeepCopyInto(out *RunnerInfoList)

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

func (*RunnerInfoList) DeepCopyObject added in v0.8.0

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

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

type RunnerInfoSpec added in v0.8.0

type RunnerInfoSpec struct {
	RunnerName string `json:"runnerName"`
}

RunnerInfoSpec defines the desired state of RunnerInfo

func (*RunnerInfoSpec) DeepCopy added in v0.8.0

func (in *RunnerInfoSpec) DeepCopy() *RunnerInfoSpec

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

func (*RunnerInfoSpec) DeepCopyInto added in v0.8.0

func (in *RunnerInfoSpec) DeepCopyInto(out *RunnerInfoSpec)

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

type RunnerInfoStatus added in v0.8.0

type RunnerInfoStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	Capabilities RunnerInfoCapabilities `json:"capabilities"`

	// ObservedGeneration captures the latest generation of the RunnerInfo that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

RunnerInfoStatus defines the observed state of RunnerInfo

func (*RunnerInfoStatus) DeepCopy added in v0.8.0

func (in *RunnerInfoStatus) DeepCopy() *RunnerInfoStatus

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

func (*RunnerInfoStatus) DeepCopyInto added in v0.8.0

func (in *RunnerInfoStatus) DeepCopyInto(out *RunnerInfoStatus)

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

type TaskWorkload added in v0.3.0

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

	Spec   TaskWorkloadSpec   `json:"spec,omitempty"`
	Status TaskWorkloadStatus `json:"status,omitempty"`
}

TaskWorkload is the Schema for the taskworkloads API

func (*TaskWorkload) DeepCopy added in v0.3.0

func (in *TaskWorkload) DeepCopy() *TaskWorkload

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

func (*TaskWorkload) DeepCopyInto added in v0.3.0

func (in *TaskWorkload) DeepCopyInto(out *TaskWorkload)

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

func (*TaskWorkload) DeepCopyObject added in v0.3.0

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

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

func (TaskWorkload) StatusConditions added in v0.3.0

func (t TaskWorkload) StatusConditions() []metav1.Condition

type TaskWorkloadList added in v0.3.0

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

TaskWorkloadList contains a list of TaskWorkload

func (*TaskWorkloadList) DeepCopy added in v0.3.0

func (in *TaskWorkloadList) DeepCopy() *TaskWorkloadList

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

func (*TaskWorkloadList) DeepCopyInto added in v0.3.0

func (in *TaskWorkloadList) DeepCopyInto(out *TaskWorkloadList)

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

func (*TaskWorkloadList) DeepCopyObject added in v0.3.0

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

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

type TaskWorkloadSpec added in v0.3.0

type TaskWorkloadSpec struct {
	// +kubebuilder:validation:Required
	Image string `json:"image"`

	// +kubebuilder:validation:Required
	Command []string `json:"command"`

	// +kubebuilder:validation:Optional
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`

	// +kubebuilder:validation:Optional
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets"`

	// +kubebuilder:validation:Optional
	Env []corev1.EnvVar `json:"env"`
}

TaskWorkloadSpec defines the desired state of TaskWorkload

func (*TaskWorkloadSpec) DeepCopy added in v0.3.0

func (in *TaskWorkloadSpec) DeepCopy() *TaskWorkloadSpec

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

func (*TaskWorkloadSpec) DeepCopyInto added in v0.3.0

func (in *TaskWorkloadSpec) DeepCopyInto(out *TaskWorkloadSpec)

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

type TaskWorkloadStatus added in v0.3.0

type TaskWorkloadStatus struct {
	//+kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration captures the latest generation of the TaskWorkload that has been reconciled
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

TaskWorkloadStatus defines the observed state of TaskWorkload

func (*TaskWorkloadStatus) DeepCopy added in v0.3.0

func (in *TaskWorkloadStatus) DeepCopy() *TaskWorkloadStatus

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

func (*TaskWorkloadStatus) DeepCopyInto added in v0.3.0

func (in *TaskWorkloadStatus) DeepCopyInto(out *TaskWorkloadStatus)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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