fedramp

package
v1.2.23-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

View Source
var JumpAccounts = map[string]string{
	"production":  "448648337690",
	"staging":     "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",
	"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://ocm-ra-production-domain.%s", cognitoURL),
	"staging":     fmt.Sprintf("https://ocm-ra-stage-domain.%s", cognitoURL),
	"integration": fmt.Sprintf("https://rh-ocm-appsre-integration.%s", cognitoURL),
}

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",
	"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 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