service

package
v0.1.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	CreateNamespace(namespaceName string) func(ctx context.Context) error
	RenameNamespace(oldName, newName string) func(ctx context.Context) error
	ListNamespaces() func(ctx context.Context) error
	DeleteNamespace(namespaceName string) func(ctx context.Context) error

	CreateContainer(namespaceName, containerName string) func(ctx context.Context) error
	MoveContainer(namespaceName, containerName, destinationNamespace string) func(ctx context.Context) error
	RenameContainer(namespaceName, oldName, newName string) func(ctx context.Context) error
	ListContainers(namespaceName string) func(ctx context.Context) error
	DeleteContainer(namespaceName, containerName string) func(ctx context.Context) error

	CreateVersion(namespaceName, containerName string, shouldPublish bool, src source.Source) func(ctx context.Context) error
	DeleteVersion(namespaceName, containerName, versionID string) func(ctx context.Context) error
	ListVersions(namespaceName, containerName string) func(ctx context.Context) error
	PublishVersion(namespaceName, containerName, versionID string) func(ctx context.Context) error

	ListObjects(namespaceName, containerName, versionID string) func(ctx context.Context) error
	GetObjectURL(namespaceName, containerName, versionID, objectKey string) func(ctx context.Context) error
	DeleteObject(namespaceName, containerName, versionID, objectKey string) func(ctx context.Context) error
}

Directories

Path Synopsis
yum

Jump to

Keyboard shortcuts

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