constants

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package constants contains constants used throughout the application.

Index

Constants

View Source
const (
	// TargetEnv is the environment the build will point to
	TargetEnv = "prod"
	// IdentitySeverURL is the URL of the identity server
	IdentitySeverURL = "https://auth.stacklok.com"
	// MinderGRPCHost is the host of the minder gRPC server
	MinderGRPCHost = "api.stacklok.com"
	// TrustyHttpURL is the URL of the trusty server
	TrustyHttpURL = "https://trustypkg.dev/"
)

Variables

View Source
var (
	// CLIVersion is the version of the application. Note that this is
	// set at compile time using ldflags.
	CLIVersion = "no-info"
	// VerboseCLIVersion is the verbose version of the application.
	// Note that this is set up at init time.
	VerboseCLIVersion = ""
	// Revision is the git commit hash. Note that this is set at compile time
	// using ldflags.
	Revision = "no-info"
)
View Source
var (
	// ServerUserAgent is the user agent string for the server
	ServerUserAgent = "Minder/" + Revision
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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