Documentation ¶
Index ¶
- Constants
- func DeleteAPI(apiName string, keepCache bool) error
- func DescribeAPIByName(deployedResource *operator.DeployedResource) ([]schema.APIResponse, error)
- func ErrorAPIUpdating(apiName string) error
- func GetAPIByName(deployedResource *operator.DeployedResource) ([]schema.APIResponse, error)
- func GetAllAPIs(deployments []kapps.Deployment) ([]schema.APIResponse, error)
- func GetReplicaCounts(deployment *kapps.Deployment, pods []kcore.Pod) *status.ReplicaCounts
- func RefreshAPI(apiName string, force bool) (string, error)
- func UpdateAPI(apiConfig userconfig.API, force bool) (*spec.API, string, error)
- func UpdateAPIMetricsCron(apiDeployment *kapps.Deployment) error
Constants ¶
View Source
const (
ErrAPIUpdating = "asyncapi.api_updating"
)
Variables ¶
This section is empty.
Functions ¶
func DescribeAPIByName ¶ added in v0.40.0
func DescribeAPIByName(deployedResource *operator.DeployedResource) ([]schema.APIResponse, error)
func ErrorAPIUpdating ¶
func GetAPIByName ¶
func GetAPIByName(deployedResource *operator.DeployedResource) ([]schema.APIResponse, error)
func GetAllAPIs ¶
func GetAllAPIs(deployments []kapps.Deployment) ([]schema.APIResponse, error)
func GetReplicaCounts ¶ added in v0.40.0
func GetReplicaCounts(deployment *kapps.Deployment, pods []kcore.Pod) *status.ReplicaCounts
func UpdateAPIMetricsCron ¶ added in v0.37.0
func UpdateAPIMetricsCron(apiDeployment *kapps.Deployment) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.