core

package
v0.0.0-...-e4b6a09 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactClient

type ArtifactClient interface {
	ListAllArtifacts(project, repository string) ([]*modelsv2.Artifact, error)
	DeleteArtifact(project, repository, digest string) error
	DeleteArtifactRepository(project, repository string) error
}

ArtifactClient defines the methods that an image client should implement

type Client

type Client interface {
	ArtifactClient
}

Client defines the methods that a core client should implement Currently, it contains only part of the whole method collection and we should expand it when needed

func New

func New(url string, httpclient *http.Client, modifiers ...modifier.Modifier) Client

New returns an instance of the client which is a default implement for Client

Jump to

Keyboard shortcuts

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