Documentation
¶
Index ¶
- Constants
- func APIEndpoint(api *spec.API) (string, error)
- func APIEndpointFromResource(deployedResource *DeployedResource) (string, error)
- func APILoadBalancerURL() (string, error)
- func APILogURL(api spec.API) (string, error)
- func BatchJobLogURL(apiName string, jobStatus status.BatchJobStatus) (string, error)
- func ClusterTelemetry() error
- func CostBreakdown() error
- func DeleteEvictedPods() error
- func DownloadAPISpec(apiName string, apiID string) (*spec.API, error)
- func DownloadAPISpecs(apiNames []string, apiIDs []string) ([]spec.API, error)
- func DownloadBatchJobSpec(jobKey spec.JobKey) (*spec.BatchJob, error)
- func DownloadTaskJobSpec(jobKey spec.JobKey) (*spec.TaskJob, error)
- func ErrorCortexInstallationBroken() error
- func ErrorHandler(cronName string) func(error)
- func ErrorInvalidOperatorLogLevel(provided string, loglevels []string) error
- func ErrorLoadBalancerInitializing() error
- func GetJobLogger(jobKey spec.JobKey) (*zap.SugaredLogger, error)
- func GetJobLoggerFromSpec(apiSpec *spec.API, jobKey spec.JobKey) (*zap.SugaredLogger, error)
- func GetRealtimeAPILogger(apiName string, apiID string) (*zap.SugaredLogger, error)
- func GetRealtimeAPILoggerFromSpec(apiSpec *spec.API) (*zap.SugaredLogger, error)
- func LoadBalancerURL() (string, error)
- func StreamLogsFromRandomPod(podSearchLabels map[string]string, socket *websocket.Conn)
- func TaskJobLogURL(apiName string, jobStatus status.TaskJobStatus) (string, error)
- func UpdateMemoryCapacityConfigMap() (map[string]kresource.Quantity, error)
- type DeployedResource
Constants ¶
View Source
const ( ErrCortexInstallationBroken = "operator.cortex_installation_broken" ErrLoadBalancerInitializing = "operator.load_balancer_initializing" ErrInvalidOperatorLogLevel = "operator.invalid_operator_log_level" )
Variables ¶
This section is empty.
Functions ¶
func APIEndpointFromResource ¶ added in v0.40.0
func APIEndpointFromResource(deployedResource *DeployedResource) (string, error)
func APILoadBalancerURL ¶ added in v0.18.0
APILoadBalancerURL returns the http endpoint of the ingress load balancer for deployed APIs
func BatchJobLogURL ¶ added in v0.36.0
func BatchJobLogURL(apiName string, jobStatus status.BatchJobStatus) (string, error)
func ClusterTelemetry ¶ added in v0.32.0
func ClusterTelemetry() error
func CostBreakdown ¶ added in v0.40.0
func CostBreakdown() error
func DeleteEvictedPods ¶ added in v0.19.0
func DeleteEvictedPods() error
func DownloadAPISpecs ¶
func DownloadBatchJobSpec ¶ added in v0.27.0
func DownloadTaskJobSpec ¶ added in v0.27.0
func ErrorCortexInstallationBroken ¶
func ErrorCortexInstallationBroken() error
func ErrorHandler ¶ added in v0.19.0
func ErrorInvalidOperatorLogLevel ¶ added in v0.27.0
func ErrorLoadBalancerInitializing ¶
func ErrorLoadBalancerInitializing() error
func GetJobLogger ¶ added in v0.27.0
func GetJobLogger(jobKey spec.JobKey) (*zap.SugaredLogger, error)
func GetJobLoggerFromSpec ¶ added in v0.27.0
func GetRealtimeAPILogger ¶ added in v0.27.0
func GetRealtimeAPILogger(apiName string, apiID string) (*zap.SugaredLogger, error)
func GetRealtimeAPILoggerFromSpec ¶ added in v0.27.0
func GetRealtimeAPILoggerFromSpec(apiSpec *spec.API) (*zap.SugaredLogger, error)
func LoadBalancerURL ¶ added in v0.29.0
LoadBalancerURL returns the http endpoint of the ingress load balancer for the operator
func StreamLogsFromRandomPod ¶ added in v0.27.0
func TaskJobLogURL ¶ added in v0.36.0
func TaskJobLogURL(apiName string, jobStatus status.TaskJobStatus) (string, error)
Types ¶
type DeployedResource ¶ added in v0.19.0
type DeployedResource struct { userconfig.Resource VirtualService *istioclientnetworking.VirtualService }
func (*DeployedResource) ID ¶ added in v0.23.0
func (deployedResourced *DeployedResource) ID() string
Click to show internal directories.
Click to hide internal directories.