Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=spectrum.cloudflare.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Application
- func (in *Application) DeepCopy() *Application
- func (in *Application) DeepCopyInto(out *Application)
- func (in *Application) DeepCopyObject() runtime.Object
- func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Application) GetConnectionDetailsMapping() map[string]string
- func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Application) GetID() string
- func (tr *Application) GetObservation() (map[string]any, error)
- func (tr *Application) GetParameters() (map[string]any, error)
- func (mg *Application) GetProviderConfigReference() *xpv1.Reference
- func (mg *Application) GetProviderReference() *xpv1.Reference
- func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Application) GetTerraformResourceType() string
- func (tr *Application) GetTerraformSchemaVersion() int
- func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Application) LateInitialize(attrs []byte) (bool, error)
- func (mg *Application) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Application) SetConditions(c ...xpv1.Condition)
- func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Application) SetObservation(obs map[string]any) error
- func (tr *Application) SetParameters(params map[string]any) error
- func (mg *Application) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Application) SetProviderReference(r *xpv1.Reference)
- func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ApplicationList
- type ApplicationObservation
- type ApplicationParameters
- type ApplicationSpec
- type ApplicationStatus
- type DNSObservation
- type DNSParameters
- type OriginDNSObservation
- type OriginDNSParameters
- type OriginPortRangeObservation
- type OriginPortRangeParameters
Constants ¶
const ( CRDGroup = "spectrum.cloudflare.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Application_Kind = "Application" Application_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Application_Kind}.String() Application_KindAPIVersion = Application_Kind + "." + CRDGroupVersion.String() Application_GroupVersionKind = CRDGroupVersion.WithKind(Application_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,omitempty"` }
Application is the Schema for the Applications API. <no value> +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflare}
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Application) GetCondition ¶
func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Application.
func (*Application) GetConnectionDetailsMapping ¶
func (tr *Application) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Application
func (*Application) GetDeletionPolicy ¶
func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Application.
func (*Application) GetID ¶
func (tr *Application) GetID() string
GetID returns ID of underlying Terraform resource of this Application
func (*Application) GetObservation ¶
func (tr *Application) GetObservation() (map[string]any, error)
GetObservation of this Application
func (*Application) GetParameters ¶
func (tr *Application) GetParameters() (map[string]any, error)
GetParameters of this Application
func (*Application) GetProviderConfigReference ¶
func (mg *Application) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Application.
func (*Application) GetProviderReference ¶
func (mg *Application) GetProviderReference() *xpv1.Reference
GetProviderReference of this Application. Deprecated: Use GetProviderConfigReference.
func (*Application) GetPublishConnectionDetailsTo ¶
func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Application.
func (*Application) GetTerraformResourceType ¶
func (mg *Application) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Application
func (*Application) GetTerraformSchemaVersion ¶
func (tr *Application) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Application) GetWriteConnectionSecretToReference ¶
func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Application.
func (*Application) LateInitialize ¶
func (tr *Application) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Application using its observed tfState. returns True if there are any spec changes for the resource.
func (*Application) ResolveReferences ¶
ResolveReferences of this Application.
func (*Application) SetConditions ¶
func (mg *Application) SetConditions(c ...xpv1.Condition)
SetConditions of this Application.
func (*Application) SetDeletionPolicy ¶
func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Application.
func (*Application) SetObservation ¶
func (tr *Application) SetObservation(obs map[string]any) error
SetObservation for this Application
func (*Application) SetParameters ¶
func (tr *Application) SetParameters(params map[string]any) error
SetParameters for this Application
func (*Application) SetProviderConfigReference ¶
func (mg *Application) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Application.
func (*Application) SetProviderReference ¶
func (mg *Application) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Application. Deprecated: Use SetProviderConfigReference.
func (*Application) SetPublishConnectionDetailsTo ¶
func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Application.
func (*Application) SetWriteConnectionSecretToReference ¶
func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Application.
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Application `json:"items"` }
ApplicationList contains a list of Applications
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApplicationList) GetItems ¶
func (l *ApplicationList) GetItems() []resource.Managed
GetItems of this ApplicationList.
type ApplicationObservation ¶
type ApplicationObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*ApplicationObservation) DeepCopy ¶
func (in *ApplicationObservation) DeepCopy() *ApplicationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationObservation.
func (*ApplicationObservation) DeepCopyInto ¶
func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationParameters ¶
type ApplicationParameters struct { // Defaults to `false`. // +kubebuilder:validation:Optional ArgoSmartRouting *bool `json:"argoSmartRouting,omitempty" tf:"argo_smart_routing,omitempty"` // +kubebuilder:validation:Required DNS []DNSParameters `json:"dns" tf:"dns,omitempty"` // +kubebuilder:validation:Optional EdgeIPConnectivity *string `json:"edgeIpConnectivity,omitempty" tf:"edge_ip_connectivity,omitempty"` // +kubebuilder:validation:Optional EdgeIps []*string `json:"edgeIps,omitempty" tf:"edge_ips,omitempty"` // Defaults to `true`. // +kubebuilder:validation:Optional IPFirewall *bool `json:"ipFirewall,omitempty" tf:"ip_firewall,omitempty"` // +kubebuilder:validation:Optional OriginDNS []OriginDNSParameters `json:"originDns,omitempty" tf:"origin_dns,omitempty"` // +kubebuilder:validation:Optional OriginDirect []*string `json:"originDirect,omitempty" tf:"origin_direct,omitempty"` // Conflicts with `origin_port_range`. // +kubebuilder:validation:Optional OriginPort *float64 `json:"originPort,omitempty" tf:"origin_port,omitempty"` // Conflicts with `origin_port`. // +kubebuilder:validation:Optional OriginPortRange []OriginPortRangeParameters `json:"originPortRange,omitempty" tf:"origin_port_range,omitempty"` // +kubebuilder:validation:Required Protocol *string `json:"protocol" tf:"protocol,omitempty"` // Defaults to `off`. // +kubebuilder:validation:Optional ProxyProtocol *string `json:"proxyProtocol,omitempty" tf:"proxy_protocol,omitempty"` // Defaults to `off`. // +kubebuilder:validation:Optional TLS *string `json:"tls,omitempty" tf:"tls,omitempty"` // Defaults to `direct`. // +kubebuilder:validation:Optional TrafficType *string `json:"trafficType,omitempty" tf:"traffic_type,omitempty"` // The zone identifier to target for the resource. // +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone // +kubebuilder:validation:Optional ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"` // Reference to a Zone in zone to populate zoneId. // +kubebuilder:validation:Optional ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"` // Selector for a Zone in zone to populate zoneId. // +kubebuilder:validation:Optional ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"` }
func (*ApplicationParameters) DeepCopy ¶
func (in *ApplicationParameters) DeepCopy() *ApplicationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationParameters.
func (*ApplicationParameters) DeepCopyInto ¶
func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSpec ¶
type ApplicationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ApplicationParameters `json:"forProvider"` }
ApplicationSpec defines the desired state of Application
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatus ¶
type ApplicationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ApplicationObservation `json:"atProvider,omitempty"` }
ApplicationStatus defines the observed state of Application.
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSObservation ¶
type DNSObservation struct { }
func (*DNSObservation) DeepCopy ¶
func (in *DNSObservation) DeepCopy() *DNSObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSObservation.
func (*DNSObservation) DeepCopyInto ¶
func (in *DNSObservation) DeepCopyInto(out *DNSObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSParameters ¶
type DNSParameters struct { // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` }
func (*DNSParameters) DeepCopy ¶
func (in *DNSParameters) DeepCopy() *DNSParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSParameters.
func (*DNSParameters) DeepCopyInto ¶
func (in *DNSParameters) DeepCopyInto(out *DNSParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginDNSObservation ¶
type OriginDNSObservation struct { }
func (*OriginDNSObservation) DeepCopy ¶
func (in *OriginDNSObservation) DeepCopy() *OriginDNSObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginDNSObservation.
func (*OriginDNSObservation) DeepCopyInto ¶
func (in *OriginDNSObservation) DeepCopyInto(out *OriginDNSObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginDNSParameters ¶
type OriginDNSParameters struct { // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` }
func (*OriginDNSParameters) DeepCopy ¶
func (in *OriginDNSParameters) DeepCopy() *OriginDNSParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginDNSParameters.
func (*OriginDNSParameters) DeepCopyInto ¶
func (in *OriginDNSParameters) DeepCopyInto(out *OriginDNSParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginPortRangeObservation ¶
type OriginPortRangeObservation struct { }
func (*OriginPortRangeObservation) DeepCopy ¶
func (in *OriginPortRangeObservation) DeepCopy() *OriginPortRangeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginPortRangeObservation.
func (*OriginPortRangeObservation) DeepCopyInto ¶
func (in *OriginPortRangeObservation) DeepCopyInto(out *OriginPortRangeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OriginPortRangeParameters ¶
type OriginPortRangeParameters struct { // +kubebuilder:validation:Required End *float64 `json:"end" tf:"end,omitempty"` // +kubebuilder:validation:Required Start *float64 `json:"start" tf:"start,omitempty"` }
func (*OriginPortRangeParameters) DeepCopy ¶
func (in *OriginPortRangeParameters) DeepCopy() *OriginPortRangeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginPortRangeParameters.
func (*OriginPortRangeParameters) DeepCopyInto ¶
func (in *OriginPortRangeParameters) DeepCopyInto(out *OriginPortRangeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.