transition

package
v0.49.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: GPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleanup added in v0.49.0

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

func NewCleanup added in v0.49.0

func NewCleanup(
	getSvc *getsvc.Service,
	deleteSvc *deletesvc.Service,
	moduleCache *client.ModuleAPIClientCache,
	morphClient StatusCleaner,
) *Cleanup

func (*Cleanup) CleanupTransitionedObject added in v0.49.0

func (c *Cleanup) CleanupTransitionedObject(ctx context.Context, obj meta.TransitedObject) error

type MaxObjectSizeSource added in v0.49.0

type MaxObjectSizeSource interface {
	MaxObjectSize(context.Context) (uint64, error)
}

type NewServiceParams

type NewServiceParams struct {
	Logger                       *logger.Logger
	ContainerSource              containercore.Source
	TranisitionModulesNetAddrs   []network.Address
	NodePublicKey                []byte
	GetService                   *getsvc.Service
	PutService                   *putsvc.Service
	DeleteService                *deletesvc.Service
	RestoreStatusProvider        restore.RestoreStatusProvider
	NetmapState                  netmapcore.State
	DialerSource                 *net.DialerSource
	ModuleAPIClientCacheConfig   client.ClientCacheConfig
	StreamMessageObjectChunkSize int
	MaxObjectSizeSource          MaxObjectSizeSource
	LockSource                   objectcore.LockSource
}

type Service

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

func NewService

func NewService(ctx context.Context, params NewServiceParams) (*Service, error)

func (*Service) ListModules

func (*Service) ModuleAPIClientCache added in v0.49.0

func (s *Service) ModuleAPIClientCache() *client.ModuleAPIClientCache

type StatusCleaner added in v0.49.0

type StatusCleaner interface {
	DeleteStatus(ctx context.Context, addr oid.Address) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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