client

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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