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, fromDir, fromYumRepo, rpmGPGKey, rpmGPGKeyChecksum *string) 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 CreateObject(namespaceName, containerName, versionID, directoryPath 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 }
func New ¶
func New(cli v1proto.ManageServiceClient, cacheRepo cache.CacheRepository) Service
Click to show internal directories.
Click to hide internal directories.