Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the workloads v1alpha1 API group +kubebuilder:object:generate=true +groupName=korifi.cloudfoundry.org
Index ¶
- Constants
- Variables
- type AppWorkload
- type AppWorkloadList
- type AppWorkloadSpec
- type AppWorkloadStatus
- type BuildDropletStatus
- type BuildReconcilerInfo
- type BuildReconcilerInfoList
- type BuildReconcilerInfoSpec
- type BuildReconcilerInfoStatus
- type BuildReconcilerInfoStatusBuildpack
- type BuildReconcilerInfoStatusStack
- type BuildWorkload
- type BuildWorkloadList
- type BuildWorkloadSpec
- type BuildWorkloadStatus
- type CFApp
- type CFAppList
- type CFAppSpec
- type CFAppStatus
- type CFBuild
- type CFBuildList
- type CFBuildSpec
- type CFBuildStatus
- type CFDomain
- type CFDomainList
- type CFDomainSpec
- type CFDomainStatus
- type CFOrg
- type CFOrgList
- type CFOrgSpec
- type CFOrgStatus
- type CFPackage
- type CFPackageList
- type CFPackageSpec
- type CFPackageStatus
- type CFProcess
- type CFProcessList
- type CFProcessSpec
- type CFProcessStatus
- type CFRoute
- type CFRouteList
- type CFRouteSpec
- type CFRouteStatus
- type CFServiceBinding
- type CFServiceBindingList
- type CFServiceBindingSpec
- type CFServiceBindingStatus
- type CFServiceInstance
- type CFServiceInstanceList
- type CFServiceInstanceSpec
- type CFServiceInstanceStatus
- type CFSpace
- type CFSpaceList
- type CFSpaceSpec
- type CFSpaceStatus
- type CFTask
- type CFTaskList
- type CFTaskSpec
- type CFTaskStatus
- type CurrentStatus
- type DesiredState
- type Destination
- type HealthCheck
- type HealthCheckData
- type HealthCheckType
- type Healthcheck
- type InstanceType
- type Lifecycle
- type LifecycleData
- type LifecycleType
- type PackageSource
- type PackageType
- type ProcessType
- type Protocol
- type Registry
Constants ¶
const ( TaskInitializedConditionType = "Initialized" TaskStartedConditionType = "Started" TaskSucceededConditionType = "Succeeded" TaskFailedConditionType = "Failed" TaskCanceledConditionType = "Canceled" )
const ( BuildpackLifecycle LifecycleType = "buildpack" DockerPackage PackageType = "docker" StartedState DesiredState = "STARTED" StoppedState DesiredState = "STOPPED" HTTPHealthCheckType HealthCheckType = "http" PortHealthCheckType HealthCheckType = "port" ProcessHealthCheckType HealthCheckType = "process" )
const ( CFAppGUIDLabelKey = "korifi.cloudfoundry.org/app-guid" CFAppRevisionKey = "korifi.cloudfoundry.org/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" PropagatedFromLabel = "cloudfoundry.org/propagated-from" )
const (
OrgNameLabel = "cloudfoundry.org/org-name"
)
const (
SpaceNameLabel = "cloudfoundry.org/space-name"
)
const (
UserProvidedType = "user-provided"
)
Variables ¶
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"`
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets"`
Command []string `json:"command,omitempty"`
Env []corev1.EnvVar `json:"env,omitempty"`
Health Healthcheck `json:"health"`
Ports []int32 `json:"ports,omitempty"`
// +kubebuilder:default:=1
Instances int32 `json:"instances"`
MemoryMiB int64 `json:"memoryMiB"`
// +kubebuilder:validation:Minimum:=1
// +kubebuilder:validation:Required
DiskMiB int64 `json:"diskMiB"`
CPUMillicores int64 `json:"cpuMillicores"`
}
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 {
ReadyReplicas int32 `json:"readyReplicas"`
}
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 {
// Specifies the Container registry image, and secrets to access
Registry Registry `json:"registry"`
// Specifies the stack used to build the Droplet
Stack string `json:"stack"`
// Specifies the process types and associated start commands for the Droplet
ProcessTypes []ProcessType `json:"processTypes"`
// Specifies the exposed ports for the application
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 BuildReconcilerInfo ¶
type BuildReconcilerInfo struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BuildReconcilerInfoSpec `json:"spec,omitempty"`
Status BuildReconcilerInfoStatus `json:"status,omitempty"`
}
BuildReconcilerInfo is the Schema for the buildreconcilerinfos API
func (*BuildReconcilerInfo) DeepCopy ¶
func (in *BuildReconcilerInfo) DeepCopy() *BuildReconcilerInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildReconcilerInfo.
func (*BuildReconcilerInfo) DeepCopyInto ¶
func (in *BuildReconcilerInfo) DeepCopyInto(out *BuildReconcilerInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildReconcilerInfo) DeepCopyObject ¶
func (in *BuildReconcilerInfo) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildReconcilerInfoList ¶
type BuildReconcilerInfoList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BuildReconcilerInfo `json:"items"`
}
BuildReconcilerInfoList contains a list of BuildReconcilerInfo
func (*BuildReconcilerInfoList) DeepCopy ¶
func (in *BuildReconcilerInfoList) DeepCopy() *BuildReconcilerInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildReconcilerInfoList.
func (*BuildReconcilerInfoList) DeepCopyInto ¶
func (in *BuildReconcilerInfoList) DeepCopyInto(out *BuildReconcilerInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildReconcilerInfoList) DeepCopyObject ¶
func (in *BuildReconcilerInfoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildReconcilerInfoSpec ¶
type BuildReconcilerInfoSpec struct {
}
BuildReconcilerInfoSpec defines the desired state of BuildReconcilerInfo
func (*BuildReconcilerInfoSpec) DeepCopy ¶
func (in *BuildReconcilerInfoSpec) DeepCopy() *BuildReconcilerInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildReconcilerInfoSpec.
func (*BuildReconcilerInfoSpec) DeepCopyInto ¶
func (in *BuildReconcilerInfoSpec) DeepCopyInto(out *BuildReconcilerInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildReconcilerInfoStatus ¶
type BuildReconcilerInfoStatus struct {
Stacks []BuildReconcilerInfoStatusStack `json:"stacks"`
Buildpacks []BuildReconcilerInfoStatusBuildpack `json:"buildpacks"`
Conditions []metav1.Condition `json:"conditions"`
}
BuildReconcilerInfoStatus defines the observed state of BuildReconcilerInfo
func (*BuildReconcilerInfoStatus) DeepCopy ¶
func (in *BuildReconcilerInfoStatus) DeepCopy() *BuildReconcilerInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildReconcilerInfoStatus.
func (*BuildReconcilerInfoStatus) DeepCopyInto ¶
func (in *BuildReconcilerInfoStatus) DeepCopyInto(out *BuildReconcilerInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildReconcilerInfoStatusBuildpack ¶
type BuildReconcilerInfoStatusBuildpack struct {
Name string `json:"name"`
Version string `json:"version"`
Stack string `json:"stack"`
CreationTimestamp metav1.Time `json:"creationTimestamp"`
UpdatedTimestamp metav1.Time `json:"updatedTimestamp"`
}
func (*BuildReconcilerInfoStatusBuildpack) DeepCopy ¶
func (in *BuildReconcilerInfoStatusBuildpack) DeepCopy() *BuildReconcilerInfoStatusBuildpack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildReconcilerInfoStatusBuildpack.
func (*BuildReconcilerInfoStatusBuildpack) DeepCopyInto ¶
func (in *BuildReconcilerInfoStatusBuildpack) DeepCopyInto(out *BuildReconcilerInfoStatusBuildpack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildReconcilerInfoStatusStack ¶
type BuildReconcilerInfoStatusStack struct {
Name string `json:"name"`
Description string `json:"description"`
CreationTimestamp metav1.Time `json:"creationTimestamp"`
UpdatedTimestamp metav1.Time `json:"updatedTimestamp"`
}
func (*BuildReconcilerInfoStatusStack) DeepCopy ¶
func (in *BuildReconcilerInfoStatusStack) DeepCopy() *BuildReconcilerInfoStatusStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildReconcilerInfoStatusStack.
func (*BuildReconcilerInfoStatusStack) DeepCopyInto ¶
func (in *BuildReconcilerInfoStatusStack) DeepCopyInto(out *BuildReconcilerInfoStatusStack)
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 {
// this is a reference to the object requesting the build
BuildRef v1.LocalObjectReference `json:"buildRef"`
// Source contains the details for the source image(bits)
Source PackageSource `json:"source,omitempty"`
Env []v1.EnvVar `json:"env,omitempty"`
Services []v1.ObjectReference `json:"services,omitempty"`
ReconcilerName string `json:"reconcilerName"`
}
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 {
// Conditions capture the current status of the observed generation of the BuildWorkload
Conditions []metav1.Condition `json:"conditions"`
Droplet *BuildDropletStatus `json:"droplet,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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFApp.
func (*CFApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFApp) DeepCopyObject ¶
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 (CFApp) StatusConditions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFAppList.
func (*CFAppList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFAppList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CFAppSpec ¶
type CFAppSpec struct {
// DisplayName defines the name of the app
// 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"`
// Specifies the current state of the CFApp
// Allowed values are:
// "STARTED": App is started
// "STOPPED": App is stopped
DesiredState DesiredState `json:"desiredState"`
// Lifecycle specifies how to build droplets
Lifecycle Lifecycle `json:"lifecycle"`
// Name of a secret containing a map of multiple environment variables passed to every CFProcess of the app
EnvSecretName string `json:"envSecretName,omitempty"`
// CurrentDropletRef provides reference to the droplet currently assigned (active) for the app
CurrentDropletRef v1.LocalObjectReference `json:"currentDropletRef,omitempty"`
}
CFAppSpec defines the desired state of CFApp
func (*CFAppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFAppSpec.
func (*CFAppSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CFAppStatus ¶
type CFAppStatus struct {
// Conditions capture the current status of the App
Conditions []metav1.Condition `json:"conditions"`
ObservedDesiredState DesiredState `json:"observedDesiredState"`
// VCAPServicesSecretName contains the name of the CFApp's VCAP_SERVICES Secret assumed to be in the same namespace
VCAPServicesSecretName string `json:"vcapServicesSecretName"`
}
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFBuild.
func (*CFBuild) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFBuild) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 {
// Specifies the CFPackage associated with this build
PackageRef v1.LocalObjectReference `json:"packageRef"`
// Specifies the CFApp associated with this build
AppRef v1.LocalObjectReference `json:"appRef"`
// Specifies the memory request for the staging image
StagingMemoryMB int `json:"stagingMemoryMB"`
// Specifies the disk request for the staging image - Do we need this?
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"`
// Conditions capture the current status of the Build
Conditions []metav1.Condition `json:"conditions"`
}
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFDomain.
func (*CFDomain) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFDomain) DeepCopyObject ¶
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 {
// Domain name is required and must conform to RFC 1035
// +kubebuilder:validation:Pattern="^[a-zA-Z]([a-zA-Z0-9-]*[a-zA-Z0-9])?(\\.[a-zA-Z]([a-zA-Z0-9-]*[a-zA-Z0-9])?)*$"
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 {
}
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFOrg.
func (*CFOrg) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFOrg) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFOrgList.
func (*CFOrgList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFOrgList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CFOrgSpec ¶
type CFOrgSpec struct {
// DisplayName that is displayed to users
// +kubebuilder:validation:Pattern="^[-\\w]+$"
DisplayName string `json:"displayName"`
}
CFOrgSpec defines the desired state of CFOrg
func (*CFOrgSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFOrgSpec.
func (*CFOrgSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CFOrgStatus ¶
type CFOrgStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Conditions []metav1.Condition `json:"conditions"`
GUID string `json:"guid"`
}
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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFPackage.
func (*CFPackage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFPackage) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 {
// Type specifies the package type
// Valid values are:
// "bits": package to upload source code
Type PackageType `json:"type"`
// AppRef reference to the CFApp that owns this package
AppRef v1.LocalObjectReference `json:"appRef"`
// Source contains the details for the source image(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 {
// Conditions capture the current status of the Package
Conditions []metav1.Condition `json:"conditions"`
}
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFProcess.
func (*CFProcess) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFProcess) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CFProcess) Default ¶
func (r *CFProcess) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CFProcess) SetStableName ¶
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 {
// Specifies the App that owns this process
AppRef v1.LocalObjectReference `json:"appRef"`
// Specifies the name of the process in the App
ProcessType string `json:"processType"`
// Specifies the Command(k8s) ENTRYPOINT(Docker) of the Process
Command string `json:"command,omitempty"`
// Specifies the Liveness Probe (k8s) details of the Process
HealthCheck HealthCheck `json:"healthCheck"`
// Specifies the desired number of Process replicas to deploy
DesiredInstances int `json:"desiredInstances"`
// Specifies the Process memory limit in MiB
MemoryMB int64 `json:"memoryMB"`
// Specifies the Process disk limit in MiB
DiskQuotaMB int64 `json:"diskQuotaMB"`
// Specifies the Process ports to expose
Ports []int32 `json:"ports"`
}
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 {
// RunningInstances captures the actual number of Process replicas
RunningInstances int `json:"runningInstances"`
// Conditions capture the current status of the Process
Conditions []metav1.Condition `json:"conditions"`
}
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFRoute.
func (*CFRoute) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFRoute) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 {
// Host is optional, defaults to empty. For cf push default route, uses the name of the app.
Host string `json:"host,omitempty"`
// Path is optional, defaults to empty.
Path string `json:"path,omitempty"`
// Protocol is optional, defaults to http. Dependent on allow-listed protocols on domain.
Protocol Protocol `json:"protocol,omitempty"`
// Domain ref is required, provides base domain name and allowed protocol info.
DomainRef v1.ObjectReference `json:"domainRef"`
// Destinations are optional, a route can exist independently of being mapped to apps.
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"`
// FQDN captures the fully-qualified domain name for the route
FQDN string `json:"fqdn,omitempty"`
// URI captures the URI (FQDN + path) for the route
URI string `json:"uri,omitempty"`
// Destinations capture the observed state of the destinations
// mainly for recording the target port of the underlying service
Destinations []Destination `json:"destinations,omitempty"`
// Conditions capture the current status of the route
Conditions []metav1.Condition `json:"conditions,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.
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 ¶
func (in *CFServiceBindingList) DeepCopy() *CFServiceBindingList
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 {
// DisplayName defines the name of the Service Binding
DisplayName *string `json:"displayName,omitempty"`
// Specifies the Service this binding uses
Service v1.ObjectReference `json:"service"`
// Specifies the App that owns this process
AppRef v1.LocalObjectReference `json:"appRef"`
}
CFServiceBindingSpec defines the desired state of CFServiceBinding
func (*CFServiceBindingSpec) DeepCopy ¶
func (in *CFServiceBindingSpec) DeepCopy() *CFServiceBindingSpec
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 (same as spec.secretName).
// This is required to conform to the Kubernetes Service Bindings spec
Binding v1.LocalObjectReference `json:"binding"`
// Conditions capture the current status of the CFServiceBinding
Conditions []metav1.Condition `json:"conditions"`
}
CFServiceBindingStatus defines the observed state of CFServiceBinding
func (*CFServiceBindingStatus) DeepCopy ¶
func (in *CFServiceBindingStatus) DeepCopy() *CFServiceBindingStatus
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.
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 ¶
func (in *CFServiceInstanceList) DeepCopy() *CFServiceInstanceList
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 {
// DisplayName defines the name of the Service Instance
DisplayName string `json:"displayName"`
// Name of a secret containing the service credentials
SecretName string `json:"secretName"`
// Type of the Service Instance. Must be `user-provided`
Type InstanceType `json:"type"`
// Tags are used by apps to identify service instances
Tags []string `json:"tags,omitempty"`
}
CFServiceInstanceSpec defines the desired state of CFServiceInstance
func (*CFServiceInstanceSpec) DeepCopy ¶
func (in *CFServiceInstanceSpec) DeepCopy() *CFServiceInstanceSpec
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
Binding v1.LocalObjectReference `json:"binding"`
// Conditions capture the current status of the CFServiceInstance
Conditions []metav1.Condition `json:"conditions"`
}
CFServiceInstanceStatus defines the observed state of CFServiceInstance
func (*CFServiceInstanceStatus) DeepCopy ¶
func (in *CFServiceInstanceStatus) DeepCopy() *CFServiceInstanceStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFSpace.
func (*CFSpace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFSpace) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 {
// DisplayName of the space displayed to the user
// +kubebuilder:validation:Pattern="^[-\\w]+$"
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 {
// Conditions capture the current status of the CFSpace
Conditions []metav1.Condition `json:"conditions"`
GUID string `json:"guid"`
}
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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CFTask.
func (*CFTask) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CFTask) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (CFTask) StatusConditions ¶
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 {
Command string `json:"command,omitempty"`
AppRef corev1.LocalObjectReference `json:"appRef,omitempty"`
// +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 {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +optional
Conditions []metav1.Condition `json:"conditions"`
// +optional
SequenceID int64 `json:"sequenceId"`
// +optional
MemoryMB int64 `json:"memoryMB"`
// +optional
DiskQuotaMB int64 `json:"diskQuotaMB"`
// +optional
DropletRef corev1.LocalObjectReference `json:"dropletRef"`
}
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 ( ValidStatus CurrentStatus = "valid" InvalidStatus CurrentStatus = "invalid" )
type DesiredState ¶
type DesiredState string
DesiredState defines the desired state of CFApp. +kubebuilder:validation:Enum=STOPPED;STARTED
type Destination ¶
type Destination struct {
// GUID is required to support CF V3 Destination endpoints
GUID string `json:"guid"`
// Port is optional, defaults to ProcessModel::DEFAULT_HTTP_PORT
Port int `json:"port,omitempty"`
// App ref is required, part of the identity of a running process to which traffic may be routed
// We use a ref because the app must exist
AppRef v1.LocalObjectReference `json:"appRef"`
// Process type is required, part of the identity of a running process to which traffic may be routed
// We use process type instead of processRef because a process of the type may not exist at time of destination creation
ProcessType string `json:"processType"`
// Protocol is required, must be "http1"
// +kubebuilder:validation:Enum=http1
Protocol string `json:"protocol"`
}
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 {
// Specifies the type of Health Check the App process will use
// Valid values are:
// "http": http health check
// "port": TCP health check
// "process" (default): checks if process for start command is still alive
Type HealthCheckType `json:"type"`
// Specifies the input parameters for the liveness probe/health check 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 {
// HTTPEndpoint is only used by an "http" liveness probe
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 Healthcheck ¶
type Healthcheck struct {
Type string `json:"type"`
Port int32 `json:"port"`
Endpoint string `json:"endpoint"`
// +kubebuilder:validation:Format:=uint8
TimeoutMs uint `json:"timeoutMs"`
}
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 InstanceType ¶
type InstanceType string
InstanceType defines the type of the Service Instance +kubebuilder:validation:Enum=user-provided
type Lifecycle ¶
type Lifecycle struct {
// Specifies the CF Lifecycle type:
// Valid values are:
// "buildpack": stage the app using buildpacks
Type LifecycleType `json:"type"`
// Lifecycle data used to specify details for the Lifecycle
Data LifecycleData `json:"data"`
}
func (*Lifecycle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle.
func (*Lifecycle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LifecycleData ¶
type LifecycleData struct {
// List of buildpacks used to build the app
Buildpacks []string `json:"buildpacks,omitempty"`
Stack string `json:"stack"`
}
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" +kubebuilder:validation:Enum=buildpack
type PackageSource ¶
type PackageSource struct {
// registry ( Source code is 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
type ProcessType ¶
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 {
// Image specifies the location of the source image
Image string `json:"image"`
// ImagePullSecrets specifies a list of secrets required to access the image
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
func (*Registry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- appworkload_types.go
- buildreconcilerinfo_types.go
- buildworkload_types.go
- cfapp_types.go
- cfapp_webhook.go
- cfbuild_types.go
- cfbuild_webhook.go
- cfdomain_types.go
- cforg_types.go
- cfpackage_types.go
- cfpackage_webhook.go
- cfprocess_types.go
- cfprocess_webhook.go
- cfroute_types.go
- cfroute_webhook.go
- cfservicebinding_types.go
- cfserviceinstance_types.go
- cfspace_types.go
- cftask_types.go
- constants.go
- groupversion_info.go
- shared_types.go
- zz_generated.deepcopy.go