Documentation ¶
Overview ¶
nolint
nolint
nolint
nolint
Index ¶
- type BackupIterator
- type BackupServiceClient
- func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *clickhouse.ListBackupsRequest, ...) *BackupIterator
- func (c *BackupServiceClient) Create(ctx context.Context, in *clickhouse.CreateBackupRequest, ...) (*doublecloud.Operation, error)
- func (c *BackupServiceClient) Delete(ctx context.Context, in *clickhouse.DeleteBackupRequest, ...) (*doublecloud.Operation, error)
- func (c *BackupServiceClient) Get(ctx context.Context, in *clickhouse.GetBackupRequest, opts ...grpc.CallOption) (*clickhouse.Backup, error)
- func (c *BackupServiceClient) List(ctx context.Context, in *clickhouse.ListBackupsRequest, ...) (*clickhouse.ListBackupsResponse, error)
- type ClickHouse
- type ClusterBackupsIterator
- func (it *ClusterBackupsIterator) Error() error
- func (it *ClusterBackupsIterator) Next() bool
- func (it *ClusterBackupsIterator) Take(size int64) ([]*clickhouse.Backup, error)
- func (it *ClusterBackupsIterator) TakeAll() ([]*clickhouse.Backup, error)
- func (it *ClusterBackupsIterator) Value() *clickhouse.Backup
- type ClusterHostsIterator
- type ClusterIterator
- type ClusterOperationsIterator
- func (it *ClusterOperationsIterator) Error() error
- func (it *ClusterOperationsIterator) Next() bool
- func (it *ClusterOperationsIterator) Take(size int64) ([]*doublecloud.Operation, error)
- func (it *ClusterOperationsIterator) TakeAll() ([]*doublecloud.Operation, error)
- func (it *ClusterOperationsIterator) Value() *doublecloud.Operation
- type ClusterServiceClient
- func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, req *clickhouse.ListClusterBackupsRequest, ...) *ClusterBackupsIterator
- func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, req *clickhouse.ListClusterHostsRequest, ...) *ClusterHostsIterator
- func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *clickhouse.ListClustersRequest, ...) *ClusterIterator
- func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *clickhouse.ListClusterOperationsRequest, ...) *ClusterOperationsIterator
- func (c *ClusterServiceClient) Create(ctx context.Context, in *clickhouse.CreateClusterRequest, ...) (*doublecloud.Operation, error)
- func (c *ClusterServiceClient) Delete(ctx context.Context, in *clickhouse.DeleteClusterRequest, ...) (*doublecloud.Operation, error)
- func (c *ClusterServiceClient) Get(ctx context.Context, in *clickhouse.GetClusterRequest, opts ...grpc.CallOption) (*clickhouse.Cluster, error)
- func (c *ClusterServiceClient) List(ctx context.Context, in *clickhouse.ListClustersRequest, ...) (*clickhouse.ListClustersResponse, error)
- func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *clickhouse.ListClusterBackupsRequest, ...) (*clickhouse.ListClusterBackupsResponse, error)
- func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *clickhouse.ListClusterHostsRequest, ...) (*clickhouse.ListClusterHostsResponse, error)
- func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *clickhouse.ListClusterOperationsRequest, ...) (*clickhouse.ListClusterOperationsResponse, error)
- func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *clickhouse.RescheduleMaintenanceRequest, ...) (*doublecloud.Operation, error)
- func (c *ClusterServiceClient) ResetCredentials(ctx context.Context, in *clickhouse.ResetClusterCredentialsRequest, ...) (*doublecloud.Operation, error)
- func (c *ClusterServiceClient) Restore(ctx context.Context, in *clickhouse.RestoreClusterRequest, ...) (*doublecloud.Operation, error)
- func (c *ClusterServiceClient) Start(ctx context.Context, in *clickhouse.StartClusterRequest, ...) (*doublecloud.Operation, error)
- func (c *ClusterServiceClient) Stop(ctx context.Context, in *clickhouse.StopClusterRequest, ...) (*doublecloud.Operation, error)
- func (c *ClusterServiceClient) Update(ctx context.Context, in *clickhouse.UpdateClusterRequest, ...) (*doublecloud.Operation, error)
- type OperationIterator
- type OperationServiceClient
- func (c *OperationServiceClient) Get(ctx context.Context, in *clickhouse.GetOperationRequest, ...) (*doublecloud.Operation, error)
- func (c *OperationServiceClient) List(ctx context.Context, in *clickhouse.ListOperationsRequest, ...) (*clickhouse.ListOperationsResponse, error)
- func (c *OperationServiceClient) OperationIterator(ctx context.Context, req *clickhouse.ListOperationsRequest, ...) *OperationIterator
- type VersionIterator
- type VersionServiceClient
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 (c *BackupServiceClient) BackupIterator(ctx context.Context, req *clickhouse.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator
func (*BackupServiceClient) Create ¶
func (c *BackupServiceClient) Create(ctx context.Context, in *clickhouse.CreateBackupRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Create implements clickhouse.BackupServiceClient
func (*BackupServiceClient) Delete ¶
func (c *BackupServiceClient) Delete(ctx context.Context, in *clickhouse.DeleteBackupRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Delete implements clickhouse.BackupServiceClient
func (*BackupServiceClient) Get ¶
func (c *BackupServiceClient) Get(ctx context.Context, in *clickhouse.GetBackupRequest, opts ...grpc.CallOption) (*clickhouse.Backup, error)
Get implements clickhouse.BackupServiceClient
func (*BackupServiceClient) List ¶
func (c *BackupServiceClient) List(ctx context.Context, in *clickhouse.ListBackupsRequest, opts ...grpc.CallOption) (*clickhouse.ListBackupsResponse, error)
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 ¶
func (it *ClusterBackupsIterator) Value() *clickhouse.Backup
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 (it *ClusterOperationsIterator) Take(size int64) ([]*doublecloud.Operation, error)
func (*ClusterOperationsIterator) TakeAll ¶
func (it *ClusterOperationsIterator) TakeAll() ([]*doublecloud.Operation, error)
func (*ClusterOperationsIterator) Value ¶
func (it *ClusterOperationsIterator) Value() *doublecloud.Operation
type ClusterServiceClient ¶
type ClusterServiceClient struct {
// contains filtered or unexported fields
}
ClusterServiceClient is a clickhouse.ClusterServiceClient with lazy GRPC connection initialization.
func (*ClusterServiceClient) ClusterBackupsIterator ¶
func (c *ClusterServiceClient) ClusterBackupsIterator(ctx context.Context, req *clickhouse.ListClusterBackupsRequest, opts ...grpc.CallOption) *ClusterBackupsIterator
func (*ClusterServiceClient) ClusterHostsIterator ¶
func (c *ClusterServiceClient) ClusterHostsIterator(ctx context.Context, req *clickhouse.ListClusterHostsRequest, opts ...grpc.CallOption) *ClusterHostsIterator
func (*ClusterServiceClient) ClusterIterator ¶
func (c *ClusterServiceClient) ClusterIterator(ctx context.Context, req *clickhouse.ListClustersRequest, opts ...grpc.CallOption) *ClusterIterator
func (*ClusterServiceClient) ClusterOperationsIterator ¶
func (c *ClusterServiceClient) ClusterOperationsIterator(ctx context.Context, req *clickhouse.ListClusterOperationsRequest, opts ...grpc.CallOption) *ClusterOperationsIterator
func (*ClusterServiceClient) Create ¶
func (c *ClusterServiceClient) Create(ctx context.Context, in *clickhouse.CreateClusterRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Create implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) Delete ¶
func (c *ClusterServiceClient) Delete(ctx context.Context, in *clickhouse.DeleteClusterRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Delete implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) Get ¶
func (c *ClusterServiceClient) Get(ctx context.Context, in *clickhouse.GetClusterRequest, opts ...grpc.CallOption) (*clickhouse.Cluster, error)
Get implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) List ¶
func (c *ClusterServiceClient) List(ctx context.Context, in *clickhouse.ListClustersRequest, opts ...grpc.CallOption) (*clickhouse.ListClustersResponse, error)
List implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) ListBackups ¶
func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *clickhouse.ListClusterBackupsRequest, opts ...grpc.CallOption) (*clickhouse.ListClusterBackupsResponse, error)
ListBackups implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) ListHosts ¶
func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *clickhouse.ListClusterHostsRequest, opts ...grpc.CallOption) (*clickhouse.ListClusterHostsResponse, error)
ListHosts implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) ListOperations ¶
func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *clickhouse.ListClusterOperationsRequest, opts ...grpc.CallOption) (*clickhouse.ListClusterOperationsResponse, error)
ListOperations implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) RescheduleMaintenance ¶
func (c *ClusterServiceClient) RescheduleMaintenance(ctx context.Context, in *clickhouse.RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
RescheduleMaintenance implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) ResetCredentials ¶
func (c *ClusterServiceClient) ResetCredentials(ctx context.Context, in *clickhouse.ResetClusterCredentialsRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
ResetCredentials implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) Restore ¶
func (c *ClusterServiceClient) Restore(ctx context.Context, in *clickhouse.RestoreClusterRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Restore implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) Start ¶
func (c *ClusterServiceClient) Start(ctx context.Context, in *clickhouse.StartClusterRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Start implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) Stop ¶
func (c *ClusterServiceClient) Stop(ctx context.Context, in *clickhouse.StopClusterRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Stop implements clickhouse.ClusterServiceClient
func (*ClusterServiceClient) Update ¶
func (c *ClusterServiceClient) Update(ctx context.Context, in *clickhouse.UpdateClusterRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
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 ¶
func (it *OperationIterator) Value() *doublecloud.Operation
type OperationServiceClient ¶
type OperationServiceClient struct {
// contains filtered or unexported fields
}
OperationServiceClient is a clickhouse.OperationServiceClient with lazy GRPC connection initialization.
func (*OperationServiceClient) Get ¶
func (c *OperationServiceClient) Get(ctx context.Context, in *clickhouse.GetOperationRequest, opts ...grpc.CallOption) (*doublecloud.Operation, error)
Get implements clickhouse.OperationServiceClient
func (*OperationServiceClient) List ¶
func (c *OperationServiceClient) List(ctx context.Context, in *clickhouse.ListOperationsRequest, opts ...grpc.CallOption) (*clickhouse.ListOperationsResponse, error)
List implements clickhouse.OperationServiceClient
func (*OperationServiceClient) OperationIterator ¶
func (c *OperationServiceClient) OperationIterator(ctx context.Context, req *clickhouse.ListOperationsRequest, opts ...grpc.CallOption) *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 ¶
func (c *VersionServiceClient) List(ctx context.Context, in *clickhouse.ListVersionsRequest, opts ...grpc.CallOption) (*clickhouse.ListVersionsResponse, error)
List implements clickhouse.VersionServiceClient
func (*VersionServiceClient) VersionIterator ¶
func (c *VersionServiceClient) VersionIterator(ctx context.Context, req *clickhouse.ListVersionsRequest, opts ...grpc.CallOption) *VersionIterator