v1beta1

package
v0.31.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

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. Manages a Attestation Provider. +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,azure}

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]any, error)

GetObservation of this Provider

func (*Provider) GetParameters

func (tr *Provider) GetParameters() (map[string]any, 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) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Provider.

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]any) error

SetObservation for this Provider

func (*Provider) SetParameters

func (tr *Provider) SetParameters(params map[string]any) 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) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Provider.

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 {

	// The URI of the Attestation Service.
	AttestationURI *string `json:"attestationUri,omitempty" tf:"attestation_uri,omitempty"`

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

	// Trust model used for the Attestation Service.
	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 {

	// The Azure Region where the Attestation Provider should exist. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// A valid X.509 certificate (Section 4 of RFC4648). Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	PolicySigningCertificateData *string `json:"policySigningCertificateData,omitempty" tf:"policy_signing_certificate_data,omitempty"`

	// The name of the Resource Group where the attestation provider should exist. 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:"-"`

	// A mapping of tags which should be assigned to the Attestation Provider.
	// +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