Documentation ¶
Index ¶
- Constants
- func AtlasInSync(atlas *mongodbatlas.EncryptionAtRest, spec *akov2.EncryptionAtRest) (bool, error)
- func DeleteAllNetworkPeers(ctx context.Context, groupID string, service admin.NetworkPeeringApi, ...) workflow.Result
- func DeleteAllPrivateEndpoints(ctx *workflow.Context, projectID string) workflow.Result
- func GetAllExistedNetworkPeer(ctx context.Context, peerService admin.NetworkPeeringApi, groupID string) ([]admin.BaseNetworkPeeringConnectionSettings, error)
- func IsEncryptionAtlasEmpty(atlas *mongodbatlas.EncryptionAtRest) bool
- func IsEncryptionSpecEmpty(spec *akov2.EncryptionAtRest) bool
- func SyncNetworkPeer(workflowCtx *workflow.Context, groupID string, ...) (workflow.Result, api.ConditionType)
- func UpdateStatuses(context context.Context, containerService admin.NetworkPeeringApi, ...) ([]status.AtlasNetworkPeer, error)
- type AtlasProjectReconciler
- type CloudProviderIntegrationIdentifiable
- type CustomRolesOperations
- type TeamDataContainer
Constants ¶
View Source
const ( StatusFailed = "FAILED" StatusReady = "AVAILABLE" StatusDeleting = "DELETING" StatusTerminating = "TERMINATING" )
View Source
const (
ObjectIDRegex = "^([a-f0-9]{24})$"
)
Variables ¶
This section is empty.
Functions ¶
func AtlasInSync ¶
func AtlasInSync(atlas *mongodbatlas.EncryptionAtRest, spec *akov2.EncryptionAtRest) (bool, error)
func DeleteAllNetworkPeers ¶
func DeleteAllNetworkPeers(ctx context.Context, groupID string, service admin.NetworkPeeringApi, logger *zap.SugaredLogger) workflow.Result
func GetAllExistedNetworkPeer ¶
func GetAllExistedNetworkPeer(ctx context.Context, peerService admin.NetworkPeeringApi, groupID string) ([]admin.BaseNetworkPeeringConnectionSettings, error)
func IsEncryptionAtlasEmpty ¶
func IsEncryptionAtlasEmpty(atlas *mongodbatlas.EncryptionAtRest) bool
func IsEncryptionSpecEmpty ¶
func IsEncryptionSpecEmpty(spec *akov2.EncryptionAtRest) bool
func SyncNetworkPeer ¶
func SyncNetworkPeer(workflowCtx *workflow.Context, groupID string, peerStatuses []status.AtlasNetworkPeer, peerSpecs []akov2.NetworkPeer) (workflow.Result, api.ConditionType)
func UpdateStatuses ¶
func UpdateStatuses(context context.Context, containerService admin.NetworkPeeringApi, peerStatuses []status.AtlasNetworkPeer, peersToUpdate []admin.BaseNetworkPeeringConnectionSettings, groupID string, logger *zap.SugaredLogger) ([]status.AtlasNetworkPeer, error)
Types ¶
type AtlasProjectReconciler ¶
type AtlasProjectReconciler struct { Client client.Client Log *zap.SugaredLogger Scheme *runtime.Scheme GlobalPredicates []predicate.Predicate EventRecorder record.EventRecorder AtlasProvider atlas.Provider ObjectDeletionProtection bool SubObjectDeletionProtection bool // contains filtered or unexported fields }
AtlasProjectReconciler reconciles a AtlasProject object
func NewAtlasProjectReconciler ¶ added in v2.3.1
func (*AtlasProjectReconciler) SetupWithManager ¶
func (r *AtlasProjectReconciler) SetupWithManager(mgr ctrl.Manager, skipNameValidation bool) error
type CloudProviderIntegrationIdentifiable ¶ added in v2.1.0
type CloudProviderIntegrationIdentifiable akov2.CloudProviderIntegration
func (CloudProviderIntegrationIdentifiable) Identifier ¶ added in v2.1.0
func (cpa CloudProviderIntegrationIdentifiable) Identifier() interface{}
type CustomRolesOperations ¶
type CustomRolesOperations struct { Create map[string]customroles.CustomRole Update map[string]customroles.CustomRole Delete map[string]customroles.CustomRole }
Source Files ¶
- alert_configurations.go
- atlasproject_controller.go
- auditing.go
- backupcompliancepolicy.go
- cloud_provider_integration.go
- custom_roles.go
- encryption_at_rest.go
- integrations.go
- ipaccess_list.go
- maintenancewindow.go
- network_peering.go
- private_endpoint.go
- project.go
- project_settings.go
- team_reconciler.go
- teams.go
- x509_auth.go
Click to show internal directories.
Click to hide internal directories.