v1beta1

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=fis.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "fis.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	ExperimentTemplate_Kind             = "ExperimentTemplate"
	ExperimentTemplate_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ExperimentTemplate_Kind}.String()
	ExperimentTemplate_KindAPIVersion   = ExperimentTemplate_Kind + "." + CRDGroupVersion.String()
	ExperimentTemplate_GroupVersionKind = CRDGroupVersion.WithKind(ExperimentTemplate_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 ActionObservation

type ActionObservation struct {
}

func (*ActionObservation) DeepCopy

func (in *ActionObservation) DeepCopy() *ActionObservation

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

func (*ActionObservation) DeepCopyInto

func (in *ActionObservation) DeepCopyInto(out *ActionObservation)

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

type ActionParameters

type ActionParameters struct {

	// ID of the action. To find out what actions are supported see AWS FIS actions reference.
	// +kubebuilder:validation:Required
	ActionID *string `json:"actionId" tf:"action_id,omitempty"`

	// Description of the action.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Friendly name of the action.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Parameter(s) for the action, if applicable. See below.
	// +kubebuilder:validation:Optional
	Parameter []ParameterParameters `json:"parameter,omitempty" tf:"parameter,omitempty"`

	// Set of action names that must complete before this action can be executed.
	// +kubebuilder:validation:Optional
	StartAfter []*string `json:"startAfter,omitempty" tf:"start_after,omitempty"`

	// Action's target, if applicable. See below.
	// +kubebuilder:validation:Optional
	Target []TargetParameters `json:"target,omitempty" tf:"target,omitempty"`
}

func (*ActionParameters) DeepCopy

func (in *ActionParameters) DeepCopy() *ActionParameters

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

func (*ActionParameters) DeepCopyInto

func (in *ActionParameters) DeepCopyInto(out *ActionParameters)

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

type ExperimentTemplate

type ExperimentTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ExperimentTemplateSpec   `json:"spec"`
	Status            ExperimentTemplateStatus `json:"status,omitempty"`
}

ExperimentTemplate is the Schema for the ExperimentTemplates API. Provides an FIS Experiment Template. +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,aws}

func (*ExperimentTemplate) DeepCopy

func (in *ExperimentTemplate) DeepCopy() *ExperimentTemplate

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

func (*ExperimentTemplate) DeepCopyInto

func (in *ExperimentTemplate) DeepCopyInto(out *ExperimentTemplate)

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

func (*ExperimentTemplate) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ExperimentTemplate) GetCondition

func (mg *ExperimentTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ExperimentTemplate.

func (*ExperimentTemplate) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ExperimentTemplate

func (*ExperimentTemplate) GetDeletionPolicy

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

GetDeletionPolicy of this ExperimentTemplate.

func (*ExperimentTemplate) GetID

func (tr *ExperimentTemplate) GetID() string

GetID returns ID of underlying Terraform resource of this ExperimentTemplate

func (*ExperimentTemplate) GetObservation

func (tr *ExperimentTemplate) GetObservation() (map[string]any, error)

GetObservation of this ExperimentTemplate

func (*ExperimentTemplate) GetParameters

func (tr *ExperimentTemplate) GetParameters() (map[string]any, error)

GetParameters of this ExperimentTemplate

func (*ExperimentTemplate) GetProviderConfigReference

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

GetProviderConfigReference of this ExperimentTemplate.

func (*ExperimentTemplate) GetProviderReference

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

GetProviderReference of this ExperimentTemplate. Deprecated: Use GetProviderConfigReference.

func (*ExperimentTemplate) GetPublishConnectionDetailsTo

func (mg *ExperimentTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ExperimentTemplate.

func (*ExperimentTemplate) GetTerraformResourceType

func (mg *ExperimentTemplate) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ExperimentTemplate

func (*ExperimentTemplate) GetTerraformSchemaVersion

func (tr *ExperimentTemplate) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ExperimentTemplate) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ExperimentTemplate.

func (*ExperimentTemplate) LateInitialize

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

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

func (*ExperimentTemplate) ResolveReferences

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

ResolveReferences of this ExperimentTemplate.

func (*ExperimentTemplate) SetConditions

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

SetConditions of this ExperimentTemplate.

func (*ExperimentTemplate) SetDeletionPolicy

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

SetDeletionPolicy of this ExperimentTemplate.

func (*ExperimentTemplate) SetObservation

func (tr *ExperimentTemplate) SetObservation(obs map[string]any) error

SetObservation for this ExperimentTemplate

func (*ExperimentTemplate) SetParameters

func (tr *ExperimentTemplate) SetParameters(params map[string]any) error

SetParameters for this ExperimentTemplate

func (*ExperimentTemplate) SetProviderConfigReference

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

SetProviderConfigReference of this ExperimentTemplate.

func (*ExperimentTemplate) SetProviderReference

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

SetProviderReference of this ExperimentTemplate. Deprecated: Use SetProviderConfigReference.

func (*ExperimentTemplate) SetPublishConnectionDetailsTo

func (mg *ExperimentTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ExperimentTemplate.

func (*ExperimentTemplate) SetWriteConnectionSecretToReference

func (mg *ExperimentTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ExperimentTemplate.

type ExperimentTemplateList

type ExperimentTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ExperimentTemplate `json:"items"`
}

ExperimentTemplateList contains a list of ExperimentTemplates

func (*ExperimentTemplateList) DeepCopy

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

func (*ExperimentTemplateList) DeepCopyInto

func (in *ExperimentTemplateList) DeepCopyInto(out *ExperimentTemplateList)

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

func (*ExperimentTemplateList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ExperimentTemplateList) GetItems

func (l *ExperimentTemplateList) GetItems() []resource.Managed

GetItems of this ExperimentTemplateList.

type ExperimentTemplateObservation

type ExperimentTemplateObservation struct {

	// Experiment Template ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*ExperimentTemplateObservation) DeepCopy

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

func (*ExperimentTemplateObservation) DeepCopyInto

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

type ExperimentTemplateParameters

type ExperimentTemplateParameters struct {

	// Action to be performed during an experiment. See below.
	// +kubebuilder:validation:Required
	Action []ActionParameters `json:"action" tf:"action,omitempty"`

	// Description for the experiment template.
	// +kubebuilder:validation:Required
	Description *string `json:"description" tf:"description,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// ARN of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// When an ongoing experiment should be stopped. See below.
	// +kubebuilder:validation:Required
	StopCondition []StopConditionParameters `json:"stopCondition" tf:"stop_condition,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Target of an action. See below.
	// +kubebuilder:validation:Optional
	Target []ExperimentTemplateTargetParameters `json:"target,omitempty" tf:"target,omitempty"`
}

func (*ExperimentTemplateParameters) DeepCopy

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

func (*ExperimentTemplateParameters) DeepCopyInto

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

type ExperimentTemplateSpec

type ExperimentTemplateSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ExperimentTemplateParameters `json:"forProvider"`
}

ExperimentTemplateSpec defines the desired state of ExperimentTemplate

func (*ExperimentTemplateSpec) DeepCopy

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

func (*ExperimentTemplateSpec) DeepCopyInto

func (in *ExperimentTemplateSpec) DeepCopyInto(out *ExperimentTemplateSpec)

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

type ExperimentTemplateStatus

type ExperimentTemplateStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ExperimentTemplateObservation `json:"atProvider,omitempty"`
}

ExperimentTemplateStatus defines the observed state of ExperimentTemplate.

func (*ExperimentTemplateStatus) DeepCopy

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

func (*ExperimentTemplateStatus) DeepCopyInto

func (in *ExperimentTemplateStatus) DeepCopyInto(out *ExperimentTemplateStatus)

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

type ExperimentTemplateTargetObservation

type ExperimentTemplateTargetObservation struct {
}

func (*ExperimentTemplateTargetObservation) DeepCopy

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

func (*ExperimentTemplateTargetObservation) DeepCopyInto

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

type ExperimentTemplateTargetParameters

type ExperimentTemplateTargetParameters struct {

	// Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below.
	// +kubebuilder:validation:Optional
	Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"`

	// Friendly name given to the target.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Set of ARNs of the resources to target with an action. Conflicts with resource_tag.
	// +kubebuilder:validation:Optional
	ResourceArns []*string `json:"resourceArns,omitempty" tf:"resource_arns,omitempty"`

	// Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resource_arns. See below.
	// +kubebuilder:validation:Optional
	ResourceTag []ResourceTagParameters `json:"resourceTag,omitempty" tf:"resource_tag,omitempty"`

	// AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS.
	// +kubebuilder:validation:Required
	ResourceType *string `json:"resourceType" tf:"resource_type,omitempty"`

	// Scopes the identified resources. Valid values are ALL (all identified resources), COUNT(n) (randomly select n of the identified resources), PERCENT(n) (randomly select n percent of the identified resources).
	// +kubebuilder:validation:Required
	SelectionMode *string `json:"selectionMode" tf:"selection_mode,omitempty"`
}

func (*ExperimentTemplateTargetParameters) DeepCopy

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

func (*ExperimentTemplateTargetParameters) DeepCopyInto

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

type FilterObservation

type FilterObservation struct {
}

func (*FilterObservation) DeepCopy

func (in *FilterObservation) DeepCopy() *FilterObservation

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

func (*FilterObservation) DeepCopyInto

func (in *FilterObservation) DeepCopyInto(out *FilterObservation)

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

type FilterParameters

type FilterParameters struct {

	// Attribute path for the filter.
	// +kubebuilder:validation:Required
	Path *string `json:"path" tf:"path,omitempty"`

	// Set of attribute values for the filter.
	// +kubebuilder:validation:Required
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*FilterParameters) DeepCopy

func (in *FilterParameters) DeepCopy() *FilterParameters

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

func (*FilterParameters) DeepCopyInto

func (in *FilterParameters) DeepCopyInto(out *FilterParameters)

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

type ParameterObservation

type ParameterObservation struct {
}

func (*ParameterObservation) DeepCopy

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

func (*ParameterObservation) DeepCopyInto

func (in *ParameterObservation) DeepCopyInto(out *ParameterObservation)

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

type ParameterParameters

type ParameterParameters struct {

	// Parameter name.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Parameter value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*ParameterParameters) DeepCopy

func (in *ParameterParameters) DeepCopy() *ParameterParameters

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

func (*ParameterParameters) DeepCopyInto

func (in *ParameterParameters) DeepCopyInto(out *ParameterParameters)

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

type ResourceTagObservation

type ResourceTagObservation struct {
}

func (*ResourceTagObservation) DeepCopy

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

func (*ResourceTagObservation) DeepCopyInto

func (in *ResourceTagObservation) DeepCopyInto(out *ResourceTagObservation)

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

type ResourceTagParameters

type ResourceTagParameters struct {

	// Tag key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Tag value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*ResourceTagParameters) DeepCopy

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

func (*ResourceTagParameters) DeepCopyInto

func (in *ResourceTagParameters) DeepCopyInto(out *ResourceTagParameters)

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

type StopConditionObservation

type StopConditionObservation struct {
}

func (*StopConditionObservation) DeepCopy

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

func (*StopConditionObservation) DeepCopyInto

func (in *StopConditionObservation) DeepCopyInto(out *StopConditionObservation)

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

type StopConditionParameters

type StopConditionParameters struct {

	// Source of the condition. One of none, aws:cloudwatch:alarm.
	// +kubebuilder:validation:Required
	Source *string `json:"source" tf:"source,omitempty"`

	// ARN of the CloudWatch alarm. Required if the source is a CloudWatch alarm.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*StopConditionParameters) DeepCopy

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

func (*StopConditionParameters) DeepCopyInto

func (in *StopConditionParameters) DeepCopyInto(out *StopConditionParameters)

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

type TargetObservation

type TargetObservation struct {
}

func (*TargetObservation) DeepCopy

func (in *TargetObservation) DeepCopy() *TargetObservation

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

func (*TargetObservation) DeepCopyInto

func (in *TargetObservation) DeepCopyInto(out *TargetObservation)

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

type TargetParameters

type TargetParameters struct {

	// Tag key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Target name, referencing a corresponding target.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TargetParameters) DeepCopy

func (in *TargetParameters) DeepCopy() *TargetParameters

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

func (*TargetParameters) DeepCopyInto

func (in *TargetParameters) DeepCopyInto(out *TargetParameters)

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