lookup

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServicesMap = map[string]ConfigDetails{}

Functions

func Client

func Client() *client.Client

func ContainerList

func ContainerList(options types.ContainerListOptions) []types.Container

func Containers

func Containers(toComplete string, all bool) []string

func GenerateServiceMap

func GenerateServiceMap()
func Search(slice []string, query string) []string

func Services

func Services(toComplete string, all bool) []string

Types

type ConfigDetails

type ConfigDetails struct {
	Ready bool

	Services          []string
	Containers        []string
	Images            []string
	ImageContainerMap []map[string]string
	Config            string
}

type Service

type Service struct {
	Service   string
	Container string
	Image     string
}

Jump to

Keyboard shortcuts

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