server

package module
v0.0.0-...-c299419 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscoverer

func NewDiscoverer(ctx context.Context) (types.Discoverer, error)

NewDiscoverer tries to create all registered discoverers and returns the first that succeeds, if none of them succeed then we return all the errors for the caller to evalulate.

Types

type ContainerRuntimeDiscoveryServer

type ContainerRuntimeDiscoveryServer struct {
	// contains filtered or unexported fields
}

func NewContainerRuntimeDiscoveryServer

func NewContainerRuntimeDiscoveryServer(discoverer types.Discoverer) *ContainerRuntimeDiscoveryServer

func (*ContainerRuntimeDiscoveryServer) ExportContainer

func (crds *ContainerRuntimeDiscoveryServer) ExportContainer(c echo.Context) error

func (*ContainerRuntimeDiscoveryServer) ExportImage

func (crds *ContainerRuntimeDiscoveryServer) ExportImage(c echo.Context) error

func (*ContainerRuntimeDiscoveryServer) GetContainer

func (crds *ContainerRuntimeDiscoveryServer) GetContainer(c echo.Context) error

func (*ContainerRuntimeDiscoveryServer) GetImage

func (crds *ContainerRuntimeDiscoveryServer) GetImage(c echo.Context) error

func (*ContainerRuntimeDiscoveryServer) ListContainers

func (crds *ContainerRuntimeDiscoveryServer) ListContainers(c echo.Context) error

func (*ContainerRuntimeDiscoveryServer) ListImages

func (crds *ContainerRuntimeDiscoveryServer) ListImages(c echo.Context) error

func (*ContainerRuntimeDiscoveryServer) Serve

func (crds *ContainerRuntimeDiscoveryServer) Serve(ctx context.Context, listenAddr string)

func (*ContainerRuntimeDiscoveryServer) Shutdown

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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