misc

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrReleaseExists = fmt.Errorf("release already exists")
)

Functions

func GetActiveVersion

func GetActiveVersion(bucket, object string) string

func GetObject

func GetObject(ctx context.Context, bucket, object string) *storage.ObjectHandle

func GetObjectContents

func GetObjectContents(bucket, object string) string

func GetObjectStdout

func GetObjectStdout(bucket, object string)

func GithubRelease

func GithubRelease(args github.GithubArgs) error

func IncrementVersion

func IncrementVersion(v string) string

func PubsubPushBuild

func PubsubPushBuild(project, v string)

func SetObject

func SetObject(bucket, object, contents string) error

uploadFile uploads an object.

func SyncDown

func SyncDown(bucket, prefix string)

Types

type BuildCommand

type BuildCommand struct {
	Command string `json:"command"`
	Version string `json:"cloud_sdk_version"`
}

type KMSArgs

type KMSArgs struct {
	Filename, Output, Keypath string
}

Jump to

Keyboard shortcuts

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