atlasproject

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

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) Reconcile

func (r *AtlasProjectReconciler) Reconcile(context context.Context, req ctrl.Request) (ctrl.Result, error)

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL