replication

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

func (Client) Create

func (c Client) Create(ctx context.Context, params *CreateParams) error

func (Client) Delete

func (c Client) Delete(ctx context.Context, replicationID string) error

func (Client) DeleteWithRemoteID added in v2.4.0

func (c Client) DeleteWithRemoteID(ctx context.Context, conn api.RemoteConnection) error

func (Client) List

func (c Client) List(ctx context.Context, params *ListParams) error

func (Client) Update

func (c Client) Update(ctx context.Context, params *UpdateParams) error

type CreateParams

type CreateParams struct {
	clients.OrgParams
	Name                   string
	Description            string
	RemoteID               string
	LocalBucketID          string
	RemoteBucketID         string
	RemoteBucketName       string
	MaxQueueSize           int64
	DropNonRetryableData   bool
	NoDropNonRetryableData bool
	MaxAge                 int64
}

type ListParams

type ListParams struct {
	clients.OrgParams
	Name          string
	RemoteID      string
	LocalBucketID string
}

type UpdateParams

type UpdateParams struct {
	ReplicationID          string
	Name                   string
	Description            string
	RemoteID               string
	RemoteBucketID         string
	MaxQueueSize           int64
	DropNonRetryableData   bool
	NoDropNonRetryableData bool
	MaxAge                 int64
}

Jump to

Keyboard shortcuts

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