v1beta1

package
v0.39.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "confidentialledger.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 (
	Ledger_Kind             = "Ledger"
	Ledger_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Ledger_Kind}.String()
	Ledger_KindAPIVersion   = Ledger_Kind + "." + CRDGroupVersion.String()
	Ledger_GroupVersionKind = CRDGroupVersion.WithKind(Ledger_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AzureadBasedServicePrincipalInitParameters added in v0.35.0

type AzureadBasedServicePrincipalInitParameters struct {

	// Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator, Contributor and Reader.
	LedgerRoleName *string `json:"ledgerRoleName,omitempty" tf:"ledger_role_name,omitempty"`

	// Specifies the Principal ID of the AzureAD Service Principal.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// Specifies the Tenant ID for this AzureAD Service Principal.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*AzureadBasedServicePrincipalInitParameters) DeepCopy added in v0.35.0

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

func (*AzureadBasedServicePrincipalInitParameters) DeepCopyInto added in v0.35.0

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

type AzureadBasedServicePrincipalObservation

type AzureadBasedServicePrincipalObservation struct {

	// Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator, Contributor and Reader.
	LedgerRoleName *string `json:"ledgerRoleName,omitempty" tf:"ledger_role_name,omitempty"`

	// Specifies the Principal ID of the AzureAD Service Principal.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// Specifies the Tenant ID for this AzureAD Service Principal.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*AzureadBasedServicePrincipalObservation) DeepCopy

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

func (*AzureadBasedServicePrincipalObservation) DeepCopyInto

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

type AzureadBasedServicePrincipalParameters

type AzureadBasedServicePrincipalParameters struct {

	// Specifies the Ledger Role to grant this AzureAD Service Principal. Possible values are Administrator, Contributor and Reader.
	// +kubebuilder:validation:Optional
	LedgerRoleName *string `json:"ledgerRoleName" tf:"ledger_role_name,omitempty"`

	// Specifies the Principal ID of the AzureAD Service Principal.
	// +kubebuilder:validation:Optional
	PrincipalID *string `json:"principalId" tf:"principal_id,omitempty"`

	// Specifies the Tenant ID for this AzureAD Service Principal.
	// +kubebuilder:validation:Optional
	TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"`
}

func (*AzureadBasedServicePrincipalParameters) DeepCopy

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

func (*AzureadBasedServicePrincipalParameters) DeepCopyInto

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

type CertificateBasedSecurityPrincipalInitParameters added in v0.35.0

type CertificateBasedSecurityPrincipalInitParameters struct {

	// Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator, Contributor and Reader.
	LedgerRoleName *string `json:"ledgerRoleName,omitempty" tf:"ledger_role_name,omitempty"`

	// The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
	PemPublicKey *string `json:"pemPublicKey,omitempty" tf:"pem_public_key,omitempty"`
}

func (*CertificateBasedSecurityPrincipalInitParameters) DeepCopy added in v0.35.0

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

func (*CertificateBasedSecurityPrincipalInitParameters) DeepCopyInto added in v0.35.0

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

type CertificateBasedSecurityPrincipalObservation

type CertificateBasedSecurityPrincipalObservation struct {

	// Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator, Contributor and Reader.
	LedgerRoleName *string `json:"ledgerRoleName,omitempty" tf:"ledger_role_name,omitempty"`

	// The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
	PemPublicKey *string `json:"pemPublicKey,omitempty" tf:"pem_public_key,omitempty"`
}

func (*CertificateBasedSecurityPrincipalObservation) DeepCopy

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

func (*CertificateBasedSecurityPrincipalObservation) DeepCopyInto

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

type CertificateBasedSecurityPrincipalParameters

type CertificateBasedSecurityPrincipalParameters struct {

	// Specifies the Ledger Role to grant this Certificate Security Principal. Possible values are Administrator, Contributor and Reader.
	// +kubebuilder:validation:Optional
	LedgerRoleName *string `json:"ledgerRoleName" tf:"ledger_role_name,omitempty"`

	// The public key, in PEM format, of the certificate used by this identity to authenticate with the Confidential Ledger.
	// +kubebuilder:validation:Optional
	PemPublicKey *string `json:"pemPublicKey" tf:"pem_public_key,omitempty"`
}

func (*CertificateBasedSecurityPrincipalParameters) DeepCopy

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

func (*CertificateBasedSecurityPrincipalParameters) DeepCopyInto

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

type Ledger

type Ledger struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.azureadBasedServicePrincipal) || (has(self.initProvider) && has(self.initProvider.azureadBasedServicePrincipal))",message="spec.forProvider.azureadBasedServicePrincipal is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ledgerType) || (has(self.initProvider) && has(self.initProvider.ledgerType))",message="spec.forProvider.ledgerType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	Spec   LedgerSpec   `json:"spec"`
	Status LedgerStatus `json:"status,omitempty"`
}

Ledger is the Schema for the Ledgers API. Manages a Confidential Ledger. +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 (*Ledger) DeepCopy

func (in *Ledger) DeepCopy() *Ledger

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

func (*Ledger) DeepCopyInto

func (in *Ledger) DeepCopyInto(out *Ledger)

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

func (*Ledger) DeepCopyObject

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

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

func (*Ledger) GetCondition

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

GetCondition of this Ledger.

func (*Ledger) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Ledger

func (*Ledger) GetDeletionPolicy

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

GetDeletionPolicy of this Ledger.

func (*Ledger) GetID

func (tr *Ledger) GetID() string

GetID returns ID of underlying Terraform resource of this Ledger

func (*Ledger) GetInitParameters added in v0.35.0

func (tr *Ledger) GetInitParameters() (map[string]any, error)

GetInitParameters of this Ledger

func (*Ledger) GetManagementPolicies added in v0.35.0

func (mg *Ledger) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Ledger.

func (*Ledger) GetObservation

func (tr *Ledger) GetObservation() (map[string]any, error)

GetObservation of this Ledger

func (*Ledger) GetParameters

func (tr *Ledger) GetParameters() (map[string]any, error)

GetParameters of this Ledger

func (*Ledger) GetProviderConfigReference

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

GetProviderConfigReference of this Ledger.

func (*Ledger) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Ledger.

func (*Ledger) GetTerraformResourceType

func (mg *Ledger) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Ledger

func (*Ledger) GetTerraformSchemaVersion

func (tr *Ledger) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Ledger) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Ledger.

func (*Ledger) LateInitialize

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

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

func (*Ledger) ResolveReferences

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

ResolveReferences of this Ledger.

func (*Ledger) SetConditions

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

SetConditions of this Ledger.

func (*Ledger) SetDeletionPolicy

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

SetDeletionPolicy of this Ledger.

func (*Ledger) SetManagementPolicies added in v0.35.0

func (mg *Ledger) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Ledger.

func (*Ledger) SetObservation

func (tr *Ledger) SetObservation(obs map[string]any) error

SetObservation for this Ledger

func (*Ledger) SetParameters

func (tr *Ledger) SetParameters(params map[string]any) error

SetParameters for this Ledger

func (*Ledger) SetProviderConfigReference

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

SetProviderConfigReference of this Ledger.

func (*Ledger) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Ledger.

func (*Ledger) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Ledger.

type LedgerInitParameters added in v0.35.0

type LedgerInitParameters struct {

	// A list of azuread_based_service_principal blocks as defined below.
	AzureadBasedServicePrincipal []AzureadBasedServicePrincipalInitParameters `json:"azureadBasedServicePrincipal,omitempty" tf:"azuread_based_service_principal,omitempty"`

	// A list of certificate_based_security_principal blocks as defined below.
	CertificateBasedSecurityPrincipal []CertificateBasedSecurityPrincipalInitParameters `json:"certificateBasedSecurityPrincipal,omitempty" tf:"certificate_based_security_principal,omitempty"`

	// Specifies the type of Confidential Ledger. Possible values are Private and Public. Changing this forces a new resource to be created.
	LedgerType *string `json:"ledgerType,omitempty" tf:"ledger_type,omitempty"`

	// Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A mapping of tags to assign to the Confidential Ledger.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LedgerInitParameters) DeepCopy added in v0.35.0

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

func (*LedgerInitParameters) DeepCopyInto added in v0.35.0

func (in *LedgerInitParameters) DeepCopyInto(out *LedgerInitParameters)

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

type LedgerList

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

LedgerList contains a list of Ledgers

func (*LedgerList) DeepCopy

func (in *LedgerList) DeepCopy() *LedgerList

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

func (*LedgerList) DeepCopyInto

func (in *LedgerList) DeepCopyInto(out *LedgerList)

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

func (*LedgerList) DeepCopyObject

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

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

func (*LedgerList) GetItems

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

GetItems of this LedgerList.

type LedgerObservation

type LedgerObservation struct {

	// A list of azuread_based_service_principal blocks as defined below.
	AzureadBasedServicePrincipal []AzureadBasedServicePrincipalObservation `json:"azureadBasedServicePrincipal,omitempty" tf:"azuread_based_service_principal,omitempty"`

	// A list of certificate_based_security_principal blocks as defined below.
	CertificateBasedSecurityPrincipal []CertificateBasedSecurityPrincipalObservation `json:"certificateBasedSecurityPrincipal,omitempty" tf:"certificate_based_security_principal,omitempty"`

	// The ID of this Confidential Ledger.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Identity Service Endpoint for this Confidential Ledger.
	IdentityServiceEndpoint *string `json:"identityServiceEndpoint,omitempty" tf:"identity_service_endpoint,omitempty"`

	// The Endpoint for this Confidential Ledger.
	LedgerEndpoint *string `json:"ledgerEndpoint,omitempty" tf:"ledger_endpoint,omitempty"`

	// Specifies the type of Confidential Ledger. Possible values are Private and Public. Changing this forces a new resource to be created.
	LedgerType *string `json:"ledgerType,omitempty" tf:"ledger_type,omitempty"`

	// Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Resource Group where the Confidential Ledger exists. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// A mapping of tags to assign to the Confidential Ledger.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LedgerObservation) DeepCopy

func (in *LedgerObservation) DeepCopy() *LedgerObservation

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

func (*LedgerObservation) DeepCopyInto

func (in *LedgerObservation) DeepCopyInto(out *LedgerObservation)

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

type LedgerParameters

type LedgerParameters struct {

	// A list of azuread_based_service_principal blocks as defined below.
	// +kubebuilder:validation:Optional
	AzureadBasedServicePrincipal []AzureadBasedServicePrincipalParameters `json:"azureadBasedServicePrincipal,omitempty" tf:"azuread_based_service_principal,omitempty"`

	// A list of certificate_based_security_principal blocks as defined below.
	// +kubebuilder:validation:Optional
	CertificateBasedSecurityPrincipal []CertificateBasedSecurityPrincipalParameters `json:"certificateBasedSecurityPrincipal,omitempty" tf:"certificate_based_security_principal,omitempty"`

	// Specifies the type of Confidential Ledger. Possible values are Private and Public. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	LedgerType *string `json:"ledgerType,omitempty" tf:"ledger_type,omitempty"`

	// Specifies the supported Azure location where the Confidential Ledger exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Resource Group where the Confidential Ledger exists. 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 to assign to the Confidential Ledger.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LedgerParameters) DeepCopy

func (in *LedgerParameters) DeepCopy() *LedgerParameters

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

func (*LedgerParameters) DeepCopyInto

func (in *LedgerParameters) DeepCopyInto(out *LedgerParameters)

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

type LedgerSpec

type LedgerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LedgerParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider LedgerInitParameters `json:"initProvider,omitempty"`
}

LedgerSpec defines the desired state of Ledger

func (*LedgerSpec) DeepCopy

func (in *LedgerSpec) DeepCopy() *LedgerSpec

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

func (*LedgerSpec) DeepCopyInto

func (in *LedgerSpec) DeepCopyInto(out *LedgerSpec)

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

type LedgerStatus

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

LedgerStatus defines the observed state of Ledger.

func (*LedgerStatus) DeepCopy

func (in *LedgerStatus) DeepCopy() *LedgerStatus

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

func (*LedgerStatus) DeepCopyInto

func (in *LedgerStatus) DeepCopyInto(out *LedgerStatus)

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