service

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 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 {
	CreateContainer(containerName string) func(ctx context.Context) error
	ListContainers() func(ctx context.Context) error

	CreateVersion(containerName string, shouldPublish bool, fromDir *string) func(ctx context.Context) error
	ListVersions(containerName string) func(ctx context.Context) error
	PublishVersion(containerName, versionID string) func(ctx context.Context) error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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