Documentation
¶
Index ¶
- Constants
- func APIsBaseURL() (string, error)
- func DeleteAPI(apiName string, keepCache bool) error
- func DownloadAPISpec(apiName string, apiID string) (*spec.API, error)
- func DownloadAPISpecs(apiNames []string, apiIDs []string) ([]spec.API, error)
- func ErrorAPINotDeployed(apiName string) error
- func ErrorAPIUpdating(apiName string) error
- func ErrorCortexInstallationBroken() error
- func ErrorLoadBalancerInitializing() error
- func ErrorNoAvailableNodeComputeLimit(resource string, reqStr string, maxStr string) error
- func GetAllStatuses() ([]status.Status, error)
- func GetMetrics(api *spec.API) (*metrics.Metrics, error)
- func GetMultipleMetrics(apis []spec.API) ([]metrics.Metrics, error)
- func GetStatus(apiName string) (*status.Status, error)
- func Init() error
- func IsAPIDeployed(apiName string) (bool, error)
- func ReadLogs(apiName string, socket *websocket.Conn)
- func RefreshAPI(apiName string, force bool) (string, error)
- func UpdateAPI(apiConfig *userconfig.API, projectID string, force bool) (*spec.API, string, error)
- func ValidateClusterAPIs(apis []userconfig.API, projectFiles spec.ProjectFiles) error
- type ProjectFiles
Constants ¶
View Source
const ( ErrCortexInstallationBroken = "operator.cortex_installation_broken" ErrLoadBalancerInitializing = "operator.load_balancer_initializing" ErrMalformedConfig = "operator.malformed_config" ErrNoAPIs = "operator.no_apis" ErrAPIUpdating = "operator.api_updating" ErrAPINotDeployed = "operator.api_not_deployed" ErrNoAvailableNodeComputeLimit = "operator.no_available_node_compute_limit" )
Variables ¶
This section is empty.
Functions ¶
func APIsBaseURL ¶
func DownloadAPISpecs ¶
func ErrorAPINotDeployed ¶
func ErrorAPIUpdating ¶ added in v0.15.0
func ErrorCortexInstallationBroken ¶
func ErrorCortexInstallationBroken() error
func ErrorLoadBalancerInitializing ¶
func ErrorLoadBalancerInitializing() error
func GetAllStatuses ¶
func IsAPIDeployed ¶
func ValidateClusterAPIs ¶ added in v0.16.0
func ValidateClusterAPIs(apis []userconfig.API, projectFiles spec.ProjectFiles) error
Types ¶
type ProjectFiles ¶ added in v0.16.0
func (ProjectFiles) GetAllPaths ¶ added in v0.16.0
func (projectFiles ProjectFiles) GetAllPaths() []string
func (ProjectFiles) GetConfigFilePath ¶ added in v0.16.0
func (projectFiles ProjectFiles) GetConfigFilePath() string
Click to show internal directories.
Click to hide internal directories.