v1alpha1

package
v0.4.0-preview Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=synthetics.aws.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "synthetics.aws.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

View Source
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

func (in *Canary) DeepCopy() *Canary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Canary.

func (*Canary) DeepCopyInto

func (in *Canary) DeepCopyInto(out *Canary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Canary) DeepCopyObject

func (in *Canary) DeepCopyObject() runtime.Object

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

func (tr *Canary) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Canary

func (*Canary) GetDeletionPolicy

func (mg *Canary) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Canary.

func (*Canary) GetID

func (tr *Canary) GetID() string

GetID returns ID of underlying Terraform resource of this Canary

func (*Canary) GetObservation

func (tr *Canary) GetObservation() (map[string]interface{}, error)

GetObservation of this Canary

func (*Canary) GetParameters

func (tr *Canary) GetParameters() (map[string]interface{}, error)

GetParameters of this Canary

func (*Canary) GetProviderConfigReference

func (mg *Canary) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Canary.

func (*Canary) GetProviderReference

func (mg *Canary) GetProviderReference() *xpv1.Reference

GetProviderReference of this Canary. Deprecated: Use GetProviderConfigReference.

func (*Canary) GetTerraformResourceType

func (mg *Canary) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Canary

func (*Canary) GetTerraformSchemaVersion

func (tr *Canary) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Canary) GetWriteConnectionSecretToReference

func (mg *Canary) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Canary.

func (*Canary) LateInitialize

func (tr *Canary) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Canary using its observed tfState. returns True if there are any spec changes for the resource.

func (*Canary) ResolveReferences

func (mg *Canary) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Canary.

func (*Canary) SetConditions

func (mg *Canary) SetConditions(c ...xpv1.Condition)

SetConditions of this Canary.

func (*Canary) SetDeletionPolicy

func (mg *Canary) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Canary.

func (*Canary) SetObservation

func (tr *Canary) SetObservation(obs map[string]interface{}) error

SetObservation for this Canary

func (*Canary) SetParameters

func (tr *Canary) SetParameters(params map[string]interface{}) error

SetParameters for this Canary

func (*Canary) SetProviderConfigReference

func (mg *Canary) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Canary.

func (*Canary) SetProviderReference

func (mg *Canary) SetProviderReference(r *xpv1.Reference)

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL