portal

package
v0.0.0-...-4d78981 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 39 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PROD_REGIONS = []string{
		"australiacentral",
		"australiacentral2",
		"australiaeast",
		"australiasoutheast",
		"brazilsouth",
		"brazilsoutheast",
		"canadacentral",
		"canadaeast",
		"centralindia",
		"centralus",
		"centraluseuap",
		"eastasia",
		"eastus",
		"eastus2",
		"eastus2euap",
		"francecentral",
		"germanywestcentral",
		"japaneast",
		"japanwest",
		"koreacentral",
		"northcentralus",
		"northeurope",
		"norwaywest",
		"norwayeast",
		"qatar",
		"southafricanorth",
		"southcentralus",
		"southeastasia",
		"southindia",
		"swedencentral",
		"switzerlandnorth",
		"switzerlandwest",
		"uaenorth",
		"uaecentral",
		"uksouth",
		"ukwest",
		"westcentralus",
		"westeurope",
		"westus",
		"westus2",
		"westus3",
	}
)

Functions

This section is empty.

Types

type AdminOpenShiftCluster

type AdminOpenShiftCluster struct {
	Key                     string `json:"key"`
	Name                    string `json:"name"`
	Subscription            string `json:"subscription"`
	ResourceGroup           string `json:"resourceGroup"`
	ResourceId              string `json:"resourceId"`
	ProvisioningState       string `json:"provisioningState"`
	FailedProvisioningState string `json:"failedprovisioningState"`
	Version                 string `json:"version"`
	CreatedAt               string `json:"createdAt"`
	LastModified            string `json:"lastModified"`
	ProvisionedBy           string `json:"provisionedBy"`
}

type AdminOpenShiftClusterDetail

type AdminOpenShiftClusterDetail struct {
	Name                    string `json:"name"`
	Subscription            string `json:"subscription"`
	ResourceGroup           string `json:"resourceGroup"`
	ResourceId              string `json:"resourceId"`
	ProvisioningState       string `json:"provisioningState"`
	FailedProvisioningState string `json:"failedProvisioningState"`
	Version                 string `json:"version"`
	CreatedAt               string `json:"createdAt"`
	ProvisionedBy           string `json:"provisionedBy"`
	CreatedBy               string `json:"createdBy"`
	ArchitectureVersion     string `json:"architectureVersion"`
	LastProvisioningState   string `json:"lastProvisioningState"`
	LastAdminUpdateError    string `json:"lastAdminUpdateError"`
	InfraId                 string `json:"infraId"`
	ApiServerVisibility     string `json:"apiServerVisibility"`
	InstallPhase            string `json:"installStatus"`
}

type PortalInfo

type PortalInfo struct {
	Location  string `json:"location"`
	CSRFToken string `json:"csrf"`
	Elevated  bool   `json:"elevated"`
	Username  string `json:"username"`
	RPVersion string `json:"rpversion"`
}

type Region

type Region struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

type RegionInfo

type RegionInfo struct {
	Regions []Region `json:"regions"`
}

type Runnable

type Runnable interface {
	Run(context.Context) error
}

func NewPortal

func NewPortal(env env.Core,
	audit *logrus.Entry,
	log *logrus.Entry,
	baseAccessLog *logrus.Entry,
	l net.Listener,
	sshl net.Listener,
	verifier oidc.Verifier,
	hostname string,
	servingKey *rsa.PrivateKey,
	servingCerts []*x509.Certificate,
	clientID string,
	clientKey *rsa.PrivateKey,
	clientCerts []*x509.Certificate,
	sessionKey []byte,
	sshKey *rsa.PrivateKey,
	groupIDs []string,
	elevatedGroupIDs []string,
	dbGroup portalDBs,
	dialer proxy.Dialer,
	m metrics.Emitter,
) Runnable

Directories

Path Synopsis
Code generated for package cluster by go-bindata DO NOT EDIT.
Code generated for package cluster by go-bindata DO NOT EDIT.
util

Jump to

Keyboard shortcuts

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