Documentation
¶
Index ¶
- Constants
- Variables
- func NewDocker(conf plugin.InitConfig) plugin.Plugin
- type Docker
- type FakeDockerClient
- func (d FakeDockerClient) ContainerList(octx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (d FakeDockerClient) ContainerStats(ctx context.Context, containerID string, stream bool) (types.ContainerStats, error)
- func (d FakeDockerClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
Constants ¶
View Source
const ( CONTAINER = "container" PERFORMANCE = "performance" FILTERED = "filtered" IMAGE = "image" )
The entity object for the custom tags
Variables ¶
View Source
var ( DEFAULT_CONTAINER_TAGS = []string{ "docker_image", "image_name", "image_tag", } DEFAULT_PERFORMANCE_TAGS = []string{ "container_name", "docker_image", "image_name", "image_tag", } DEFAULT_IMAGE_TAGS = []string{ "image_name", "image_tag", } )
Functions ¶
Types ¶
type Docker ¶
type Docker struct {
URL string
CollectContainerSize bool `yaml:"collect_container_size"`
CollectImagesStats bool `yaml:"collect_images_stats"`
CollectImageSize bool `yaml:"collect_image_size"`
Exclude []string
Include []string
Tags []string
PerformanceTags []string `yaml:"performance_tags"`
ContainerTags []string `yaml:"container_tags"`
CollectLabelsAsTags []string `yaml:"collect_labels_as_tags"`
// contains filtered or unexported fields
}
Docker XXX
type FakeDockerClient ¶
type FakeDockerClient struct {
}
FakeDockerClient XXX
func (FakeDockerClient) ContainerList ¶
func (d FakeDockerClient) ContainerList(octx context.Context, options types.ContainerListOptions) ([]types.Container, error)
ContainerList XXX
func (FakeDockerClient) ContainerStats ¶
func (d FakeDockerClient) ContainerStats(ctx context.Context, containerID string, stream bool) (types.ContainerStats, error)
ContainerStats XXX
func (FakeDockerClient) ImageList ¶
func (d FakeDockerClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
ImageList XXX
Click to show internal directories.
Click to hide internal directories.