Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=attestation.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Provider
- func (in *Provider) DeepCopy() *Provider
- func (in *Provider) DeepCopyInto(out *Provider)
- func (in *Provider) DeepCopyObject() runtime.Object
- func (mg *Provider) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Provider) GetConnectionDetailsMapping() map[string]string
- func (mg *Provider) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Provider) GetID() string
- func (tr *Provider) GetObservation() (map[string]any, error)
- func (tr *Provider) GetParameters() (map[string]any, error)
- func (mg *Provider) GetProviderConfigReference() *xpv1.Reference
- func (mg *Provider) GetProviderReference() *xpv1.Reference
- func (mg *Provider) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Provider) GetTerraformResourceType() string
- func (tr *Provider) GetTerraformSchemaVersion() int
- func (mg *Provider) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Provider) LateInitialize(attrs []byte) (bool, error)
- func (mg *Provider) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Provider) SetConditions(c ...xpv1.Condition)
- func (mg *Provider) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Provider) SetObservation(obs map[string]any) error
- func (tr *Provider) SetParameters(params map[string]any) error
- func (mg *Provider) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Provider) SetProviderReference(r *xpv1.Reference)
- func (mg *Provider) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Provider) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProviderList
- type ProviderObservation
- type ProviderParameters
- type ProviderSpec
- type ProviderStatus
Constants ¶
const ( CRDGroup = "attestation.azure.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Provider) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Provider
func (*Provider) GetDeletionPolicy ¶
func (mg *Provider) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Provider.
func (*Provider) GetObservation ¶
GetObservation of this Provider
func (*Provider) GetParameters ¶
GetParameters of this Provider
func (*Provider) GetProviderConfigReference ¶
GetProviderConfigReference of this Provider.
func (*Provider) GetProviderReference ¶
GetProviderReference of this Provider. Deprecated: Use GetProviderConfigReference.
func (*Provider) GetPublishConnectionDetailsTo ¶
func (mg *Provider) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Provider.
func (*Provider) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Provider
func (*Provider) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Provider) GetWriteConnectionSecretToReference ¶
func (mg *Provider) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Provider.
func (*Provider) LateInitialize ¶
LateInitialize this Provider using its observed tfState. returns True if there are any spec changes for the resource.
func (*Provider) ResolveReferences ¶
ResolveReferences of this Provider.
func (*Provider) SetConditions ¶
SetConditions of this Provider.
func (*Provider) SetDeletionPolicy ¶
func (mg *Provider) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Provider.
func (*Provider) SetObservation ¶
SetObservation for this Provider
func (*Provider) SetParameters ¶
SetParameters for this Provider
func (*Provider) SetProviderConfigReference ¶
SetProviderConfigReference of this Provider.
func (*Provider) SetProviderReference ¶
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.