common

package
v0.0.0-...-2c007a2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Green = color.New(color.FgGreen).SprintFunc()

Green colours stdout to be green

View Source
var Red = color.New(color.FgRed).SprintFunc()

Red colours stdout to be red

View Source
var Yellow = color.New(color.FgYellow).SprintFunc()

Yellow colours stdout to be yellow

Functions

func Failure

func Failure()

Failure stops processing and returns an error exit code

func GetLatestVCLVersion

func GetLatestVCLVersion(serviceID string, client *fastly.Client) (int, error)

GetLatestVCLVersion returns latest fastly service version This service version isn't necessarily the currently active version

func Success

func Success()

Success stops processing and returns a zero exit code

Types

This section is empty.

Jump to

Keyboard shortcuts

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