v1beta1

package
v1.7.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CustomProvider_Kind             = "CustomProvider"
	CustomProvider_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomProvider_Kind}.String()
	CustomProvider_KindAPIVersion   = CustomProvider_Kind + "." + CRDGroupVersion.String()
	CustomProvider_GroupVersionKind = CRDGroupVersion.WithKind(CustomProvider_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 ActionInitParameters added in v0.35.0

type ActionInitParameters struct {

	// Specifies the endpoint of the action.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the name of the action.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ActionInitParameters) DeepCopy added in v0.35.0

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

func (*ActionInitParameters) DeepCopyInto added in v0.35.0

func (in *ActionInitParameters) DeepCopyInto(out *ActionInitParameters)

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

type ActionObservation

type ActionObservation struct {

	// Specifies the endpoint of the action.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the name of the action.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

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 {

	// Specifies the endpoint of the action.
	// +kubebuilder:validation:Optional
	Endpoint *string `json:"endpoint" tf:"endpoint,omitempty"`

	// Specifies the name of the action.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,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 CustomProvider

type CustomProvider 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   CustomProviderSpec   `json:"spec"`
	Status CustomProviderStatus `json:"status,omitempty"`
}

CustomProvider is the Schema for the CustomProviders API. Manages an Azure Custom Provider. +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 (*CustomProvider) DeepCopy

func (in *CustomProvider) DeepCopy() *CustomProvider

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

func (*CustomProvider) DeepCopyInto

func (in *CustomProvider) DeepCopyInto(out *CustomProvider)

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

func (*CustomProvider) DeepCopyObject

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

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

func (*CustomProvider) GetCondition

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

GetCondition of this CustomProvider.

func (*CustomProvider) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CustomProvider

func (*CustomProvider) GetDeletionPolicy

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

GetDeletionPolicy of this CustomProvider.

func (*CustomProvider) GetID

func (tr *CustomProvider) GetID() string

GetID returns ID of underlying Terraform resource of this CustomProvider

func (*CustomProvider) GetInitParameters added in v0.35.0

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

GetInitParameters of this CustomProvider

func (*CustomProvider) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this CustomProvider.

func (*CustomProvider) GetMergedParameters added in v0.40.0

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

GetInitParameters of this CustomProvider

func (*CustomProvider) GetObservation

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

GetObservation of this CustomProvider

func (*CustomProvider) GetParameters

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

GetParameters of this CustomProvider

func (*CustomProvider) GetProviderConfigReference

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

GetProviderConfigReference of this CustomProvider.

func (*CustomProvider) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CustomProvider.

func (*CustomProvider) GetTerraformResourceType

func (mg *CustomProvider) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomProvider

func (*CustomProvider) GetTerraformSchemaVersion

func (tr *CustomProvider) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomProvider) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CustomProvider.

func (*CustomProvider) Hub added in v0.42.1

func (tr *CustomProvider) Hub()

Hub marks this type as a conversion hub.

func (*CustomProvider) LateInitialize

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

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

func (*CustomProvider) ResolveReferences

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

func (*CustomProvider) SetConditions

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

SetConditions of this CustomProvider.

func (*CustomProvider) SetDeletionPolicy

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

SetDeletionPolicy of this CustomProvider.

func (*CustomProvider) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this CustomProvider.

func (*CustomProvider) SetObservation

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

SetObservation for this CustomProvider

func (*CustomProvider) SetParameters

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

SetParameters for this CustomProvider

func (*CustomProvider) SetProviderConfigReference

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

SetProviderConfigReference of this CustomProvider.

func (*CustomProvider) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CustomProvider.

func (*CustomProvider) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CustomProvider.

type CustomProviderInitParameters added in v0.35.0

type CustomProviderInitParameters struct {

	// Any number of action block as defined below. One of resource_type or action must be specified.
	Action []ActionInitParameters `json:"action,omitempty" tf:"action,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Any number of resource_type block as defined below. One of resource_type or action must be specified.
	ResourceType []ResourceTypeInitParameters `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Any number of validation block as defined below.
	Validation []ValidationInitParameters `json:"validation,omitempty" tf:"validation,omitempty"`
}

func (*CustomProviderInitParameters) DeepCopy added in v0.35.0

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

func (*CustomProviderInitParameters) DeepCopyInto added in v0.35.0

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

type CustomProviderList

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

CustomProviderList contains a list of CustomProviders

func (*CustomProviderList) DeepCopy

func (in *CustomProviderList) DeepCopy() *CustomProviderList

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

func (*CustomProviderList) DeepCopyInto

func (in *CustomProviderList) DeepCopyInto(out *CustomProviderList)

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

func (*CustomProviderList) DeepCopyObject

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

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

func (*CustomProviderList) GetItems

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

GetItems of this CustomProviderList.

type CustomProviderObservation

type CustomProviderObservation struct {

	// Any number of action block as defined below. One of resource_type or action must be specified.
	Action []ActionObservation `json:"action,omitempty" tf:"action,omitempty"`

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

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the resource group in which to create the Custom Provider. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Any number of resource_type block as defined below. One of resource_type or action must be specified.
	ResourceType []ResourceTypeObservation `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Any number of validation block as defined below.
	Validation []ValidationObservation `json:"validation,omitempty" tf:"validation,omitempty"`
}

func (*CustomProviderObservation) DeepCopy

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

func (*CustomProviderObservation) DeepCopyInto

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

type CustomProviderParameters

type CustomProviderParameters struct {

	// Any number of action block as defined below. One of resource_type or action must be specified.
	// +kubebuilder:validation:Optional
	Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the resource group in which to create the Custom Provider. Changing this forces a new resource 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:"-"`

	// Any number of resource_type block as defined below. One of resource_type or action must be specified.
	// +kubebuilder:validation:Optional
	ResourceType []ResourceTypeParameters `json:"resourceType,omitempty" tf:"resource_type,omitempty"`

	// A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Any number of validation block as defined below.
	// +kubebuilder:validation:Optional
	Validation []ValidationParameters `json:"validation,omitempty" tf:"validation,omitempty"`
}

func (*CustomProviderParameters) DeepCopy

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

func (*CustomProviderParameters) DeepCopyInto

func (in *CustomProviderParameters) DeepCopyInto(out *CustomProviderParameters)

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

type CustomProviderSpec

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

CustomProviderSpec defines the desired state of CustomProvider

func (*CustomProviderSpec) DeepCopy

func (in *CustomProviderSpec) DeepCopy() *CustomProviderSpec

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

func (*CustomProviderSpec) DeepCopyInto

func (in *CustomProviderSpec) DeepCopyInto(out *CustomProviderSpec)

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

type CustomProviderStatus

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

CustomProviderStatus defines the observed state of CustomProvider.

func (*CustomProviderStatus) DeepCopy

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

func (*CustomProviderStatus) DeepCopyInto

func (in *CustomProviderStatus) DeepCopyInto(out *CustomProviderStatus)

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

type ResourceTypeInitParameters added in v0.35.0

type ResourceTypeInitParameters struct {

	// Specifies the endpoint of the route definition.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the name of the route definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The routing type that is supported for the resource request. Valid values are Proxy and Proxy,Cache. Defaults to Proxy.
	RoutingType *string `json:"routingType,omitempty" tf:"routing_type,omitempty"`
}

func (*ResourceTypeInitParameters) DeepCopy added in v0.35.0

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

func (*ResourceTypeInitParameters) DeepCopyInto added in v0.35.0

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

type ResourceTypeObservation

type ResourceTypeObservation struct {

	// Specifies the endpoint of the route definition.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Specifies the name of the route definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The routing type that is supported for the resource request. Valid values are Proxy and Proxy,Cache. Defaults to Proxy.
	RoutingType *string `json:"routingType,omitempty" tf:"routing_type,omitempty"`
}

func (*ResourceTypeObservation) DeepCopy

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

func (*ResourceTypeObservation) DeepCopyInto

func (in *ResourceTypeObservation) DeepCopyInto(out *ResourceTypeObservation)

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

type ResourceTypeParameters

type ResourceTypeParameters struct {

	// Specifies the endpoint of the route definition.
	// +kubebuilder:validation:Optional
	Endpoint *string `json:"endpoint" tf:"endpoint,omitempty"`

	// Specifies the name of the route definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The routing type that is supported for the resource request. Valid values are Proxy and Proxy,Cache. Defaults to Proxy.
	// +kubebuilder:validation:Optional
	RoutingType *string `json:"routingType,omitempty" tf:"routing_type,omitempty"`
}

func (*ResourceTypeParameters) DeepCopy

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

func (*ResourceTypeParameters) DeepCopyInto

func (in *ResourceTypeParameters) DeepCopyInto(out *ResourceTypeParameters)

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

type ValidationInitParameters added in v0.35.0

type ValidationInitParameters struct {

	// The endpoint where the validation specification is located.
	Specification *string `json:"specification,omitempty" tf:"specification,omitempty"`
}

func (*ValidationInitParameters) DeepCopy added in v0.35.0

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

func (*ValidationInitParameters) DeepCopyInto added in v0.35.0

func (in *ValidationInitParameters) DeepCopyInto(out *ValidationInitParameters)

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

type ValidationObservation

type ValidationObservation struct {

	// The endpoint where the validation specification is located.
	Specification *string `json:"specification,omitempty" tf:"specification,omitempty"`
}

func (*ValidationObservation) DeepCopy

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

func (*ValidationObservation) DeepCopyInto

func (in *ValidationObservation) DeepCopyInto(out *ValidationObservation)

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

type ValidationParameters

type ValidationParameters struct {

	// The endpoint where the validation specification is located.
	// +kubebuilder:validation:Optional
	Specification *string `json:"specification" tf:"specification,omitempty"`
}

func (*ValidationParameters) DeepCopy

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

func (*ValidationParameters) DeepCopyInto

func (in *ValidationParameters) DeepCopyInto(out *ValidationParameters)

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