fedramp

package
v1.2.48-rc3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminClientIDs = map[string]string{
	"production":  "72ekjh5laouap6qcfis521jlgi",
	"staging":     "1lb687dlpsmsfuj53r3je06vpp",
	"staging01":   "1lb687dlpsmsfuj53r3je06vpp",
	"integration": "20fbrpgl28f8oehp6709mk3nnr",
}

AdminClientIDs allows the value of the `--env` option to map to the various Admin AWS Cognito user pool clients.

View Source
var AdminLoginURLs = map[string]string{
	"production":  "https://api-admin.openshiftusgov.com/auth",
	"staging":     "https://api-admin.stage.openshiftusgov.com/auth",
	"staging01":   "https://api.stage.openshiftusgov.com/auth",
	"integration": "https://api-admin.int.openshiftusgov.com/auth",
}

AdminLoginURLs allows the value of the `--env` option to map to the various Admin login URLs.

View Source
var AdminTokenURLs = map[string]string{
	"production":  fmt.Sprintf("https://ocm-ra-production-domain.%s", cognitoURL),
	"staging":     fmt.Sprintf("https://ocm-ra-stage-domain.%s", cognitoURL),
	"staging01":   fmt.Sprintf("https://ocm-ra-stage-domain.%s", cognitoURL),
	"integration": fmt.Sprintf("https://rh-ocm-appsre-integration.%s", cognitoURL),
}

AdminTokenURLs allows the value of the `--env` option to map to the various Admin AWS Cognito token URLs.

View Source
var AdminURLAliases = map[string]string{
	"production":  "https://api-admin.openshiftusgov.com",
	"staging":     "https://api-admin.stage.openshiftusgov.com",
	"staging01":   "https://api01.stage.openshiftusgov.com",
	"integration": "https://api-admin.int.openshiftusgov.com",
}

AdminURLAliases allows the value of the `--env` option to map to the various Admin API URLs.

View Source
var ClientID = "console-dot"

ClientID stores the client id for use with all `--env` options for Keycloak authentication flow. Value is the same for all env's

View Source
var JumpAccounts = map[string]string{
	"production":  "448648337690",
	"staging":     "448870092490",
	"staging01":   "448870092490",
	"integration": "449053620653",
}

JumpAccounts are the various of AWS accounts used for the installer jump role in the various OCM environments

View Source
var LoginURLs = map[string]string{
	"production":  "https://api.openshiftusgov.com/auth",
	"staging":     "https://api.stage.openshiftusgov.com/auth",
	"staging01":   "https://api01.stage.openshiftusgov.com/auth",
	"integration": "https://api.int.openshiftusgov.com/auth",
}

LoginURLs allows the value of the `--env` option to map to the various login URLs.

View Source
var TokenURLs = map[string]string{
	"production":  fmt.Sprintf("https://sso.openshiftusgov.com/%s", keycloakURL),
	"staging":     fmt.Sprintf("https://sso.stage.openshiftusgov.com/%s", keycloakURL),
	"staging01":   fmt.Sprintf("https://sso01.stage.openshiftusgov.com/%s", keycloakURL),
	"integration": fmt.Sprintf("https://sso.int.openshiftusgov.com/%s", keycloakURL),
}

TokenURLs allows the value of the `--env` option to map to the various AWS Cognito token URLs.

View Source
var URLAliases = map[string]string{
	"production":  "https://api.openshiftusgov.com",
	"staging":     "https://api.stage.openshiftusgov.com",
	"staging01":   "https://api01.stage.openshiftusgov.com",
	"integration": "https://api.int.openshiftusgov.com",
}

URLAliases allows the value of the `--env` option to map to the various API URLs.

Functions

func AddFlag

func AddFlag(flags *pflag.FlagSet)

AddFlag adds the govcloud flag to the given set of command line flags.

func Disable

func Disable()

func Enable

func Enable()

Enable sets the flag for the rest of the command

func Enabled

func Enabled() bool

Enabled returns a boolean flag that indicates if the fedramp mode is enabled.

func HasAdminFlag added in v1.2.24

func HasAdminFlag(cmd *cobra.Command) bool

func HasFlag

func HasFlag(cmd *cobra.Command) bool

func IsGovRegion

func IsGovRegion(region string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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