Documentation
¶
Index ¶
- type AppInfo
- func (a AppInfo) ExternalScalerDeploymentName() string
- func (a AppInfo) ExternalScalerServiceName() string
- func (a AppInfo) InterceptorAdminServiceName() string
- func (a AppInfo) InterceptorDeploymentName() string
- func (a AppInfo) InterceptorProxyServiceName() string
- func (a AppInfo) ScaledObjectName() string
- type ExternalScaler
- type Interceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶
type AppInfo struct { Name string Port int32 Image string Namespace string InterceptorConfig Interceptor ExternalScalerConfig ExternalScaler }
func (AppInfo) ExternalScalerDeploymentName ¶
func (AppInfo) ExternalScalerServiceName ¶
func (AppInfo) InterceptorAdminServiceName ¶
func (AppInfo) InterceptorDeploymentName ¶
func (AppInfo) InterceptorProxyServiceName ¶
func (AppInfo) ScaledObjectName ¶
type ExternalScaler ¶
ExternalScaler holds static configuration info for the external scaler
func NewExternalScalerFromEnv ¶
func NewExternalScalerFromEnv() (*ExternalScaler, error)
NewExternalScalerFromEnv gets external scaler configuration values from environment variables and/or sensible defaults if values were missing. and returns the interceptor struct to match. Returns an error if required values were missing.
type Interceptor ¶
Interceptor holds static configuration info for the interceptor
func NewInterceptorFromEnv ¶
func NewInterceptorFromEnv() (*Interceptor, error)
NewInterceptorFromEnv gets interceptor configuration values from environment variables and/or sensible defaults if values were missing. and returns the interceptor struct to match. Returns an error if required values were missing.
Click to show internal directories.
Click to hide internal directories.