Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the gdp v1alpha1 API group +kubebuilder:object:generate=true +groupName=gdp.deliveryhero.io
Index ¶
- Variables
- type Condition
- type ConditionType
- type DestinationRef
- type DestinationType
- type Output
- type RequiredFields
- type ResourceFieldExport
- func (in *ResourceFieldExport) DeepCopy() *ResourceFieldExport
- func (in *ResourceFieldExport) DeepCopyInto(out *ResourceFieldExport)
- func (in *ResourceFieldExport) DeepCopyObject() runtime.Object
- func (r *ResourceFieldExport) SetupWebhookWithManager(mgr ctrl.Manager, validator *resourcemanager.ResourceManager) error
- func (r *ResourceFieldExport) ValidateCreate() (admission.Warnings, error)
- func (r *ResourceFieldExport) ValidateDelete() (admission.Warnings, error)
- func (r *ResourceFieldExport) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type ResourceFieldExportList
- type ResourceFieldExportSpec
- type ResourceFieldExportStatus
- type ResourceRef
- type StatusCondition
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "gdp.deliveryhero.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { // Type is the type of the Condition Type ConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // The last time the condition transitioned from one status to another. // +optional LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` // A human-readable message indicating details about the transition. // +optional Message *string `json:"message,omitempty"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶
type ConditionType string
type DestinationRef ¶
type DestinationRef struct { Type DestinationType `json:"type"` Name string `json:"name"` }
DestinationRef is where the fields should be written.
func (*DestinationRef) DeepCopy ¶
func (in *DestinationRef) DeepCopy() *DestinationRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationRef.
func (*DestinationRef) DeepCopyInto ¶
func (in *DestinationRef) DeepCopyInto(out *DestinationRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationType ¶
type DestinationType string
DestinationType is a ConfigMap or a Secret +kubebuilder:validation:Enum=ConfigMap;Secret
const ( ConfigMap DestinationType = "ConfigMap" Secret DestinationType = "Secret" )
type Output ¶
func (*Output) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Output.
func (*Output) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredFields ¶
type RequiredFields struct { // +kubebuilder:validation:Optional StatusConditions []StatusCondition `json:"statusConditions"` }
func (*RequiredFields) DeepCopy ¶
func (in *RequiredFields) DeepCopy() *RequiredFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredFields.
func (*RequiredFields) DeepCopyInto ¶
func (in *RequiredFields) DeepCopyInto(out *RequiredFields)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceFieldExport ¶
type ResourceFieldExport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceFieldExportSpec `json:"spec,omitempty"` Status ResourceFieldExportStatus `json:"status,omitempty"` }
ResourceFieldExport is the Schema for the resourcefieldexports API
func (*ResourceFieldExport) DeepCopy ¶
func (in *ResourceFieldExport) DeepCopy() *ResourceFieldExport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldExport.
func (*ResourceFieldExport) DeepCopyInto ¶
func (in *ResourceFieldExport) DeepCopyInto(out *ResourceFieldExport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceFieldExport) DeepCopyObject ¶
func (in *ResourceFieldExport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceFieldExport) SetupWebhookWithManager ¶ added in v1.2.0
func (r *ResourceFieldExport) SetupWebhookWithManager(mgr ctrl.Manager, validator *resourcemanager.ResourceManager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*ResourceFieldExport) ValidateCreate ¶ added in v1.2.0
func (r *ResourceFieldExport) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ResourceFieldExport) ValidateDelete ¶ added in v1.2.0
func (r *ResourceFieldExport) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ResourceFieldExport) ValidateUpdate ¶ added in v1.2.0
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ResourceFieldExportList ¶
type ResourceFieldExportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceFieldExport `json:"items"` }
ResourceFieldExportList contains a list of ResourceFieldExport
func (*ResourceFieldExportList) DeepCopy ¶
func (in *ResourceFieldExportList) DeepCopy() *ResourceFieldExportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldExportList.
func (*ResourceFieldExportList) DeepCopyInto ¶
func (in *ResourceFieldExportList) DeepCopyInto(out *ResourceFieldExportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceFieldExportList) DeepCopyObject ¶
func (in *ResourceFieldExportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceFieldExportSpec ¶
type ResourceFieldExportSpec struct { From ResourceRef `json:"from"` To DestinationRef `json:"to"` // +kubebuilder:validation:Optional RequiredFields *RequiredFields `json:"requiredFields"` Outputs []Output `json:"outputs"` }
ResourceFieldExportSpec defines the desired state of ResourceFieldExport
func (*ResourceFieldExportSpec) DeepCopy ¶
func (in *ResourceFieldExportSpec) DeepCopy() *ResourceFieldExportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldExportSpec.
func (*ResourceFieldExportSpec) DeepCopyInto ¶
func (in *ResourceFieldExportSpec) DeepCopyInto(out *ResourceFieldExportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceFieldExportStatus ¶
type ResourceFieldExportStatus struct {
Conditions []Condition `json:"conditions"`
}
ResourceFieldExportStatus defines the observed state of ResourceFieldExport
func (*ResourceFieldExportStatus) DeepCopy ¶
func (in *ResourceFieldExportStatus) DeepCopy() *ResourceFieldExportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldExportStatus.
func (*ResourceFieldExportStatus) DeepCopyInto ¶
func (in *ResourceFieldExportStatus) DeepCopyInto(out *ResourceFieldExportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceRef ¶
type ResourceRef struct { // APIVersion is the group version of the resource // +kubebuilder:validation:Pattern=^([a-zA-Z0-9.-]+[a-zA-Z0-9-]\/[a-zA-Z0-9]+|[a-zA-Z0-9]+)$ APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Name string `json:"name"` }
func (*ResourceRef) DeepCopy ¶
func (in *ResourceRef) DeepCopy() *ResourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRef.
func (*ResourceRef) DeepCopyInto ¶
func (in *ResourceRef) DeepCopyInto(out *ResourceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusCondition ¶
func (*StatusCondition) DeepCopy ¶
func (in *StatusCondition) DeepCopy() *StatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCondition.
func (*StatusCondition) DeepCopyInto ¶
func (in *StatusCondition) DeepCopyInto(out *StatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.