Documentation ¶
Index ¶
- func ContainersFromLabels(label *result.Label) (result.ContainerResult, error)
- func GetLabelsFromContainer(containerId string) (result.LabelResult, error)
- func GetLabelsFromService(serviceId string) (result.LabelResult, error)
- func GetLabelsFromStack(stackName string) ([]string, error)
- func ServicesFromLabels(label *result.Label) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainersFromLabels ¶
func ContainersFromLabels(label *result.Label) (result.ContainerResult, error)
TODO finish ContainerResult implementation and perform container search
func GetLabelsFromContainer ¶
func GetLabelsFromContainer(containerId string) (result.LabelResult, error)
Given a container id, the function returns the current labels only, without any field description.
func GetLabelsFromService ¶
func GetLabelsFromService(serviceId string) (result.LabelResult, error)
Given a service id, the function returns the service labels without any filed description
func GetLabelsFromStack ¶
The idea here is to return all the labels a stack has, in order to collect them in a list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.