Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=network.mongodba.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Container
- func (in *Container) DeepCopy() *Container
- func (in *Container) DeepCopyInto(out *Container)
- func (in *Container) DeepCopyObject() runtime.Object
- func (mg *Container) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Container) GetConnectionDetailsMapping() map[string]string
- func (mg *Container) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Container) GetID() string
- func (tr *Container) GetObservation() (map[string]interface{}, error)
- func (tr *Container) GetParameters() (map[string]interface{}, error)
- func (mg *Container) GetProviderConfigReference() *xpv1.Reference
- func (mg *Container) GetProviderReference() *xpv1.Reference
- func (mg *Container) GetTerraformResourceType() string
- func (tr *Container) GetTerraformSchemaVersion() int
- func (mg *Container) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Container) LateInitialize(attrs []byte) (bool, error)
- func (mg *Container) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Container) SetConditions(c ...xpv1.Condition)
- func (mg *Container) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Container) SetObservation(obs map[string]interface{}) error
- func (tr *Container) SetParameters(params map[string]interface{}) error
- func (mg *Container) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Container) SetProviderReference(r *xpv1.Reference)
- func (mg *Container) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ContainerList
- type ContainerObservation
- type ContainerParameters
- type ContainerSpec
- type ContainerStatus
- type Peering
- func (in *Peering) DeepCopy() *Peering
- func (in *Peering) DeepCopyInto(out *Peering)
- func (in *Peering) DeepCopyObject() runtime.Object
- func (mg *Peering) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Peering) GetConnectionDetailsMapping() map[string]string
- func (mg *Peering) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Peering) GetID() string
- func (tr *Peering) GetObservation() (map[string]interface{}, error)
- func (tr *Peering) GetParameters() (map[string]interface{}, error)
- func (mg *Peering) GetProviderConfigReference() *xpv1.Reference
- func (mg *Peering) GetProviderReference() *xpv1.Reference
- func (mg *Peering) GetTerraformResourceType() string
- func (tr *Peering) GetTerraformSchemaVersion() int
- func (mg *Peering) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Peering) LateInitialize(attrs []byte) (bool, error)
- func (mg *Peering) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Peering) SetConditions(c ...xpv1.Condition)
- func (mg *Peering) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Peering) SetObservation(obs map[string]interface{}) error
- func (tr *Peering) SetParameters(params map[string]interface{}) error
- func (mg *Peering) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Peering) SetProviderReference(r *xpv1.Reference)
- func (mg *Peering) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PeeringList
- type PeeringObservation
- type PeeringParameters
- type PeeringSpec
- type PeeringStatus
Constants ¶
const ( CRDGroup = "network.mongodba.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Container_Kind = "Container" Container_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Container_Kind}.String() Container_KindAPIVersion = Container_Kind + "." + CRDGroupVersion.String() Container_GroupVersionKind = CRDGroupVersion.WithKind(Container_Kind) )
Repository type metadata.
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 ( Peering_Kind = "Peering" Peering_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Peering_Kind}.String() Peering_KindAPIVersion = Peering_Kind + "." + CRDGroupVersion.String() Peering_GroupVersionKind = CRDGroupVersion.WithKind(Peering_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContainerSpec `json:"spec"` Status ContainerStatus `json:"status,omitempty"` }
Container is the Schema for the Containers API +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,mongodbajet}
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Container) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Container) GetCondition ¶
func (mg *Container) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Container.
func (*Container) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Container
func (*Container) GetDeletionPolicy ¶
func (mg *Container) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Container.
func (*Container) GetObservation ¶
GetObservation of this Container
func (*Container) GetParameters ¶
GetParameters of this Container
func (*Container) GetProviderConfigReference ¶
GetProviderConfigReference of this Container.
func (*Container) GetProviderReference ¶
GetProviderReference of this Container. Deprecated: Use GetProviderConfigReference.
func (*Container) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Container
func (*Container) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Container) GetWriteConnectionSecretToReference ¶
func (mg *Container) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Container.
func (*Container) LateInitialize ¶
LateInitialize this Container using its observed tfState. returns True if there are any spec changes for the resource.
func (*Container) ResolveReferences ¶
ResolveReferences of this Container.
func (*Container) SetConditions ¶
SetConditions of this Container.
func (*Container) SetDeletionPolicy ¶
func (mg *Container) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Container.
func (*Container) SetObservation ¶
SetObservation for this Container
func (*Container) SetParameters ¶
SetParameters for this Container
func (*Container) SetProviderConfigReference ¶
SetProviderConfigReference of this Container.
func (*Container) SetProviderReference ¶
SetProviderReference of this Container. Deprecated: Use SetProviderConfigReference.
func (*Container) SetWriteConnectionSecretToReference ¶
func (mg *Container) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Container.
type ContainerList ¶
type ContainerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Container `json:"items"` }
ContainerList contains a list of Containers
func (*ContainerList) DeepCopy ¶
func (in *ContainerList) DeepCopy() *ContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerList.
func (*ContainerList) DeepCopyInto ¶
func (in *ContainerList) DeepCopyInto(out *ContainerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerList) DeepCopyObject ¶
func (in *ContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContainerList) GetItems ¶
func (l *ContainerList) GetItems() []resource.Managed
GetItems of this ContainerList.
type ContainerObservation ¶
type ContainerObservation struct { AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty" tf:"azure_subscription_id,omitempty"` ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"` GCPProjectID *string `json:"gcpProjectId,omitempty" tf:"gcp_project_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` NetworkName *string `json:"networkName,omitempty" tf:"network_name,omitempty"` Provisioned *bool `json:"provisioned,omitempty" tf:"provisioned,omitempty"` VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` VnetName *string `json:"vnetName,omitempty" tf:"vnet_name,omitempty"` }
func (*ContainerObservation) DeepCopy ¶
func (in *ContainerObservation) DeepCopy() *ContainerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerObservation.
func (*ContainerObservation) DeepCopyInto ¶
func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerParameters ¶
type ContainerParameters struct { // +kubebuilder:validation:Required AtlasCidrBlock *string `json:"atlasCidrBlock" tf:"atlas_cidr_block,omitempty"` // +crossplane:generate:reference:type=github.com/timgchile/provider-jet-mongodba/apis/mongodba/v1alpha1.Project // +crossplane:generate:reference:extractor=github.com/timgchile/provider-jet-mongodba/config/common.ExtractResourceID() // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // +kubebuilder:validation:Optional RegionName *string `json:"regionName,omitempty" tf:"region_name,omitempty"` // +kubebuilder:validation:Optional Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"` }
func (*ContainerParameters) DeepCopy ¶
func (in *ContainerParameters) DeepCopy() *ContainerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerParameters.
func (*ContainerParameters) DeepCopyInto ¶
func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerSpec ¶
type ContainerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ContainerParameters `json:"forProvider"` }
ContainerSpec defines the desired state of Container
func (*ContainerSpec) DeepCopy ¶
func (in *ContainerSpec) DeepCopy() *ContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
func (*ContainerSpec) DeepCopyInto ¶
func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerStatus ¶
type ContainerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ContainerObservation `json:"atProvider,omitempty"` }
ContainerStatus defines the observed state of Container.
func (*ContainerStatus) DeepCopy ¶
func (in *ContainerStatus) DeepCopy() *ContainerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.
func (*ContainerStatus) DeepCopyInto ¶
func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Peering ¶
type Peering struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PeeringSpec `json:"spec"` Status PeeringStatus `json:"status,omitempty"` }
Peering is the Schema for the Peerings API +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,mongodbajet}
func (*Peering) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peering.
func (*Peering) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Peering) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Peering) GetCondition ¶
func (mg *Peering) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Peering.
func (*Peering) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Peering
func (*Peering) GetDeletionPolicy ¶
func (mg *Peering) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Peering.
func (*Peering) GetObservation ¶
GetObservation of this Peering
func (*Peering) GetParameters ¶
GetParameters of this Peering
func (*Peering) GetProviderConfigReference ¶
GetProviderConfigReference of this Peering.
func (*Peering) GetProviderReference ¶
GetProviderReference of this Peering. Deprecated: Use GetProviderConfigReference.
func (*Peering) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Peering
func (*Peering) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Peering) GetWriteConnectionSecretToReference ¶
func (mg *Peering) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Peering.
func (*Peering) LateInitialize ¶
LateInitialize this Peering using its observed tfState. returns True if there are any spec changes for the resource.
func (*Peering) ResolveReferences ¶
ResolveReferences of this Peering.
func (*Peering) SetConditions ¶
SetConditions of this Peering.
func (*Peering) SetDeletionPolicy ¶
func (mg *Peering) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Peering.
func (*Peering) SetObservation ¶
SetObservation for this Peering
func (*Peering) SetParameters ¶
SetParameters for this Peering
func (*Peering) SetProviderConfigReference ¶
SetProviderConfigReference of this Peering.
func (*Peering) SetProviderReference ¶
SetProviderReference of this Peering. Deprecated: Use SetProviderConfigReference.
func (*Peering) SetWriteConnectionSecretToReference ¶
func (mg *Peering) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Peering.
type PeeringList ¶
type PeeringList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Peering `json:"items"` }
PeeringList contains a list of Peerings
func (*PeeringList) DeepCopy ¶
func (in *PeeringList) DeepCopy() *PeeringList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringList.
func (*PeeringList) DeepCopyInto ¶
func (in *PeeringList) DeepCopyInto(out *PeeringList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeeringList) DeepCopyObject ¶
func (in *PeeringList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PeeringList) GetItems ¶
func (l *PeeringList) GetItems() []resource.Managed
GetItems of this PeeringList.
type PeeringObservation ¶
type PeeringObservation struct { AtlasID *string `json:"atlasId,omitempty" tf:"atlas_id,omitempty"` ConnectionID *string `json:"connectionId,omitempty" tf:"connection_id,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty" tf:"error_message,omitempty"` ErrorState *string `json:"errorState,omitempty" tf:"error_state,omitempty"` ErrorStateName *string `json:"errorStateName,omitempty" tf:"error_state_name,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` PeerID *string `json:"peerId,omitempty" tf:"peer_id,omitempty"` Status *string `json:"status,omitempty" tf:"status,omitempty"` StatusName *string `json:"statusName,omitempty" tf:"status_name,omitempty"` }
func (*PeeringObservation) DeepCopy ¶
func (in *PeeringObservation) DeepCopy() *PeeringObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringObservation.
func (*PeeringObservation) DeepCopyInto ¶
func (in *PeeringObservation) DeepCopyInto(out *PeeringObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringParameters ¶
type PeeringParameters struct { // +kubebuilder:validation:Optional AccepterRegionName *string `json:"accepterRegionName,omitempty" tf:"accepter_region_name,omitempty"` // +kubebuilder:validation:Optional AtlasCidrBlock *string `json:"atlasCidrBlock,omitempty" tf:"atlas_cidr_block,omitempty"` // +kubebuilder:validation:Optional AtlasGCPProjectID *string `json:"atlasGcpProjectId,omitempty" tf:"atlas_gcp_project_id,omitempty"` // +kubebuilder:validation:Optional AtlasVPCName *string `json:"atlasVpcName,omitempty" tf:"atlas_vpc_name,omitempty"` // +kubebuilder:validation:Optional AwsAccountID *string `json:"awsAccountId,omitempty" tf:"aws_account_id,omitempty"` // +kubebuilder:validation:Optional AzureDirectoryID *string `json:"azureDirectoryId,omitempty" tf:"azure_directory_id,omitempty"` // +kubebuilder:validation:Optional AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty" tf:"azure_subscription_id,omitempty"` // +kubebuilder:validation:Required ContainerID *string `json:"containerId" tf:"container_id,omitempty"` // +kubebuilder:validation:Optional GCPProjectID *string `json:"gcpProjectId,omitempty" tf:"gcp_project_id,omitempty"` // +kubebuilder:validation:Optional NetworkName *string `json:"networkName,omitempty" tf:"network_name,omitempty"` // +crossplane:generate:reference:type=github.com/timgchile/provider-jet-mongodba/apis/mongodba/v1alpha1.Project // +crossplane:generate:reference:extractor=github.com/timgchile/provider-jet-mongodba/config/common.ExtractResourceID() // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Required ProviderName *string `json:"providerName" tf:"provider_name,omitempty"` // +kubebuilder:validation:Optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // +kubebuilder:validation:Optional RouteTableCidrBlock *string `json:"routeTableCidrBlock,omitempty" tf:"route_table_cidr_block,omitempty"` // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // +kubebuilder:validation:Optional VnetName *string `json:"vnetName,omitempty" tf:"vnet_name,omitempty"` }
func (*PeeringParameters) DeepCopy ¶
func (in *PeeringParameters) DeepCopy() *PeeringParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringParameters.
func (*PeeringParameters) DeepCopyInto ¶
func (in *PeeringParameters) DeepCopyInto(out *PeeringParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringSpec ¶
type PeeringSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PeeringParameters `json:"forProvider"` }
PeeringSpec defines the desired state of Peering
func (*PeeringSpec) DeepCopy ¶
func (in *PeeringSpec) DeepCopy() *PeeringSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringSpec.
func (*PeeringSpec) DeepCopyInto ¶
func (in *PeeringSpec) DeepCopyInto(out *PeeringSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringStatus ¶
type PeeringStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PeeringObservation `json:"atProvider,omitempty"` }
PeeringStatus defines the observed state of Peering.
func (*PeeringStatus) DeepCopy ¶
func (in *PeeringStatus) DeepCopy() *PeeringStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringStatus.
func (*PeeringStatus) DeepCopyInto ¶
func (in *PeeringStatus) DeepCopyInto(out *PeeringStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.