v1alpha1

package
v0.0.0-...-83b10f0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 7

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

View Source
const (
	Group   = "apps.nine.ch"
	Version = "v1alpha1"
)

Package type metadata.

View Source
const (
	// BuildProcessStatusError represents an unknown build status
	BuildProcessStatusUnknown BuildProcessStatus = "unknown"
	// BuildProcessStatusError represents the status of a failed build
	BuildProcessStatusError BuildProcessStatus = "error"
	// BuildProcessStatusRunning represents the status of a running build
	BuildProcessStatusRunning BuildProcessStatus = "running"
	// BuildProcessStatusSuccess represents the status of a successful/finished build
	BuildProcessStatusSuccess BuildProcessStatus = "success"
	// 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"
	// 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"
	// 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

View Source
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}
)
View Source
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

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"`
	// BasicAuthSecret references the secret which contains the basic auth
	// credentials
	// +optional
	BasicAuthSecret *meta.LocalReference `json:"basicAuthSecret,omitempty"`
	// ReferenceStatus contains errors for wrongly referenced resources
	meta.ReferenceStatus `json:",inline"`
}

ApplicationObservation are the observable fields of an Application.

func (*ApplicationObservation) DeepCopy

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"`
}

ApplicationParameters are the configurable fields of a Application.

func (*ApplicationParameters) DeepCopy

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 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"
)

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 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

type BasicAuth struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

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

func (in *Build) DeepCopy() *Build

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

func (*Build) DeepCopyInto

func (in *Build) DeepCopyInto(out *Build)

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

func (*Build) DeepCopyObject

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

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

func (mg *Build) GetProviderConfigReference() *xpv1.Reference

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

func (mg *Build) SetConditions(c ...xpv1.Condition)

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

func (mg *Build) SetProviderConfigReference(r *xpv1.Reference)

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

func (in *BuildList) DeepCopy() *BuildList

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

func (*BuildList) DeepCopyInto

func (in *BuildList) DeepCopyInto(out *BuildList)

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

func (*BuildList) DeepCopyObject

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

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

func (*BuildList) GetItems

func (l *BuildList) GetItems() []resource.Managed

GetItems of this BuildList.

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"`
}

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

func (in *BuildSpec) DeepCopy() *BuildSpec

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

func (*BuildSpec) DeepCopyInto

func (in *BuildSpec) DeepCopyInto(out *BuildSpec)

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

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"`
}

Config contains all parameters configuring the deployment of an Application.

func (*Config) DeepCopy

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

type ConfigOrigin

type ConfigOrigin string

ConfigOrigin describes the origin of a config

type DeployJob

type DeployJob struct {
	Job       `json:",inline"`
	FiniteJob `json:",inline"`
}

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

func (in *DeployJob) DeepCopy() *DeployJob

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

func (*DeployJob) DeepCopyInto

func (in *DeployJob) DeepCopyInto(out *DeployJob)

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 EnvVar

type EnvVar struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*EnvVar) DeepCopy

func (in *EnvVar) DeepCopy() *EnvVar

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

func (*EnvVar) DeepCopyInto

func (in *EnvVar) DeepCopyInto(out *EnvVar)

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

func (in EnvVars) DeepCopy() EnvVars

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

func (EnvVars) DeepCopyInto

func (in EnvVars) DeepCopyInto(out *EnvVars)

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"`
}

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

func (in *FiniteJob) DeepCopy() *FiniteJob

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

func (*FiniteJob) DeepCopyInto

func (in *FiniteJob) DeepCopyInto(out *FiniteJob)

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

func (in *GitAuth) DeepCopy() *GitAuth

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

func (*GitAuth) DeepCopyInto

func (in *GitAuth) DeepCopyInto(out *GitAuth)

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 occured 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

func (in *GitTarget) DeepCopy() *GitTarget

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

func (*GitTarget) DeepCopyInto

func (in *GitTarget) DeepCopyInto(out *GitTarget)

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

func (in *Job) DeepCopy() *Job

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

func (*Job) DeepCopyInto

func (in *Job) DeepCopyInto(out *Job)

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

type OriginApplicationSize

type OriginApplicationSize struct {
	// +optional
	// +kubebuilder:default:=""
	Value  ApplicationSize `json:"value"`
	Origin ConfigOrigin    `json:"origin"`
}

func (*OriginApplicationSize) DeepCopy

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 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

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

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

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

func (*Release) DeepCopyObject

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

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

func (mg *Release) GetProviderConfigReference() *xpv1.Reference

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

func (mg *Release) SetConditions(c ...xpv1.Condition)

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

func (mg *Release) SetProviderConfigReference(r *xpv1.Reference)

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"`
	// 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"`
}

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"`
}

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"`
}

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 ReplicaStatus

type ReplicaStatus string

ReplicaStatus is a status of a replica

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 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.

Jump to

Keyboard shortcuts

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