Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group DNS resources of the Cloudflare provider. +kubebuilder:object:generate=true +groupName=workers.cloudflare.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Route
- func (in *Route) DeepCopy() *Route
- func (in *Route) DeepCopyInto(out *Route)
- func (in *Route) DeepCopyObject() runtime.Object
- func (mg *Route) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Route) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Route) GetProviderConfigReference() *xpv1.Reference
- func (mg *Route) GetProviderReference() *xpv1.Reference
- func (mg *Route) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (dr *Route) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Route) SetConditions(c ...xpv1.Condition)
- func (mg *Route) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Route) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Route) SetProviderReference(r *xpv1.Reference)
- func (mg *Route) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RouteList
- type RouteObservation
- type RouteParameters
- type RouteSpec
- type RouteStatus
Constants ¶
const ( Group = "workers.cloudflare.crossplane.io" Version = "v1alpha1" )
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} )
var ( RouteKind = reflect.TypeOf(Route{}).Name() RouteGroupKind = schema.GroupKind{Group: Group, Kind: RouteKind}.String() RouteKindAPIVersion = RouteKind + "." + SchemeGroupVersion.String() RouteGroupVersionKind = SchemeGroupVersion.WithKind(RouteKind) )
Route type metadata.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RouteSpec `json:"spec"` Status RouteStatus `json:"status,omitempty"` }
A Route represents a single Worker Route managed on a Zone. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="PATTERN",type="string",JSONPath=".spec.forProvider.pattern" +kubebuilder:printcolumn:name="SCRIPT",type="string",JSONPath=".spec.forProvider.script" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Route) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Route) GetCondition ¶
func (mg *Route) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Route.
func (*Route) GetDeletionPolicy ¶
func (mg *Route) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Route.
func (*Route) GetProviderConfigReference ¶
GetProviderConfigReference of this Route.
func (*Route) GetProviderReference ¶
GetProviderReference of this Route. Deprecated: Use GetProviderConfigReference.
func (*Route) GetWriteConnectionSecretToReference ¶
func (mg *Route) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Route.
func (*Route) ResolveReferences ¶
ResolveReferences resolves references to the Zone that this Worker Route is managed on.
func (*Route) SetConditions ¶
SetConditions of this Route.
func (*Route) SetDeletionPolicy ¶
func (mg *Route) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Route.
func (*Route) SetProviderConfigReference ¶
SetProviderConfigReference of this Route.
func (*Route) SetProviderReference ¶
SetProviderReference of this Route. Deprecated: Use SetProviderConfigReference.
func (*Route) SetWriteConnectionSecretToReference ¶
func (mg *Route) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Route.
type RouteList ¶
type RouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Route `json:"items"` }
RouteList contains a list of Worker Route objects
func (*RouteList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.
func (*RouteList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteObservation ¶
type RouteObservation struct{}
RouteObservation is the observable fields of a Worker Route.
func (*RouteObservation) DeepCopy ¶
func (in *RouteObservation) DeepCopy() *RouteObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteObservation.
func (*RouteObservation) DeepCopyInto ¶
func (in *RouteObservation) DeepCopyInto(out *RouteObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteParameters ¶
type RouteParameters struct { // Pattern is the URL pattern of the route. Pattern string `json:"pattern"` // Script is the name of the worker script. // +optional Script *string `json:"script,omitempty"` // ZoneID this Worker Route is managed on. // +immutable // +optional Zone *string `json:"zone,omitempty"` // ZoneRef references the Zone object this Worker Route is managed on. // +immutable // +optional ZoneRef *xpv1.Reference `json:"zoneRef,omitempty"` // ZoneSelector selects the Zone object this Worker Route is managed on. // +immutable // +optional ZoneSelector *xpv1.Selector `json:"zoneSelector,omitempty"` }
RouteParameters are the configurable fields of a DNS Route.
func (*RouteParameters) DeepCopy ¶
func (in *RouteParameters) DeepCopy() *RouteParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteParameters.
func (*RouteParameters) DeepCopyInto ¶
func (in *RouteParameters) DeepCopyInto(out *RouteParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteSpec ¶
type RouteSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider RouteParameters `json:"forProvider"` }
A RouteSpec defines the desired state of a Worker Route.
func (*RouteSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
func (*RouteSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteStatus ¶
type RouteStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider RouteObservation `json:"atProvider,omitempty"` }
A RouteStatus represents the observed state of a Worker Route.
func (*RouteStatus) DeepCopy ¶
func (in *RouteStatus) DeepCopy() *RouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteStatus.
func (*RouteStatus) DeepCopyInto ¶
func (in *RouteStatus) DeepCopyInto(out *RouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.