config

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

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRegion = "eu-central-1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GoogleClientId    string `json:"googleClientId"`
	GoogleRedirect    string `json:"googleRedirect"`
	GoogleScope       string `json:"googleScope"`
	LibraryRest       string `json:"libraryRest"`
	Hdfs              string `json:"hdfs"`
	IamRest           string `json:"iamRest"`
	JupyterhubUi      string `json:"jupyterhubUi"`
	KuberRest         string `json:"kuberRest"`
	KuberWs           string `json:"kuberWs"`
	MicrosoftRedirect string `json:"microsoftRedirect"`
	TwitterRedirect   string `json:"twitterRedirect"`
}
var KuberConfig Config

type ConfigResource

type ConfigResource struct {
	Config Config
}

func (ConfigResource) GetConf

func (c ConfigResource) GetConf(request *restful.Request, response *restful.Response)

func (ConfigResource) WebService

func (c ConfigResource) WebService() *restful.WebService

type ConfigSecret

type ConfigSecret struct {
	GoogleSecret           string `json:"googleSecret"`
	GoogleApiKey           string `json:"googleApiKey"`
	MicrosoftApplicationId string `json:"microsoftApplicationId"`
	MicrosoftScope         string `json:"microsoftScope"`
	MicrosoftSecret        string `json:"microsoftSecret"`
	TwitterConsumerKey     string `json:"twitterConsumerKey"`
	TwitterConsumerSecret  string `json:"twitterConsumerSecret"`
}
var KuberConfigSecret ConfigSecret

type PersistenceConfig

type PersistenceConfig struct {
	ConnectionUri string
}

type ServerConfig

type ServerConfig struct {
	Port int
}

Jump to

Keyboard shortcuts

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