asyncapi

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrAPIUpdating = "ayncapi.api_updating"
)

Variables

This section is empty.

Functions

func DeleteAPI

func DeleteAPI(apiName string, keepCache bool) error

func ErrorAPIUpdating

func ErrorAPIUpdating(apiName string) error

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 GetAllStatuses(deployments []kapps.Deployment, pods []kcore.Pod) ([]status.Status, error)

func GetStatus

func GetStatus(apiName string) (*status.Status, error)

func UpdateAPI

func UpdateAPI(apiConfig userconfig.API, projectID string, force bool) (*spec.API, string, error)

func UpdateAutoscalerCron

func UpdateAutoscalerCron(deployment *kapps.Deployment, apiSpec spec.API) error

func UpdateMetricsCron

func UpdateMetricsCron(deployment *kapps.Deployment) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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