util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 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() (string, string, string, error)

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

func DockerMajorMinorVersion added in v1.3.0

func DockerMajorMinorVersion() (int, int, error)

DockerMajorMinorVersion attempts to discover the major and minor version numbers of the Docker client, returning <major>, <minor>, nil if successful, 0, 0, err otherwise.

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