Versions in this module Expand all Collapse all v4 v4.5.1 Mar 20, 2023 v4.5.0 Mar 17, 2023 Changes in this version + const ImagePullPolicyAlways + const ImagePullPolicyMissing + const ImagePullPolicyNever + const ImagePullPolicyNewer + func UserSocketPath() string + type Connection struct + func New(socketPath string) (*Connection, error) + func (c *Connection) CreateContainer(in CreateContainerInput, opts ...CreateContainerOption) (*CreateContainerResult, error) + func (c *Connection) InspectContainer(name string) (*InspectContainerResult, error) + func (c *Connection) Ping() error + func (c *Connection) PullImage(in PullImageInput) error + func (c *Connection) RemoveContainer(name string) error + func (c *Connection) StartContainer(name string) error + func (c *Connection) StopContainer(name string) error + type CreateContainerInput struct + Env map[string]string + Image string + Name string + PublishImagePorts bool + Remove bool + TimeoutSeconds uint + type CreateContainerOption func(*CreateContainerInput) + func WithEnv(name, value string) CreateContainerOption + type CreateContainerResult struct + ID string + Warnings []string + type Error struct + Cause string + Message string + Response int + func (err Error) Error() string + type HTTPDialContext func(ctx context.Context, network, addr string) (net.Conn, error) + type InspectContainerResult struct + ID string + NetworkSettings struct{ ... } + func StartDevcontainer(ctx context.Context, conn *Connection, name string, image string, ...) (*InspectContainerResult, error) + func (r InspectContainerResult) TCPHostPort(port int) string + type PullImageInput struct + Policy string + Reference string + type RequestOption func(*http.Request) error + func RequestJSONBody(data any) RequestOption + func RequestMethod(m string) RequestOption + func RequestPath(path string, a ...any) RequestOption + func RequestQueryStruct(data any) RequestOption Other modules containing this package github.com/rebuy-de/rebuy-go-sdk/v5 github.com/rebuy-de/rebuy-go-sdk/v6 github.com/rebuy-de/rebuy-go-sdk/v7 github.com/rebuy-de/rebuy-go-sdk/v8