clickhouse

package
v0.0.0-...-b5930ce Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupIterator

type BackupIterator struct {
	// contains filtered or unexported fields
}

func (*BackupIterator) Error

func (it *BackupIterator) Error() error

func (*BackupIterator) Next

func (it *BackupIterator) Next() bool

func (*BackupIterator) Take

func (it *BackupIterator) Take(size int64) ([]*clickhouse.Backup, error)

func (*BackupIterator) TakeAll

func (it *BackupIterator) TakeAll() ([]*clickhouse.Backup, error)

func (*BackupIterator) Value

func (it *BackupIterator) Value() *clickhouse.Backup

type BackupServiceClient

type BackupServiceClient struct {
	// contains filtered or unexported fields
}

BackupServiceClient is a clickhouse.BackupServiceClient with lazy GRPC connection initialization.

func (*BackupServiceClient) BackupIterator

func (*BackupServiceClient) Create

Create implements clickhouse.BackupServiceClient

func (*BackupServiceClient) Delete

Delete implements clickhouse.BackupServiceClient

func (*BackupServiceClient) Get

Get implements clickhouse.BackupServiceClient

func (*BackupServiceClient) List

List implements clickhouse.BackupServiceClient

type ClickHouse

type ClickHouse struct {
	// contains filtered or unexported fields
}

ClickHouse provides access to "clickhouse" service of DoubleCloud

func NewClickHouse

func NewClickHouse(g func(ctx context.Context) (*grpc.ClientConn, error)) *ClickHouse

NewClickHouse creates instance of ClickHouse

func (*ClickHouse) Backup

func (c *ClickHouse) Backup() *BackupServiceClient

Backup gets BackupService client

func (*ClickHouse) Cluster

func (c *ClickHouse) Cluster() *ClusterServiceClient

Cluster gets ClusterService client

func (*ClickHouse) Operation

func (c *ClickHouse) Operation() *OperationServiceClient

Operation gets OperationService client

func (*ClickHouse) Version

func (c *ClickHouse) Version() *VersionServiceClient

Version gets VersionService client

type ClusterBackupsIterator

type ClusterBackupsIterator struct {
	// contains filtered or unexported fields
}

func (*ClusterBackupsIterator) Error

func (it *ClusterBackupsIterator) Error() error

func (*ClusterBackupsIterator) Next

func (it *ClusterBackupsIterator) Next() bool

func (*ClusterBackupsIterator) Take

func (it *ClusterBackupsIterator) Take(size int64) ([]*clickhouse.Backup, error)

func (*ClusterBackupsIterator) TakeAll

func (it *ClusterBackupsIterator) TakeAll() ([]*clickhouse.Backup, error)

func (*ClusterBackupsIterator) Value

type ClusterHostsIterator

type ClusterHostsIterator struct {
	// contains filtered or unexported fields
}

func (*ClusterHostsIterator) Error

func (it *ClusterHostsIterator) Error() error

func (*ClusterHostsIterator) Next

func (it *ClusterHostsIterator) Next() bool

func (*ClusterHostsIterator) Take

func (it *ClusterHostsIterator) Take(size int64) ([]*clickhouse.Host, error)

func (*ClusterHostsIterator) TakeAll

func (it *ClusterHostsIterator) TakeAll() ([]*clickhouse.Host, error)

func (*ClusterHostsIterator) Value

func (it *ClusterHostsIterator) Value() *clickhouse.Host

type ClusterIterator

type ClusterIterator struct {
	// contains filtered or unexported fields
}

func (*ClusterIterator) Error

func (it *ClusterIterator) Error() error

func (*ClusterIterator) Next

func (it *ClusterIterator) Next() bool

func (*ClusterIterator) Take

func (it *ClusterIterator) Take(size int64) ([]*clickhouse.Cluster, error)

func (*ClusterIterator) TakeAll

func (it *ClusterIterator) TakeAll() ([]*clickhouse.Cluster, error)

func (*ClusterIterator) Value

func (it *ClusterIterator) Value() *clickhouse.Cluster

type ClusterOperationsIterator

type ClusterOperationsIterator struct {
	// contains filtered or unexported fields
}

func (*ClusterOperationsIterator) Error

func (it *ClusterOperationsIterator) Error() error

func (*ClusterOperationsIterator) Next

func (it *ClusterOperationsIterator) Next() bool

func (*ClusterOperationsIterator) Take

func (*ClusterOperationsIterator) TakeAll

func (*ClusterOperationsIterator) Value

type ClusterServiceClient

type ClusterServiceClient struct {
	// contains filtered or unexported fields
}

ClusterServiceClient is a clickhouse.ClusterServiceClient with lazy GRPC connection initialization.

func (*ClusterServiceClient) ClusterBackupsIterator

func (*ClusterServiceClient) ClusterHostsIterator

func (*ClusterServiceClient) ClusterIterator

func (*ClusterServiceClient) ClusterOperationsIterator

func (*ClusterServiceClient) Create

Create implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Delete

Delete implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Get

Get implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) List

List implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ListBackups

ListBackups implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ListHosts

ListHosts implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ListOperations

ListOperations implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) RescheduleMaintenance

RescheduleMaintenance implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ResetCredentials

ResetCredentials implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Restore

Restore implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Start

Start implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Stop

Stop implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Update

Update implements clickhouse.ClusterServiceClient

type OperationIterator

type OperationIterator struct {
	// contains filtered or unexported fields
}

func (*OperationIterator) Error

func (it *OperationIterator) Error() error

func (*OperationIterator) Next

func (it *OperationIterator) Next() bool

func (*OperationIterator) Take

func (it *OperationIterator) Take(size int64) ([]*doublecloud.Operation, error)

func (*OperationIterator) TakeAll

func (it *OperationIterator) TakeAll() ([]*doublecloud.Operation, error)

func (*OperationIterator) Value

type OperationServiceClient

type OperationServiceClient struct {
	// contains filtered or unexported fields
}

OperationServiceClient is a clickhouse.OperationServiceClient with lazy GRPC connection initialization.

func (*OperationServiceClient) Get

Get implements clickhouse.OperationServiceClient

func (*OperationServiceClient) List

List implements clickhouse.OperationServiceClient

func (*OperationServiceClient) OperationIterator

type VersionIterator

type VersionIterator struct {
	// contains filtered or unexported fields
}

func (*VersionIterator) Error

func (it *VersionIterator) Error() error

func (*VersionIterator) Next

func (it *VersionIterator) Next() bool

func (*VersionIterator) Take

func (it *VersionIterator) Take(size int64) ([]*clickhouse.Version, error)

func (*VersionIterator) TakeAll

func (it *VersionIterator) TakeAll() ([]*clickhouse.Version, error)

func (*VersionIterator) Value

func (it *VersionIterator) Value() *clickhouse.Version

type VersionServiceClient

type VersionServiceClient struct {
	// contains filtered or unexported fields
}

VersionServiceClient is a clickhouse.VersionServiceClient with lazy GRPC connection initialization.

func (*VersionServiceClient) List

List implements clickhouse.VersionServiceClient

func (*VersionServiceClient) VersionIterator

Jump to

Keyboard shortcuts

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