util

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 9 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 SdkConfigPath

func SdkConfigPath() (string, error)

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

Types

This section is empty.

Directories

Path Synopsis
Package cmd contains utilities to execute commands using a test-friendly interface.
Package cmd contains utilities to execute commands using a test-friendly interface.

Jump to

Keyboard shortcuts

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