v1alpha1

package
v0.8.0-preview Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "attestation.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 (
	Provider_Kind             = "Provider"
	Provider_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Provider_Kind}.String()
	Provider_KindAPIVersion   = Provider_Kind + "." + CRDGroupVersion.String()
	Provider_GroupVersionKind = CRDGroupVersion.WithKind(Provider_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProviderSpec   `json:"spec"`
	Status            ProviderStatus `json:"status,omitempty"`
}

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

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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

func (*Provider) DeepCopyObject

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

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

func (*Provider) GetCondition

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

GetCondition of this Provider.

func (*Provider) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Provider

func (*Provider) GetDeletionPolicy

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

GetDeletionPolicy of this Provider.

func (*Provider) GetID

func (tr *Provider) GetID() string

GetID returns ID of underlying Terraform resource of this Provider

func (*Provider) GetObservation

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

GetObservation of this Provider

func (*Provider) GetParameters

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

GetParameters of this Provider

func (*Provider) GetProviderConfigReference

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

GetProviderConfigReference of this Provider.

func (*Provider) GetProviderReference

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

GetProviderReference of this Provider. Deprecated: Use GetProviderConfigReference.

func (*Provider) GetTerraformResourceType

func (mg *Provider) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Provider

func (*Provider) GetTerraformSchemaVersion

func (tr *Provider) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Provider) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Provider.

func (*Provider) LateInitialize

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

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

func (*Provider) ResolveReferences

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

ResolveReferences of this Provider.

func (*Provider) SetConditions

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

SetConditions of this Provider.

func (*Provider) SetDeletionPolicy

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

SetDeletionPolicy of this Provider.

func (*Provider) SetObservation

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

SetObservation for this Provider

func (*Provider) SetParameters

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

SetParameters for this Provider

func (*Provider) SetProviderConfigReference

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

SetProviderConfigReference of this Provider.

func (*Provider) SetProviderReference

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

SetProviderReference of this Provider. Deprecated: Use SetProviderConfigReference.

func (*Provider) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Provider.

type ProviderList

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

ProviderList contains a list of Providers

func (*ProviderList) DeepCopy

func (in *ProviderList) DeepCopy() *ProviderList

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

func (*ProviderList) DeepCopyInto

func (in *ProviderList) DeepCopyInto(out *ProviderList)

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

func (*ProviderList) DeepCopyObject

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

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

func (*ProviderList) GetItems

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

GetItems of this ProviderList.

type ProviderObservation

type ProviderObservation struct {
	AttestationURI *string `json:"attestationUri,omitempty" tf:"attestation_uri,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	TrustModel *string `json:"trustModel,omitempty" tf:"trust_model,omitempty"`
}

func (*ProviderObservation) DeepCopy

func (in *ProviderObservation) DeepCopy() *ProviderObservation

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

func (*ProviderObservation) DeepCopyInto

func (in *ProviderObservation) DeepCopyInto(out *ProviderObservation)

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

type ProviderParameters

type ProviderParameters struct {

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

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

	// +kubebuilder:validation:Optional
	PolicySigningCertificateData *string `json:"policySigningCertificateData,omitempty" tf:"policy_signing_certificate_data,omitempty"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-azure/apis/azure/v1alpha2.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

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

func (*ProviderParameters) DeepCopy

func (in *ProviderParameters) DeepCopy() *ProviderParameters

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

func (*ProviderParameters) DeepCopyInto

func (in *ProviderParameters) DeepCopyInto(out *ProviderParameters)

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

type ProviderSpec

type ProviderSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProviderParameters `json:"forProvider"`
}

ProviderSpec defines the desired state of Provider

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

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

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

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

type ProviderStatus

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

ProviderStatus defines the observed state of Provider.

func (*ProviderStatus) DeepCopy

func (in *ProviderStatus) DeepCopy() *ProviderStatus

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

func (*ProviderStatus) DeepCopyInto

func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)

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