atlasdatafederation

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type AtlasDataFederationReconciler

type AtlasDataFederationReconciler struct {
	watch.ResourceWatcher
	Client                      client.Client
	Log                         *zap.SugaredLogger
	Scheme                      *runtime.Scheme
	GlobalPredicates            []predicate.Predicate
	EventRecorder               record.EventRecorder
	AtlasProvider               atlas.Provider
	ObjectDeletionProtection    bool
	SubObjectDeletionProtection bool
}

AtlasDataFederationReconciler reconciles an DataFederation object

func (*AtlasDataFederationReconciler) Delete

Delete implements a handler for the Delete event

func (*AtlasDataFederationReconciler) Reconcile

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

func (*AtlasDataFederationReconciler) SetupWithManager

func (r *AtlasDataFederationReconciler) SetupWithManager(mgr ctrl.Manager) error

type DataFederationServiceOp

type DataFederationServiceOp service

func NewClient

func NewClient(client *mongodbatlas.Client) *DataFederationServiceOp

func (*DataFederationServiceOp) Create

func (*DataFederationServiceOp) CreateOnePrivateEndpoint

func (s *DataFederationServiceOp) CreateOnePrivateEndpoint(ctx context.Context, groupID string, endpoint akov2.DataFederationPE) (*akov2.DataFederationPE, *mongodbatlas.Response, error)

func (*DataFederationServiceOp) Delete

func (s *DataFederationServiceOp) Delete(ctx context.Context, groupID string, tenantName string) (*mongodbatlas.Response, error)

func (*DataFederationServiceOp) DeleteOnePrivateEndpoint

func (s *DataFederationServiceOp) DeleteOnePrivateEndpoint(ctx context.Context, groupID string, endpointID string) (*akov2.DataFederationPE, *mongodbatlas.Response, error)

func (*DataFederationServiceOp) Get

func (*DataFederationServiceOp) GetAllPrivateEndpoints

func (s *DataFederationServiceOp) GetAllPrivateEndpoints(ctx context.Context, groupID string) ([]akov2.DataFederationPE, *mongodbatlas.Response, error)

func (*DataFederationServiceOp) Update

type PrivateEndpointsResponse

type PrivateEndpointsResponse struct {
	Links      []*mongodbatlas.Link     `json:"links,omitempty"`
	Results    []akov2.DataFederationPE `json:"results,omitempty"`
	TotalCount int                      `json:"totalCount,omitempty"`
}

Jump to

Keyboard shortcuts

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