v1beta1

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=loadtestservice.azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "loadtestservice.azure.upbound.io"
	CRDVersion = "v1beta1"
)

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 (
	LoadTest_Kind             = "LoadTest"
	LoadTest_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LoadTest_Kind}.String()
	LoadTest_KindAPIVersion   = LoadTest_Kind + "." + CRDGroupVersion.String()
	LoadTest_GroupVersionKind = CRDGroupVersion.WithKind(LoadTest_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IdentityInitParameters

type IdentityInitParameters struct {

	// A list of the User Assigned Identity IDs that should be assigned to this Load Test.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Identity that should be assigned to this Load Test. Possible values are SystemAssigned, SystemAssigned, UserAssigned and UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityInitParameters) DeepCopy

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

func (*IdentityInitParameters) DeepCopyInto

func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)

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

type IdentityObservation

type IdentityObservation struct {

	// A list of the User Assigned Identity IDs that should be assigned to this Load Test.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Principal ID for the System-Assigned Managed Identity assigned to this Load Test.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID for the System-Assigned Managed Identity assigned to this Load Test.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// Specifies the type of Managed Identity that should be assigned to this Load Test. Possible values are SystemAssigned, SystemAssigned, UserAssigned and UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityObservation) DeepCopy

func (in *IdentityObservation) DeepCopy() *IdentityObservation

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

func (*IdentityObservation) DeepCopyInto

func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)

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

type IdentityParameters

type IdentityParameters struct {

	// A list of the User Assigned Identity IDs that should be assigned to this Load Test.
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Identity that should be assigned to this Load Test. Possible values are SystemAssigned, SystemAssigned, UserAssigned and UserAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IdentityParameters) DeepCopy

func (in *IdentityParameters) DeepCopy() *IdentityParameters

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

func (*IdentityParameters) DeepCopyInto

func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)

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

type LoadTest

type LoadTest 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.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	Spec   LoadTestSpec   `json:"spec"`
	Status LoadTestStatus `json:"status,omitempty"`
}

LoadTest is the Schema for the LoadTests API. Manages a Load Test. +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,azure}

func (*LoadTest) DeepCopy

func (in *LoadTest) DeepCopy() *LoadTest

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

func (*LoadTest) DeepCopyInto

func (in *LoadTest) DeepCopyInto(out *LoadTest)

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

func (*LoadTest) DeepCopyObject

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

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

func (*LoadTest) GetCondition

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

GetCondition of this LoadTest.

func (*LoadTest) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LoadTest

func (*LoadTest) GetDeletionPolicy

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

GetDeletionPolicy of this LoadTest.

func (*LoadTest) GetID

func (tr *LoadTest) GetID() string

GetID returns ID of underlying Terraform resource of this LoadTest

func (*LoadTest) GetInitParameters

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

GetInitParameters of this LoadTest

func (*LoadTest) GetManagementPolicies

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

GetManagementPolicies of this LoadTest.

func (*LoadTest) GetMergedParameters added in v0.40.0

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

GetInitParameters of this LoadTest

func (*LoadTest) GetObservation

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

GetObservation of this LoadTest

func (*LoadTest) GetParameters

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

GetParameters of this LoadTest

func (*LoadTest) GetProviderConfigReference

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

GetProviderConfigReference of this LoadTest.

func (*LoadTest) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LoadTest.

func (*LoadTest) GetTerraformResourceType

func (mg *LoadTest) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LoadTest

func (*LoadTest) GetTerraformSchemaVersion

func (tr *LoadTest) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LoadTest) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LoadTest.

func (*LoadTest) Hub added in v0.42.1

func (tr *LoadTest) Hub()

Hub marks this type as a conversion hub.

func (*LoadTest) LateInitialize

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

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

func (*LoadTest) ResolveReferences

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

func (*LoadTest) SetConditions

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

SetConditions of this LoadTest.

func (*LoadTest) SetDeletionPolicy

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

SetDeletionPolicy of this LoadTest.

func (*LoadTest) SetManagementPolicies

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

SetManagementPolicies of this LoadTest.

func (*LoadTest) SetObservation

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

SetObservation for this LoadTest

func (*LoadTest) SetParameters

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

SetParameters for this LoadTest

func (*LoadTest) SetProviderConfigReference

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

SetProviderConfigReference of this LoadTest.

func (*LoadTest) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LoadTest.

func (*LoadTest) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LoadTest.

type LoadTestInitParameters

type LoadTestInitParameters struct {

	// Description of the resource. Changing this forces a new Load Test to be created.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// An identity block as defined below. Specifies the Managed Identity which should be assigned to this Load Test.
	Identity []IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A mapping of tags which should be assigned to the Load Test.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LoadTestInitParameters) DeepCopy

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

func (*LoadTestInitParameters) DeepCopyInto

func (in *LoadTestInitParameters) DeepCopyInto(out *LoadTestInitParameters)

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

type LoadTestList

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

LoadTestList contains a list of LoadTests

func (*LoadTestList) DeepCopy

func (in *LoadTestList) DeepCopy() *LoadTestList

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

func (*LoadTestList) DeepCopyInto

func (in *LoadTestList) DeepCopyInto(out *LoadTestList)

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

func (*LoadTestList) DeepCopyObject

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

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

func (*LoadTestList) GetItems

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

GetItems of this LoadTestList.

type LoadTestObservation

type LoadTestObservation struct {

	// Resource data plane URI.
	DataPlaneURI *string `json:"dataPlaneUri,omitempty" tf:"data_plane_uri,omitempty"`

	// Description of the resource. Changing this forces a new Load Test to be created.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the Load Test.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below. Specifies the Managed Identity which should be assigned to this Load Test.
	Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the name of the Resource Group within which this Load Test should exist. Changing this forces a new Load Test to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// A mapping of tags which should be assigned to the Load Test.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LoadTestObservation) DeepCopy

func (in *LoadTestObservation) DeepCopy() *LoadTestObservation

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

func (*LoadTestObservation) DeepCopyInto

func (in *LoadTestObservation) DeepCopyInto(out *LoadTestObservation)

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

type LoadTestParameters

type LoadTestParameters struct {

	// Description of the resource. Changing this forces a new Load Test to be created.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// An identity block as defined below. Specifies the Managed Identity which should be assigned to this Load Test.
	// +kubebuilder:validation:Optional
	Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Load Test should exist. Changing this forces a new Load Test to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the name of the Resource Group within which this Load Test should exist. Changing this forces a new Load Test to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// A mapping of tags which should be assigned to the Load Test.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LoadTestParameters) DeepCopy

func (in *LoadTestParameters) DeepCopy() *LoadTestParameters

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

func (*LoadTestParameters) DeepCopyInto

func (in *LoadTestParameters) DeepCopyInto(out *LoadTestParameters)

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

type LoadTestSpec

type LoadTestSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LoadTestParameters `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 LoadTestInitParameters `json:"initProvider,omitempty"`
}

LoadTestSpec defines the desired state of LoadTest

func (*LoadTestSpec) DeepCopy

func (in *LoadTestSpec) DeepCopy() *LoadTestSpec

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

func (*LoadTestSpec) DeepCopyInto

func (in *LoadTestSpec) DeepCopyInto(out *LoadTestSpec)

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

type LoadTestStatus

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

LoadTestStatus defines the observed state of LoadTest.

func (*LoadTestStatus) DeepCopy

func (in *LoadTestStatus) DeepCopy() *LoadTestStatus

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

func (*LoadTestStatus) DeepCopyInto

func (in *LoadTestStatus) DeepCopyInto(out *LoadTestStatus)

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