Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the knappek v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=knappek.com
Package v1alpha1 contains API Schema definitions for the knappek v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=knappek.com
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func IsMongoDBAtlasAlertConfigurationToBeUpdated(m1 MongoDBAtlasAlertConfigurationRequestBody, ...) bool
- func IsMongoDBAtlasClusterToBeUpdated(m1 MongoDBAtlasClusterRequestBody, m2 MongoDBAtlasClusterRequestBody) bool
- func IsMongoDBAtlasDatabaseUserToBeUpdated(m1 MongoDBAtlasDatabaseUserRequestBody, m2 MongoDBAtlasDatabaseUserStatus) bool
- func RegisterDefaults(scheme *runtime.Scheme) error
- type MongoDBAtlasAlertConfiguration
- type MongoDBAtlasAlertConfigurationList
- type MongoDBAtlasAlertConfigurationRequestBody
- type MongoDBAtlasAlertConfigurationSpec
- type MongoDBAtlasAlertConfigurationStatus
- type MongoDBAtlasCluster
- type MongoDBAtlasClusterList
- type MongoDBAtlasClusterRequestBody
- type MongoDBAtlasClusterSpec
- type MongoDBAtlasClusterStatus
- type MongoDBAtlasDatabaseUser
- type MongoDBAtlasDatabaseUserList
- type MongoDBAtlasDatabaseUserRequestBody
- type MongoDBAtlasDatabaseUserSpec
- type MongoDBAtlasDatabaseUserStatus
- type MongoDBAtlasProject
- type MongoDBAtlasProjectList
- type MongoDBAtlasProjectSpec
- type MongoDBAtlasProjectStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "knappek.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func IsMongoDBAtlasAlertConfigurationToBeUpdated ¶ added in v0.1.0
func IsMongoDBAtlasAlertConfigurationToBeUpdated(m1 MongoDBAtlasAlertConfigurationRequestBody, m2 MongoDBAtlasAlertConfigurationRequestBody) bool
IsMongoDBAtlasAlertConfigurationToBeUpdated is used to compare spec.MongoDBAtlasDatabaseUserRequestBody with status.MongoDBAtlasDatabaseUserRequestBody
func IsMongoDBAtlasClusterToBeUpdated ¶ added in v0.0.6
func IsMongoDBAtlasClusterToBeUpdated(m1 MongoDBAtlasClusterRequestBody, m2 MongoDBAtlasClusterRequestBody) bool
IsMongoDBAtlasClusterToBeUpdated is used to compare spec.MongoDBAtlasClusterRequestBody with status.MongoDBAtlasClusterRequestBody
func IsMongoDBAtlasDatabaseUserToBeUpdated ¶ added in v0.0.7
func IsMongoDBAtlasDatabaseUserToBeUpdated(m1 MongoDBAtlasDatabaseUserRequestBody, m2 MongoDBAtlasDatabaseUserStatus) bool
IsMongoDBAtlasDatabaseUserToBeUpdated is used to compare spec.MongoDBAtlasDatabaseUserRequestBody with status
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type MongoDBAtlasAlertConfiguration ¶ added in v0.1.0
type MongoDBAtlasAlertConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MongoDBAtlasAlertConfigurationSpec `json:"spec,omitempty"` Status MongoDBAtlasAlertConfigurationStatus `json:"status,omitempty"` }
MongoDBAtlasAlertConfiguration is the Schema for the mongodbatlasalertconfigurations API +k8s:openapi-gen=true +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="The ID of the Alert Configuration" +kubebuilder:printcolumn:name="Project Name",type="string",JSONPath=".spec.projectName",description="The MongoDB Atlas Project to which the Alert Configuration is applied" +kubebuilder:printcolumn:name="Enabled",type="string",JSONPath=".status.enabled",description="Whether the Alert Configuration is enabled or disabled" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:path=mongodbatlasalertconfigurations,shortName=maalertconfig +kubebuilder:categories=all,mongodbatlas
func (*MongoDBAtlasAlertConfiguration) DeepCopy ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfiguration) DeepCopy() *MongoDBAtlasAlertConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasAlertConfiguration.
func (*MongoDBAtlasAlertConfiguration) DeepCopyInto ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfiguration) DeepCopyInto(out *MongoDBAtlasAlertConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasAlertConfiguration) DeepCopyObject ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasAlertConfigurationList ¶ added in v0.1.0
type MongoDBAtlasAlertConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MongoDBAtlasAlertConfiguration `json:"items"` }
MongoDBAtlasAlertConfigurationList contains a list of MongoDBAtlasAlertConfiguration
func (*MongoDBAtlasAlertConfigurationList) DeepCopy ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationList) DeepCopy() *MongoDBAtlasAlertConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasAlertConfigurationList.
func (*MongoDBAtlasAlertConfigurationList) DeepCopyInto ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationList) DeepCopyInto(out *MongoDBAtlasAlertConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasAlertConfigurationList) DeepCopyObject ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasAlertConfigurationRequestBody ¶ added in v0.1.0
type MongoDBAtlasAlertConfigurationRequestBody struct { EventTypeName string `json:"eventTypeName,omitempty"` Enabled bool `json:"enabled,omitempty"` Notifications []ma.Notification `json:"notifications,omitempty"` MetricThreshold ma.MetricThreshold `json:"metricThreshold,omitempty"` Matchers []ma.Matcher `json:"matchers,omitempty"` }
MongoDBAtlasAlertConfigurationRequestBody defines the Request Body Parameters when creating/updating an alert configuration
func (*MongoDBAtlasAlertConfigurationRequestBody) DeepCopy ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationRequestBody) DeepCopy() *MongoDBAtlasAlertConfigurationRequestBody
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasAlertConfigurationRequestBody.
func (*MongoDBAtlasAlertConfigurationRequestBody) DeepCopyInto ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationRequestBody) DeepCopyInto(out *MongoDBAtlasAlertConfigurationRequestBody)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasAlertConfigurationSpec ¶ added in v0.1.0
type MongoDBAtlasAlertConfigurationSpec struct { ProjectName string `json:"projectName,project"` MongoDBAtlasAlertConfigurationRequestBody `json:",inline"` }
MongoDBAtlasAlertConfigurationSpec defines the desired state of MongoDBAtlasAlertConfiguration +k8s:openapi-gen=true
func (*MongoDBAtlasAlertConfigurationSpec) DeepCopy ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationSpec) DeepCopy() *MongoDBAtlasAlertConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasAlertConfigurationSpec.
func (*MongoDBAtlasAlertConfigurationSpec) DeepCopyInto ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationSpec) DeepCopyInto(out *MongoDBAtlasAlertConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasAlertConfigurationStatus ¶ added in v0.1.0
type MongoDBAtlasAlertConfigurationStatus struct { ID string `json:"id,omitempty"` GroupID string `json:"groupID,omitempty"` MongoDBAtlasAlertConfigurationRequestBody `json:",inline"` }
MongoDBAtlasAlertConfigurationStatus defines the observed state of MongoDBAtlasAlertConfiguration +k8s:openapi-gen=true
func (*MongoDBAtlasAlertConfigurationStatus) DeepCopy ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationStatus) DeepCopy() *MongoDBAtlasAlertConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasAlertConfigurationStatus.
func (*MongoDBAtlasAlertConfigurationStatus) DeepCopyInto ¶ added in v0.1.0
func (in *MongoDBAtlasAlertConfigurationStatus) DeepCopyInto(out *MongoDBAtlasAlertConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasCluster ¶
type MongoDBAtlasCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MongoDBAtlasClusterSpec `json:"spec,omitempty"` Status MongoDBAtlasClusterStatus `json:"status,omitempty"` }
MongoDBAtlasCluster is the Schema for the mongodbatlasclusters API +k8s:openapi-gen=true +kubebuilder:printcolumn:name="Project Name",type="string",JSONPath=".spec.projectName",description="The MongoDB Atlas Project where the cluster has been deployed" +kubebuilder:printcolumn:name="MongoDB_Version",type="string",JSONPath=".status.mongoDBVersion",description="The MongoDB version of the cluster" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.stateName",description="The status of the cluster" +kubebuilder:printcolumn:name="Region",type="string",JSONPath=".status.providerSettings.regionName",description="Physical location of your MongoDB cluster" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="Provider",type="string",JSONPath=".status.providerSettings.providerName",description="Cloud service provider on which the servers are provisioned",priority="1" +kubebuilder:printcolumn:name="ContinuousBackups",type="boolean",JSONPath=".status.backupEnabled",description="Set to true to enable Atlas continuous backups for the cluster",priority="1" +kubebuilder:printcolumn:name="ProviderBackups",type="boolean",JSONPath=".status.providerBackupEnabled",description="Flag indicating if the cluster uses Cloud Provider Snapshots for backups",priority="1" +kubebuilder:printcolumn:name="SRV_Address",type="string",JSONPath=".status.srvAddress",description="Connection string (DNS SRV Record) for connecting to the Atlas cluster",priority="1" +kubebuilder:subresource:status +kubebuilder:resource:path=mongodbatlasclusters,shortName=mac +kubebuilder:categories=all,mongodbatlas
func (*MongoDBAtlasCluster) DeepCopy ¶
func (in *MongoDBAtlasCluster) DeepCopy() *MongoDBAtlasCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasCluster.
func (*MongoDBAtlasCluster) DeepCopyInto ¶
func (in *MongoDBAtlasCluster) DeepCopyInto(out *MongoDBAtlasCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasCluster) DeepCopyObject ¶
func (in *MongoDBAtlasCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasClusterList ¶
type MongoDBAtlasClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MongoDBAtlasCluster `json:"items"` }
MongoDBAtlasClusterList contains a list of MongoDBAtlasCluster
func (*MongoDBAtlasClusterList) DeepCopy ¶
func (in *MongoDBAtlasClusterList) DeepCopy() *MongoDBAtlasClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasClusterList.
func (*MongoDBAtlasClusterList) DeepCopyInto ¶
func (in *MongoDBAtlasClusterList) DeepCopyInto(out *MongoDBAtlasClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasClusterList) DeepCopyObject ¶
func (in *MongoDBAtlasClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasClusterRequestBody ¶ added in v0.0.6
type MongoDBAtlasClusterRequestBody struct { MongoDBMajorVersion string `json:"mongoDBMajorVersion,omitempty"` DiskSizeGB float64 `json:"diskSizeGB,omitempty"` BackupEnabled bool `json:"backupEnabled"` ProviderBackupEnabled bool `json:"providerBackupEnabled"` // TODO: ReplicationSpec is deprecated, update to ReplicationSpecs. // This needs to be done in the Go clinet library first: https://github.com/akshaykarle/go-mongodbatlas ReplicationSpec map[string]ma.ReplicationSpec `json:"replicationSpec,omitempty"` NumShards int `json:"numShards,omitempty"` AutoScaling ma.AutoScaling `json:"autoScaling,omitempty"` ProviderSettings ma.ProviderSettings `json:"providerSettings,omitempty"` }
MongoDBAtlasClusterRequestBody defines the Request Body Parameters when creating/updating a cluster
func (*MongoDBAtlasClusterRequestBody) DeepCopy ¶ added in v0.0.6
func (in *MongoDBAtlasClusterRequestBody) DeepCopy() *MongoDBAtlasClusterRequestBody
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasClusterRequestBody.
func (*MongoDBAtlasClusterRequestBody) DeepCopyInto ¶ added in v0.0.6
func (in *MongoDBAtlasClusterRequestBody) DeepCopyInto(out *MongoDBAtlasClusterRequestBody)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasClusterSpec ¶
type MongoDBAtlasClusterSpec struct { ProjectName string `json:"projectName,project"` MongoDBAtlasClusterRequestBody `json:",inline"` }
MongoDBAtlasClusterSpec defines the desired state of MongoDBAtlasCluster +k8s:openapi-gen=true
func (*MongoDBAtlasClusterSpec) DeepCopy ¶
func (in *MongoDBAtlasClusterSpec) DeepCopy() *MongoDBAtlasClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasClusterSpec.
func (*MongoDBAtlasClusterSpec) DeepCopyInto ¶
func (in *MongoDBAtlasClusterSpec) DeepCopyInto(out *MongoDBAtlasClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasClusterStatus ¶
type MongoDBAtlasClusterStatus struct { ID string `json:"id,omitempty"` GroupID string `json:"groupID,omitempty"` Name string `json:"name,omitempty"` MongoDBAtlasClusterRequestBody `json:",inline"` MongoDBVersion string `json:"mongoDBVersion,omitempty"` MongoURI string `json:"mongoURI,omitempty"` MongoURIUpdated string `json:"mongoURIUpdated,omitempty"` MongoURIWithOptions string `json:"mongoURIWithOptions,omitempty"` SrvAddress string `json:"srvAddress,omitempty"` StateName string `json:"stateName,omitempty"` Paused bool `json:"paused"` }
MongoDBAtlasClusterStatus defines the observed state of MongoDBAtlasCluster +k8s:openapi-gen=true
func (*MongoDBAtlasClusterStatus) DeepCopy ¶
func (in *MongoDBAtlasClusterStatus) DeepCopy() *MongoDBAtlasClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasClusterStatus.
func (*MongoDBAtlasClusterStatus) DeepCopyInto ¶
func (in *MongoDBAtlasClusterStatus) DeepCopyInto(out *MongoDBAtlasClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasDatabaseUser ¶ added in v0.0.7
type MongoDBAtlasDatabaseUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MongoDBAtlasDatabaseUserSpec `json:"spec,omitempty"` Status MongoDBAtlasDatabaseUserStatus `json:"status,omitempty"` }
MongoDBAtlasDatabaseUser is the Schema for the mongodbatlasdatabaseusers API +k8s:openapi-gen=true +kubebuilder:printcolumn:name="Project Name",type="string",JSONPath=".spec.projectName",description="The MongoDB Atlas Project to which the database user has access to" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:path=mongodbatlasdatabaseusers,shortName=madbuser +kubebuilder:categories=all,mongodbatlas
func (*MongoDBAtlasDatabaseUser) DeepCopy ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUser) DeepCopy() *MongoDBAtlasDatabaseUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasDatabaseUser.
func (*MongoDBAtlasDatabaseUser) DeepCopyInto ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUser) DeepCopyInto(out *MongoDBAtlasDatabaseUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasDatabaseUser) DeepCopyObject ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasDatabaseUserList ¶ added in v0.0.7
type MongoDBAtlasDatabaseUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MongoDBAtlasDatabaseUser `json:"items"` }
MongoDBAtlasDatabaseUserList contains a list of MongoDBAtlasDatabaseUser
func (*MongoDBAtlasDatabaseUserList) DeepCopy ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserList) DeepCopy() *MongoDBAtlasDatabaseUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasDatabaseUserList.
func (*MongoDBAtlasDatabaseUserList) DeepCopyInto ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserList) DeepCopyInto(out *MongoDBAtlasDatabaseUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasDatabaseUserList) DeepCopyObject ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasDatabaseUserRequestBody ¶ added in v0.0.7
type MongoDBAtlasDatabaseUserRequestBody struct { Password string `json:"password,omitempty"` DeleteAfterDate string `json:"deleteAfterDate,omitempty"` DatabaseName string `json:"databaseName,omitempty"` Roles []ma.Role `json:"roles,omitempty"` }
MongoDBAtlasDatabaseUserRequestBody defines the Request Body Parameters when creating/updating a database user
func (*MongoDBAtlasDatabaseUserRequestBody) DeepCopy ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserRequestBody) DeepCopy() *MongoDBAtlasDatabaseUserRequestBody
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasDatabaseUserRequestBody.
func (*MongoDBAtlasDatabaseUserRequestBody) DeepCopyInto ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserRequestBody) DeepCopyInto(out *MongoDBAtlasDatabaseUserRequestBody)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasDatabaseUserSpec ¶ added in v0.0.7
type MongoDBAtlasDatabaseUserSpec struct { ProjectName string `json:"projectName,project"` MongoDBAtlasDatabaseUserRequestBody `json:",inline"` }
MongoDBAtlasDatabaseUserSpec defines the desired state of MongoDBAtlasDatabaseUser +k8s:openapi-gen=true
func (*MongoDBAtlasDatabaseUserSpec) DeepCopy ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserSpec) DeepCopy() *MongoDBAtlasDatabaseUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasDatabaseUserSpec.
func (*MongoDBAtlasDatabaseUserSpec) DeepCopyInto ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserSpec) DeepCopyInto(out *MongoDBAtlasDatabaseUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasDatabaseUserStatus ¶ added in v0.0.7
type MongoDBAtlasDatabaseUserStatus struct { GroupID string `json:"groupID,omitempty"` Username string `json:"username,omitempty"` DeleteAfterDate string `json:"deleteAfterDate,omitempty"` DatabaseName string `json:"databaseName,omitempty"` Roles []ma.Role `json:"roles,omitempty"` }
MongoDBAtlasDatabaseUserStatus defines the observed state of MongoDBAtlasDatabaseUser +k8s:openapi-gen=true
func (*MongoDBAtlasDatabaseUserStatus) DeepCopy ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserStatus) DeepCopy() *MongoDBAtlasDatabaseUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasDatabaseUserStatus.
func (*MongoDBAtlasDatabaseUserStatus) DeepCopyInto ¶ added in v0.0.7
func (in *MongoDBAtlasDatabaseUserStatus) DeepCopyInto(out *MongoDBAtlasDatabaseUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasProject ¶
type MongoDBAtlasProject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MongoDBAtlasProjectSpec `json:"spec,omitempty"` Status MongoDBAtlasProjectStatus `json:"status,omitempty"` }
MongoDBAtlasProject is the Schema for the mongodbatlasprojects API +k8s:openapi-gen=true +kubebuilder:printcolumn:name="GroupID",type="string",JSONPath=".status.id",description="The ID of the Project" +kubebuilder:printcolumn:name="ClusterCount",type="integer",JSONPath=".status.clusterCount",description="The number of Clusters in the Project" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="OrgID",type="string",JSONPath=".spec.orgID",description="The MongoDB Atlas Organization ID",priority="1" +kubebuilder:subresource:status +kubebuilder:resource:path=mongodbatlasprojects,shortName=map +kubebuilder:categories=all,mongodbatlas
func (*MongoDBAtlasProject) DeepCopy ¶
func (in *MongoDBAtlasProject) DeepCopy() *MongoDBAtlasProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasProject.
func (*MongoDBAtlasProject) DeepCopyInto ¶
func (in *MongoDBAtlasProject) DeepCopyInto(out *MongoDBAtlasProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasProject) DeepCopyObject ¶
func (in *MongoDBAtlasProject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasProjectList ¶
type MongoDBAtlasProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MongoDBAtlasProject `json:"items"` }
MongoDBAtlasProjectList contains a list of MongoDBAtlasProject
func (*MongoDBAtlasProjectList) DeepCopy ¶
func (in *MongoDBAtlasProjectList) DeepCopy() *MongoDBAtlasProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasProjectList.
func (*MongoDBAtlasProjectList) DeepCopyInto ¶
func (in *MongoDBAtlasProjectList) DeepCopyInto(out *MongoDBAtlasProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MongoDBAtlasProjectList) DeepCopyObject ¶
func (in *MongoDBAtlasProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MongoDBAtlasProjectSpec ¶
type MongoDBAtlasProjectSpec struct {
OrgID string `json:"orgID"`
}
MongoDBAtlasProjectSpec defines the desired state of MongoDBAtlasProject +k8s:openapi-gen=true
func (*MongoDBAtlasProjectSpec) DeepCopy ¶
func (in *MongoDBAtlasProjectSpec) DeepCopy() *MongoDBAtlasProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasProjectSpec.
func (*MongoDBAtlasProjectSpec) DeepCopyInto ¶
func (in *MongoDBAtlasProjectSpec) DeepCopyInto(out *MongoDBAtlasProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBAtlasProjectStatus ¶
type MongoDBAtlasProjectStatus struct { ID string `json:"id"` Name string `json:"name"` OrgID string `json:"orgID"` Created string `json:"created"` ClusterCount int `json:"clusterCount"` }
MongoDBAtlasProjectStatus defines the observed state of MongoDBAtlasProject +k8s:openapi-gen=true
func (*MongoDBAtlasProjectStatus) DeepCopy ¶
func (in *MongoDBAtlasProjectStatus) DeepCopy() *MongoDBAtlasProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAtlasProjectStatus.
func (*MongoDBAtlasProjectStatus) DeepCopyInto ¶
func (in *MongoDBAtlasProjectStatus) DeepCopyInto(out *MongoDBAtlasProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.