Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAllPrivateEndpoints ¶ added in v0.7.0
func DeleteAllPrivateEndpoints(ctx *workflow.Context, client mongodbatlas.Client, projectID string, statusPE []status.ProjectPrivateEndpoint, log *zap.SugaredLogger) workflow.Result
Types ¶
type AtlasProjectReconciler ¶
type AtlasProjectReconciler struct {
Client client.Client
watch.ResourceWatcher
Log *zap.SugaredLogger
Scheme *runtime.Scheme
AtlasDomain string
GlobalAPISecret client.ObjectKey
GlobalPredicates []predicate.Predicate
EventRecorder record.EventRecorder
}
AtlasProjectReconciler reconciles a AtlasProject object
func (*AtlasProjectReconciler) SetupWithManager ¶
func (r *AtlasProjectReconciler) SetupWithManager(mgr ctrl.Manager) error
type IPAccessListStatus ¶ added in v0.8.0
type IPAccessListStatus struct {
Status string `json:"STATUS"`
}
func GetIPAccessListStatus ¶ added in v0.8.0
func GetIPAccessListStatus(client mongodbatlas.Client, accessList mongodbatlas.ProjectIPAccessList) (IPAccessListStatus, error)
GetIPAccessListStatus returns the status of an individual project ip access list. The documentation can be found here https://docs.atlas.mongodb.com/reference/api/ip-access-list/get-one-access-list-entry-status/
type IPAccessListStatusType ¶ added in v0.8.0
type IPAccessListStatusType string
const ( IPAccessListActive IPAccessListStatusType = "ACTIVE" IPAccessListFailed IPAccessListStatusType = "FAILED" IPAccessListPending IPAccessListStatusType = "PENDING" )
Click to show internal directories.
Click to hide internal directories.