client

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoscalingConfig

type AutoscalingConfig struct {
	Criteria AutoscalingCriteria `json:"criteria"`
	Enabled  bool                `json:"enabled"`

	// Max The maximum number of instances for the service
	Max int `json:"max"`

	// Min The minimum number of instances for the service
	Min int `json:"min"`
}

AutoscalingConfig defines model for autoscalingConfig.

type AutoscalingCriteria

type AutoscalingCriteria struct {
	Cpu    AutoscalingCriteriaPercentage `json:"cpu"`
	Memory AutoscalingCriteriaPercentage `json:"memory"`
}

AutoscalingCriteria defines model for autoscalingCriteria.

type AutoscalingCriteriaPercentage

type AutoscalingCriteriaPercentage struct {
	Enabled bool `json:"enabled"`

	// Percentage Determines when your service will be scaled. If the average resource utilization is significantly above/below the target, we will increase/decrease the number of instances.
	Percentage int `json:"percentage"`
}

AutoscalingCriteriaPercentage defines model for autoscalingCriteriaPercentage.

Jump to

Keyboard shortcuts

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