Documentation ¶
Index ¶
- func ContainersFromLabel(label *result.Label) (result.ContainerResult, error)
- func GetLabelsFromContainer(containerId string) (result.LabelResult, error)
- func GetLabelsFromService(serviceId string) (result.LabelResult, error)
- func GetLabelsFromStack(stackName string) (result.LabelResult, error)
- func Services() (result.ServiceResult, error)
- func ServicesFromLabel(label *result.Label) (result.ServiceResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainersFromLabel ¶
func ContainersFromLabel(label *result.Label) (result.ContainerResult, error)
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 ¶
func GetLabelsFromStack(stackName string) (result.LabelResult, error)
The idea here is to return all the labels a stack has, in order to collect them in a list
func Services ¶
func Services() (result.ServiceResult, error)
func ServicesFromLabel ¶
func ServicesFromLabel(label *result.Label) (result.ServiceResult, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.