Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=codestarconnections.aws.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type Host
- func (in *Host) DeepCopy() *Host
- func (in *Host) DeepCopyInto(out *Host)
- func (in *Host) DeepCopyObject() runtime.Object
- func (mg *Host) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Host) GetConnectionDetailsMapping() map[string]string
- func (mg *Host) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Host) GetID() string
- func (tr *Host) GetInitParameters() (map[string]any, error)
- func (mg *Host) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Host) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Host) GetObservation() (map[string]any, error)
- func (tr *Host) GetParameters() (map[string]any, error)
- func (mg *Host) GetProviderConfigReference() *xpv1.Reference
- func (mg *Host) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Host) GetTerraformResourceType() string
- func (tr *Host) GetTerraformSchemaVersion() int
- func (mg *Host) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Host) LateInitialize(attrs []byte) (bool, error)
- func (mg *Host) SetConditions(c ...xpv1.Condition)
- func (mg *Host) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Host) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Host) SetObservation(obs map[string]any) error
- func (tr *Host) SetParameters(params map[string]any) error
- func (mg *Host) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Host) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Host) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type HostInitParameters
- type HostList
- type HostObservation
- type HostParameters
- type HostSpec
- type HostStatus
- type VPCConfigurationInitParameters
- type VPCConfigurationObservation
- type VPCConfigurationParameters
Constants ¶
const ( CRDGroup = "codestarconnections.aws.upbound.io" CRDVersion = "v1beta2" )
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 ( 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Host) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Host
func (*Host) GetDeletionPolicy ¶
func (mg *Host) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Host.
func (*Host) GetInitParameters ¶
GetInitParameters of this Host
func (*Host) GetManagementPolicies ¶
func (mg *Host) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Host.
func (*Host) GetMergedParameters ¶
GetInitParameters of this Host
func (*Host) GetObservation ¶
GetObservation of this Host
func (*Host) GetParameters ¶
GetParameters of this Host
func (*Host) GetProviderConfigReference ¶
GetProviderConfigReference of this Host.
func (*Host) GetPublishConnectionDetailsTo ¶
func (mg *Host) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Host.
func (*Host) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Host
func (*Host) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Host) GetWriteConnectionSecretToReference ¶
func (mg *Host) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Host.
func (*Host) LateInitialize ¶
LateInitialize this Host using its observed tfState. returns True if there are any spec changes for the resource.
func (*Host) SetConditions ¶
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 ¶
SetObservation for this Host
func (*Host) SetParameters ¶
SetParameters for this Host
func (*Host) SetProviderConfigReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList.
func (*HostList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec.
func (*HostSpec) DeepCopyInto ¶
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 ¶
func (in *VPCConfigurationInitParameters) DeepCopy() *VPCConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigurationInitParameters.
func (*VPCConfigurationInitParameters) DeepCopyInto ¶
func (in *VPCConfigurationInitParameters) DeepCopyInto(out *VPCConfigurationInitParameters)
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 ¶
func (in *VPCConfigurationObservation) DeepCopy() *VPCConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigurationObservation.
func (*VPCConfigurationObservation) DeepCopyInto ¶
func (in *VPCConfigurationObservation) DeepCopyInto(out *VPCConfigurationObservation)
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 ¶
func (in *VPCConfigurationParameters) DeepCopy() *VPCConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigurationParameters.
func (*VPCConfigurationParameters) DeepCopyInto ¶
func (in *VPCConfigurationParameters) DeepCopyInto(out *VPCConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.