Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=imgix.imgix.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DeploymentObservation
- type DeploymentParameters
- type Source
- func (in *Source) DeepCopy() *Source
- func (in *Source) DeepCopyInto(out *Source)
- func (in *Source) DeepCopyObject() runtime.Object
- func (mg *Source) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Source) GetConnectionDetailsMapping() map[string]string
- func (mg *Source) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Source) GetID() string
- func (tr *Source) GetObservation() (map[string]interface{}, error)
- func (tr *Source) GetParameters() (map[string]interface{}, error)
- func (mg *Source) GetProviderConfigReference() *xpv1.Reference
- func (mg *Source) GetProviderReference() *xpv1.Reference
- func (mg *Source) GetTerraformResourceType() string
- func (tr *Source) GetTerraformSchemaVersion() int
- func (mg *Source) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Source) LateInitialize(attrs []byte) (bool, error)
- func (mg *Source) SetConditions(c ...xpv1.Condition)
- func (mg *Source) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Source) SetObservation(obs map[string]interface{}) error
- func (tr *Source) SetParameters(params map[string]interface{}) error
- func (mg *Source) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Source) SetProviderReference(r *xpv1.Reference)
- func (mg *Source) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SourceList
- type SourceObservation
- type SourceParameters
- type SourceSpec
- type SourceStatus
Constants ¶
const ( CRDGroup = "imgix.imgix.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( Source_Kind = "Source" Source_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Source_Kind}.String() Source_KindAPIVersion = Source_Kind + "." + CRDGroupVersion.String() Source_GroupVersionKind = CRDGroupVersion.WithKind(Source_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type DeploymentObservation ¶
type DeploymentObservation struct {
AllowsUpload *bool `json:"allowsUpload,omitempty" tf:"allows_upload,omitempty"`
}
func (*DeploymentObservation) DeepCopy ¶
func (in *DeploymentObservation) DeepCopy() *DeploymentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentObservation.
func (*DeploymentObservation) DeepCopyInto ¶
func (in *DeploymentObservation) DeepCopyInto(out *DeploymentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentParameters ¶
type DeploymentParameters struct { // Any comment on the specific deployment. // +kubebuilder:validation:Optional Annotation *string `json:"annotation,omitempty" tf:"annotation,omitempty"` // Policy to determine how the TTL on imgix images is set. // +kubebuilder:validation:Optional CacheTTLBehavior *string `json:"cacheTtlBehavior,omitempty" tf:"cache_ttl_behavior,omitempty"` // TTL (in seconds) for any error image served when unable to fetch a file from origin. // +kubebuilder:validation:Optional CacheTTLError *float64 `json:"cacheTtlError,omitempty" tf:"cache_ttl_error,omitempty"` // TTL (in seconds) for any error image served when unable to fetch a file from origin. // +kubebuilder:validation:Optional CacheTTLValue *float64 `json:"cacheTtlValue,omitempty" tf:"cache_ttl_value,omitempty"` // Whether this Source should serve a Cross-Domain Policy file if requested. // +kubebuilder:validation:Optional CrossdomainXMLEnabled *bool `json:"crossdomainXmlEnabled,omitempty" tf:"crossdomain_xml_enabled,omitempty"` // Non-imgix.net domains you want to use to access your images. Custom domains must be unique across all Sources and must be valid domains. // +kubebuilder:validation:Optional CustomDomains []*string `json:"customDomains,omitempty" tf:"custom_domains,omitempty"` // Parameters that should be set on all requests to this Source. // +kubebuilder:validation:Optional DefaultParams map[string]*string `json:"defaultParams,omitempty" tf:"default_params,omitempty"` // GCS Access Key ID. // +kubebuilder:validation:Optional GcsAccessKeySecretRef *v1.SecretKeySelector `json:"gcsAccessKeySecretRef,omitempty" tf:"-"` // GCS bucket name. // +kubebuilder:validation:Optional GcsBucket *string `json:"gcsBucket,omitempty" tf:"gcs_bucket,omitempty"` // The folder prefix prepended to the image path before resolving the image in GCS. // +kubebuilder:validation:Optional GcsPrefix *string `json:"gcsPrefix,omitempty" tf:"gcs_prefix,omitempty"` // GCS Secret Access Key. // +kubebuilder:validation:Optional GcsSecretKeySecretRef *v1.SecretKeySelector `json:"gcsSecretKeySecretRef,omitempty" tf:"-"` // Image URL imgix should serve instead when a request results in an error. // +kubebuilder:validation:Optional ImageError *string `json:"imageError,omitempty" tf:"image_error,omitempty"` // Whether imgix should pass the parameters on the request that received an error to the URL described in image_error. // +kubebuilder:validation:Optional ImageErrorAppendQs *bool `json:"imageErrorAppendQs,omitempty" tf:"image_error_append_qs,omitempty"` // Image URL imgix should serve instead when a request results in a missing image. // +kubebuilder:validation:Optional ImageMissing *string `json:"imageMissing,omitempty" tf:"image_missing,omitempty"` // Whether imgix should pass the parameters on the request that resulted in a missing image to the URL described in image_missing. // +kubebuilder:validation:Optional ImageMissingAppendQs *bool `json:"imageMissingAppendQs,omitempty" tf:"image_missing_append_qs,omitempty"` // Subdomain you want to use on *.imgix.net to access your images. // +kubebuilder:validation:Required ImgixSubdomains []*string `json:"imgixSubdomains" tf:"imgix_subdomains,omitempty"` // AWS Access Key ID. // +kubebuilder:validation:Optional S3AccessKeySecretRef *v1.SecretKeySelector `json:"s3AccessKeySecretRef,omitempty" tf:"-"` // AWS S3 bucket name. // +kubebuilder:validation:Optional S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"` // The folder prefix prepended to the image path before resolving the image in S3. // +kubebuilder:validation:Optional S3Prefix *string `json:"s3Prefix,omitempty" tf:"s3_prefix,omitempty"` // AWS S3 Secret Access Key. // +kubebuilder:validation:Optional S3SecretKeySecretRef *v1.SecretKeySelector `json:"s3SecretKeySecretRef,omitempty" tf:"-"` // Whether requests must be signed with the secure_url_token to be considered valid. // +kubebuilder:validation:Optional SecureURLEnabled *bool `json:"secureUrlEnabled,omitempty" tf:"secure_url_enabled,omitempty"` // Type of the deployment. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` }
func (*DeploymentParameters) DeepCopy ¶
func (in *DeploymentParameters) DeepCopy() *DeploymentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentParameters.
func (*DeploymentParameters) DeepCopyInto ¶
func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Source ¶
type Source struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SourceSpec `json:"spec"` Status SourceStatus `json:"status,omitempty"` }
Source is the Schema for the Sources API +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,imgixjet}
func (*Source) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.
func (*Source) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Source) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Source) GetCondition ¶
func (mg *Source) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Source.
func (*Source) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Source
func (*Source) GetDeletionPolicy ¶
func (mg *Source) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Source.
func (*Source) GetObservation ¶
GetObservation of this Source
func (*Source) GetParameters ¶
GetParameters of this Source
func (*Source) GetProviderConfigReference ¶
GetProviderConfigReference of this Source.
func (*Source) GetProviderReference ¶
GetProviderReference of this Source. Deprecated: Use GetProviderConfigReference.
func (*Source) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Source
func (*Source) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Source) GetWriteConnectionSecretToReference ¶
func (mg *Source) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Source.
func (*Source) LateInitialize ¶
LateInitialize this Source using its observed tfState. returns True if there are any spec changes for the resource.
func (*Source) SetConditions ¶
SetConditions of this Source.
func (*Source) SetDeletionPolicy ¶
func (mg *Source) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Source.
func (*Source) SetObservation ¶
SetObservation for this Source
func (*Source) SetParameters ¶
SetParameters for this Source
func (*Source) SetProviderConfigReference ¶
SetProviderConfigReference of this Source.
func (*Source) SetProviderReference ¶
SetProviderReference of this Source. Deprecated: Use SetProviderConfigReference.
func (*Source) SetWriteConnectionSecretToReference ¶
func (mg *Source) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Source.
type SourceList ¶
type SourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Source `json:"items"` }
SourceList contains a list of Sources
func (*SourceList) DeepCopy ¶
func (in *SourceList) DeepCopy() *SourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceList.
func (*SourceList) DeepCopyInto ¶
func (in *SourceList) DeepCopyInto(out *SourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceList) DeepCopyObject ¶
func (in *SourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SourceList) GetItems ¶
func (l *SourceList) GetItems() []resource.Managed
GetItems of this SourceList.
type SourceObservation ¶
type SourceObservation struct { DateDeployed *float64 `json:"dateDeployed,omitempty" tf:"date_deployed,omitempty"` DeploymentStatus *string `json:"deploymentStatus,omitempty" tf:"deployment_status,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` SecureURLToken *string `json:"secureUrlToken,omitempty" tf:"secure_url_token,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*SourceObservation) DeepCopy ¶
func (in *SourceObservation) DeepCopy() *SourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation.
func (*SourceObservation) DeepCopyInto ¶
func (in *SourceObservation) DeepCopyInto(out *SourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceParameters ¶
type SourceParameters struct { // +kubebuilder:validation:Required Deployment []DeploymentParameters `json:"deployment" tf:"deployment,omitempty"` // Whether or not a Source is enabled and capable of serving traffic. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // Source display name. Does not impact how images are served. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Determines if Terraform should wait for deployed status after any change. // +kubebuilder:validation:Optional WaitForDeployed *bool `json:"waitForDeployed,omitempty" tf:"wait_for_deployed,omitempty"` }
func (*SourceParameters) DeepCopy ¶
func (in *SourceParameters) DeepCopy() *SourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters.
func (*SourceParameters) DeepCopyInto ¶
func (in *SourceParameters) DeepCopyInto(out *SourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceSpec ¶
type SourceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SourceParameters `json:"forProvider"` }
SourceSpec defines the desired state of Source
func (*SourceSpec) DeepCopy ¶
func (in *SourceSpec) DeepCopy() *SourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec.
func (*SourceSpec) DeepCopyInto ¶
func (in *SourceSpec) DeepCopyInto(out *SourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceStatus ¶
type SourceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SourceObservation `json:"atProvider,omitempty"` }
SourceStatus defines the observed state of Source.
func (*SourceStatus) DeepCopy ¶
func (in *SourceStatus) DeepCopy() *SourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceStatus.
func (*SourceStatus) DeepCopyInto ¶
func (in *SourceStatus) DeepCopyInto(out *SourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.