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)
Click to show internal directories.
Click to hide internal directories.