api

package
v0.8.0-dev.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientBase

type ClientBase interface {
	AuthProvider() provider.AuthProvider
	Logger() *zap.SugaredLogger
	Close() error
	RequestAuthenticate(req *http.Request, ref reference.Named) error
}

type ContainerClient

type ContainerClient interface {
	StreamLogs(ctx context.Context, id string, follow bool) (*stream.MultiplexedStream, error)
}

type DockerClient

type DockerClient interface {
	client.APIClient
	NewVersionError(ctx context.Context, APIrequired, feature string) error
}

type ImageClient

type ImageClient interface {
	ImageBuild(
		ctx context.Context, buildContext io.Reader, opts build.ImageBuildOptions,
	) (build.ImageBuildResponse, error)
	ImagePullWithEvents(ctx context.Context, ref reference.Named, options image.PullOptions) (
		v1.Hash, *v1.Manifest, chan events.PullEvent, error,
	)
	ImagePullWithState(ctx context.Context, ref reference.Named, options image.PullOptions) (
		v1.Hash, *v1.Manifest, chan state.Pull, error,
	)
	ImagePullSimple(ctx context.Context, ref reference.Named, options image.PullOptions) (digest.Digest, error)
	ImageGetManifest(ctx context.Context, ref reference.Named, platform *v1.Platform) (v1.Hash, *v1.Manifest, error)
}

type SystemClient

type SystemClient interface {
	SystemHostIPFromContainers(ctx context.Context, netId *string) (net.IP, error)
	SystemIsPodman(ctx context.Context) (bool, error)
	SystemDefaultPlatform(ctx context.Context) (*v1.Platform, error)
}

Jump to

Keyboard shortcuts

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