Help us shape the future of Go! Take the 2026 Go Developer Survey

partition

package
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Partition

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

func (*Partition) GetControllerPartitionId

func (p *Partition) GetControllerPartitionId() string

func (*Partition) GetInternalTenantForController

func (p *Partition) GetInternalTenantForController(ctx context.Context) (*dbsqlc.Tenant, error)

func (*Partition) GetSchedulerPartitionId

func (p *Partition) GetSchedulerPartitionId() string

func (*Partition) GetWorkerPartitionId

func (p *Partition) GetWorkerPartitionId() string

func (*Partition) ListTenantsForController

func (p *Partition) ListTenantsForController(ctx context.Context, majorVersion dbsqlc.TenantMajorEngineVersion) ([]*dbsqlc.Tenant, error)

func (*Partition) ListTenantsForScheduler

func (p *Partition) ListTenantsForScheduler(ctx context.Context, majorVersion dbsqlc.TenantMajorEngineVersion) ([]*dbsqlc.Tenant, error)

func (*Partition) ListTenantsForWorkerPartition

func (p *Partition) ListTenantsForWorkerPartition(ctx context.Context, majorVersion dbsqlc.TenantMajorEngineVersion) ([]*dbsqlc.Tenant, error)

func (*Partition) Shutdown

func (p *Partition) Shutdown() error

func (*Partition) StartControllerPartition

func (p *Partition) StartControllerPartition(ctx context.Context) (func() error, error)

func (*Partition) StartSchedulerPartition

func (p *Partition) StartSchedulerPartition(ctx context.Context) (func() error, error)

func (*Partition) StartTenantWorkerPartition

func (p *Partition) StartTenantWorkerPartition(ctx context.Context) (func() error, error)

Jump to

Keyboard shortcuts

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