dockerclient

package
v0.0.0-...-087bd63 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(dockerClient *client.Client) *Client

func (*Client) GetContainersByLabel

func (c *Client) GetContainersByLabel(label string) ([]types.Container, error)

func (*Client) GetEnvironmentVariables

func (c *Client) GetEnvironmentVariables(containerID string) (map[string]string, error)

func (*Client) GetFileContent

func (c *Client) GetFileContent(containerID string, filePath string) (*bytes.Buffer, error)

Jump to

Keyboard shortcuts

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