Documentation
¶
Overview ¶
+groupName=synthetics.aws.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Canary
- func (in *Canary) DeepCopy() *Canary
- func (in *Canary) DeepCopyInto(out *Canary)
- func (in *Canary) DeepCopyObject() runtime.Object
- func (r *Canary) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Canary) ValidateCreate() error
- func (r *Canary) ValidateDelete() error
- func (r *Canary) ValidateUpdate(old runtime.Object) error
- type CanaryList
- type CanarySpec
- type CanarySpecResource
- type CanarySpecRunConfig
- type CanarySpecRunConfigCodec
- type CanarySpecSchedule
- type CanarySpecScheduleCodec
- type CanarySpecTimeline
- type CanarySpecVpcConfig
- type CanarySpecVpcConfigCodec
- type CanaryStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: synthetics.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Canary ¶
type Canary struct {
metav1.TypeMeta `json:",inline,omitempty"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CanarySpec `json:"spec,omitempty"`
Status CanaryStatus `json:"status,omitempty"`
}
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) SetupWebhookWithManager ¶
func (*Canary) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Canary) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type CanaryList ¶
type CanaryList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
// Items is a list of Canary CRD objects
Items []Canary `json:"items,omitempty"`
}
CanaryList is 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.
type CanarySpec ¶
type CanarySpec struct {
KubeformOutput *CanarySpecResource `json:"kubeformOutput,omitempty" tf:"-"`
Resource CanarySpecResource `json:"resource" tf:"resource"`
UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`
TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`
ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}
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 CanarySpecResource ¶
type CanarySpecResource struct {
ID string `json:"id,omitempty" tf:"id,omitempty"`
// +optional
Arn *string `json:"arn,omitempty" tf:"arn"`
ArtifactS3Location *string `json:"artifactS3Location" tf:"artifact_s3_location"`
// +optional
EngineArn *string `json:"engineArn,omitempty" tf:"engine_arn"`
ExecutionRoleArn *string `json:"executionRoleArn" tf:"execution_role_arn"`
// +optional
FailureRetentionPeriod *int64 `json:"failureRetentionPeriod,omitempty" tf:"failure_retention_period"`
Handler *string `json:"handler" tf:"handler"`
Name *string `json:"name" tf:"name"`
// +optional
RunConfig *CanarySpecRunConfig `json:"runConfig,omitempty" tf:"run_config"`
RuntimeVersion *string `json:"runtimeVersion" tf:"runtime_version"`
// +optional
S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket"`
// +optional
S3Key *string `json:"s3Key,omitempty" tf:"s3_key"`
// +optional
S3Version *string `json:"s3Version,omitempty" tf:"s3_version"`
Schedule *CanarySpecSchedule `json:"schedule" tf:"schedule"`
// +optional
SourceLocationArn *string `json:"sourceLocationArn,omitempty" tf:"source_location_arn"`
// +optional
StartCanary *bool `json:"startCanary,omitempty" tf:"start_canary"`
// +optional
Status *string `json:"status,omitempty" tf:"status"`
// +optional
SuccessRetentionPeriod *int64 `json:"successRetentionPeriod,omitempty" tf:"success_retention_period"`
// +optional
Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
// +optional
TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
// +optional
Timeline []CanarySpecTimeline `json:"timeline,omitempty" tf:"timeline"`
// +optional
VpcConfig *CanarySpecVpcConfig `json:"vpcConfig,omitempty" tf:"vpc_config"`
// +optional
ZipFile *string `json:"zipFile,omitempty" tf:"zip_file"`
}
func (*CanarySpecResource) DeepCopy ¶
func (in *CanarySpecResource) DeepCopy() *CanarySpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanarySpecResource.
func (*CanarySpecResource) DeepCopyInto ¶
func (in *CanarySpecResource) DeepCopyInto(out *CanarySpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanarySpecRunConfig ¶
type CanarySpecRunConfig struct {
// +optional
ActiveTracing *bool `json:"activeTracing,omitempty" tf:"active_tracing"`
// +optional
MemoryInMb *int64 `json:"memoryInMb,omitempty" tf:"memory_in_mb"`
// +optional
TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty" tf:"timeout_in_seconds"`
}
func (*CanarySpecRunConfig) DeepCopy ¶
func (in *CanarySpecRunConfig) DeepCopy() *CanarySpecRunConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanarySpecRunConfig.
func (*CanarySpecRunConfig) DeepCopyInto ¶
func (in *CanarySpecRunConfig) DeepCopyInto(out *CanarySpecRunConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanarySpecRunConfigCodec ¶
type CanarySpecRunConfigCodec struct {
}
+k8s:deepcopy-gen=false
func (CanarySpecRunConfigCodec) Decode ¶
func (CanarySpecRunConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type CanarySpecSchedule ¶
type CanarySpecSchedule struct {
// +optional
DurationInSeconds *int64 `json:"durationInSeconds,omitempty" tf:"duration_in_seconds"`
Expression *string `json:"expression" tf:"expression"`
}
func (*CanarySpecSchedule) DeepCopy ¶
func (in *CanarySpecSchedule) DeepCopy() *CanarySpecSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanarySpecSchedule.
func (*CanarySpecSchedule) DeepCopyInto ¶
func (in *CanarySpecSchedule) DeepCopyInto(out *CanarySpecSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanarySpecScheduleCodec ¶
type CanarySpecScheduleCodec struct {
}
+k8s:deepcopy-gen=false
func (CanarySpecScheduleCodec) Decode ¶
func (CanarySpecScheduleCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type CanarySpecTimeline ¶
type CanarySpecTimeline struct {
// +optional
Created *string `json:"created,omitempty" tf:"created"`
// +optional
LastModified *string `json:"lastModified,omitempty" tf:"last_modified"`
// +optional
LastStarted *string `json:"lastStarted,omitempty" tf:"last_started"`
// +optional
LastStopped *string `json:"lastStopped,omitempty" tf:"last_stopped"`
}
func (*CanarySpecTimeline) DeepCopy ¶
func (in *CanarySpecTimeline) DeepCopy() *CanarySpecTimeline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanarySpecTimeline.
func (*CanarySpecTimeline) DeepCopyInto ¶
func (in *CanarySpecTimeline) DeepCopyInto(out *CanarySpecTimeline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanarySpecVpcConfig ¶
type CanarySpecVpcConfig struct {
// +optional
SecurityGroupIDS []string `json:"securityGroupIDS,omitempty" tf:"security_group_ids"`
// +optional
SubnetIDS []string `json:"subnetIDS,omitempty" tf:"subnet_ids"`
// +optional
VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
}
func (*CanarySpecVpcConfig) DeepCopy ¶
func (in *CanarySpecVpcConfig) DeepCopy() *CanarySpecVpcConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanarySpecVpcConfig.
func (*CanarySpecVpcConfig) DeepCopyInto ¶
func (in *CanarySpecVpcConfig) DeepCopyInto(out *CanarySpecVpcConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CanarySpecVpcConfigCodec ¶
type CanarySpecVpcConfigCodec struct {
}
+k8s:deepcopy-gen=false
func (CanarySpecVpcConfigCodec) Decode ¶
func (CanarySpecVpcConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type CanaryStatus ¶
type CanaryStatus struct {
// Resource generation, which is updated on mutation by the API Server.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// +optional
Phase status.Status `json:"phase,omitempty"`
// +optional
Conditions []kmapi.Condition `json:"conditions,omitempty"`
}
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.