test

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasLoginAWSECR added in v0.4.6

func HasLoginAWSECR() bool

func HasLoginStarlightGoharbor added in v0.4.6

func HasLoginStarlightGoharbor() bool

func IsDevEnvironment added in v0.4.6

func IsDevEnvironment() bool

IsDevEnvironment returns true if the STARLIGHT_ENV environment variable starts with "DEV". export STARLIGHT_ENV=dev

func LoadEnvironmentVariables added in v0.4.6

func LoadEnvironmentVariables()

func PrettyPrintJson

func PrettyPrintJson(obj interface{})

Types

type FakeResponseWriter added in v0.2.0

type FakeResponseWriter struct {
	// contains filtered or unexported fields
}

func NewFakeResponseWriter added in v0.2.0

func NewFakeResponseWriter(id string) *FakeResponseWriter

func (*FakeResponseWriter) Header added in v0.2.0

func (w *FakeResponseWriter) Header() http.Header

func (*FakeResponseWriter) Write added in v0.2.0

func (w *FakeResponseWriter) Write(b []byte) (int, error)

func (*FakeResponseWriter) WriteHeader added in v0.2.0

func (w *FakeResponseWriter) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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