v1alpha1

package
v0.5.0-preview Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=advanced.azure.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "advanced.azure.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

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 (
	ThreatProtection_Kind             = "ThreatProtection"
	ThreatProtection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ThreatProtection_Kind}.String()
	ThreatProtection_KindAPIVersion   = ThreatProtection_Kind + "." + CRDGroupVersion.String()
	ThreatProtection_GroupVersionKind = CRDGroupVersion.WithKind(ThreatProtection_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ThreatProtection

type ThreatProtection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ThreatProtectionSpec   `json:"spec"`
	Status            ThreatProtectionStatus `json:"status,omitempty"`
}

ThreatProtection is the Schema for the ThreatProtections API +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,azurejet}

func (*ThreatProtection) DeepCopy

func (in *ThreatProtection) DeepCopy() *ThreatProtection

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

func (*ThreatProtection) DeepCopyInto

func (in *ThreatProtection) DeepCopyInto(out *ThreatProtection)

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

func (*ThreatProtection) DeepCopyObject

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

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

func (*ThreatProtection) GetCondition

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

GetCondition of this ThreatProtection.

func (*ThreatProtection) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ThreatProtection

func (*ThreatProtection) GetDeletionPolicy

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

GetDeletionPolicy of this ThreatProtection.

func (*ThreatProtection) GetID

func (tr *ThreatProtection) GetID() string

GetID returns ID of underlying Terraform resource of this ThreatProtection

func (*ThreatProtection) GetObservation

func (tr *ThreatProtection) GetObservation() (map[string]interface{}, error)

GetObservation of this ThreatProtection

func (*ThreatProtection) GetParameters

func (tr *ThreatProtection) GetParameters() (map[string]interface{}, error)

GetParameters of this ThreatProtection

func (*ThreatProtection) GetProviderConfigReference

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

GetProviderConfigReference of this ThreatProtection.

func (*ThreatProtection) GetProviderReference

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

GetProviderReference of this ThreatProtection. Deprecated: Use GetProviderConfigReference.

func (*ThreatProtection) GetTerraformResourceType

func (mg *ThreatProtection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ThreatProtection

func (*ThreatProtection) GetTerraformSchemaVersion

func (tr *ThreatProtection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ThreatProtection) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ThreatProtection.

func (*ThreatProtection) LateInitialize

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

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

func (*ThreatProtection) SetConditions

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

SetConditions of this ThreatProtection.

func (*ThreatProtection) SetDeletionPolicy

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

SetDeletionPolicy of this ThreatProtection.

func (*ThreatProtection) SetObservation

func (tr *ThreatProtection) SetObservation(obs map[string]interface{}) error

SetObservation for this ThreatProtection

func (*ThreatProtection) SetParameters

func (tr *ThreatProtection) SetParameters(params map[string]interface{}) error

SetParameters for this ThreatProtection

func (*ThreatProtection) SetProviderConfigReference

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

SetProviderConfigReference of this ThreatProtection.

func (*ThreatProtection) SetProviderReference

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

SetProviderReference of this ThreatProtection. Deprecated: Use SetProviderConfigReference.

func (*ThreatProtection) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ThreatProtection.

type ThreatProtectionList

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

ThreatProtectionList contains a list of ThreatProtections

func (*ThreatProtectionList) DeepCopy

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

func (*ThreatProtectionList) DeepCopyInto

func (in *ThreatProtectionList) DeepCopyInto(out *ThreatProtectionList)

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

func (*ThreatProtectionList) DeepCopyObject

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

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

func (*ThreatProtectionList) GetItems

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

GetItems of this ThreatProtectionList.

type ThreatProtectionObservation

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

func (*ThreatProtectionObservation) DeepCopy

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

func (*ThreatProtectionObservation) DeepCopyInto

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

type ThreatProtectionParameters

type ThreatProtectionParameters struct {

	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// +kubebuilder:validation:Required
	TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"`
}

func (*ThreatProtectionParameters) DeepCopy

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

func (*ThreatProtectionParameters) DeepCopyInto

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

type ThreatProtectionSpec

type ThreatProtectionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ThreatProtectionParameters `json:"forProvider"`
}

ThreatProtectionSpec defines the desired state of ThreatProtection

func (*ThreatProtectionSpec) DeepCopy

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

func (*ThreatProtectionSpec) DeepCopyInto

func (in *ThreatProtectionSpec) DeepCopyInto(out *ThreatProtectionSpec)

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

type ThreatProtectionStatus

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

ThreatProtectionStatus defines the observed state of ThreatProtection.

func (*ThreatProtectionStatus) DeepCopy

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

func (*ThreatProtectionStatus) DeepCopyInto

func (in *ThreatProtectionStatus) DeepCopyInto(out *ThreatProtectionStatus)

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