objects

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUsed

func IsUsed(md *meta.Data) bool

IsUsed reports whether the application uses object storage at all.

Types

type ClusterManager

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

func NewClusterManager

func NewClusterManager(ns *namespace.Manager) *ClusterManager

NewClusterManager creates a new ClusterManager.

func (*ClusterManager) BaseDir

func (cm *ClusterManager) BaseDir(ctx context.Context, ns *namespace.Namespace) (string, error)

func (*ClusterManager) CanDeleteNamespace

func (cm *ClusterManager) CanDeleteNamespace(ctx context.Context, app *apps.Instance, ns *namespace.Namespace) error

CanDeleteNamespace implements namespace.DeletionHandler.

func (*ClusterManager) DeleteNamespace

func (cm *ClusterManager) DeleteNamespace(ctx context.Context, app *apps.Instance, ns *namespace.Namespace) error

DeleteNamespace implements namespace.DeletionHandler.

type Server

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

func NewDirServer

func NewDirServer(baseDir string) *Server

func NewInMemoryServer

func NewInMemoryServer() *Server

func (*Server) Endpoint

func (s *Server) Endpoint() string

func (*Server) Initialize

func (s *Server) Initialize(md *meta.Data) error

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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