Documentation
¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group apps resources of the nine provider. +kubebuilder:object:generate=true +groupName=apps.nine.ch +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Application
- func (in *Application) DeepCopy() *Application
- func (in *Application) DeepCopyInto(out *Application)
- func (in *Application) DeepCopyObject() runtime.Object
- func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Application) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Application) GetProviderConfigReference() *xpv1.Reference
- func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Application) SetConditions(c ...xpv1.Condition)
- func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Application) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Application) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ApplicationGitConfig
- type ApplicationList
- type ApplicationObservation
- type ApplicationParameters
- type ApplicationScheduledJobStatus
- type ApplicationSize
- type ApplicationSpec
- type ApplicationStatus
- type ApplicationWorkerJobStatus
- type Auth
- type BasicAuth
- type Build
- func (in *Build) DeepCopy() *Build
- func (in *Build) DeepCopyInto(out *Build)
- func (in *Build) DeepCopyObject() runtime.Object
- func (mg *Build) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Build) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Build) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Build) GetProviderConfigReference() *xpv1.Reference
- func (mg *Build) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Build) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Build) SetConditions(c ...xpv1.Condition)
- func (mg *Build) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Build) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Build) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Build) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Build) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BuildList
- type BuildObservation
- type BuildParameters
- type BuildProcessStatus
- type BuildReference
- type BuildSpec
- type BuildStatus
- type BuildpackMetadata
- type BuildpackMetadataList
- type CertificateStatus
- type Config
- type ConfigOrigin
- type DNSCheckType
- type DeployJob
- type DeployJobProcessReason
- type DeployJobProcessStatus
- type DeployJobStatus
- type DockerfileBuild
- type EnvVar
- type EnvVars
- type FieldOriginConfig
- type FiniteJob
- type GitAuth
- type GitExploreRequest
- type GitExploreResponse
- type GitTarget
- type Job
- type Language
- type OriginApplicationSize
- type OriginBool
- type OriginDeployJob
- type OriginEnvVar
- type OriginEnvVarList
- type OriginInt32
- type OriginScheduledJob
- type OriginWorkerJob
- type ProjectConfig
- func (in *ProjectConfig) DeepCopy() *ProjectConfig
- func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)
- func (in *ProjectConfig) DeepCopyObject() runtime.Object
- func (mg *ProjectConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ProjectConfig) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ProjectConfig) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ProjectConfig) GetProviderConfigReference() *xpv1.Reference
- func (mg *ProjectConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ProjectConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ProjectConfig) SetConditions(c ...xpv1.Condition)
- func (mg *ProjectConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ProjectConfig) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ProjectConfig) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ProjectConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ProjectConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProjectConfigList
- type ProjectConfigParameters
- type ProjectConfigSpec
- type ProjectConfigStatus
- type Release
- func (in *Release) DeepCopy() *Release
- func (in *Release) DeepCopyInto(out *Release)
- func (in *Release) DeepCopyObject() runtime.Object
- func (mg *Release) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Release) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Release) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Release) GetProviderConfigReference() *xpv1.Reference
- func (mg *Release) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Release) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Release) SetConditions(c ...xpv1.Condition)
- func (mg *Release) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Release) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Release) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Release) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Release) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ReleaseList
- type ReleaseObservation
- type ReleaseParameters
- type ReleaseProcessStatus
- type ReleaseSpec
- type ReleaseStatus
- type ReplicaObservation
- type ReplicaStatus
- type RepositoryInfo
- type RevisionResponse
- type ScheduledJob
- type ScheduledJobStatus
- type SourceConfig
- type VerificationError
- type VerificationStatus
- type WorkerJob
- type WorkerJobStatus
Constants ¶
const ( Group = "apps.nine.ch" Version = "v1alpha1" )
Package type metadata.
const ( // LogLabelApplication is attached to all logs belonging to an app. LogLabelApplication = "app" // LogLabelRelease is attached to all logs belonging to a release. LogLabelRelease = "release" // LogLabelReplica is attached to all logs belonging to a replica. LogLabelReplica = "replica" // LogLabelProject attached to all logs belonging to a project. LogLabelProject = "project" // LogLabelWorkerJob is attached to all logs belonging to a worker job. LogLabelWorkerJob = "worker_job" // LogLabelScheduledJob is attached to all logs belonging to a scheduled job. LogLabelScheduledJob = "scheduled_job" // LogLabelDeployJob is attached to all logs belonging to a deploy job. LogLabelDeployJob = "deploy_job" // BuildProcessStatusError represents an unknown build status BuildProcessStatusUnknown BuildProcessStatus = "unknown" // BuildProcessStatusError represents the status of a failed build BuildProcessStatusError BuildProcessStatus = "error" // BuildProcessStatusImageUploadFailed represents the status of a failed build image upload BuildProcessStatusImageUploadFailed BuildProcessStatus = "imageUploadFailed" // BuildProcessStatusRunning represents the status of a running build BuildProcessStatusRunning BuildProcessStatus = "running" // BuildProcessStatusSuccess represents the status of a successful/finished build BuildProcessStatusSuccess BuildProcessStatus = "success" // LogLabelBuild is attached to all logs belonging to a build. LogLabelBuild = "build" // The following config origins describe all possible sources where a // configuration can be given ConfigOriginDefault = "default" ConfigOriginApplication = "application" ConfigOriginProject = "project" ConfigOriginOrganization = "organization" ConfigOriginGit = "git" // ReleaseProcessStatusReplicaFailure is added in a Release when for the // collection of underlying resources (Deployment, Service, Ingress, Secret, // etc), one of its pods fails to be created or deleted. ReleaseProcessStatusReplicaFailure ReleaseProcessStatus = "replicaFailure" // ReleaseProcessStatusProgressing means the Release is progressing. // Progress for a Release is considered when for the collection of // underlying resources (Deployment, Service, Ingress, Secret, etc), a new // replica set is created or adopted, and when new pods scale up or old pods // scale down. ReleaseProcessStatusProgressing ReleaseProcessStatus = "progressing" // ReleaseProcessStatusAvailable means the Release is available, ie. for the // collection of underlying resources (Deployment, Service, Ingress, Secret, // etc), at least the minimum available replicas required are up and running // for at least minReadySeconds. ReleaseProcessStatusAvailable ReleaseProcessStatus = "available" // ReleaseProcessStatusSuperseded means that this release has been // superseded by a later one. ReleaseProcessStatusSuperseded ReleaseProcessStatus = "superseded" // ReleaseProcessStatusFailure indicates the release has failed. ReleaseProcessStatusFailure ReleaseProcessStatus = "failure" // ReplicaStatusReady is the status for a ready running replica. ReplicaStatusReady ReplicaStatus = "ready" // ReplicaStatusSucceeded is the status for a succeeded running replica. ReplicaStatusSucceeded ReplicaStatus = "succeeded" // RepicaStatusProgressing is the status for a currently progressing // replica. ReplicaStatusProgressing ReplicaStatus = "progressing" // ReplicaStatusFailing describes a replica which is not in a ready state // and has restarted more than 2 times. ReplicaStatusFailing ReplicaStatus = "failing" // ReplicaStatusWaiting describes a state where a replica is waiting for // an event to happen. For example a currently running deploy job. ReplicaStatusWaiting ReplicaStatus = "waiting" // ReplicaStatusTerminating describes a state where a replica is terminating. ReplicaStatusTerminating ReplicaStatus = "terminating" // DeployJobProcessStatusSucceeded indicates that the deploy job has // succeeded. DeployJobProcessStatusSucceeded DeployJobProcessStatus = "succeeded" // DeployJobProcessStatusRunning indicates that the deploy job is // currently running. DeployJobProcessStatusRunning DeployJobProcessStatus = "running" // DeployJobProcessStatusFailed indicates that the deploy job was unable // to successfully complete within the configured amount of retries. DeployJobProcessStatusFailed DeployJobProcessStatus = "failed" // DeployJobProcessStatusUnknown indicates the status is unknown. DeployJobProcessStatusUnknown DeployJobProcessStatus = "unknown" DeployJobProcessReasonTimeout DeployJobProcessReason = "timeout" DeployJobProcessReasonBackoff DeployJobProcessReason = "backoffLimitExceeded" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( ApplicationKind = reflect.TypeOf(Application{}).Name() ApplicationGroupKind = schema.GroupKind{Group: Group, Kind: ApplicationKind}.String() ApplicationKindAPIVersion = ApplicationKind + "." + SchemeGroupVersion.String() ApplicationGroupVersionKind = SchemeGroupVersion.WithKind(ApplicationKind) BuildKind = reflect.TypeOf(Build{}).Name() BuildGroupKind = schema.GroupKind{Group: Group, Kind: BuildKind}.String() BuildKindAPIVersion = BuildKind + "." + SchemeGroupVersion.String() BuildGroupVersionKind = SchemeGroupVersion.WithKind(BuildKind) ProjectConfigKind = reflect.TypeOf(ProjectConfig{}).Name() ProjectConfigGroupKind = schema.GroupKind{Group: Group, Kind: ProjectConfigKind}.String() ProjectConfigKindAPIVersion = ProjectConfigKind + "." + SchemeGroupVersion.String() ProjectConfigGroupVersionKind = SchemeGroupVersion.WithKind(ProjectConfigKind) ReleaseKind = reflect.TypeOf(Release{}).Name() ReleaseGroupKind = schema.GroupKind{Group: Group, Kind: ReleaseKind}.String() ReleaseKindAPIVersion = ReleaseKind + "." + SchemeGroupVersion.String() ReleaseGroupVersionKind = SchemeGroupVersion.WithKind(ReleaseKind) )
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,omitempty"` }
Application takes source code as the input and fully builds and deploys the application. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced,shortName=app +kubebuilder:object:root=true
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Application) GetCondition ¶
func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Application.
func (*Application) GetDeletionPolicy ¶
func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Application.
func (*Application) GetManagementPolicies ¶
func (mg *Application) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Application.
func (*Application) GetProviderConfigReference ¶
func (mg *Application) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Application.
func (*Application) GetPublishConnectionDetailsTo ¶
func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Application.
func (*Application) GetWriteConnectionSecretToReference ¶
func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Application.
func (*Application) SetConditions ¶
func (mg *Application) SetConditions(c ...xpv1.Condition)
SetConditions of this Application.
func (*Application) SetDeletionPolicy ¶
func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Application.
func (*Application) SetManagementPolicies ¶
func (mg *Application) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Application.
func (*Application) SetProviderConfigReference ¶
func (mg *Application) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Application.
func (*Application) SetPublishConnectionDetailsTo ¶
func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Application.
func (*Application) SetWriteConnectionSecretToReference ¶
func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Application.
type ApplicationGitConfig ¶
type ApplicationGitConfig struct { // GitTarget specifies the git repository target GitTarget `json:",inline"` // Auth configures the authentication to a secured git repository. // Can be omitted for publicly accessible git repositories. // +optional Auth *GitAuth `json:"auth,omitempty"` }
ApplicationGitConfig configures the git repo to connect to.
func (*ApplicationGitConfig) DeepCopy ¶
func (in *ApplicationGitConfig) DeepCopy() *ApplicationGitConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationGitConfig.
func (*ApplicationGitConfig) DeepCopyInto ¶
func (in *ApplicationGitConfig) DeepCopyInto(out *ApplicationGitConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Application `json:"items"` }
ApplicationList contains a list of Applications +kubebuilder:object:root=true
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApplicationList) GetItems ¶
func (l *ApplicationList) GetItems() []resource.Managed
GetItems of this ApplicationList.
type ApplicationObservation ¶
type ApplicationObservation struct { // DefaultURLs are the URLs at which the application is avalilable. // +optional DefaultURLs []string `json:"defaultURLs"` // CNAMETarget specifies to which DNS entry all custom hosts should point to // (via a CNAME entry) // +optional CNAMETarget string `json:"cnameTarget,omitempty"` // TXTRecordContent specifies the content of the DNS TXT record which // will be used for host validation // +optional TXTRecordContent string `json:"txtRecordContent,omitempty"` // Hosts represents the latest status of the verification of each // custom host. // +optional Hosts []VerificationStatus `json:"hosts,omitempty"` // DefaultHostsCertificateStatus represents the latest Certificate status for the // default URLs where the app is available. // +optional DefaultHostsCertificateStatus CertificateStatus `json:"defaultHostsCertificateStatus,omitempty"` // CustomHostsCertificateStatus represents the latest Certificate status for the // defined custom hosts. // +optional CustomHostsCertificateStatus CertificateStatus `json:"customHostsCertificateStatus,omitempty"` // LatestRelease shows the latest release for this application // +optional LatestRelease string `json:"latestRelease,omitempty"` // LatestBuild shows the latest build for this application // +optional LatestBuild string `json:"latestBuild,omitempty"` // Size shows the effective application size which is currently in use // +optional Size ApplicationSize `json:"size,omitempty"` // Replicas shows the effective amount of replicas which are currently // deployed // +optional Replicas *int32 `json:"replicas,omitempty"` // WorkerJobs shows the currently running workers. // +optional WorkerJobs []ApplicationWorkerJobStatus `json:"workerJobs,omitempty"` // ScheduledJobs shows the currently running ScheduledJobs. // +optional ScheduledJobs []ApplicationScheduledJobStatus `json:"scheduledJobs,omitempty"` // BasicAuthSecret references the secret which contains the basic auth // credentials // +optional BasicAuthSecret *meta.LocalReference `json:"basicAuthSecret,omitempty"` // LastBasicAuthPasswordUpdate shows when the basic auth credentials have been // updated the last time. // +optional LastBasicAuthPasswordUpdate *metav1.Time `json:"lastBasicAuthPasswordUpdate,omitempty"` // ReferenceStatus contains errors for wrongly referenced resources meta.ReferenceStatus `json:",inline"` }
ApplicationObservation are the observable fields of an Application.
func (*ApplicationObservation) DeepCopy ¶
func (in *ApplicationObservation) DeepCopy() *ApplicationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationObservation.
func (*ApplicationObservation) DeepCopyInto ¶
func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationParameters ¶
type ApplicationParameters struct { // Language specifies which kind of application/language should be // used for building the application. If left empty, an automatic // detection will be run. // +optional Language Language `json:"language,omitempty"` Git ApplicationGitConfig `json:"git"` Config Config `json:"config"` // Hosts is a list of host names where the application can be accessed. If // empty, the application will just be accessible on a generated host name // on the deploio.app domain. // +optional Hosts []string `json:"hosts,omitempty"` // Env variables which are passed to configure env variables required during // the build process. // +optional BuildEnv EnvVars `json:"buildEnv"` // DockerfileBuild contains settings for building with an existing // Dockerfile // +optional DockerfileBuild DockerfileBuild `json:"dockerfileBuild"` // BasicAuthPasswordChange can be used to create a new basic auth // password. If a password change should be done, the field needs to be // set to the current or a future timestamp. Once that time is reached, // the password will be changed to a new one. The timestamp need to be // in RFC3339 format (e.g. 2006-01-02T15:04:05Z). // +optional BasicAuthPasswordChange *metav1.Time `json:"basicAuthPasswordChange,omitempty"` }
ApplicationParameters are the configurable fields of a Application. +kubebuilder:validation:XValidation:rule="!(has(self.language) && self.dockerfileBuild.enabled)",message="language can't be set if dockerfile builds are enabled."
func (*ApplicationParameters) DeepCopy ¶
func (in *ApplicationParameters) DeepCopy() *ApplicationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationParameters.
func (*ApplicationParameters) DeepCopyInto ¶
func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationScheduledJobStatus ¶
type ApplicationScheduledJobStatus struct { Name string `json:"name"` Size ApplicationSize `json:"size"` Schedule string `json:"schedule"` }
func (*ApplicationScheduledJobStatus) DeepCopy ¶
func (in *ApplicationScheduledJobStatus) DeepCopy() *ApplicationScheduledJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationScheduledJobStatus.
func (*ApplicationScheduledJobStatus) DeepCopyInto ¶
func (in *ApplicationScheduledJobStatus) DeepCopyInto(out *ApplicationScheduledJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSize ¶
type ApplicationSize string
ApplicationSize defines the size of an application and the resources that will be allocated for it. +kubebuilder:validation:Enum:="";micro;mini;standard-1;standard-2
var ( // DefaultConfig defines the default values used for deplo.io // applications DefaultConfig = Config{Size: AppMicro, Replicas: ptr.To(int32(1)), Port: ptr.To(int32(8080)), EnableBasicAuth: ptr.To(false)} AppMicro ApplicationSize = "micro" AppMini ApplicationSize = "mini" AppStandard1 ApplicationSize = "standard-1" AppStandard2 ApplicationSize = "standard-2" AppResources map[ApplicationSize]corev1.ResourceList = map[ApplicationSize]corev1.ResourceList{AppMicro: corev1.ResourceList{corev1.ResourceCPU: resource.MustParse("125m"), corev1.ResourceMemory: resource.MustParse("256Mi")}, AppMini: corev1.ResourceList{corev1.ResourceCPU: resource.MustParse("250m"), corev1.ResourceMemory: resource.MustParse("512Mi")}, AppStandard1: corev1.ResourceList{corev1.ResourceCPU: resource.MustParse("500m"), corev1.ResourceMemory: resource.MustParse("1Gi")}, AppStandard2: corev1.ResourceList{corev1.ResourceCPU: resource.MustParse("750m"), corev1.ResourceMemory: resource.MustParse("2Gi")}} )
type ApplicationSpec ¶
type ApplicationSpec struct { runtimev1.ResourceSpec `json:",inline"` ForProvider ApplicationParameters `json:"forProvider"` }
An ApplicationSpec defines the desired state of an Application.
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatus ¶
type ApplicationStatus struct { runtimev1.ResourceStatus `json:",inline"` AtProvider ApplicationObservation `json:"atProvider"` }
An ApplicationStatus represents the observed state of an Application.
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationWorkerJobStatus ¶
type ApplicationWorkerJobStatus struct { Name string `json:"name"` Size ApplicationSize `json:"size"` }
func (*ApplicationWorkerJobStatus) DeepCopy ¶
func (in *ApplicationWorkerJobStatus) DeepCopy() *ApplicationWorkerJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationWorkerJobStatus.
func (*ApplicationWorkerJobStatus) DeepCopyInto ¶
func (in *ApplicationWorkerJobStatus) DeepCopyInto(out *ApplicationWorkerJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Auth ¶
type Auth struct { // PrivateKey is a PEM encoded SSH private key which must not be // encrypted. The key has to be base64 encoded. PrivateKey []byte `json:"privateKey,omitempty"` // BasicAuth describes basic auth credentials to be used with HTTPS BasicAuth *BasicAuth `json:"basicAuth,omitempty"` }
Auth defines the possible authentication methods. +kubebuilder:object:generate=false
type BasicAuth ¶
BasicAuth is a simple username/password pair used for authentication +kubebuilder:object:generate=false
type Build ¶
type Build struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BuildSpec `json:"spec"` Status BuildStatus `json:"status,omitempty"` }
A Build represents an OCI image build of some referenced source code +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="BUILD-STATUS",type="string",JSONPath=".status.atProvider.buildStatus" +kubebuilder:object:root=true
func (*Build) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
func (*Build) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Build) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Build) GetCondition ¶
func (mg *Build) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Build.
func (*Build) GetDeletionPolicy ¶
func (mg *Build) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Build.
func (*Build) GetManagementPolicies ¶
func (mg *Build) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Build.
func (*Build) GetProviderConfigReference ¶
GetProviderConfigReference of this Build.
func (*Build) GetPublishConnectionDetailsTo ¶
func (mg *Build) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Build.
func (*Build) GetWriteConnectionSecretToReference ¶
func (mg *Build) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Build.
func (*Build) SetConditions ¶
SetConditions of this Build.
func (*Build) SetDeletionPolicy ¶
func (mg *Build) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Build.
func (*Build) SetManagementPolicies ¶
func (mg *Build) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Build.
func (*Build) SetProviderConfigReference ¶
SetProviderConfigReference of this Build.
func (*Build) SetPublishConnectionDetailsTo ¶
func (mg *Build) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Build.
func (*Build) SetWriteConnectionSecretToReference ¶
func (mg *Build) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Build.
type BuildList ¶
type BuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Build `json:"items"` }
BuildList contains a list of Builds +kubebuilder:object:root=true
func (*BuildList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.
func (*BuildList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildObservation ¶
type BuildObservation struct { // Status describes the status of the build // +optional BuildStatus BuildProcessStatus `json:"buildStatus,omitempty"` // StepsCompleted describes all the completed build steps // +optional StepsCompleted []string `json:"stepsCompleted,omitempty"` // BuildMetadata describes the list of buildpack binaries that were used in // the build phase // +optional BuildMetadata BuildpackMetadataList `json:"buildMetadata,omitempty"` // Stack identifies the kpack stack used to build the image // +optional Stack string `json:"stack,omitempty"` }
BuildObservation are the observable fields of a Build.
func (*BuildObservation) DeepCopy ¶
func (in *BuildObservation) DeepCopy() *BuildObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildObservation.
func (*BuildObservation) DeepCopyInto ¶
func (in *BuildObservation) DeepCopyInto(out *BuildObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildParameters ¶
type BuildParameters struct { // BuildReference references the original build resource BuildReference BuildReference `json:"buildReference"` // SourceConfig refers to the source of the build SourceConfig SourceConfig `json:"sourceConfig"` // Images defines the image spec of the final built image Image meta.Image `json:"image"` // Config contains deployment related config // +optional Config Config `json:"config"` // Env variables used at the build time // +optional Env EnvVars `json:"env,omitempty"` }
BuildParameters define the desired state of a build
func (*BuildParameters) DeepCopy ¶
func (in *BuildParameters) DeepCopy() *BuildParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildParameters.
func (*BuildParameters) DeepCopyInto ¶
func (in *BuildParameters) DeepCopyInto(out *BuildParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildProcessStatus ¶
type BuildProcessStatus string
BuildProcessStatus describes the status of a build
type BuildReference ¶
type BuildReference struct { // Cluster references the cluster of the build Cluster meta.Reference `json:"cluster"` // Build references the original build resource on the cluster of the // build Build meta.Reference `json:"build"` }
BuildReference describes a reference to a kpack build on a cluster
func (*BuildReference) DeepCopy ¶
func (in *BuildReference) DeepCopy() *BuildReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildReference.
func (*BuildReference) DeepCopyInto ¶
func (in *BuildReference) DeepCopyInto(out *BuildReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildSpec ¶
type BuildSpec struct { runtimev1.ResourceSpec `json:",inline"` ForProvider BuildParameters `json:"forProvider"` }
A BuildSpec defines the desired state of an Build.
func (*BuildSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.
func (*BuildSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildStatus ¶
type BuildStatus struct { runtimev1.ResourceStatus `json:",inline"` AtProvider BuildObservation `json:"atProvider"` }
An BuildStatus represents the observed state of an Build.
func (*BuildStatus) DeepCopy ¶
func (in *BuildStatus) DeepCopy() *BuildStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatus.
func (*BuildStatus) DeepCopyInto ¶
func (in *BuildStatus) DeepCopyInto(out *BuildStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildpackMetadata ¶
type BuildpackMetadata struct { Id string `json:"id"` Version string `json:"version"` Homepage string `json:"homepage,omitempty"` }
BuildpackMetadata describes the binary that was used in the build phase. Copied from https://github.com/buildpacks-community/kpack/blob/v0.10.0/pkg/apis/core/v1alpha1/buildpack_metadata.go
func (*BuildpackMetadata) DeepCopy ¶
func (in *BuildpackMetadata) DeepCopy() *BuildpackMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackMetadata.
func (*BuildpackMetadata) DeepCopyInto ¶
func (in *BuildpackMetadata) DeepCopyInto(out *BuildpackMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildpackMetadataList ¶
type BuildpackMetadataList []BuildpackMetadata
BuildpackMetadataList contains a list of BuildpackMetadata
func (BuildpackMetadataList) DeepCopy ¶
func (in BuildpackMetadataList) DeepCopy() BuildpackMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildpackMetadataList.
func (BuildpackMetadataList) DeepCopyInto ¶
func (in BuildpackMetadataList) DeepCopyInto(out *BuildpackMetadataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateStatus ¶
type CertificateStatus string
CertificateStatus represents the Certificate status
type Config ¶
type Config struct { // +optional // +kubebuilder:default:="" Size ApplicationSize `json:"size"` // Env variables which are passed to the app at runtime. // +optional Env EnvVars `json:"env"` // Port the app is listening on. // +optional // +nullable Port *int32 `json:"port"` // Replicas sets the amount of replicas of the running app. If this is // increased, make sure your application can cope with running multiple // replicas and all state required is shared in some way. // +optional // +nullable Replicas *int32 `json:"replicas"` // EnableBasicAuth enables basic authentication for the application // +optional // +nullable EnableBasicAuth *bool `json:"enableBasicAuth,omitempty"` // +optional // +nullable DeployJob *DeployJob `json:"deployJob,omitempty"` // +optional // +nullable // +listType:="map" // +listMapKey:="name" // WorkerJob defines a list of WorkerJob. See WorkerJob definition for a // description. WorkerJobs []WorkerJob `json:"workerJobs,omitempty"` // +optional // +nullable // +listType:="map" // +listMapKey:="name" // ScheduledJobs defines a list of ScheduledJob. See ScheduledJob definition for a // description. ScheduledJobs []ScheduledJob `json:"scheduledJobs,omitempty"` }
Config contains all parameters configuring the deployment of an Application.
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSCheckType ¶
type DNSCheckType string
type DeployJob ¶
DeployJob defines a command which is executed before a new release gets deployed. The deployment will only continue if the job finished successfully.
func (*DeployJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployJob.
func (*DeployJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployJobProcessReason ¶
type DeployJobProcessReason string
type DeployJobProcessStatus ¶
type DeployJobProcessStatus string
DeployJobProcessStatus represents the deploy job status
type DeployJobStatus ¶
type DeployJobStatus struct { // Name of the deploy job. Name string `json:"name"` // Status indicates the status of the deploy job. Status DeployJobProcessStatus `json:"status"` // Reason indicates the failure reason in case of a failure. // +optional Reason DeployJobProcessReason `json:"reason,omitempty"` // StartTime is the timestamp the job has started. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // ExitTime is the timestamp the job has exited. // +optional ExitTime *metav1.Time `json:"exitTime,omitempty"` }
func (*DeployJobStatus) DeepCopy ¶
func (in *DeployJobStatus) DeepCopy() *DeployJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployJobStatus.
func (*DeployJobStatus) DeepCopyInto ¶
func (in *DeployJobStatus) DeepCopyInto(out *DeployJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileBuild ¶
type DockerfileBuild struct { // Enabled defines if the Dockerfile build should be enabled // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Dockerfile builds cannot be enabled/disabled after creation of the application (field is immutable)" // +optional Enabled bool `json:"enabled"` // DockerfilePath specifies the path to the Dockerfile. If left empty a // file named Dockerfile will be searched in the application code root // directory. // +optional DockerfilePath string `json:"dockerfilePath,omitempty"` // BuildContext defines the build context. If left empty, the // application code root directory will be used as build context. // +optional BuildContext string `json:"buildContext,omitempty"` }
func (*DockerfileBuild) DeepCopy ¶
func (in *DockerfileBuild) DeepCopy() *DockerfileBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileBuild.
func (*DockerfileBuild) DeepCopyInto ¶
func (in *DockerfileBuild) DeepCopyInto(out *DockerfileBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVar ¶
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVars ¶
type EnvVars []EnvVar
func (EnvVars) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVars.
func (EnvVars) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FieldOriginConfig ¶
type FieldOriginConfig struct { // Size describes the CPU and memory requirements of the application Size OriginApplicationSize `json:"size,omitempty"` // Env variables which are passed to the app at runtime. // +optional Env OriginEnvVarList `json:"env,omitempty"` // Port the app is listening on. // +optional Port *OriginInt32 `json:"port,omitempty"` // Replicas sets the amount of replicas of the running app. // +optional Replicas *OriginInt32 `json:"replicas,omitempty"` // EnableBasicAuth enables basic authentication for the application // +optional EnableBasicAuth *OriginBool `json:"enableBasicAuth,omitempty"` // +optional DeployJob *OriginDeployJob `json:"deployJob,omitempty"` // +optional WorkerJobs []OriginWorkerJob `json:"workerJobs,omitempty"` // +optional ScheduledJobs []OriginScheduledJob `json:"scheduledJobs,omitempty"` }
A FieldOriginConfig contains the fields of a normal config, but with an origin indicator for that field.
func (*FieldOriginConfig) DeepCopy ¶
func (in *FieldOriginConfig) DeepCopy() *FieldOriginConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldOriginConfig.
func (*FieldOriginConfig) DeepCopyInto ¶
func (in *FieldOriginConfig) DeepCopyInto(out *FieldOriginConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FiniteJob ¶
type FiniteJob struct { // Retries defines how many times the job will be restarted on failure. // +optional // +kubebuilder:default:=0 // +kubebuilder:validation:max:=5 Retries *int32 `json:"retries,omitempty"` // Timeout of the job. Minimum is 1 minute and maximum is 30 minutes. // +optional // +kubebuilder:default:="5m" // +kubebuilder:validation:Type=string // +kubebuilder:validation:Format=duration Timeout *metav1.Duration `json:"timeout,omitempty"` }
FiniteJob defines fields for all jobs which have a finite runtime
func (*FiniteJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FiniteJob.
func (*FiniteJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitAuth ¶
type GitAuth struct { // Username is the username to use when connecting to the git repository // over HTTPS. // +optional Username string `json:"username,omitempty"` // Password is the password to use when connecting to the git repository // over HTTPS. In case of GitHub or GitLab, this can also be an access // token. // +optional Password string `json:"password,omitempty"` // SSHPrivateKey is a private key in PEM format to connect to the git // repository via SSH. // +optional SSHPrivateKey string `json:"sshPrivateKey,omitempty"` // FromSecret is a reference to a Secret to read the credentials from // instead of using the inline fields. Should contain the following keys // depending on the protocol used. // // HTTPS: // data: // username: <username> // password: <password> // SSH: // data: // privatekey: <pem-private-key> // // +optional FromSecret *meta.LocalReference `json:"fromSecret,omitempty"` }
func (*GitAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitAuth.
func (*GitAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitExploreRequest ¶
type GitExploreRequest struct { // Repository describes the path to the GIT repository. It can be given // as a full URL ("http(s)://" or "ssh://" prefix) or just in // "<Hostname>/<Path>" format in which case HTTPS will be // used. Repository string `json:"repository"` // Auth defines the authentication which is needed. If not given, no // authentication will be used. Auth *Auth `json:"auth,omitempty"` // +optional // Revision is a git revision which will be checked for existence in // the specified repository. If not given, no revision check will be // done. Revision string `json:"revision,omitempty"` }
GitExploreRequest describes a request to our Git information service +kubebuilder:object:generate=false
type GitExploreResponse ¶
type GitExploreResponse struct { // Warnings contains optional warning messages Warnings []string `json:"warnings,omitempty"` // Error contains an optional occurred error during the exploration of a // Git repository. Error string `json:"error,omitempty"` // RepositoryInfo contains the explored items of a Git repository. RepositoryInfo *RepositoryInfo `json:"repositoryInfo,omitempty"` }
GitExploreResponse describes the response to a GitExploreRequest. +kubebuilder:object:generate=false
type GitTarget ¶
type GitTarget struct { // URL is the URL to the Git repository containing the application source. // Both HTTPS and SSH formats are supported. // +kubebuilder:validation:MinLength=1 URL string `json:"url"` // SubPath is a path in the git repo which contains the application // code. If not given, the root directory of the git repo will be used. The // SubPath field needs to start with a letter. // +optional SubPath string `json:"subPath"` // Revision defines the revision of the source to deploy the application // to. This can be a commit, tag, or branch. // +kubebuilder:validation:MinLength=1 Revision string `json:"revision"` }
func (*GitTarget) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitTarget.
func (*GitTarget) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Job ¶
type Job struct { // Name of the Job. Name string `json:"name"` // Command to execute. This command will be executed by a bash shell which // gets started by the cloud native buildpacks launcher binary. Command string `json:"command"` }
Job defines fields which all jobs have in common
func (*Job) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (*Job) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Language ¶
type Language string
Language specifies which kind of application/language should be used for building the application. It influences the buildpack used. +kubebuilder:validation:Enum:="";ruby;php;python;golang;nodejs;static;ruby-heroku
type OriginApplicationSize ¶
type OriginApplicationSize struct { // +optional // +kubebuilder:default:="" Value ApplicationSize `json:"value"` Origin ConfigOrigin `json:"origin"` }
func (*OriginApplicationSize) DeepCopy ¶
func (in *OriginApplicationSize) DeepCopy() *OriginApplicationSize
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginApplicationSize.
func (*OriginApplicationSize) DeepCopyInto ¶
func (in *OriginApplicationSize) DeepCopyInto(out *OriginApplicationSize)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginBool ¶
type OriginBool struct { Value bool `json:"value"` Origin ConfigOrigin `json:"origin"` }
func (*OriginBool) DeepCopy ¶
func (in *OriginBool) DeepCopy() *OriginBool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginBool.
func (*OriginBool) DeepCopyInto ¶
func (in *OriginBool) DeepCopyInto(out *OriginBool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginDeployJob ¶
type OriginDeployJob struct { Value DeployJob `json:"value"` Origin ConfigOrigin `json:"origin"` }
func (*OriginDeployJob) DeepCopy ¶
func (in *OriginDeployJob) DeepCopy() *OriginDeployJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginDeployJob.
func (*OriginDeployJob) DeepCopyInto ¶
func (in *OriginDeployJob) DeepCopyInto(out *OriginDeployJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginEnvVar ¶
type OriginEnvVar struct { Value EnvVar `json:"value"` Origin ConfigOrigin `json:"origin"` }
func (*OriginEnvVar) DeepCopy ¶
func (in *OriginEnvVar) DeepCopy() *OriginEnvVar
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginEnvVar.
func (*OriginEnvVar) DeepCopyInto ¶
func (in *OriginEnvVar) DeepCopyInto(out *OriginEnvVar)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginEnvVarList ¶
type OriginEnvVarList []OriginEnvVar
func (OriginEnvVarList) DeepCopy ¶
func (in OriginEnvVarList) DeepCopy() OriginEnvVarList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginEnvVarList.
func (OriginEnvVarList) DeepCopyInto ¶
func (in OriginEnvVarList) DeepCopyInto(out *OriginEnvVarList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginInt32 ¶
type OriginInt32 struct { Value int32 `json:"value"` Origin ConfigOrigin `json:"origin"` }
func (*OriginInt32) DeepCopy ¶
func (in *OriginInt32) DeepCopy() *OriginInt32
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginInt32.
func (*OriginInt32) DeepCopyInto ¶
func (in *OriginInt32) DeepCopyInto(out *OriginInt32)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginScheduledJob ¶
type OriginScheduledJob struct { Value ScheduledJob `json:"value"` Origin ConfigOrigin `json:"origin"` }
func (*OriginScheduledJob) DeepCopy ¶
func (in *OriginScheduledJob) DeepCopy() *OriginScheduledJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginScheduledJob.
func (*OriginScheduledJob) DeepCopyInto ¶
func (in *OriginScheduledJob) DeepCopyInto(out *OriginScheduledJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginWorkerJob ¶
type OriginWorkerJob struct { Value WorkerJob `json:"value"` Origin ConfigOrigin `json:"origin"` }
func (*OriginWorkerJob) DeepCopy ¶
func (in *OriginWorkerJob) DeepCopy() *OriginWorkerJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginWorkerJob.
func (*OriginWorkerJob) DeepCopyInto ¶
func (in *OriginWorkerJob) DeepCopyInto(out *OriginWorkerJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectConfig ¶
type ProjectConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectConfigSpec `json:"spec"` Status ProjectConfigStatus `json:"status,omitempty"` }
A ProjectConfig defines the default config of an application in a project. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced +kubebuilder:object:root=true
func (*ProjectConfig) DeepCopy ¶
func (in *ProjectConfig) DeepCopy() *ProjectConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfig.
func (*ProjectConfig) DeepCopyInto ¶
func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectConfig) DeepCopyObject ¶
func (in *ProjectConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectConfig) GetCondition ¶
func (mg *ProjectConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ProjectConfig.
func (*ProjectConfig) GetDeletionPolicy ¶
func (mg *ProjectConfig) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ProjectConfig.
func (*ProjectConfig) GetManagementPolicies ¶
func (mg *ProjectConfig) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ProjectConfig.
func (*ProjectConfig) GetProviderConfigReference ¶
func (mg *ProjectConfig) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ProjectConfig.
func (*ProjectConfig) GetPublishConnectionDetailsTo ¶
func (mg *ProjectConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ProjectConfig.
func (*ProjectConfig) GetWriteConnectionSecretToReference ¶
func (mg *ProjectConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ProjectConfig.
func (*ProjectConfig) SetConditions ¶
func (mg *ProjectConfig) SetConditions(c ...xpv1.Condition)
SetConditions of this ProjectConfig.
func (*ProjectConfig) SetDeletionPolicy ¶
func (mg *ProjectConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ProjectConfig.
func (*ProjectConfig) SetManagementPolicies ¶
func (mg *ProjectConfig) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ProjectConfig.
func (*ProjectConfig) SetProviderConfigReference ¶
func (mg *ProjectConfig) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ProjectConfig.
func (*ProjectConfig) SetPublishConnectionDetailsTo ¶
func (mg *ProjectConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ProjectConfig.
func (*ProjectConfig) SetWriteConnectionSecretToReference ¶
func (mg *ProjectConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ProjectConfig.
type ProjectConfigList ¶
type ProjectConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProjectConfig `json:"items"` }
ProjectConfigList contains a list of ProjectConfigs +kubebuilder:object:root=true
func (*ProjectConfigList) DeepCopy ¶
func (in *ProjectConfigList) DeepCopy() *ProjectConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfigList.
func (*ProjectConfigList) DeepCopyInto ¶
func (in *ProjectConfigList) DeepCopyInto(out *ProjectConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectConfigList) DeepCopyObject ¶
func (in *ProjectConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectConfigList) GetItems ¶
func (l *ProjectConfigList) GetItems() []resource.Managed
GetItems of this ProjectConfigList.
type ProjectConfigParameters ¶
type ProjectConfigParameters struct {
Config Config `json:"config"`
}
ProjectConfigParameters are the configurable fields of a ProjectConfig.
func (*ProjectConfigParameters) DeepCopy ¶
func (in *ProjectConfigParameters) DeepCopy() *ProjectConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfigParameters.
func (*ProjectConfigParameters) DeepCopyInto ¶
func (in *ProjectConfigParameters) DeepCopyInto(out *ProjectConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectConfigSpec ¶
type ProjectConfigSpec struct { runtimev1.ResourceSpec `json:",inline"` ForProvider ProjectConfigParameters `json:"forProvider"` }
An ProjectConfigSpec defines the desired state of a ProjectConfig.
func (*ProjectConfigSpec) DeepCopy ¶
func (in *ProjectConfigSpec) DeepCopy() *ProjectConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfigSpec.
func (*ProjectConfigSpec) DeepCopyInto ¶
func (in *ProjectConfigSpec) DeepCopyInto(out *ProjectConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectConfigStatus ¶
type ProjectConfigStatus struct {
runtimev1.ResourceStatus `json:",inline"`
}
An ProjectConfigStatus represents the observed state of a ProjectConfig.
func (*ProjectConfigStatus) DeepCopy ¶
func (in *ProjectConfigStatus) DeepCopy() *ProjectConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfigStatus.
func (*ProjectConfigStatus) DeepCopyInto ¶
func (in *ProjectConfigStatus) DeepCopyInto(out *ProjectConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Release ¶
type Release struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // CreationTimestampNano is the unix nano timestamp of the release when // it was created. It can be used to order releases and find the most // current one. It provides a higher accuracy than the normal // kubernetes resource CreationTimestamp which only has a resolution // down to a second. CreationTimestampNano int64 `json:"creationTimestampNano"` Spec ReleaseSpec `json:"spec"` Status ReleaseStatus `json:"status,omitempty"` }
A Release is created from a "successful" Build. It contains all the information needed to deploy the application. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="APPLICATION",type="string",JSONPath=".metadata.labels.application\\.apps\\.nine\\.ch/name" +kubebuilder:printcolumn:name="SIZE",type="string",JSONPath=".spec.forProvider.config.size" +kubebuilder:printcolumn:name="REPLICAS",type="integer",JSONPath=".spec.forProvider.config.replicas" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.atProvider.releaseStatus" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:object:root=true
func (*Release) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Release) GetCondition ¶
func (mg *Release) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Release.
func (*Release) GetDeletionPolicy ¶
func (mg *Release) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Release.
func (*Release) GetManagementPolicies ¶
func (mg *Release) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Release.
func (*Release) GetProviderConfigReference ¶
GetProviderConfigReference of this Release.
func (*Release) GetPublishConnectionDetailsTo ¶
func (mg *Release) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Release.
func (*Release) GetWriteConnectionSecretToReference ¶
func (mg *Release) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Release.
func (*Release) SetConditions ¶
SetConditions of this Release.
func (*Release) SetDeletionPolicy ¶
func (mg *Release) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Release.
func (*Release) SetManagementPolicies ¶
func (mg *Release) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Release.
func (*Release) SetProviderConfigReference ¶
SetProviderConfigReference of this Release.
func (*Release) SetPublishConnectionDetailsTo ¶
func (mg *Release) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Release.
func (*Release) SetWriteConnectionSecretToReference ¶
func (mg *Release) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Release.
type ReleaseList ¶
type ReleaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Release `json:"items"` }
ReleaseList contains a list of Releases +kubebuilder:object:root=true
func (*ReleaseList) DeepCopy ¶
func (in *ReleaseList) DeepCopy() *ReleaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseList.
func (*ReleaseList) DeepCopyInto ¶
func (in *ReleaseList) DeepCopyInto(out *ReleaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleaseList) DeepCopyObject ¶
func (in *ReleaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ReleaseList) GetItems ¶
func (l *ReleaseList) GetItems() []resource.Managed
GetItems of this ReleaseList.
type ReleaseObservation ¶
type ReleaseObservation struct { // ReleaseStatus describes the status of the Release // +optional ReleaseStatus ReleaseProcessStatus `json:"releaseStatus,omitempty"` // ReplicaObservation shows details about all replicas of the release // +optional ReplicaObservation []ReplicaObservation `json:"replicaObservation,omitempty"` // DeployJobStatus describes the status of the deploy job of a release // +optional DeployJobStatus *DeployJobStatus `json:"deployJobStatus,omitempty"` // WorkerJobStatus describes the status of all workerjobs // +optional // +listType:="map" // +listMapKey:="name" WorkerJobStatus []WorkerJobStatus `json:"workerJobStatus,omitempty"` // ScheduledJobStatus describes the status of all workerjobs // +optional // +listType:="map" // +listMapKey:="name" ScheduledJobStatus []ScheduledJobStatus `json:"scheduledJobStatus,omitempty"` // CustomHostsCertificateStatus represents the latest Certificate status for // the custom hosts where the app is available. // +optional CustomHostsCertificateStatus CertificateStatus `json:"customHostsCertificateStatus,omitempty"` // Replicas describes the amount of rolled out replicas, ie. for the // underlying Deployment, it shows number of non-terminated pods targeted by // this Release. // +optional Replicas int32 `json:"replicas,omitempty"` // Owning indicates if this release is currently owning all resources. // +optional Owning bool `json:"owning"` }
ReleaseObservation are the observable fields of a Release
func (*ReleaseObservation) DeepCopy ¶
func (in *ReleaseObservation) DeepCopy() *ReleaseObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseObservation.
func (*ReleaseObservation) DeepCopyInto ¶
func (in *ReleaseObservation) DeepCopyInto(out *ReleaseObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseParameters ¶
type ReleaseParameters struct { // Build references the Build resource, that is the Release source. Build meta.LocalReference `json:"build"` // Image defines the image spec of the built image Image meta.Image `json:"image"` // Config contains all configurations from the various configuration // sources (project level, application level, etc) merged into one. Config Config `json:"config"` // DefaultHosts are the URLs at which the application is available. // +optional DefaultHosts []string `json:"defaultHosts"` // VerifiedHosts are the custom hosts which have been verified and can be // used in the release // +optional VerifiedHosts []string `json:"verifiedHosts,omitempty"` // BasicAuthSecret references a local secret which contains the basic // auth credentials // +optional BasicAuthSecret *meta.LocalReference `json:"basicAuthSecret,omitempty"` // Configuration contains all configurations from the various configuration // sources (project level, application level, etc) merged into one. // +optional Configuration *FieldOriginConfig `json:"configuration,omitempty"` // Timeout of the release after it will be considered failed. This does // not include the time spent waiting for the deploy job and only concerns // the release rollout. // +optional // +kubebuilder:default:="10m" Timeout *metav1.Duration `json:"timeout,omitempty"` // DockerfileBuild indicates if the build has been built using a dockerfile. // +optional DockerfileBuild bool `json:"dockerfileBuild,omitempty"` // RunAsUser allows the UID of the entrypoint of the container process to be // overridden. If not specified, the default UID of the container image will be // used. // +optional RunAsUser *int64 `json:"runAsUser,omitempty"` }
ReleaseParameters define the desired Release state
func (*ReleaseParameters) DeepCopy ¶
func (in *ReleaseParameters) DeepCopy() *ReleaseParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseParameters.
func (*ReleaseParameters) DeepCopyInto ¶
func (in *ReleaseParameters) DeepCopyInto(out *ReleaseParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseProcessStatus ¶
type ReleaseProcessStatus string
ReleaseProcessStatus represents the Release status
type ReleaseSpec ¶
type ReleaseSpec struct { runtimev1.ResourceSpec `json:",inline"` ForProvider ReleaseParameters `json:"forProvider"` }
A ReleaseSpec defines the desired Release state
func (*ReleaseSpec) DeepCopy ¶
func (in *ReleaseSpec) DeepCopy() *ReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseSpec.
func (*ReleaseSpec) DeepCopyInto ¶
func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatus ¶
type ReleaseStatus struct { runtimev1.ResourceStatus `json:",inline"` AtProvider ReleaseObservation `json:"atProvider"` }
An ReleaseStatus represents the observed Release state
func (*ReleaseStatus) DeepCopy ¶
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.
func (*ReleaseStatus) DeepCopyInto ¶
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaObservation ¶
type ReplicaObservation struct { // Status describes the status of the replica. // +optional Status ReplicaStatus `json:"status"` // LastExitCode shows the last exit code of the replica. // +optional LastExitCode *int32 `json:"lastExitCode,omitempty"` // RestartCount indicates how often the replica was already restarted. // +optional RestartCount *int32 `json:"restartCount,omitempty"` // ReplicaName is the name of the replica. // +optional ReplicaName string `json:"replicaName,omitempty"` }
ReplicaObservation describes a replica
func (*ReplicaObservation) DeepCopy ¶
func (in *ReplicaObservation) DeepCopy() *ReplicaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaObservation.
func (*ReplicaObservation) DeepCopyInto ¶
func (in *ReplicaObservation) DeepCopyInto(out *ReplicaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryInfo ¶
type RepositoryInfo struct { // URL is the URL used to obtain the information URL string `json:"url"` // RevisionResponse returns information about the optional revision // which was requested in the GitExploreRequest // +optional RevisionResponse *RevisionResponse `json:"revisionResponse,omitempty"` // Branches are the available git branches Branches []string `json:"branches,omitempty"` // Tags are the available tags Tags []string `json:"tags,omitempty"` }
RepositoryInfo contains information about an explored Git repository +kubebuilder:object:generate=false
type RevisionResponse ¶
type RevisionResponse struct { // RevisionRequested is the revision which was requested RevisionRequested string `json:"revisionRequested"` // Found is set to true if the requested revision was found, otherwise false Found bool `json:"found"` }
RevisionResponse contains information about a requested git revision. +kubebuilder:object:generate=false
type ScheduledJob ¶
type ScheduledJob struct { Job `json:",inline"` FiniteJob `json:",inline"` // Schedule defines the schedule in crontab syntax Schedule string `json:"schedule"` // Size defines the amount of CPU and memory which this job can make use of // +optional // +kubebuilder:default:="micro" Size *ApplicationSize `json:"size,omitempty" yaml:"size,omitempty"` }
ScheduledJob is a separate process that runs periodically which uses the same image as the application, but a different entry point.
func (*ScheduledJob) DeepCopy ¶
func (in *ScheduledJob) DeepCopy() *ScheduledJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledJob.
func (*ScheduledJob) DeepCopyInto ¶
func (in *ScheduledJob) DeepCopyInto(out *ScheduledJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledJobStatus ¶
type ScheduledJobStatus struct { Name string `json:"name"` ReplicaObservation []ReplicaObservation `json:"replicaObservation"` }
func (*ScheduledJobStatus) DeepCopy ¶
func (in *ScheduledJobStatus) DeepCopy() *ScheduledJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledJobStatus.
func (*ScheduledJobStatus) DeepCopyInto ¶
func (in *ScheduledJobStatus) DeepCopyInto(out *ScheduledJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceConfig ¶
type SourceConfig struct { // Git specifies a target git repo with a revision to use Git GitTarget `json:"git"` }
SourceConfig describes the source of a build
func (*SourceConfig) DeepCopy ¶
func (in *SourceConfig) DeepCopy() *SourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceConfig.
func (*SourceConfig) DeepCopyInto ¶
func (in *SourceConfig) DeepCopyInto(out *SourceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerificationError ¶
type VerificationError struct { // Message refers to the error message Message string `json:"message"` // Timestamp refers to the time when this error happened Timestamp metav1.Time `json:"timestamp"` }
func (*VerificationError) DeepCopy ¶
func (in *VerificationError) DeepCopy() *VerificationError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerificationError.
func (*VerificationError) DeepCopyInto ¶
func (in *VerificationError) DeepCopyInto(out *VerificationError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerificationStatus ¶
type VerificationStatus struct { // the hostname of the verification entry Name string `json:"name"` // CheckType describes which kind of DNS check this entry is about // (CNAME or TXT) // +optional CheckType DNSCheckType `json:"checkType,omitempty"` // LatestSuccess specifies when this host was last verified successfully // +optional LatestSuccess *metav1.Time `json:"latestSuccess,omitempty"` // Error displays a potential error which happened during the // verification // +optional Error *VerificationError `json:"error,omitempty"` }
func (*VerificationStatus) DeepCopy ¶
func (in *VerificationStatus) DeepCopy() *VerificationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerificationStatus.
func (*VerificationStatus) DeepCopyInto ¶
func (in *VerificationStatus) DeepCopyInto(out *VerificationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerJob ¶
type WorkerJob struct { Job `json:",inline"` // Size defines the amount of CPU and memory which this job can make use of // +optional // +kubebuilder:default:="micro" Size *ApplicationSize `json:"size,omitempty" yaml:"size,omitempty"` }
WorkerJob is a separate process which uses the same image as the application, but a different entry point. One common use-case is to start a task scheduler which executes tasks on a regular base.
func (*WorkerJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerJob.
func (*WorkerJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerJobStatus ¶
type WorkerJobStatus struct { Name string `json:"name"` ReplicaObservation []ReplicaObservation `json:"replicaObservation"` }
func (*WorkerJobStatus) DeepCopy ¶
func (in *WorkerJobStatus) DeepCopy() *WorkerJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerJobStatus.
func (*WorkerJobStatus) DeepCopyInto ¶
func (in *WorkerJobStatus) DeepCopyInto(out *WorkerJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.