v1beta1

package
v1.15.2 Latest Latest
Warning

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

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

Documentation

Overview

Package v1beta1 contains resources relating to Crossplane packages. +kubebuilder:object:generate=true +groupName=pkg.crossplane.io +versionName=v1beta1

Index

Constants

View Source
const (
	Group   = "pkg.crossplane.io"
	Version = "v1beta1"
)

Package type metadata.

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}

	// AddToScheme adds all registered types to the scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	LockKind             = reflect.TypeOf(Lock{}).Name()
	LockGroupKind        = schema.GroupKind{Group: Group, Kind: LockKind}.String()
	LockKindAPIVersion   = LockKind + "." + SchemeGroupVersion.String()
	LockGroupVersionKind = SchemeGroupVersion.WithKind(LockKind)
)

Lock type metadata.

View Source
var (
	FunctionKind             = reflect.TypeOf(Function{}).Name()
	FunctionGroupKind        = schema.GroupKind{Group: Group, Kind: FunctionKind}.String()
	FunctionKindAPIVersion   = FunctionKind + "." + SchemeGroupVersion.String()
	FunctionGroupVersionKind = SchemeGroupVersion.WithKind(FunctionKind)
)

Function type metadata.

View Source
var (
	FunctionRevisionKind             = reflect.TypeOf(FunctionRevision{}).Name()
	FunctionRevisionGroupKind        = schema.GroupKind{Group: Group, Kind: FunctionRevisionKind}.String()
	FunctionRevisionKindAPIVersion   = FunctionRevisionKind + "." + SchemeGroupVersion.String()
	FunctionRevisionGroupVersionKind = SchemeGroupVersion.WithKind(FunctionRevisionKind)
)

FunctionRevision type metadata.

View Source
var (
	DeploymentRuntimeConfigKind             = reflect.TypeOf(DeploymentRuntimeConfig{}).Name()
	DeploymentRuntimeConfigGroupKind        = schema.GroupKind{Group: Group, Kind: DeploymentRuntimeConfigKind}.String()
	DeploymentRuntimeConfigKindAPIVersion   = DeploymentRuntimeConfigKind + "." + SchemeGroupVersion.String()
	DeploymentRuntimeConfigGroupVersionKind = SchemeGroupVersion.WithKind(DeploymentRuntimeConfigKind)
)

DeploymentRuntimeConfig type metadata.

Functions

func ToNodes added in v1.4.0

func ToNodes(pkgs ...LockPackage) []dag.Node

ToNodes converts LockPackages to DAG nodes.

Types

type Dependency added in v1.4.0

type Dependency struct {
	// Package is the OCI image name without a tag or digest.
	Package string `json:"package"`

	// Type is the type of package. Can be either Configuration or Provider.
	Type PackageType `json:"type"`

	// Constraints is a valid semver range, which will be used to select a valid
	// dependency version.
	Constraints string `json:"constraints"`
}

A Dependency is a dependency of a package in the lock.

func (*Dependency) AddNeighbors added in v1.4.0

func (d *Dependency) AddNeighbors(...dag.Node) error

AddNeighbors is a no-op for dependencies. We should never be adding neighbors to a dependency.

func (*Dependency) DeepCopy added in v1.4.0

func (in *Dependency) DeepCopy() *Dependency

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

func (*Dependency) DeepCopyInto added in v1.4.0

func (in *Dependency) DeepCopyInto(out *Dependency)

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

func (*Dependency) Identifier added in v1.4.0

func (d *Dependency) Identifier() string

Identifier returns a dependency's source.

func (*Dependency) Neighbors added in v1.4.0

func (d *Dependency) Neighbors() []dag.Node

Neighbors in is a no-op for dependencies because we are not yet aware of its dependencies.

type DeploymentRuntimeConfig added in v1.14.0

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

	Spec DeploymentRuntimeConfigSpec `json:"spec,omitempty"`
}

A DeploymentRuntimeConfig is used to configure the package runtime when the package uses a runtime and the package manager is running with --package-runtime=Deployment (the default). See the following design doc for more details:https://github.com/crossplane/crossplane/blob/91edeae3fcac96c6c8a1759a723981eea4bb77e4/design/one-pager-package-runtime-config.md#migration-from-controllerconfig +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane}

func (*DeploymentRuntimeConfig) DeepCopy added in v1.14.0

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

func (*DeploymentRuntimeConfig) DeepCopyInto added in v1.14.0

func (in *DeploymentRuntimeConfig) DeepCopyInto(out *DeploymentRuntimeConfig)

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

func (*DeploymentRuntimeConfig) DeepCopyObject added in v1.14.0

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

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

type DeploymentRuntimeConfigList added in v1.14.0

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

DeploymentRuntimeConfigList contains a list of DeploymentRuntimeConfig.

func (*DeploymentRuntimeConfigList) DeepCopy added in v1.14.0

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

func (*DeploymentRuntimeConfigList) DeepCopyInto added in v1.14.0

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

func (*DeploymentRuntimeConfigList) DeepCopyObject added in v1.14.0

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

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

type DeploymentRuntimeConfigSpec added in v1.14.0

type DeploymentRuntimeConfigSpec struct {
	// DeploymentTemplate is the template for the Deployment object.
	// +optional
	DeploymentTemplate *DeploymentTemplate `json:"deploymentTemplate,omitempty"`
	// ServiceTemplate is the template for the Service object.
	// +optional
	ServiceTemplate *ServiceTemplate `json:"serviceTemplate,omitempty"`
	// ServiceAccountTemplate is the template for the ServiceAccount object.
	// +optional
	ServiceAccountTemplate *ServiceAccountTemplate `json:"serviceAccountTemplate,omitempty"`
}

DeploymentRuntimeConfigSpec specifies the configuration for a packaged controller. Values provided will override package manager defaults. Labels and annotations are passed to both the controller Deployment and ServiceAccount.

func (*DeploymentRuntimeConfigSpec) DeepCopy added in v1.14.0

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

func (*DeploymentRuntimeConfigSpec) DeepCopyInto added in v1.14.0

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

type DeploymentTemplate added in v1.14.0

type DeploymentTemplate struct {
	// Metadata contains the configurable metadata fields for the Deployment.
	// +optional
	Metadata *ObjectMeta `json:"metadata,omitempty"`

	// Spec contains the configurable spec fields for the Deployment object.
	// +optional
	Spec *appsv1.DeploymentSpec `json:"spec,omitempty"`
}

DeploymentTemplate is the template for the Deployment object.

func (*DeploymentTemplate) DeepCopy added in v1.14.0

func (in *DeploymentTemplate) DeepCopy() *DeploymentTemplate

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

func (*DeploymentTemplate) DeepCopyInto added in v1.14.0

func (in *DeploymentTemplate) DeepCopyInto(out *DeploymentTemplate)

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

type Function added in v1.14.0

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

	Spec   FunctionSpec   `json:"spec,omitempty"`
	Status FunctionStatus `json:"status,omitempty"`
}

Function is the CRD type for a request to deploy a long-running Function. +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="INSTALLED",type="string",JSONPath=".status.conditions[?(@.type=='Installed')].status" +kubebuilder:printcolumn:name="HEALTHY",type="string",JSONPath=".status.conditions[?(@.type=='Healthy')].status" +kubebuilder:printcolumn:name="PACKAGE",type="string",JSONPath=".spec.package" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,pkg}

func (*Function) CleanConditions added in v1.14.0

func (f *Function) CleanConditions()

CleanConditions removes all conditions

func (*Function) DeepCopy added in v1.14.0

func (in *Function) DeepCopy() *Function

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

func (*Function) DeepCopyInto added in v1.14.0

func (in *Function) DeepCopyInto(out *Function)

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

func (*Function) DeepCopyObject added in v1.14.0

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

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

func (*Function) GetActivationPolicy added in v1.14.0

func (f *Function) GetActivationPolicy() *v1.RevisionActivationPolicy

GetActivationPolicy of this Function.

func (*Function) GetCommonLabels added in v1.14.0

func (f *Function) GetCommonLabels() map[string]string

GetCommonLabels of this Function.

func (*Function) GetCondition added in v1.14.0

func (f *Function) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Function.

func (*Function) GetControllerConfigRef added in v1.14.0

func (f *Function) GetControllerConfigRef() *v1.ControllerConfigReference

GetControllerConfigRef of this Function.

func (*Function) GetCurrentIdentifier added in v1.14.0

func (f *Function) GetCurrentIdentifier() string

GetCurrentIdentifier of this Function.

func (*Function) GetCurrentRevision added in v1.14.0

func (f *Function) GetCurrentRevision() string

GetCurrentRevision of this Function.

func (*Function) GetIgnoreCrossplaneConstraints added in v1.14.0

func (f *Function) GetIgnoreCrossplaneConstraints() *bool

GetIgnoreCrossplaneConstraints of this Function.

func (*Function) GetPackagePullPolicy added in v1.14.0

func (f *Function) GetPackagePullPolicy() *corev1.PullPolicy

GetPackagePullPolicy of this Function.

func (*Function) GetPackagePullSecrets added in v1.14.0

func (f *Function) GetPackagePullSecrets() []corev1.LocalObjectReference

GetPackagePullSecrets of this Function.

func (*Function) GetRevisionHistoryLimit added in v1.14.0

func (f *Function) GetRevisionHistoryLimit() *int64

GetRevisionHistoryLimit of this Function.

func (*Function) GetRuntimeConfigRef added in v1.14.0

func (f *Function) GetRuntimeConfigRef() *v1.RuntimeConfigReference

GetRuntimeConfigRef of this Function.

func (*Function) GetSkipDependencyResolution added in v1.14.0

func (f *Function) GetSkipDependencyResolution() *bool

GetSkipDependencyResolution of this Function.

func (*Function) GetSource added in v1.14.0

func (f *Function) GetSource() string

GetSource of this Function.

func (*Function) GetTLSClientSecretName added in v1.14.0

func (f *Function) GetTLSClientSecretName() *string

GetTLSClientSecretName of this Function.

func (*Function) GetTLSServerSecretName added in v1.14.0

func (f *Function) GetTLSServerSecretName() *string

GetTLSServerSecretName of this Function.

func (*Function) SetActivationPolicy added in v1.14.0

func (f *Function) SetActivationPolicy(a *v1.RevisionActivationPolicy)

SetActivationPolicy of this Function.

func (*Function) SetCommonLabels added in v1.14.0

func (f *Function) SetCommonLabels(l map[string]string)

SetCommonLabels of this Function.

func (*Function) SetConditions added in v1.14.0

func (f *Function) SetConditions(c ...xpv1.Condition)

SetConditions of this Function.

func (*Function) SetControllerConfigRef added in v1.14.0

func (f *Function) SetControllerConfigRef(*v1.ControllerConfigReference)

SetControllerConfigRef of this Function.

func (*Function) SetCurrentIdentifier added in v1.14.0

func (f *Function) SetCurrentIdentifier(s string)

SetCurrentIdentifier of this Function.

func (*Function) SetCurrentRevision added in v1.14.0

func (f *Function) SetCurrentRevision(s string)

SetCurrentRevision of this Function.

func (*Function) SetIgnoreCrossplaneConstraints added in v1.14.0

func (f *Function) SetIgnoreCrossplaneConstraints(b *bool)

SetIgnoreCrossplaneConstraints of this Function.

func (*Function) SetPackagePullPolicy added in v1.14.0

func (f *Function) SetPackagePullPolicy(i *corev1.PullPolicy)

SetPackagePullPolicy of this Function.

func (*Function) SetPackagePullSecrets added in v1.14.0

func (f *Function) SetPackagePullSecrets(s []corev1.LocalObjectReference)

SetPackagePullSecrets of this Function.

func (*Function) SetRevisionHistoryLimit added in v1.14.0

func (f *Function) SetRevisionHistoryLimit(l *int64)

SetRevisionHistoryLimit of this Function.

func (*Function) SetRuntimeConfigRef added in v1.14.0

func (f *Function) SetRuntimeConfigRef(r *v1.RuntimeConfigReference)

SetRuntimeConfigRef of this Function.

func (*Function) SetSkipDependencyResolution added in v1.14.0

func (f *Function) SetSkipDependencyResolution(b *bool)

SetSkipDependencyResolution of this Function.

func (*Function) SetSource added in v1.14.0

func (f *Function) SetSource(s string)

SetSource of this Function.

type FunctionList added in v1.14.0

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

FunctionList contains a list of Function.

func (*FunctionList) DeepCopy added in v1.14.0

func (in *FunctionList) DeepCopy() *FunctionList

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

func (*FunctionList) DeepCopyInto added in v1.14.0

func (in *FunctionList) DeepCopyInto(out *FunctionList)

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

func (*FunctionList) DeepCopyObject added in v1.14.0

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

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

type FunctionRevision added in v1.14.0

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

	Spec   FunctionRevisionSpec   `json:"spec,omitempty"`
	Status FunctionRevisionStatus `json:"status,omitempty"`
}

A FunctionRevision that has been added to Crossplane. +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="HEALTHY",type="string",JSONPath=".status.conditions[?(@.type=='Healthy')].status" +kubebuilder:printcolumn:name="REVISION",type="string",JSONPath=".spec.revision" +kubebuilder:printcolumn:name="IMAGE",type="string",JSONPath=".spec.image" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".spec.desiredState" +kubebuilder:printcolumn:name="DEP-FOUND",type="string",JSONPath=".status.foundDependencies" +kubebuilder:printcolumn:name="DEP-INSTALLED",type="string",JSONPath=".status.installedDependencies" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,pkgrev}

func (*FunctionRevision) CleanConditions added in v1.14.0

func (r *FunctionRevision) CleanConditions()

CleanConditions removes all conditions

func (*FunctionRevision) DeepCopy added in v1.14.0

func (in *FunctionRevision) DeepCopy() *FunctionRevision

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

func (*FunctionRevision) DeepCopyInto added in v1.14.0

func (in *FunctionRevision) DeepCopyInto(out *FunctionRevision)

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

func (*FunctionRevision) DeepCopyObject added in v1.14.0

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

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

func (*FunctionRevision) GetCommonLabels added in v1.14.0

func (r *FunctionRevision) GetCommonLabels() map[string]string

GetCommonLabels of this FunctionRevision.

func (*FunctionRevision) GetCondition added in v1.14.0

func (r *FunctionRevision) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this FunctionRevision.

func (*FunctionRevision) GetControllerConfigRef added in v1.14.0

func (r *FunctionRevision) GetControllerConfigRef() *v1.ControllerConfigReference

GetControllerConfigRef of this FunctionRevision.

func (*FunctionRevision) GetDependencyStatus added in v1.14.0

func (r *FunctionRevision) GetDependencyStatus() (found, installed, invalid int64)

GetDependencyStatus of this v.

func (*FunctionRevision) GetDesiredState added in v1.14.0

func (r *FunctionRevision) GetDesiredState() v1.PackageRevisionDesiredState

GetDesiredState of this FunctionRevision.

func (*FunctionRevision) GetIgnoreCrossplaneConstraints added in v1.14.0

func (r *FunctionRevision) GetIgnoreCrossplaneConstraints() *bool

GetIgnoreCrossplaneConstraints of this FunctionRevision.

func (*FunctionRevision) GetObjects added in v1.14.0

func (r *FunctionRevision) GetObjects() []xpv1.TypedReference

GetObjects of this FunctionRevision.

func (*FunctionRevision) GetPackagePullPolicy added in v1.14.0

func (r *FunctionRevision) GetPackagePullPolicy() *corev1.PullPolicy

GetPackagePullPolicy of this FunctionRevision.

func (*FunctionRevision) GetPackagePullSecrets added in v1.14.0

func (r *FunctionRevision) GetPackagePullSecrets() []corev1.LocalObjectReference

GetPackagePullSecrets of this FunctionRevision.

func (*FunctionRevision) GetRevision added in v1.14.0

func (r *FunctionRevision) GetRevision() int64

GetRevision of this FunctionRevision.

func (*FunctionRevision) GetRuntimeConfigRef added in v1.14.0

func (r *FunctionRevision) GetRuntimeConfigRef() *v1.RuntimeConfigReference

GetRuntimeConfigRef of this FunctionRevision.

func (*FunctionRevision) GetSkipDependencyResolution added in v1.14.0

func (r *FunctionRevision) GetSkipDependencyResolution() *bool

GetSkipDependencyResolution of this FunctionRevision.

func (*FunctionRevision) GetSource added in v1.14.0

func (r *FunctionRevision) GetSource() string

GetSource of this FunctionRevision.

func (*FunctionRevision) GetTLSClientSecretName added in v1.14.0

func (r *FunctionRevision) GetTLSClientSecretName() *string

GetTLSClientSecretName of this FunctionRevision.

func (*FunctionRevision) GetTLSServerSecretName added in v1.14.0

func (r *FunctionRevision) GetTLSServerSecretName() *string

GetTLSServerSecretName of this FunctionRevision.

func (*FunctionRevision) SetCommonLabels added in v1.14.0

func (r *FunctionRevision) SetCommonLabels(l map[string]string)

SetCommonLabels of this FunctionRevision.

func (*FunctionRevision) SetConditions added in v1.14.0

func (r *FunctionRevision) SetConditions(c ...xpv1.Condition)

SetConditions of this FunctionRevision.

func (*FunctionRevision) SetControllerConfigRef added in v1.14.0

func (r *FunctionRevision) SetControllerConfigRef(ref *v1.ControllerConfigReference)

SetControllerConfigRef of this FunctionRevision.

func (*FunctionRevision) SetDependencyStatus added in v1.14.0

func (r *FunctionRevision) SetDependencyStatus(found, installed, invalid int64)

SetDependencyStatus of this FunctionRevision.

func (*FunctionRevision) SetDesiredState added in v1.14.0

func (r *FunctionRevision) SetDesiredState(s v1.PackageRevisionDesiredState)

SetDesiredState of this FunctionRevision.

func (*FunctionRevision) SetIgnoreCrossplaneConstraints added in v1.14.0

func (r *FunctionRevision) SetIgnoreCrossplaneConstraints(b *bool)

SetIgnoreCrossplaneConstraints of this FunctionRevision.

func (*FunctionRevision) SetObjects added in v1.14.0

func (r *FunctionRevision) SetObjects(c []xpv1.TypedReference)

SetObjects of this FunctionRevision.

func (*FunctionRevision) SetPackagePullPolicy added in v1.14.0

func (r *FunctionRevision) SetPackagePullPolicy(i *corev1.PullPolicy)

SetPackagePullPolicy of this FunctionRevision.

func (*FunctionRevision) SetPackagePullSecrets added in v1.14.0

func (r *FunctionRevision) SetPackagePullSecrets(s []corev1.LocalObjectReference)

SetPackagePullSecrets of this FunctionRevision.

func (*FunctionRevision) SetRevision added in v1.14.0

func (r *FunctionRevision) SetRevision(rev int64)

SetRevision of this FunctionRevision.

func (*FunctionRevision) SetRuntimeConfigRef added in v1.14.0

func (r *FunctionRevision) SetRuntimeConfigRef(ref *v1.RuntimeConfigReference)

SetRuntimeConfigRef of this FunctionRevision.

func (*FunctionRevision) SetSkipDependencyResolution added in v1.14.0

func (r *FunctionRevision) SetSkipDependencyResolution(b *bool)

SetSkipDependencyResolution of this FunctionRevision.

func (*FunctionRevision) SetSource added in v1.14.0

func (r *FunctionRevision) SetSource(s string)

SetSource of this FunctionRevision.

func (*FunctionRevision) SetTLSClientSecretName added in v1.14.0

func (r *FunctionRevision) SetTLSClientSecretName(s *string)

SetTLSClientSecretName of this FunctionRevision.

func (*FunctionRevision) SetTLSServerSecretName added in v1.14.0

func (r *FunctionRevision) SetTLSServerSecretName(s *string)

SetTLSServerSecretName of this FunctionRevision.

type FunctionRevisionList added in v1.14.0

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

FunctionRevisionList contains a list of FunctionRevision.

func (*FunctionRevisionList) DeepCopy added in v1.14.0

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

func (*FunctionRevisionList) DeepCopyInto added in v1.14.0

func (in *FunctionRevisionList) DeepCopyInto(out *FunctionRevisionList)

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

func (*FunctionRevisionList) DeepCopyObject added in v1.14.0

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

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

func (*FunctionRevisionList) GetRevisions added in v1.14.0

func (p *FunctionRevisionList) GetRevisions() []v1.PackageRevision

GetRevisions of this ConfigurationRevisionList.

type FunctionRevisionSpec added in v1.14.0

type FunctionRevisionSpec struct {
	v1.PackageRevisionSpec        `json:",inline"`
	v1.PackageRevisionRuntimeSpec `json:",inline"`
}

FunctionRevisionSpec specifies configuration for a FunctionRevision.

func (*FunctionRevisionSpec) DeepCopy added in v1.14.0

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

func (*FunctionRevisionSpec) DeepCopyInto added in v1.14.0

func (in *FunctionRevisionSpec) DeepCopyInto(out *FunctionRevisionSpec)

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

type FunctionRevisionStatus added in v1.14.0

type FunctionRevisionStatus struct {
	v1.PackageRevisionStatus `json:",inline"`

	// Endpoint is the gRPC endpoint where Crossplane will send
	// RunFunctionRequests.
	Endpoint string `json:"endpoint,omitempty"`
}

FunctionRevisionStatus represents the observed state of a FunctionRevision.

func (*FunctionRevisionStatus) DeepCopy added in v1.14.0

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

func (*FunctionRevisionStatus) DeepCopyInto added in v1.14.0

func (in *FunctionRevisionStatus) DeepCopyInto(out *FunctionRevisionStatus)

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

type FunctionSpec added in v1.14.0

type FunctionSpec struct {
	v1.PackageSpec `json:",inline"`

	v1.PackageRuntimeSpec `json:",inline"`
}

FunctionSpec specifies the configuration of a Function.

func (*FunctionSpec) DeepCopy added in v1.14.0

func (in *FunctionSpec) DeepCopy() *FunctionSpec

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

func (*FunctionSpec) DeepCopyInto added in v1.14.0

func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)

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

type FunctionStatus added in v1.14.0

type FunctionStatus struct {
	xpv1.ConditionedStatus `json:",inline"`
	v1.PackageStatus       `json:",inline"`
}

FunctionStatus represents the observed state of a Function.

func (*FunctionStatus) DeepCopy added in v1.14.0

func (in *FunctionStatus) DeepCopy() *FunctionStatus

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

func (*FunctionStatus) DeepCopyInto added in v1.14.0

func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)

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

type Lock added in v1.4.0

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

	Packages []LockPackage `json:"packages,omitempty"`
}

Lock is the CRD type that tracks package dependencies. +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster

func (*Lock) DeepCopy added in v1.4.0

func (in *Lock) DeepCopy() *Lock

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

func (*Lock) DeepCopyInto added in v1.4.0

func (in *Lock) DeepCopyInto(out *Lock)

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

func (*Lock) DeepCopyObject added in v1.4.0

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

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

type LockList added in v1.4.0

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

LockList contains a list of Lock.

func (*LockList) DeepCopy added in v1.4.0

func (in *LockList) DeepCopy() *LockList

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

func (*LockList) DeepCopyInto added in v1.4.0

func (in *LockList) DeepCopyInto(out *LockList)

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

func (*LockList) DeepCopyObject added in v1.4.0

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

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

type LockPackage added in v1.4.0

type LockPackage struct {
	// Name corresponds to the name of the package revision for this package.
	Name string `json:"name"`

	// Type is the type of package. Can be either Configuration or Provider.
	Type PackageType `json:"type"`

	// Source is the OCI image name without a tag or digest.
	Source string `json:"source"`

	// Version is the tag or digest of the OCI image.
	Version string `json:"version"`

	// Dependencies are the list of dependencies of this package. The order of
	// the dependencies will dictate the order in which they are resolved.
	Dependencies []Dependency `json:"dependencies"`
}

LockPackage is a package that is in the lock.

func (*LockPackage) AddNeighbors added in v1.4.0

func (l *LockPackage) AddNeighbors(_ ...dag.Node) error

AddNeighbors adds dependencies to a LockPackage. A LockPackage should always have all dependencies declared before being added to the Lock, so we no-op when adding a neighbor.

func (*LockPackage) DeepCopy added in v1.4.0

func (in *LockPackage) DeepCopy() *LockPackage

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

func (*LockPackage) DeepCopyInto added in v1.4.0

func (in *LockPackage) DeepCopyInto(out *LockPackage)

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

func (*LockPackage) Identifier added in v1.4.0

func (l *LockPackage) Identifier() string

Identifier returns the source of a LockPackage.

func (*LockPackage) Neighbors added in v1.4.0

func (l *LockPackage) Neighbors() []dag.Node

Neighbors returns dependencies of a LockPackage.

type ObjectMeta added in v1.14.0

type ObjectMeta struct {
	// Name is the name of the object.
	// +optional
	Name *string `json:"name,omitempty"`
	// Annotations is an unstructured key value map stored with a resource that
	// may be set by external tools to store and retrieve arbitrary metadata.
	// They are not queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. Labels will be merged with internal labels
	// used by crossplane, and labels with a crossplane.io key might be
	// overwritten.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
}

ObjectMeta is metadata contains the configurable metadata fields for the runtime objects.

func (*ObjectMeta) DeepCopy added in v1.14.0

func (in *ObjectMeta) DeepCopy() *ObjectMeta

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

func (*ObjectMeta) DeepCopyInto added in v1.14.0

func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)

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

type PackageType added in v1.4.0

type PackageType string

A PackageType is a type of package.

const (
	ConfigurationPackageType PackageType = "Configuration"
	ProviderPackageType      PackageType = "Provider"
	FunctionPackageType      PackageType = "Function"
)

Types of packages.

type ServiceAccountTemplate added in v1.14.0

type ServiceAccountTemplate struct {
	// Metadata contains the configurable metadata fields for the ServiceAccount.
	// +optional
	Metadata *ObjectMeta `json:"metadata,omitempty"`
}

ServiceAccountTemplate is the template for the ServiceAccount object.

func (*ServiceAccountTemplate) DeepCopy added in v1.14.0

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

func (*ServiceAccountTemplate) DeepCopyInto added in v1.14.0

func (in *ServiceAccountTemplate) DeepCopyInto(out *ServiceAccountTemplate)

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

type ServiceTemplate added in v1.14.0

type ServiceTemplate struct {
	// Metadata contains the configurable metadata fields for the Service.
	// +optional
	Metadata *ObjectMeta `json:"metadata,omitempty"`
}

ServiceTemplate is the template for the Service object.

func (*ServiceTemplate) DeepCopy added in v1.14.0

func (in *ServiceTemplate) DeepCopy() *ServiceTemplate

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

func (*ServiceTemplate) DeepCopyInto added in v1.14.0

func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)

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