v1alpha1

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=alias.boundary.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "alias.boundary.upbound.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 (
	Target_Kind             = "Target"
	Target_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Target_Kind}.String()
	Target_KindAPIVersion   = Target_Kind + "." + CRDGroupVersion.String()
	Target_GroupVersionKind = CRDGroupVersion.WithKind(Target_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Target

type Target 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.scopeId) || (has(self.initProvider) && has(self.initProvider.scopeId))",message="spec.forProvider.scopeId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter"
	Spec   TargetSpec   `json:"spec"`
	Status TargetStatus `json:"status,omitempty"`
}

Target is the Schema for the Targets API. The target alias resource allows you to configure a Boundary target alias. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,boundary}

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

func (*Target) DeepCopyObject

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

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

func (*Target) GetCondition

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

GetCondition of this Target.

func (*Target) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Target

func (*Target) GetDeletionPolicy

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

GetDeletionPolicy of this Target.

func (*Target) GetID

func (tr *Target) GetID() string

GetID returns ID of underlying Terraform resource of this Target

func (*Target) GetInitParameters

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

GetInitParameters of this Target

func (*Target) GetManagementPolicies

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

GetManagementPolicies of this Target.

func (*Target) GetMergedParameters added in v1.1.0

func (tr *Target) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Target

func (*Target) GetObservation

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

GetObservation of this Target

func (*Target) GetParameters

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

GetParameters of this Target

func (*Target) GetProviderConfigReference

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

GetProviderConfigReference of this Target.

func (*Target) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Target.

func (*Target) GetTerraformResourceType

func (mg *Target) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Target

func (*Target) GetTerraformSchemaVersion

func (tr *Target) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Target) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Target.

func (*Target) Hub added in v1.1.0

func (tr *Target) Hub()

Hub marks this type as a conversion hub.

func (*Target) LateInitialize

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

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

func (*Target) SetConditions

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

SetConditions of this Target.

func (*Target) SetDeletionPolicy

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

SetDeletionPolicy of this Target.

func (*Target) SetManagementPolicies

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

SetManagementPolicies of this Target.

func (*Target) SetObservation

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

SetObservation for this Target

func (*Target) SetParameters

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

SetParameters for this Target

func (*Target) SetProviderConfigReference

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

SetProviderConfigReference of this Target.

func (*Target) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Target.

func (*Target) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Target.

type TargetInitParameters

type TargetInitParameters struct {

	// (String) The host id to pass to Boundary when performing an authorize session action.
	// The host id to pass to Boundary when performing an authorize session action.
	AuthorizeSessionHostID *string `json:"authorizeSessionHostId,omitempty" tf:"authorize_session_host_id,omitempty"`

	// (String) The alias description.
	// The alias description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The destination of the alias.
	// The destination of the alias.
	DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"`

	// (String) The alias name. Defaults to the resource name.
	// The alias name. Defaults to the resource name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The scope ID.
	// The scope ID.
	ScopeID *string `json:"scopeId,omitempty" tf:"scope_id,omitempty"`

	// (String) The type of alias; hardcoded.
	// The type of alias; hardcoded.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String) The value of the alias.
	// The value of the alias.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TargetInitParameters) DeepCopy

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

func (*TargetInitParameters) DeepCopyInto

func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters)

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

type TargetList

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

TargetList contains a list of Targets

func (*TargetList) DeepCopy

func (in *TargetList) DeepCopy() *TargetList

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

func (*TargetList) DeepCopyInto

func (in *TargetList) DeepCopyInto(out *TargetList)

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

func (*TargetList) DeepCopyObject

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

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

func (*TargetList) GetItems

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

GetItems of this TargetList.

type TargetObservation

type TargetObservation struct {

	// (String) The host id to pass to Boundary when performing an authorize session action.
	// The host id to pass to Boundary when performing an authorize session action.
	AuthorizeSessionHostID *string `json:"authorizeSessionHostId,omitempty" tf:"authorize_session_host_id,omitempty"`

	// (String) The alias description.
	// The alias description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The destination of the alias.
	// The destination of the alias.
	DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"`

	// (String) The ID of the account.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The alias name. Defaults to the resource name.
	// The alias name. Defaults to the resource name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The scope ID.
	// The scope ID.
	ScopeID *string `json:"scopeId,omitempty" tf:"scope_id,omitempty"`

	// (String) The type of alias; hardcoded.
	// The type of alias; hardcoded.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String) The value of the alias.
	// The value of the alias.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TargetObservation) DeepCopy

func (in *TargetObservation) DeepCopy() *TargetObservation

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

func (*TargetObservation) DeepCopyInto

func (in *TargetObservation) DeepCopyInto(out *TargetObservation)

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

type TargetParameters

type TargetParameters struct {

	// (String) The host id to pass to Boundary when performing an authorize session action.
	// The host id to pass to Boundary when performing an authorize session action.
	// +kubebuilder:validation:Optional
	AuthorizeSessionHostID *string `json:"authorizeSessionHostId,omitempty" tf:"authorize_session_host_id,omitempty"`

	// (String) The alias description.
	// The alias description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The destination of the alias.
	// The destination of the alias.
	// +kubebuilder:validation:Optional
	DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"`

	// (String) The alias name. Defaults to the resource name.
	// The alias name. Defaults to the resource name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The scope ID.
	// The scope ID.
	// +kubebuilder:validation:Optional
	ScopeID *string `json:"scopeId,omitempty" tf:"scope_id,omitempty"`

	// (String) The type of alias; hardcoded.
	// The type of alias; hardcoded.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String) The value of the alias.
	// The value of the alias.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TargetParameters) DeepCopy

func (in *TargetParameters) DeepCopy() *TargetParameters

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

func (*TargetParameters) DeepCopyInto

func (in *TargetParameters) DeepCopyInto(out *TargetParameters)

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

type TargetSpec

type TargetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TargetParameters `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 TargetInitParameters `json:"initProvider,omitempty"`
}

TargetSpec defines the desired state of Target

func (*TargetSpec) DeepCopy

func (in *TargetSpec) DeepCopy() *TargetSpec

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

func (*TargetSpec) DeepCopyInto

func (in *TargetSpec) DeepCopyInto(out *TargetSpec)

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

type TargetStatus

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

TargetStatus defines the observed state of Target.

func (*TargetStatus) DeepCopy

func (in *TargetStatus) DeepCopy() *TargetStatus

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

func (*TargetStatus) DeepCopyInto

func (in *TargetStatus) DeepCopyInto(out *TargetStatus)

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