v1beta2

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=devicefarm.aws.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "devicefarm.aws.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

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
)
View Source
var (
	TestGridProject_Kind             = "TestGridProject"
	TestGridProject_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TestGridProject_Kind}.String()
	TestGridProject_KindAPIVersion   = TestGridProject_Kind + "." + CRDGroupVersion.String()
	TestGridProject_GroupVersionKind = CRDGroupVersion.WithKind(TestGridProject_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type TestGridProject

type TestGridProject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   TestGridProjectSpec   `json:"spec"`
	Status TestGridProjectStatus `json:"status,omitempty"`
}

TestGridProject is the Schema for the TestGridProjects API. Provides a Devicefarm test_grid_project +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*TestGridProject) DeepCopy

func (in *TestGridProject) DeepCopy() *TestGridProject

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

func (*TestGridProject) DeepCopyInto

func (in *TestGridProject) DeepCopyInto(out *TestGridProject)

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

func (*TestGridProject) DeepCopyObject

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

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

func (*TestGridProject) GetCondition

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

GetCondition of this TestGridProject.

func (*TestGridProject) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TestGridProject

func (*TestGridProject) GetDeletionPolicy

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

GetDeletionPolicy of this TestGridProject.

func (*TestGridProject) GetID

func (tr *TestGridProject) GetID() string

GetID returns ID of underlying Terraform resource of this TestGridProject

func (*TestGridProject) GetInitParameters

func (tr *TestGridProject) GetInitParameters() (map[string]any, error)

GetInitParameters of this TestGridProject

func (*TestGridProject) GetManagementPolicies

func (mg *TestGridProject) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this TestGridProject.

func (*TestGridProject) GetMergedParameters

func (tr *TestGridProject) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this TestGridProject

func (*TestGridProject) GetObservation

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

GetObservation of this TestGridProject

func (*TestGridProject) GetParameters

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

GetParameters of this TestGridProject

func (*TestGridProject) GetProviderConfigReference

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

GetProviderConfigReference of this TestGridProject.

func (*TestGridProject) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TestGridProject.

func (*TestGridProject) GetTerraformResourceType

func (mg *TestGridProject) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TestGridProject

func (*TestGridProject) GetTerraformSchemaVersion

func (tr *TestGridProject) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TestGridProject) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TestGridProject.

func (*TestGridProject) Hub

func (tr *TestGridProject) Hub()

Hub marks this type as a conversion hub.

func (*TestGridProject) LateInitialize

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

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

func (*TestGridProject) ResolveReferences

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

func (*TestGridProject) SetConditions

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

SetConditions of this TestGridProject.

func (*TestGridProject) SetDeletionPolicy

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

SetDeletionPolicy of this TestGridProject.

func (*TestGridProject) SetManagementPolicies

func (mg *TestGridProject) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this TestGridProject.

func (*TestGridProject) SetObservation

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

SetObservation for this TestGridProject

func (*TestGridProject) SetParameters

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

SetParameters for this TestGridProject

func (*TestGridProject) SetProviderConfigReference

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

SetProviderConfigReference of this TestGridProject.

func (*TestGridProject) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TestGridProject.

func (*TestGridProject) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TestGridProject.

type TestGridProjectInitParameters

type TestGridProjectInitParameters struct {

	// Human-readable description of the project.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the Selenium testing project.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The VPC security groups and subnets that are attached to a project. See VPC Config below.
	VPCConfig *VPCConfigInitParameters `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`
}

func (*TestGridProjectInitParameters) DeepCopy

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

func (*TestGridProjectInitParameters) DeepCopyInto

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

type TestGridProjectList

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

TestGridProjectList contains a list of TestGridProjects

func (*TestGridProjectList) DeepCopy

func (in *TestGridProjectList) DeepCopy() *TestGridProjectList

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

func (*TestGridProjectList) DeepCopyInto

func (in *TestGridProjectList) DeepCopyInto(out *TestGridProjectList)

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

func (*TestGridProjectList) DeepCopyObject

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

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

func (*TestGridProjectList) GetItems

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

GetItems of this TestGridProjectList.

type TestGridProjectObservation

type TestGridProjectObservation struct {

	// The Amazon Resource Name of this Test Grid Project.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Human-readable description of the project.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the Selenium testing project.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The VPC security groups and subnets that are attached to a project. See VPC Config below.
	VPCConfig *VPCConfigObservation `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`
}

func (*TestGridProjectObservation) DeepCopy

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

func (*TestGridProjectObservation) DeepCopyInto

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

type TestGridProjectParameters

type TestGridProjectParameters struct {

	// Human-readable description of the project.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the Selenium testing project.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,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:"-"`

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

	// The VPC security groups and subnets that are attached to a project. See VPC Config below.
	// +kubebuilder:validation:Optional
	VPCConfig *VPCConfigParameters `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`
}

func (*TestGridProjectParameters) DeepCopy

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

func (*TestGridProjectParameters) DeepCopyInto

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

type TestGridProjectSpec

type TestGridProjectSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TestGridProjectParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider TestGridProjectInitParameters `json:"initProvider,omitempty"`
}

TestGridProjectSpec defines the desired state of TestGridProject

func (*TestGridProjectSpec) DeepCopy

func (in *TestGridProjectSpec) DeepCopy() *TestGridProjectSpec

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

func (*TestGridProjectSpec) DeepCopyInto

func (in *TestGridProjectSpec) DeepCopyInto(out *TestGridProjectSpec)

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

type TestGridProjectStatus

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

TestGridProjectStatus defines the observed state of TestGridProject.

func (*TestGridProjectStatus) DeepCopy

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

func (*TestGridProjectStatus) DeepCopyInto

func (in *TestGridProjectStatus) DeepCopyInto(out *TestGridProjectStatus)

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

type VPCConfigInitParameters

type VPCConfigInitParameters struct {

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// A list of VPC security group IDs in your Amazon VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// A list of VPC subnet IDs in your Amazon VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The ID of the Amazon VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

func (*VPCConfigInitParameters) DeepCopy

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

func (*VPCConfigInitParameters) DeepCopyInto

func (in *VPCConfigInitParameters) DeepCopyInto(out *VPCConfigInitParameters)

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

type VPCConfigObservation

type VPCConfigObservation struct {

	// A list of VPC security group IDs in your Amazon VPC.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// A list of VPC subnet IDs in your Amazon VPC.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The ID of the Amazon VPC.
	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 {

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// A list of VPC security group IDs in your Amazon VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// A list of VPC subnet IDs in your Amazon VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The ID of the Amazon VPC.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.VPC
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in ec2 to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

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