Documentation ¶
Index ¶
- func NewDiscoverer(ctx context.Context) (types.Discoverer, error)
- type ContainerRuntimeDiscoveryServer
- func (crds *ContainerRuntimeDiscoveryServer) ExportContainer(c echo.Context) error
- func (crds *ContainerRuntimeDiscoveryServer) ExportImage(c echo.Context) error
- func (crds *ContainerRuntimeDiscoveryServer) GetContainer(c echo.Context) error
- func (crds *ContainerRuntimeDiscoveryServer) GetImage(c echo.Context) error
- func (crds *ContainerRuntimeDiscoveryServer) ListContainers(c echo.Context) error
- func (crds *ContainerRuntimeDiscoveryServer) ListImages(c echo.Context) error
- func (crds *ContainerRuntimeDiscoveryServer) Serve(ctx context.Context, listenAddr string)
- func (crds *ContainerRuntimeDiscoveryServer) Shutdown(ctx context.Context) error
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
Click to show internal directories.
Click to hide internal directories.