metadata

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package metadata creates metadata responses

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainerMetadata

func GetContainerMetadata(dockerContainer *types.Container) *v2.ContainerResponse

GetContainerMetadata creates a container metadata response using info from the docker API, with other values mocked

func GetTaskMetadata

func GetTaskMetadata(dockerContainers []types.Container, containerInstanceTags, taskTags map[string]string) *v2.TaskResponse

GetTaskMetadata returns the task metadata for the given containers

Types

This section is empty.

Jump to

Keyboard shortcuts

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