site

package
v0.0.0-...-f4b31ea Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const LocalService = "127.0.0.1:8000"

LocalService is the local instance of CrOSkylabAdmin.

View Source
const Major = 4

Major is the Major version number See b:215410393 for context behind bumping the version.

View Source
const Minor = 0

Minor is the Minor version number

View Source
const Patch = 0

Patch is the Patch version number

View Source
const ProdService = "chromeos-skylab-bot-fleet.appspot.com"

ProdService is the prod instance of CrOSSkylabAdmin.

View Source
const ProdUFS = "ufs.api.cr.dev"

ProdUFS is the unified fleet service.

View Source
const StagingService = "skylab-staging-bot-fleet.appspot.com"

StagingService is the staging instance of CrOSSkylabAdmin.

Variables

DefaultAuthOptions is an auth.Options struct prefilled with chrome-infra defaults.

View Source
var DefaultPRPCOptions = prpcOptionWithUserAgent(fmt.Sprintf("adminclient/%s", VersionNumber))

DefaultPRPCOptions is used for PRPC clients. If it is nil, the default value is used. See prpc.Options for details.

This is provided so it can be overridden for testing.

View Source
var VersionNumber = fmt.Sprintf("%d.%d.%d", Major, Minor, Patch)

VersionNumber is the version number for the tool. It follows the Semantic Versioning Specification (http://semver.org) and the format is: "MAJOR.MINOR.0+BUILD_TIME". We can ignore the PATCH part (i.e. it's always 0) to make the maintenance work easier. We can also print out the build time (e.g. 20060102150405) as the METADATA when show version to users.

Functions

func SecretsDir

func SecretsDir() string

SecretsDir customizes the location for auth-related secrets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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