Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=synthetics.aws.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Canary
- func (in *Canary) DeepCopy() *Canary
- func (in *Canary) DeepCopyInto(out *Canary)
- func (in *Canary) DeepCopyObject() runtime.Object
- func (mg *Canary) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Canary) GetConnectionDetailsMapping() map[string]string
- func (mg *Canary) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Canary) GetID() string
- func (tr *Canary) GetObservation() (map[string]interface{}, error)
- func (tr *Canary) GetParameters() (map[string]interface{}, error)
- func (mg *Canary) GetProviderConfigReference() *xpv1.Reference
- func (mg *Canary) GetProviderReference() *xpv1.Reference
- func (mg *Canary) GetTerraformResourceType() string
- func (tr *Canary) GetTerraformSchemaVersion() int
- func (mg *Canary) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Canary) LateInitialize(attrs []byte) (bool, error)
- func (mg *Canary) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Canary) SetConditions(c ...xpv1.Condition)
- func (mg *Canary) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Canary) SetObservation(obs map[string]interface{}) error
- func (tr *Canary) SetParameters(params map[string]interface{}) error
- func (mg *Canary) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Canary) SetProviderReference(r *xpv1.Reference)
- func (mg *Canary) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CanaryList
- type CanaryObservation
- type CanaryParameters
- type CanarySpec
- type CanaryStatus
- type RunConfigObservation
- type RunConfigParameters
- type ScheduleObservation
- type ScheduleParameters
- type TimelineObservation
- type TimelineParameters
- type VPCConfigObservation
- type VPCConfigParameters
Constants ¶
const ( CRDGroup = "synthetics.aws.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Canary_Kind = "Canary" Canary_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Canary_Kind}.String() Canary_KindAPIVersion = Canary_Kind + "." + CRDGroupVersion.String() Canary_GroupVersionKind = CRDGroupVersion.WithKind(Canary_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 Canary ¶
type Canary struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CanarySpec `json:"spec"` Status CanaryStatus `json:"status,omitempty"` }
Canary is the Schema for the Canarys 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,awsjet}
func (*Canary) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Canary.
func (*Canary) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Canary) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Canary) GetCondition ¶
func (mg *Canary) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Canary.
func (*Canary) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Canary
func (*Canary) GetDeletionPolicy ¶
func (mg *Canary) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Canary.
func (*Canary) GetObservation ¶
GetObservation of this Canary
func (*Canary) GetParameters ¶
GetParameters of this Canary
func (*Canary) GetProviderConfigReference ¶
GetProviderConfigReference of this Canary.
func (*Canary) GetProviderReference ¶
GetProviderReference of this Canary. Deprecated: Use GetProviderConfigReference.
func (*Canary) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Canary
func (*Canary) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Canary) GetWriteConnectionSecretToReference ¶
func (mg *Canary) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Canary.
func (*Canary) LateInitialize ¶
LateInitialize this Canary using its observed tfState. returns True if there are any spec changes for the resource.
func (*Canary) ResolveReferences ¶
ResolveReferences of this Canary.
func (*Canary) SetConditions ¶
SetConditions of this Canary.
func (*Canary) SetDeletionPolicy ¶
func (mg *Canary) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Canary.
func (*Canary) SetObservation ¶
SetObservation for this Canary
func (*Canary) SetParameters ¶
SetParameters for this Canary
func (*Canary) SetProviderConfigReference ¶
SetProviderConfigReference of this Canary.
func (*Canary) SetProviderReference ¶
SetProviderReference of this Canary. Deprecated: Use SetProviderConfigReference.
func (*Canary) SetWriteConnectionSecretToReference ¶
func (mg *Canary) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Canary.
type CanaryList ¶
type CanaryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Canary `json:"items"` }
CanaryList contains a list of Canarys
func (*CanaryList) DeepCopy ¶
func (in *CanaryList) DeepCopy() *CanaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanaryList.
func (*CanaryList) DeepCopyInto ¶
func (in *CanaryList) DeepCopyInto(out *CanaryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CanaryList) DeepCopyObject ¶
func (in *CanaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CanaryList) GetItems ¶
func (l *CanaryList) GetItems() []resource.Managed
GetItems of this CanaryList.
type CanaryObservation ¶
type CanaryObservation struct { Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` EngineArn *string `json:"engineArn,omitempty" tf:"engine_arn,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` SourceLocationArn *string `json:"sourceLocationArn,omitempty" tf:"source_location_arn,omitempty"` Status *string `json:"status,omitempty" tf:"status,omitempty"` TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` Timeline []TimelineObservation `json:"timeline,omitempty" tf:"timeline,omitempty"` }
func (*CanaryObservation) DeepCopy ¶
func (in *CanaryObservation) DeepCopy() *CanaryObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanaryObservation.
func (*CanaryObservation) DeepCopyInto ¶
func (in *CanaryObservation) DeepCopyInto(out *CanaryObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanaryParameters ¶
type CanaryParameters struct { // +kubebuilder:validation:Required ArtifactS3Location *string `json:"artifactS3Location" tf:"artifact_s3_location,omitempty"` // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-aws/apis/iam/v1alpha2.Role // +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-jet-aws/config/common.ARNExtractor() // +kubebuilder:validation:Optional ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"` // +kubebuilder:validation:Optional ExecutionRoleArnRef *v1.Reference `json:"executionRoleArnRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ExecutionRoleArnSelector *v1.Selector `json:"executionRoleArnSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional FailureRetentionPeriod *int64 `json:"failureRetentionPeriod,omitempty" tf:"failure_retention_period,omitempty"` // +kubebuilder:validation:Required Handler *string `json:"handler" tf:"handler,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Region is the region you'd like your resource to be created in. // +terrajet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // +kubebuilder:validation:Optional RunConfig []RunConfigParameters `json:"runConfig,omitempty" tf:"run_config,omitempty"` // +kubebuilder:validation:Required RuntimeVersion *string `json:"runtimeVersion" tf:"runtime_version,omitempty"` // +kubebuilder:validation:Optional S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"` // +kubebuilder:validation:Optional S3Key *string `json:"s3Key,omitempty" tf:"s3_key,omitempty"` // +kubebuilder:validation:Optional S3Version *string `json:"s3Version,omitempty" tf:"s3_version,omitempty"` // +kubebuilder:validation:Required Schedule []ScheduleParameters `json:"schedule" tf:"schedule,omitempty"` // +kubebuilder:validation:Optional StartCanary *bool `json:"startCanary,omitempty" tf:"start_canary,omitempty"` // +kubebuilder:validation:Optional SuccessRetentionPeriod *int64 `json:"successRetentionPeriod,omitempty" tf:"success_retention_period,omitempty"` // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // +kubebuilder:validation:Optional VPCConfig []VPCConfigParameters `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"` // +kubebuilder:validation:Optional ZipFile *string `json:"zipFile,omitempty" tf:"zip_file,omitempty"` }
func (*CanaryParameters) DeepCopy ¶
func (in *CanaryParameters) DeepCopy() *CanaryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanaryParameters.
func (*CanaryParameters) DeepCopyInto ¶
func (in *CanaryParameters) DeepCopyInto(out *CanaryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanarySpec ¶
type CanarySpec struct { v1.ResourceSpec `json:",inline"` ForProvider CanaryParameters `json:"forProvider"` }
CanarySpec defines the desired state of Canary
func (*CanarySpec) DeepCopy ¶
func (in *CanarySpec) DeepCopy() *CanarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanarySpec.
func (*CanarySpec) DeepCopyInto ¶
func (in *CanarySpec) DeepCopyInto(out *CanarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanaryStatus ¶
type CanaryStatus struct { v1.ResourceStatus `json:",inline"` AtProvider CanaryObservation `json:"atProvider,omitempty"` }
CanaryStatus defines the observed state of Canary.
func (*CanaryStatus) DeepCopy ¶
func (in *CanaryStatus) DeepCopy() *CanaryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanaryStatus.
func (*CanaryStatus) DeepCopyInto ¶
func (in *CanaryStatus) DeepCopyInto(out *CanaryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunConfigObservation ¶
type RunConfigObservation struct { }
func (*RunConfigObservation) DeepCopy ¶
func (in *RunConfigObservation) DeepCopy() *RunConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunConfigObservation.
func (*RunConfigObservation) DeepCopyInto ¶
func (in *RunConfigObservation) DeepCopyInto(out *RunConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunConfigParameters ¶
type RunConfigParameters struct { // +kubebuilder:validation:Optional ActiveTracing *bool `json:"activeTracing,omitempty" tf:"active_tracing,omitempty"` // +kubebuilder:validation:Optional MemoryInMb *int64 `json:"memoryInMb,omitempty" tf:"memory_in_mb,omitempty"` // +kubebuilder:validation:Optional TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty" tf:"timeout_in_seconds,omitempty"` }
func (*RunConfigParameters) DeepCopy ¶
func (in *RunConfigParameters) DeepCopy() *RunConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunConfigParameters.
func (*RunConfigParameters) DeepCopyInto ¶
func (in *RunConfigParameters) DeepCopyInto(out *RunConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleObservation ¶
type ScheduleObservation struct { }
func (*ScheduleObservation) DeepCopy ¶
func (in *ScheduleObservation) DeepCopy() *ScheduleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation.
func (*ScheduleObservation) DeepCopyInto ¶
func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleParameters ¶
type ScheduleParameters struct { // +kubebuilder:validation:Optional DurationInSeconds *int64 `json:"durationInSeconds,omitempty" tf:"duration_in_seconds,omitempty"` // +kubebuilder:validation:Required Expression *string `json:"expression" tf:"expression,omitempty"` }
func (*ScheduleParameters) DeepCopy ¶
func (in *ScheduleParameters) DeepCopy() *ScheduleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters.
func (*ScheduleParameters) DeepCopyInto ¶
func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimelineObservation ¶
type TimelineObservation struct { Created *string `json:"created,omitempty" tf:"created,omitempty"` LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"` LastStarted *string `json:"lastStarted,omitempty" tf:"last_started,omitempty"` LastStopped *string `json:"lastStopped,omitempty" tf:"last_stopped,omitempty"` }
func (*TimelineObservation) DeepCopy ¶
func (in *TimelineObservation) DeepCopy() *TimelineObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimelineObservation.
func (*TimelineObservation) DeepCopyInto ¶
func (in *TimelineObservation) DeepCopyInto(out *TimelineObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimelineParameters ¶
type TimelineParameters struct { }
func (*TimelineParameters) DeepCopy ¶
func (in *TimelineParameters) DeepCopy() *TimelineParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimelineParameters.
func (*TimelineParameters) DeepCopyInto ¶
func (in *TimelineParameters) DeepCopyInto(out *TimelineParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCConfigObservation ¶
type VPCConfigObservation struct {
VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}
func (*VPCConfigObservation) DeepCopy ¶
func (in *VPCConfigObservation) DeepCopy() *VPCConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigObservation.
func (*VPCConfigObservation) DeepCopyInto ¶
func (in *VPCConfigObservation) DeepCopyInto(out *VPCConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCConfigParameters ¶
type VPCConfigParameters struct { // +kubebuilder:validation:Optional SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"` // +kubebuilder:validation:Optional SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"` }
func (*VPCConfigParameters) DeepCopy ¶
func (in *VPCConfigParameters) DeepCopy() *VPCConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigParameters.
func (*VPCConfigParameters) DeepCopyInto ¶
func (in *VPCConfigParameters) DeepCopyInto(out *VPCConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.