Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=choreo.kform.dev v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func GetFileInputAnnotation() string
- func HasChoreoAPIAnnotation(u *unstructured.Unstructured) bool
- func HasChoreoEmbeddedAPIAnnotation(a map[string]string) bool
- func Resource(resource string) schema.GroupResource
- type APIResourceGroup
- type APIResources
- func (in *APIResources) DeepCopy() *APIResources
- func (in *APIResources) DeepCopyInto(out *APIResources)
- func (in *APIResources) DeepCopyObject() runtime.Object
- func (r *APIResources) GetAPIResourceGroup(group, resource string) *APIResourceGroup
- func (r *APIResources) Has(gvk schema.GroupVersionKind) bool
- type APIResourcesSpec
- type Branch
- type BranchList
- type ConfigGenerator
- func (in *ConfigGenerator) DeepCopy() *ConfigGenerator
- func (in *ConfigGenerator) DeepCopyInto(out *ConfigGenerator)
- func (in *ConfigGenerator) DeepCopyObject() runtime.Object
- func (r *ConfigGenerator) GetDir() string
- func (r *ConfigGenerator) GetMatchKeys() []string
- func (r *ConfigGenerator) GetProviderMatch() map[string]string
- func (r *ConfigGenerator) GetProviderSelectorGVK() schema.GroupVersionKind
- func (r *ConfigGenerator) Validate(path string) error
- type ConfigGeneratorList
- type ConfigGeneratorProviderSelector
- type ConfigGeneratorSpec
- type ConfigGeneratorStatus
- type LangTechType
- type Library
- type LibraryList
- type LibrarySpec
- type LibraryStatus
- type LoaderAnnotation
- type Reconciler
- func (in *Reconciler) DeepCopy() *Reconciler
- func (in *Reconciler) DeepCopyInto(out *Reconciler)
- func (in *Reconciler) DeepCopyObject() runtime.Object
- func (r *Reconciler) GetForGVK() schema.GroupVersionKind
- func (r *Reconciler) GetGVKs() sets.Set[schema.GroupVersionKind]
- func (r *Reconciler) GetOwnsGVKs() sets.Set[schema.GroupVersionKind]
- func (r *Reconciler) Validate() error
- type ReconcilerList
- type ReconcilerResource
- type ReconcilerSpec
- type ReconcilerStatus
- type RefType
- type ResourceGVK
- type SoftwardTechnologyType
- type UpstreamRef
- func (in *UpstreamRef) DeepCopy() *UpstreamRef
- func (in *UpstreamRef) DeepCopyInto(out *UpstreamRef)
- func (in *UpstreamRef) DeepCopyObject() runtime.Object
- func (r *UpstreamRef) GetPathInRepo() string
- func (r *UpstreamRef) GetPlumbingReference() string
- func (r *UpstreamRef) LoaderAnnotation() LoaderAnnotation
- type UpstreamRefSpec
- type UpstreamReference
Constants ¶
const ( ChoreoAPIEmbeddedKey = "api.choreo.kform.dev/embedded" ChoreoAPIInternalKey = "api.choreo.kform.dev/internal" ChoreoLoaderOriginKey = "api.choreo.kform.dev/origin" )
Variables ¶
var ( // SchemeGroupVersion contains the API group and version information for the types in this package. SchemeGroupVersion = schema.GroupVersion{Group: "choreo.kform.dev", Version: "v1alpha1"} // AddToScheme applies all the stored functions to the scheme. A non-nil error // indicates that one function failed and the attempt was abandoned. //AddToScheme = (&runtime.SchemeBuilder{}).AddToScheme AddToScheme = localSchemeBuilder.AddToScheme )
var (
APIResourcesKind = reflect.TypeOf(APIResources{}).Name()
)
var (
BranchKind = reflect.TypeOf(Branch{}).Name()
)
var (
ConfigGeneratorKind = reflect.TypeOf(ConfigGenerator{}).Name()
)
var FileLoaderAnnotation = LoaderAnnotation{
Kind: "File",
}
var (
LibraryKind = reflect.TypeOf(Library{}).Name()
)
var (
ReconcilerKind = reflect.TypeOf(Reconciler{}).Name()
)
var (
UpstreamRefKind = reflect.TypeOf(UpstreamRef{}).Name()
)
Functions ¶
func GetFileInputAnnotation ¶
func GetFileInputAnnotation() string
func HasChoreoAPIAnnotation ¶
func HasChoreoAPIAnnotation(u *unstructured.Unstructured) bool
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type APIResourceGroup ¶
type APIResourceGroup struct { // Resource defines name of the resourcce Resource string `json:"resource" protobuf:"bytes,1,opt,name=resource"` // Group defines the group of the resource Group string `json:"group" protobuf:"bytes,2,opt,name=group"` // Version defines the version of the resource Version string `json:"version" protobuf:"bytes,3,opt,name=version"` // Kind defines the kind of the resource Kind string `json:"kind" protobuf:"bytes,4,opt,name=kind"` // ListKind defines the kind of the resource ListKind string `json:"listKind" protobuf:"bytes,5,opt,name=listKind"` // Namespaced defines if the resource is namespaced Namespaced bool `json:"namespaced" protobuf:"bytes,6,opt,name=namespaced"` // Categories defines if the categories of the resource Categories []string `json:"categories,omitempty" protobuf:"bytes,7,opt,name=categories"` }
func (*APIResourceGroup) DeepCopy ¶
func (in *APIResourceGroup) DeepCopy() *APIResourceGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceGroup.
func (*APIResourceGroup) DeepCopyInto ¶
func (in *APIResourceGroup) DeepCopyInto(out *APIResourceGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIResourceGroup) GVK ¶
func (r *APIResourceGroup) GVK() schema.GroupVersionKind
type APIResources ¶
type APIResources struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec APIResourcesSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true APIResources defines the APIResources API
func (*APIResources) DeepCopy ¶
func (in *APIResources) DeepCopy() *APIResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResources.
func (*APIResources) DeepCopyInto ¶
func (in *APIResources) DeepCopyInto(out *APIResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIResources) DeepCopyObject ¶
func (in *APIResources) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*APIResources) GetAPIResourceGroup ¶
func (r *APIResources) GetAPIResourceGroup(group, resource string) *APIResourceGroup
func (*APIResources) Has ¶
func (r *APIResources) Has(gvk schema.GroupVersionKind) bool
type APIResourcesSpec ¶
type APIResourcesSpec struct { // Groups define the resources per group Groups []*APIResourceGroup `json:"groups" protobuf:"bytes,1,opt,name=groups"` }
APIResourcesSpec defines the desired state of Reconciler
func (*APIResourcesSpec) DeepCopy ¶
func (in *APIResourcesSpec) DeepCopy() *APIResourcesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourcesSpec.
func (*APIResourcesSpec) DeepCopyInto ¶
func (in *APIResourcesSpec) DeepCopyInto(out *APIResourcesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Branch ¶
type Branch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster,categories={choreo} Branch defines the Branch API
func (*Branch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Branch.
func (*Branch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Branch) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BranchList ¶
type BranchList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Branch `json:"items" protobuf:"bytes,2,rep,name=items"` }
+kubebuilder:object:root=true BranchList contains a list of Branchs
func (*BranchList) DeepCopy ¶
func (in *BranchList) DeepCopy() *BranchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchList.
func (*BranchList) DeepCopyInto ¶
func (in *BranchList) DeepCopyInto(out *BranchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BranchList) DeepCopyObject ¶
func (in *BranchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigGenerator ¶
type ConfigGenerator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ConfigGeneratorSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ConfigGeneratorStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:resource:scope=Cluster,categories={pkg, knet} ConfigGenerator defines the ConfigGenerator API
func (*ConfigGenerator) DeepCopy ¶
func (in *ConfigGenerator) DeepCopy() *ConfigGenerator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigGenerator.
func (*ConfigGenerator) DeepCopyInto ¶
func (in *ConfigGenerator) DeepCopyInto(out *ConfigGenerator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigGenerator) DeepCopyObject ¶
func (in *ConfigGenerator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigGenerator) GetDir ¶
func (r *ConfigGenerator) GetDir() string
func (*ConfigGenerator) GetMatchKeys ¶
func (r *ConfigGenerator) GetMatchKeys() []string
func (*ConfigGenerator) GetProviderMatch ¶
func (r *ConfigGenerator) GetProviderMatch() map[string]string
func (*ConfigGenerator) GetProviderSelectorGVK ¶
func (r *ConfigGenerator) GetProviderSelectorGVK() schema.GroupVersionKind
func (*ConfigGenerator) Validate ¶
func (r *ConfigGenerator) Validate(path string) error
type ConfigGeneratorList ¶
type ConfigGeneratorList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []ConfigGenerator `json:"items" protobuf:"bytes,2,rep,name=items"` }
+kubebuilder:object:root=true ConfigGeneratorList contains a list of ConfigGenerators
func (*ConfigGeneratorList) DeepCopy ¶
func (in *ConfigGeneratorList) DeepCopy() *ConfigGeneratorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigGeneratorList.
func (*ConfigGeneratorList) DeepCopyInto ¶
func (in *ConfigGeneratorList) DeepCopyInto(out *ConfigGeneratorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigGeneratorList) DeepCopyObject ¶
func (in *ConfigGeneratorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigGeneratorProviderSelector ¶
type ConfigGeneratorProviderSelector struct { // Resource defines the resource identifier on the basis of apiVersion (group/version) and kind ResourceGVK `json:",inline" protobuf:"bytes,1,opt,name=resource"` // match is a map of {expression,value} pairs. A single {expression,value} in the match // map is equivalent to an element of matchExpressions, whose expression field is "expression", the // operator is "In", and the values array contains only "value". The requirements are ANDed. // +optional Match map[string]string `json:"match" protobuf:"bytes,1,rep,name=match"` // FieldPath that provides the provider information FieldPath string `json:"fieldPath" protobuf:"bytes,2,opt,name=fieldPath"` }
func (*ConfigGeneratorProviderSelector) DeepCopy ¶
func (in *ConfigGeneratorProviderSelector) DeepCopy() *ConfigGeneratorProviderSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigGeneratorProviderSelector.
func (*ConfigGeneratorProviderSelector) DeepCopyInto ¶
func (in *ConfigGeneratorProviderSelector) DeepCopyInto(out *ConfigGeneratorProviderSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigGeneratorSpec ¶
type ConfigGeneratorSpec struct { // Resource defines the resource identifier on the basis of apiVersion (group/version) and kind //ResourceGVK `json:",inline" protobuf:"bytes,1,opt,name=resource"` // ProviderSelector defines how to select the provider ProviderSelector ConfigGeneratorProviderSelector `json:"providerSelector" protobuf:"bytes,2,opt,name=providerSelector"` // Name of the basepath where the vendor translation logic is located // Right now we assume a structure <basePath>/<providername as per selector>/<group_resource> // This might be expanded in the future Dir *string `json:"dir,omitempty" protobuf:"bytes,2,opt,name=dir"` }
ConfigGeneratorSpec defines the desired state of ConfigGenerator
func (*ConfigGeneratorSpec) DeepCopy ¶
func (in *ConfigGeneratorSpec) DeepCopy() *ConfigGeneratorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigGeneratorSpec.
func (*ConfigGeneratorSpec) DeepCopyInto ¶
func (in *ConfigGeneratorSpec) DeepCopyInto(out *ConfigGeneratorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigGeneratorStatus ¶
type ConfigGeneratorStatus struct { }
ConfigGeneratorStatus defines the observed state of ConfigGenerator
func (*ConfigGeneratorStatus) DeepCopy ¶
func (in *ConfigGeneratorStatus) DeepCopy() *ConfigGeneratorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigGeneratorStatus.
func (*ConfigGeneratorStatus) DeepCopyInto ¶
func (in *ConfigGeneratorStatus) DeepCopyInto(out *ConfigGeneratorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LangTechType ¶
type LangTechType string
const ( GoTemplate_LangTechType LangTechType = "goTemplate" JinjaTemplate_LangTechType LangTechType = "jinjaTemplate" Invalid_LangTechType LangTechType = "invalid" )
func (LangTechType) String ¶
func (r LangTechType) String() string
type Library ¶
type Library struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec LibrarySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status LibraryStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:resource:scope=Cluster,categories={choreo} Library defines the Library API
func (*Library) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Library.
func (*Library) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Library) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LibraryList ¶
type LibraryList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Library `json:"items" protobuf:"bytes,2,rep,name=items"` }
+kubebuilder:object:root=true LibraryList contains a list of Librarys
func (*LibraryList) DeepCopy ¶
func (in *LibraryList) DeepCopy() *LibraryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryList.
func (*LibraryList) DeepCopyInto ¶
func (in *LibraryList) DeepCopyInto(out *LibraryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LibraryList) DeepCopyObject ¶
func (in *LibraryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LibrarySpec ¶
type LibrarySpec struct { // Type defines the software technology this library contains Type SoftwardTechnologyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"` // Code supporting the Library Code string `json:"code" protobuf:"bytes,2,opt,name=code"` }
LibrarySpec defines the desired state of Library
func (*LibrarySpec) DeepCopy ¶
func (in *LibrarySpec) DeepCopy() *LibrarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibrarySpec.
func (*LibrarySpec) DeepCopyInto ¶
func (in *LibrarySpec) DeepCopyInto(out *LibrarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LibraryStatus ¶
type LibraryStatus struct { }
LibraryStatus defines the observed state of Library
func (*LibraryStatus) DeepCopy ¶
func (in *LibraryStatus) DeepCopy() *LibraryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryStatus.
func (*LibraryStatus) DeepCopyInto ¶
func (in *LibraryStatus) DeepCopyInto(out *LibraryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoaderAnnotation ¶
type LoaderAnnotation struct { Kind string `json:"kind"` URL string `json:"url,omitempty"` Ref string `json:"ref,omitempty"` }
func ToLoaderAnnotation ¶
func ToLoaderAnnotation(s string) LoaderAnnotation
func (LoaderAnnotation) String ¶
func (r LoaderAnnotation) String() string
type Reconciler ¶
type Reconciler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ReconcilerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ReconcilerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:resource:scope=Cluster,categories={choreo} Reconciler defines the Reconciler API
func (*Reconciler) DeepCopy ¶
func (in *Reconciler) DeepCopy() *Reconciler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reconciler.
func (*Reconciler) DeepCopyInto ¶
func (in *Reconciler) DeepCopyInto(out *Reconciler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Reconciler) DeepCopyObject ¶
func (in *Reconciler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Reconciler) GetForGVK ¶
func (r *Reconciler) GetForGVK() schema.GroupVersionKind
func (*Reconciler) GetGVKs ¶
func (r *Reconciler) GetGVKs() sets.Set[schema.GroupVersionKind]
func (*Reconciler) GetOwnsGVKs ¶
func (r *Reconciler) GetOwnsGVKs() sets.Set[schema.GroupVersionKind]
func (*Reconciler) Validate ¶
func (r *Reconciler) Validate() error
type ReconcilerList ¶
type ReconcilerList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Reconciler `json:"items" protobuf:"bytes,2,rep,name=items"` }
ReconcilerList contains a list of Reconcilers
func (*ReconcilerList) DeepCopy ¶
func (in *ReconcilerList) DeepCopy() *ReconcilerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReconcilerList.
func (*ReconcilerList) DeepCopyInto ¶
func (in *ReconcilerList) DeepCopyInto(out *ReconcilerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReconcilerList) DeepCopyObject ¶
func (in *ReconcilerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReconcilerResource ¶
type ReconcilerResource struct { // Resource defines the resource identifier on the basis of apiVersion (group/version) and kind ResourceGVK `json:",inline" protobuf:"bytes,1,opt,name=resource"` // A selector to restrict the resources by their fields on which the pipeline is triggered // Defaults to everything. // +optional Selector *selectorv1alpha1.ExpressionSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` }
func (*ReconcilerResource) DeepCopy ¶
func (in *ReconcilerResource) DeepCopy() *ReconcilerResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReconcilerResource.
func (*ReconcilerResource) DeepCopyInto ¶
func (in *ReconcilerResource) DeepCopyInto(out *ReconcilerResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReconcilerSpec ¶
type ReconcilerSpec struct { // For defines the resource and business logic of the reconciler for this Reconciler. For ReconcilerResource `json:"for" protobuf:"bytes,1,opt,name=for"` // Owns define the child resources this Reconciler generates as part of its business logic. // The For resource of this Reconciler owns the derived child resources. // The OwnerReferences are set by the internal reconciler logic. Changes to any of these resources // will trigger the Reconciler reconciler Owns []*ReconcilerResource `json:"owns,omitempty" protobuf:"bytes,2,rep,name=owns"` // Watches defines the resources on which the main reconciler can be retriggered. The pipeline/business logic // determines if the reconciler is to be retriggered. Watches []*ReconcilerResource `json:"watches,omitempty" protobuf:"bytes,3,opt,name=watches"` // Type defines the software technology this library contains Type *SoftwardTechnologyType `json:"type,omitempty" protobuf:"bytes,4,opt,name=type"` // Code supporting the reconciler Code map[string]string `json:"code,omitempty" protobuf:"bytes,5,rep,name=code"` }
ReconcilerSpec defines the desired state of Reconciler
func (*ReconcilerSpec) DeepCopy ¶
func (in *ReconcilerSpec) DeepCopy() *ReconcilerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReconcilerSpec.
func (*ReconcilerSpec) DeepCopyInto ¶
func (in *ReconcilerSpec) DeepCopyInto(out *ReconcilerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReconcilerStatus ¶
type ReconcilerStatus struct { }
ReconcilerStatus defines the observed state of Reconciler
func (*ReconcilerStatus) DeepCopy ¶
func (in *ReconcilerStatus) DeepCopy() *ReconcilerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReconcilerStatus.
func (*ReconcilerStatus) DeepCopyInto ¶
func (in *ReconcilerStatus) DeepCopyInto(out *ReconcilerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGVK ¶
type ResourceGVK struct { // Group defines the group and version of the resource Group string `json:"group" protobuf:"bytes,1,opt,name=group"` // Version defines the version of the resource Version string `json:"version" protobuf:"bytes,2,opt,name=version"` // Kind defines the kind of the resource Kind string `json:"kind" protobuf:"bytes,3,opt,name=kind"` }
func (*ResourceGVK) DeepCopy ¶
func (in *ResourceGVK) DeepCopy() *ResourceGVK
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGVK.
func (*ResourceGVK) DeepCopyInto ¶
func (in *ResourceGVK) DeepCopyInto(out *ResourceGVK)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResourceGVK) GetGVK ¶
func (r ResourceGVK) GetGVK() schema.GroupVersionKind
func (ResourceGVK) Validate ¶
func (r ResourceGVK) Validate() error
type SoftwardTechnologyType ¶
type SoftwardTechnologyType string
const ( SoftwardTechnologyType_Invalid SoftwardTechnologyType = "invalid" SoftwardTechnologyType_Starlark SoftwardTechnologyType = "starlark" SoftwardTechnologyType_Kform SoftwardTechnologyType = "kform" SoftwardTechnologyType_GoTemplate SoftwardTechnologyType = "gotemplate" SoftwardTechnologyType_Internal SoftwardTechnologyType = "internal" )
func GetSoftwardTechnologyType ¶
func GetSoftwardTechnologyType(s string) SoftwardTechnologyType
func (SoftwardTechnologyType) String ¶
func (r SoftwardTechnologyType) String() string
type UpstreamRef ¶
type UpstreamRef struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec UpstreamRefSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster,categories={pkg, knet} ConfigGenerator defines the ConfigGenerator API
func (*UpstreamRef) DeepCopy ¶
func (in *UpstreamRef) DeepCopy() *UpstreamRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamRef.
func (*UpstreamRef) DeepCopyInto ¶
func (in *UpstreamRef) DeepCopyInto(out *UpstreamRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpstreamRef) DeepCopyObject ¶
func (in *UpstreamRef) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UpstreamRef) GetPathInRepo ¶ added in v0.0.3
func (r *UpstreamRef) GetPathInRepo() string
func (*UpstreamRef) GetPlumbingReference ¶ added in v0.0.3
func (r *UpstreamRef) GetPlumbingReference() string
func (*UpstreamRef) LoaderAnnotation ¶
func (r *UpstreamRef) LoaderAnnotation() LoaderAnnotation
type UpstreamRefSpec ¶
type UpstreamRefSpec struct { // URL specifies the base URL for a given repository for example: // `https://github.com/kubenet.dev/kubenet-catalog.git` URL string `json:"url" protobuf:"bytes,1,opt,name=url"` // Directory defines the name of the directory for the ref. // if not present the root directory is assumed Directory *string `json:"directory,omitempty" protobuf:"bytes,2,opt,name=directory"` // Ref defines the upstream reference Ref UpstreamReference `json:"ref" protobuf:"bytes,3,opt,name=ref"` // Credentials defines the name of the secret that holds the credentials to connect to the upstream Ref Credentials string `json:"credentials,omitempty" protobuf:"bytes,4,opt,name=credentials"` }
UpstreamRefSpec defines the desired state of the UpstreamRef
func (*UpstreamRefSpec) DeepCopy ¶
func (in *UpstreamRefSpec) DeepCopy() *UpstreamRefSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamRefSpec.
func (*UpstreamRefSpec) DeepCopyInto ¶
func (in *UpstreamRefSpec) DeepCopyInto(out *UpstreamRefSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamReference ¶
type UpstreamReference struct { // +kubebuilder:validation:Enum=hash;tag; // +kubebuilder:default:=hash Type RefType `json:"type" protobuf:"bytes,1,opt,name=type"` // Name defines the reference name Name string `json:"name" protobuf:"bytes,2,opt,name=name"` }
func (*UpstreamReference) DeepCopy ¶
func (in *UpstreamReference) DeepCopy() *UpstreamReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamReference.
func (*UpstreamReference) DeepCopyInto ¶
func (in *UpstreamReference) DeepCopyInto(out *UpstreamReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- annotation_keys.go
- apiresources_helpers.go
- apiresources_types.go
- branch_types.go
- configenerator_helpers.go
- configgenerator_types.go
- doc.go
- langtechtypes.go
- library_types.go
- reconciler_helpers.go
- reconciler_types.go
- reftypes.go
- register.go
- upstreamref_helpers.go
- upstreamref_types.go
- zz_generated.deepcopy.go