v1alpha1

package
v0.4.0-preview Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "static.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 (
	Site_Kind             = "Site"
	Site_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Site_Kind}.String()
	Site_KindAPIVersion   = Site_Kind + "." + CRDGroupVersion.String()
	Site_GroupVersionKind = CRDGroupVersion.WithKind(Site_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Site

type Site struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SiteSpec   `json:"spec"`
	Status            SiteStatus `json:"status,omitempty"`
}

Site is the Schema for the Sites 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 (*Site) DeepCopy

func (in *Site) DeepCopy() *Site

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

func (*Site) DeepCopyInto

func (in *Site) DeepCopyInto(out *Site)

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

func (*Site) DeepCopyObject

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

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

func (*Site) GetCondition

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

GetCondition of this Site.

func (*Site) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Site

func (*Site) GetDeletionPolicy

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

GetDeletionPolicy of this Site.

func (*Site) GetObservation

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

GetObservation of this Site

func (*Site) GetParameters

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

GetParameters of this Site

func (*Site) GetProviderConfigReference

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

GetProviderConfigReference of this Site.

func (*Site) GetProviderReference

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

GetProviderReference of this Site. Deprecated: Use GetProviderConfigReference.

func (*Site) GetTerraformResourceType

func (mg *Site) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Site

func (*Site) GetTerraformSchemaVersion

func (tr *Site) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Site) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Site.

func (*Site) LateInitialize

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

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

func (*Site) SetConditions

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

SetConditions of this Site.

func (*Site) SetDeletionPolicy

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

SetDeletionPolicy of this Site.

func (*Site) SetObservation

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

SetObservation for this Site

func (*Site) SetParameters

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

SetParameters for this Site

func (*Site) SetProviderConfigReference

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

SetProviderConfigReference of this Site.

func (*Site) SetProviderReference

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

SetProviderReference of this Site. Deprecated: Use SetProviderConfigReference.

func (*Site) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Site.

type SiteList

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

SiteList contains a list of Sites

func (*SiteList) DeepCopy

func (in *SiteList) DeepCopy() *SiteList

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

func (*SiteList) DeepCopyInto

func (in *SiteList) DeepCopyInto(out *SiteList)

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

func (*SiteList) DeepCopyObject

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

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

func (*SiteList) GetItems

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

GetItems of this SiteList.

type SiteObservation

type SiteObservation struct {
	APIKey *string `json:"apiKey,omitempty" tf:"api_key,omitempty"`

	DefaultHostName *string `json:"defaultHostName,omitempty" tf:"default_host_name,omitempty"`
}

func (*SiteObservation) DeepCopy

func (in *SiteObservation) DeepCopy() *SiteObservation

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

func (*SiteObservation) DeepCopyInto

func (in *SiteObservation) DeepCopyInto(out *SiteObservation)

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

type SiteParameters

type SiteParameters struct {

	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"`

	// +kubebuilder:validation:Optional
	SkuSize *string `json:"skuSize,omitempty" tf:"sku_size,omitempty"`

	// +kubebuilder:validation:Optional
	SkuTier *string `json:"skuTier,omitempty" tf:"sku_tier,omitempty"`

	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*SiteParameters) DeepCopy

func (in *SiteParameters) DeepCopy() *SiteParameters

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

func (*SiteParameters) DeepCopyInto

func (in *SiteParameters) DeepCopyInto(out *SiteParameters)

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

type SiteSpec

type SiteSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SiteParameters `json:"forProvider"`
}

SiteSpec defines the desired state of Site

func (*SiteSpec) DeepCopy

func (in *SiteSpec) DeepCopy() *SiteSpec

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

func (*SiteSpec) DeepCopyInto

func (in *SiteSpec) DeepCopyInto(out *SiteSpec)

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

type SiteStatus

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

SiteStatus defines the observed state of Site.

func (*SiteStatus) DeepCopy

func (in *SiteStatus) DeepCopy() *SiteStatus

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

func (*SiteStatus) DeepCopyInto

func (in *SiteStatus) DeepCopyInto(out *SiteStatus)

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