Documentation ¶
Overview ¶
Package v1beta1 contains meta types used to configure Crossplane packages. +kubebuilder:object:generate=true +groupName=meta.pkg.crossplane.io +versionName=v1beta1
Index ¶
Constants ¶
const ( Group = "meta.pkg.crossplane.io" Version = "v1beta1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds all registered types to scheme AddToScheme = SchemeBuilder.AddToScheme )
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.
Functions ¶
This section is empty.
Types ¶
type CrossplaneConstraints ¶
type CrossplaneConstraints struct { // Semantic version constraints of Crossplane that package is compatible with. Version string `json:"version"` }
CrossplaneConstraints specifies a packages compatibility with Crossplane versions.
func (*CrossplaneConstraints) DeepCopy ¶
func (in *CrossplaneConstraints) DeepCopy() *CrossplaneConstraints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossplaneConstraints.
func (*CrossplaneConstraints) DeepCopyInto ¶
func (in *CrossplaneConstraints) DeepCopyInto(out *CrossplaneConstraints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Dependency ¶
type Dependency struct { // Provider is the name of a Provider package image. Provider *string `json:"provider,omitempty"` // Configuration is the name of a Configuration package image. Configuration *string `json:"configuration,omitempty"` // Function is the name of a Function package image. Function *string `json:"function,omitempty"` // Version is the semantic version constraints of the dependency image. Version string `json:"version"` }
Dependency is a dependency on another package. One of Provider or Configuration may be supplied.
func (*Dependency) DeepCopy ¶
func (in *Dependency) DeepCopy() *Dependency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dependency.
func (*Dependency) DeepCopyInto ¶
func (in *Dependency) DeepCopyInto(out *Dependency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Function ¶
type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FunctionSpec `json:"spec"` }
A Function is the description of a Crossplane Function package.
func (*Function) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Function) GetCrossplaneConstraints ¶
func (f *Function) GetCrossplaneConstraints() *v1.CrossplaneConstraints
GetCrossplaneConstraints gets the Function package's Crossplane version constraints.
func (*Function) GetDependencies ¶
func (f *Function) GetDependencies() []v1.Dependency
GetDependencies gets the Function package's dependencies.
type FunctionSpec ¶
type FunctionSpec struct { MetaSpec `json:",inline"` // Image is the packaged Function image. Image *string `json:"image,omitempty"` }
FunctionSpec specifies the configuration of a Function.
func (*FunctionSpec) DeepCopy ¶
func (in *FunctionSpec) DeepCopy() *FunctionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.
func (*FunctionSpec) DeepCopyInto ¶
func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetaSpec ¶
type MetaSpec struct { // Semantic version constraints of Crossplane that package is compatible with. Crossplane *CrossplaneConstraints `json:"crossplane,omitempty"` // Dependencies on other packages. DependsOn []Dependency `json:"dependsOn,omitempty"` }
MetaSpec are fields that every meta package type must implement.
func (*MetaSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaSpec.
func (*MetaSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.