Documentation ¶
Index ¶
- func CreatePortBindings(ports []string) ([]types.PortMapping, error)
- func FillOutSpecGen(s *specgen.SpecGenerator, c *entities.ContainerCreateOptions, args []string) error
- func ParseFilters(filter []string) (map[string][]string, error)
- func ReadPodIDFile(path string) (string, error)
- func ReadPodIDFiles(files []string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePortBindings ¶
func CreatePortBindings(ports []string) ([]types.PortMapping, error)
CreatePortBindings iterates ports mappings into SpecGen format.
func FillOutSpecGen ¶
func FillOutSpecGen(s *specgen.SpecGenerator, c *entities.ContainerCreateOptions, args []string) error
func ParseFilters ¶
ParseFilters transforms one filter format to another and validates input
func ReadPodIDFile ¶
ReadPodIDFile reads the specified file and returns its content (i.e., first line).
func ReadPodIDFiles ¶
ReadPodIDFiles reads the specified files and returns their content (i.e., first line).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.