v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=apishield.cloudflare.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "apishield.cloudflare.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	APIShield_Kind             = "APIShield"
	APIShield_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: APIShield_Kind}.String()
	APIShield_KindAPIVersion   = APIShield_Kind + "." + CRDGroupVersion.String()
	APIShield_GroupVersionKind = CRDGroupVersion.WithKind(APIShield_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 APIShield

type APIShield struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              APIShieldSpec   `json:"spec"`
	Status            APIShieldStatus `json:"status,omitempty"`
}

APIShield is the Schema for the APIShields API. <no value> +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,cloudflare}

func (*APIShield) DeepCopy

func (in *APIShield) DeepCopy() *APIShield

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

func (*APIShield) DeepCopyInto

func (in *APIShield) DeepCopyInto(out *APIShield)

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

func (*APIShield) DeepCopyObject

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

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

func (*APIShield) GetCondition

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

GetCondition of this APIShield.

func (*APIShield) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this APIShield

func (*APIShield) GetDeletionPolicy

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

GetDeletionPolicy of this APIShield.

func (*APIShield) GetID

func (tr *APIShield) GetID() string

GetID returns ID of underlying Terraform resource of this APIShield

func (*APIShield) GetObservation

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

GetObservation of this APIShield

func (*APIShield) GetParameters

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

GetParameters of this APIShield

func (*APIShield) GetProviderConfigReference

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

GetProviderConfigReference of this APIShield.

func (*APIShield) GetProviderReference

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

GetProviderReference of this APIShield. Deprecated: Use GetProviderConfigReference.

func (*APIShield) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this APIShield.

func (*APIShield) GetTerraformResourceType

func (mg *APIShield) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this APIShield

func (*APIShield) GetTerraformSchemaVersion

func (tr *APIShield) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*APIShield) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this APIShield.

func (*APIShield) LateInitialize

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

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

func (*APIShield) ResolveReferences

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

ResolveReferences of this APIShield.

func (*APIShield) SetConditions

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

SetConditions of this APIShield.

func (*APIShield) SetDeletionPolicy

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

SetDeletionPolicy of this APIShield.

func (*APIShield) SetObservation

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

SetObservation for this APIShield

func (*APIShield) SetParameters

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

SetParameters for this APIShield

func (*APIShield) SetProviderConfigReference

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

SetProviderConfigReference of this APIShield.

func (*APIShield) SetProviderReference

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

SetProviderReference of this APIShield. Deprecated: Use SetProviderConfigReference.

func (*APIShield) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this APIShield.

func (*APIShield) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this APIShield.

type APIShieldList

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

APIShieldList contains a list of APIShields

func (*APIShieldList) DeepCopy

func (in *APIShieldList) DeepCopy() *APIShieldList

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

func (*APIShieldList) DeepCopyInto

func (in *APIShieldList) DeepCopyInto(out *APIShieldList)

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

func (*APIShieldList) DeepCopyObject

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

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

func (*APIShieldList) GetItems

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

GetItems of this APIShieldList.

type APIShieldObservation

type APIShieldObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*APIShieldObservation) DeepCopy

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

func (*APIShieldObservation) DeepCopyInto

func (in *APIShieldObservation) DeepCopyInto(out *APIShieldObservation)

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

type APIShieldParameters

type APIShieldParameters struct {

	// Characteristics define properties across which auth-ids can be computed in a privacy-preserving manner.
	// +kubebuilder:validation:Optional
	AuthIDCharacteristics []AuthIDCharacteristicsParameters `json:"authIdCharacteristics,omitempty" tf:"auth_id_characteristics,omitempty"`

	// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/zone/v1alpha1.Zone
	// +kubebuilder:validation:Optional
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`

	// Reference to a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone in zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*APIShieldParameters) DeepCopy

func (in *APIShieldParameters) DeepCopy() *APIShieldParameters

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

func (*APIShieldParameters) DeepCopyInto

func (in *APIShieldParameters) DeepCopyInto(out *APIShieldParameters)

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

type APIShieldSpec

type APIShieldSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APIShieldParameters `json:"forProvider"`
}

APIShieldSpec defines the desired state of APIShield

func (*APIShieldSpec) DeepCopy

func (in *APIShieldSpec) DeepCopy() *APIShieldSpec

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

func (*APIShieldSpec) DeepCopyInto

func (in *APIShieldSpec) DeepCopyInto(out *APIShieldSpec)

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

type APIShieldStatus

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

APIShieldStatus defines the observed state of APIShield.

func (*APIShieldStatus) DeepCopy

func (in *APIShieldStatus) DeepCopy() *APIShieldStatus

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

func (*APIShieldStatus) DeepCopyInto

func (in *APIShieldStatus) DeepCopyInto(out *APIShieldStatus)

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

type AuthIDCharacteristicsObservation

type AuthIDCharacteristicsObservation struct {
}

func (*AuthIDCharacteristicsObservation) DeepCopy

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

func (*AuthIDCharacteristicsObservation) DeepCopyInto

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

type AuthIDCharacteristicsParameters

type AuthIDCharacteristicsParameters struct {

	// The name of the characteristic.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The type of characteristic. Available values: `header`, `cookie`.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*AuthIDCharacteristicsParameters) DeepCopy

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

func (*AuthIDCharacteristicsParameters) DeepCopyInto

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