repository

package
v0.0.0-...-0cd719c Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageBasedRepository

type ImageBasedRepository struct {
	*URLBasedRepository
	// contains filtered or unexported fields
}

func FromImageURL

func FromImageURL(repositoryImageURL string, logger *logrus.Logger) *ImageBasedRepository

func (*ImageBasedRepository) Close

func (r *ImageBasedRepository) Close() error

func (*ImageBasedRepository) Connect

func (r *ImageBasedRepository) Connect(ctx context.Context) error

func (*ImageBasedRepository) Source

func (r *ImageBasedRepository) Source() string

type Repository

type Repository interface {
	client.Interface
	Connect(ctx context.Context) error
	Close() error
	Source() string
}

type RepositoryContainer

type RepositoryContainer interface {
	Start() error
	Stop() error
	ImageURL() string
	RepositoryURL() string
}

type URLBasedRepository

type URLBasedRepository struct {
	*client.Client
	// contains filtered or unexported fields
}

func FromURL

func FromURL(repositoryURL string, logger *logrus.Logger) *URLBasedRepository

func (*URLBasedRepository) Close

func (r *URLBasedRepository) Close() error

func (*URLBasedRepository) Connect

func (r *URLBasedRepository) Connect(ctx context.Context) error

func (*URLBasedRepository) Source

func (r *URLBasedRepository) Source() string

Jump to

Keyboard shortcuts

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