Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is dynamically set by the toolchain or overridden by the Makefile. Version = "dev" // Language used, can be overridden by Makefile or CI Language = "en" // RepositoryOwner is the remote GitHub organization for the releases RepositoryOwner = "redhat-developer" // RepositoryName is the remote GitHub repository for the releases RepositoryName = "app-services-cli" // TermsReviewEventCode is the event code used when checking the terms review TermsReviewEventCode = "onlineService" // TermsReviewSiteCode is the site code used when checking the terms review TermsReviewSiteCode = "ocm" // DefaultPageSize is the default number of items per page when using list commands DefaultPageSize = "10" // DefaultPageNumber is the default page number when using list commands DefaultPageNumber = "1" )
Define public variables here which you wish to be configurable at build time
View Source
var ( ProductionAPIURL = "https://api.openshift.com" StagingAPIURL = "https://api.stage.openshift.com" DefaultClientID = "rhoas-cli-prod" DefaultOfflineTokenClientID = "cloud-services" // #nosec G101 OfflineTokenURL = "https://console.redhat.com/openshift/token" ProductionAuthURL = "https://sso.redhat.com/auth/realms/redhat-external" ProductionMasAuthURL = "https://identity.api.openshift.com/auth/realms/rhoas" StagingMasAuthURL = "https://identity.api.stage.openshift.com/auth/realms/rhoas" )
Auth Build variables
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.