Documentation ¶
Index ¶
- Constants
- func DashboardURL() string
- func DeleteAPI(apiName string, keepCache bool) error
- func ErrorAPIUpdating(apiName string) error
- func GetAPIByName(deployedResource *operator.DeployedResource) ([]schema.APIResponse, error)
- func GetAllAPIs(pods []kcore.Pod, deployments []kapps.Deployment) ([]schema.APIResponse, error)
- func GetAllStatuses(deployments []kapps.Deployment, pods []kcore.Pod) ([]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 IsAPIUpdating(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 UpdateAutoscalerCron(deployment *kapps.Deployment) error
Constants ¶
View Source
const (
ErrAPIUpdating = "realtimeapi.api_updating"
)
Variables ¶
This section is empty.
Functions ¶
func DashboardURL ¶
func DashboardURL() string
func ErrorAPIUpdating ¶
func GetAPIByName ¶
func GetAPIByName(deployedResource *operator.DeployedResource) ([]schema.APIResponse, error)
func GetAllAPIs ¶
func GetAllAPIs(pods []kcore.Pod, deployments []kapps.Deployment) ([]schema.APIResponse, error)
func GetAllStatuses ¶
func IsAPIUpdating ¶
func UpdateAutoscalerCron ¶
func UpdateAutoscalerCron(deployment *kapps.Deployment) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.