misc

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 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 PubSubPush added in v0.0.12

func PubSubPush(project, topic string, object any) error

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
}