util

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package util contains utilities which are shared between packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerClientVersion added in v1.3.0

func DockerClientVersion() (int, int, int, string, error)

DockerClientVersion attempts to discover the major and minor version numbers of the Docker client, returning <major number>, <minor number>, <patch number>, <patch suffix>, nil if successful, 0, 0, err otherwise. e.g. '1.12.0' => 1, 12, 0, "", nil '1.13.0-dev' => 1, 13, 0, "dev", nil '1.what.0' => 0, 0, 0, "", nil

func DockerClientVersionStrings added in v1.3.1

func DockerClientVersionStrings() (string, string, string, error)

DockerClientVersionStrings attempts to discover the version of the Docker client, returning the major, minor, and patch versions, or an error if unsuccessful.

func SdkConfigPath

func SdkConfigPath() (string, error)

SdkConfigPath tries to return the directory where the gcloud config is located.

Types

This section is empty.

Jump to

Keyboard shortcuts

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