v1beta2

package
v1.9.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=codestarconnections.aws.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "codestarconnections.aws.upbound.io"
	CRDVersion = "v1beta2"
)

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 (
	Host_Kind             = "Host"
	Host_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Host_Kind}.String()
	Host_KindAPIVersion   = Host_Kind + "." + CRDGroupVersion.String()
	Host_GroupVersionKind = CRDGroupVersion.WithKind(Host_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Host

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

Host is the Schema for the Hosts API. Provides a CodeStar Host +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,aws}

func (*Host) DeepCopy

func (in *Host) DeepCopy() *Host

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

func (*Host) DeepCopyInto

func (in *Host) DeepCopyInto(out *Host)

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

func (*Host) DeepCopyObject

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

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

func (*Host) GetCondition

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

GetCondition of this Host.

func (*Host) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Host

func (*Host) GetDeletionPolicy

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

GetDeletionPolicy of this Host.

func (*Host) GetID

func (tr *Host) GetID() string

GetID returns ID of underlying Terraform resource of this Host

func (*Host) GetInitParameters

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

GetInitParameters of this Host

func (*Host) GetManagementPolicies

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

GetManagementPolicies of this Host.

func (*Host) GetMergedParameters

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

GetInitParameters of this Host

func (*Host) GetObservation

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

GetObservation of this Host

func (*Host) GetParameters

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

GetParameters of this Host

func (*Host) GetProviderConfigReference

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

GetProviderConfigReference of this Host.

func (*Host) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Host.

func (*Host) GetTerraformResourceType

func (mg *Host) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Host

func (*Host) GetTerraformSchemaVersion

func (tr *Host) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Host) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Host.

func (*Host) Hub

func (tr *Host) Hub()

Hub marks this type as a conversion hub.

func (*Host) LateInitialize

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

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

func (*Host) SetConditions

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

SetConditions of this Host.

func (*Host) SetDeletionPolicy

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

SetDeletionPolicy of this Host.

func (*Host) SetManagementPolicies

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

SetManagementPolicies of this Host.

func (*Host) SetObservation

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

SetObservation for this Host

func (*Host) SetParameters

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

SetParameters for this Host

func (*Host) SetProviderConfigReference

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

SetProviderConfigReference of this Host.

func (*Host) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Host.

func (*Host) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Host.

type HostInitParameters

type HostInitParameters struct {

	// The name of the host to be created. The name must be unique in the calling AWS account.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The endpoint of the infrastructure to be represented by the host after it is created.
	ProviderEndpoint *string `json:"providerEndpoint,omitempty" tf:"provider_endpoint,omitempty"`

	// The name of the external provider where your third-party code repository is configured.
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	VPCConfiguration *VPCConfigurationInitParameters `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*HostInitParameters) DeepCopy

func (in *HostInitParameters) DeepCopy() *HostInitParameters

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

func (*HostInitParameters) DeepCopyInto

func (in *HostInitParameters) DeepCopyInto(out *HostInitParameters)

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

type HostList

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

HostList contains a list of Hosts

func (*HostList) DeepCopy

func (in *HostList) DeepCopy() *HostList

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

func (*HostList) DeepCopyInto

func (in *HostList) DeepCopyInto(out *HostList)

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

func (*HostList) DeepCopyObject

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

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

func (*HostList) GetItems

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

GetItems of this HostList.

type HostObservation

type HostObservation struct {

	// The CodeStar Host ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The CodeStar Host ARN.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the host to be created. The name must be unique in the calling AWS account.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The endpoint of the infrastructure to be represented by the host after it is created.
	ProviderEndpoint *string `json:"providerEndpoint,omitempty" tf:"provider_endpoint,omitempty"`

	// The name of the external provider where your third-party code repository is configured.
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// The CodeStar Host status. Possible values are PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	VPCConfiguration *VPCConfigurationObservation `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*HostObservation) DeepCopy

func (in *HostObservation) DeepCopy() *HostObservation

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

func (*HostObservation) DeepCopyInto

func (in *HostObservation) DeepCopyInto(out *HostObservation)

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

type HostParameters

type HostParameters struct {

	// The name of the host to be created. The name must be unique in the calling AWS account.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The endpoint of the infrastructure to be represented by the host after it is created.
	// +kubebuilder:validation:Optional
	ProviderEndpoint *string `json:"providerEndpoint,omitempty" tf:"provider_endpoint,omitempty"`

	// The name of the external provider where your third-party code repository is configured.
	// +kubebuilder:validation:Optional
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
	// +kubebuilder:validation:Optional
	VPCConfiguration *VPCConfigurationParameters `json:"vpcConfiguration,omitempty" tf:"vpc_configuration,omitempty"`
}

func (*HostParameters) DeepCopy

func (in *HostParameters) DeepCopy() *HostParameters

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

func (*HostParameters) DeepCopyInto

func (in *HostParameters) DeepCopyInto(out *HostParameters)

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

type HostSpec

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

HostSpec defines the desired state of Host

func (*HostSpec) DeepCopy

func (in *HostSpec) DeepCopy() *HostSpec

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

func (*HostSpec) DeepCopyInto

func (in *HostSpec) DeepCopyInto(out *HostSpec)

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

type HostStatus

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

HostStatus defines the observed state of Host.

func (*HostStatus) DeepCopy

func (in *HostStatus) DeepCopy() *HostStatus

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

func (*HostStatus) DeepCopyInto

func (in *HostStatus) DeepCopyInto(out *HostStatus)

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

type VPCConfigurationInitParameters

type VPCConfigurationInitParameters struct {

	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	TLSCertificate *string `json:"tlsCertificate,omitempty" tf:"tls_certificate,omitempty"`

	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*VPCConfigurationInitParameters) DeepCopy

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

func (*VPCConfigurationInitParameters) DeepCopyInto

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

type VPCConfigurationObservation

type VPCConfigurationObservation struct {

	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	TLSCertificate *string `json:"tlsCertificate,omitempty" tf:"tls_certificate,omitempty"`

	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*VPCConfigurationObservation) DeepCopy

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

func (*VPCConfigurationObservation) DeepCopyInto

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

type VPCConfigurationParameters

type VPCConfigurationParameters struct {

	// ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds" tf:"security_group_ids,omitempty"`

	// The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	// +listType=set
	SubnetIds []*string `json:"subnetIds" tf:"subnet_ids,omitempty"`

	// The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	TLSCertificate *string `json:"tlsCertificate,omitempty" tf:"tls_certificate,omitempty"`

	// The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId" tf:"vpc_id,omitempty"`
}

func (*VPCConfigurationParameters) DeepCopy

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

func (*VPCConfigurationParameters) DeepCopyInto

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