clickhouse

package
v0.0.0-...-417428f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

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) 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 (c *BackupServiceClient) BackupIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *BackupIterator

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" component of Yandex.Cloud

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

func (c *Clickhouse) Database() *DatabaseServiceClient

Database gets DatabaseService client

func (*Clickhouse) FormatSchema

func (c *Clickhouse) FormatSchema() *FormatSchemaServiceClient

FormatSchema gets FormatSchemaService client

func (*Clickhouse) MlModel

func (c *Clickhouse) MlModel() *MlModelServiceClient

MlModel gets MlModelService client

func (*Clickhouse) ResourcePreset

func (c *Clickhouse) ResourcePreset() *ResourcePresetServiceClient

ResourcePreset gets ResourcePresetService client

func (*Clickhouse) User

func (c *Clickhouse) User() *UserServiceClient

User gets UserService client

func (*Clickhouse) Versions

func (c *Clickhouse) Versions() *VersionsServiceClient

Versions gets VersionsService 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) 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) 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) Value

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

type ClusterLogsIterator

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

func (*ClusterLogsIterator) Error

func (it *ClusterLogsIterator) Error() error

func (*ClusterLogsIterator) Next

func (it *ClusterLogsIterator) Next() bool

func (*ClusterLogsIterator) Value

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

type ClusterServiceClient

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

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

func (*ClusterServiceClient) AddHosts

AddHosts implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) AddShard

AddShard implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) AddZookeeper

AddZookeeper implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Backup

Backup implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ClusterBackupsIterator

func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterBackupsIterator

func (*ClusterServiceClient) ClusterHostsIterator

func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterHostsIterator

func (*ClusterServiceClient) ClusterIterator

func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *ClusterIterator

func (*ClusterServiceClient) ClusterLogsIterator

func (c *ClusterServiceClient) ClusterLogsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterLogsIterator

func (*ClusterServiceClient) ClusterOperationsIterator

func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterOperationsIterator

func (*ClusterServiceClient) ClusterShardGroupsIterator

func (c *ClusterServiceClient) ClusterShardGroupsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterShardGroupsIterator

func (*ClusterServiceClient) ClusterShardsIterator

func (c *ClusterServiceClient) ClusterShardsIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *ClusterShardsIterator

func (*ClusterServiceClient) Create

Create implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) CreateExternalDictionary

CreateExternalDictionary implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) CreateShardGroup

CreateShardGroup implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Delete

Delete implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) DeleteExternalDictionary

DeleteExternalDictionary implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) DeleteHosts

DeleteHosts implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) DeleteShard

DeleteShard implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) DeleteShardGroup

DeleteShardGroup implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Get

Get implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) GetShard

GetShard implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) GetShardGroup

GetShardGroup 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) ListLogs

ListLogs implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ListOperations

ListOperations implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ListShardGroups

ListShardGroups implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) ListShards

ListShards implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Move

Move implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) RescheduleMaintenance

RescheduleMaintenance 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) StreamLogs

StreamLogs implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) Update

Update implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) UpdateShard

UpdateShard implements clickhouse.ClusterServiceClient

func (*ClusterServiceClient) UpdateShardGroup

UpdateShardGroup implements clickhouse.ClusterServiceClient

type ClusterShardGroupsIterator

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

func (*ClusterShardGroupsIterator) Error

func (it *ClusterShardGroupsIterator) Error() error

func (*ClusterShardGroupsIterator) Next

func (it *ClusterShardGroupsIterator) Next() bool

func (*ClusterShardGroupsIterator) Value

type ClusterShardsIterator

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

func (*ClusterShardsIterator) Error

func (it *ClusterShardsIterator) Error() error

func (*ClusterShardsIterator) Next

func (it *ClusterShardsIterator) Next() bool

func (*ClusterShardsIterator) Value

func (it *ClusterShardsIterator) Value() *clickhouse.Shard

type DatabaseIterator

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

func (*DatabaseIterator) Error

func (it *DatabaseIterator) Error() error

func (*DatabaseIterator) Next

func (it *DatabaseIterator) Next() bool

func (*DatabaseIterator) Value

func (it *DatabaseIterator) Value() *clickhouse.Database

type DatabaseServiceClient

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

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

func (*DatabaseServiceClient) Create

Create implements clickhouse.DatabaseServiceClient

func (*DatabaseServiceClient) DatabaseIterator

func (c *DatabaseServiceClient) DatabaseIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *DatabaseIterator

func (*DatabaseServiceClient) Delete

Delete implements clickhouse.DatabaseServiceClient

func (*DatabaseServiceClient) Get

Get implements clickhouse.DatabaseServiceClient

func (*DatabaseServiceClient) List

List implements clickhouse.DatabaseServiceClient

type FormatSchemaIterator

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

func (*FormatSchemaIterator) Error

func (it *FormatSchemaIterator) Error() error

func (*FormatSchemaIterator) Next

func (it *FormatSchemaIterator) Next() bool

func (*FormatSchemaIterator) Value

type FormatSchemaServiceClient

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

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

func (*FormatSchemaServiceClient) Create

Create implements clickhouse.FormatSchemaServiceClient

func (*FormatSchemaServiceClient) Delete

Delete implements clickhouse.FormatSchemaServiceClient

func (*FormatSchemaServiceClient) FormatSchemaIterator

func (c *FormatSchemaServiceClient) FormatSchemaIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *FormatSchemaIterator

func (*FormatSchemaServiceClient) Get

Get implements clickhouse.FormatSchemaServiceClient

func (*FormatSchemaServiceClient) List

List implements clickhouse.FormatSchemaServiceClient

func (*FormatSchemaServiceClient) Update

Update implements clickhouse.FormatSchemaServiceClient

type MlModelIterator

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

func (*MlModelIterator) Error

func (it *MlModelIterator) Error() error

func (*MlModelIterator) Next

func (it *MlModelIterator) Next() bool

func (*MlModelIterator) Value

func (it *MlModelIterator) Value() *clickhouse.MlModel

type MlModelServiceClient

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

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

func (*MlModelServiceClient) Create

Create implements clickhouse.MlModelServiceClient

func (*MlModelServiceClient) Delete

Delete implements clickhouse.MlModelServiceClient

func (*MlModelServiceClient) Get

Get implements clickhouse.MlModelServiceClient

func (*MlModelServiceClient) List

List implements clickhouse.MlModelServiceClient

func (*MlModelServiceClient) MlModelIterator

func (c *MlModelServiceClient) MlModelIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *MlModelIterator

func (*MlModelServiceClient) Update

Update implements clickhouse.MlModelServiceClient

type ResourcePresetIterator

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

func (*ResourcePresetIterator) Error

func (it *ResourcePresetIterator) Error() error

func (*ResourcePresetIterator) Next

func (it *ResourcePresetIterator) Next() bool

func (*ResourcePresetIterator) Value

type ResourcePresetServiceClient

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

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

func (*ResourcePresetServiceClient) Get

Get implements clickhouse.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) List

List implements clickhouse.ResourcePresetServiceClient

func (*ResourcePresetServiceClient) ResourcePresetIterator

func (c *ResourcePresetServiceClient) ResourcePresetIterator(ctx context.Context, opts ...grpc.CallOption) *ResourcePresetIterator

type UserIterator

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

func (*UserIterator) Error

func (it *UserIterator) Error() error

func (*UserIterator) Next

func (it *UserIterator) Next() bool

func (*UserIterator) Value

func (it *UserIterator) Value() *clickhouse.User

type UserServiceClient

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

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

func (*UserServiceClient) Create

Create implements clickhouse.UserServiceClient

func (*UserServiceClient) Delete

Delete implements clickhouse.UserServiceClient

func (*UserServiceClient) Get

Get implements clickhouse.UserServiceClient

func (*UserServiceClient) GrantPermission

GrantPermission implements clickhouse.UserServiceClient

func (*UserServiceClient) List

List implements clickhouse.UserServiceClient

func (*UserServiceClient) RevokePermission

RevokePermission implements clickhouse.UserServiceClient

func (*UserServiceClient) Update

Update implements clickhouse.UserServiceClient

func (*UserServiceClient) UserIterator

func (c *UserServiceClient) UserIterator(ctx context.Context, clusterId string, opts ...grpc.CallOption) *UserIterator

type VersionsIterator

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

func (*VersionsIterator) Error

func (it *VersionsIterator) Error() error

func (*VersionsIterator) Next

func (it *VersionsIterator) Next() bool

func (*VersionsIterator) Value

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

type VersionsServiceClient

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

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

func (*VersionsServiceClient) List

List implements clickhouse.VersionsServiceClient

func (*VersionsServiceClient) VersionsIterator

func (c *VersionsServiceClient) VersionsIterator(ctx context.Context, opts ...grpc.CallOption) *VersionsIterator

Jump to

Keyboard shortcuts

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