gvc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 6 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gvc

type Gvc struct {
	Id           string     `json:"id,omitempty"`
	Name         base.Name  `json:"name,omitempty"`
	Kind         base.Kind  `json:"kind,omitempty"`
	Version      float32    `json:"version"`
	Description  string     `json:"description,omitempty"`
	Tags         GvcTags    `json:"tags,omitempty"`
	Created      string     `json:"created,omitempty"`
	LastModified string     `json:"lastModified,omitempty"`
	Links        base.Links `json:"links,omitempty"`
	Alias        string     `json:"alias,omitempty"`
	Spec         *GvcSpec   `json:"spec,omitempty"`
	Status       *GvcStatus `json:"status,omitempty"`
}

type GvcConfig

type GvcConfig struct {
	Clusters          GvcConfigClusters          `json:"clusters,omitempty"`
	PreferredClusters GvcConfigPreferredClusters `json:"preferredClusters,omitempty"`
	Proxy             *GvcConfigProxy            `json:"proxy,omitempty"`
	LoadBalancer      *GvcConfigLoadBalancer     `json:"loadBalancer,omitempty"`
	ThinProvision     float32                    `json:"thinProvision"`
	LargeDiskSize     workload.Memory            `json:"largeDiskSize,omitempty"`
	CapacityAI        *GvcConfigCapacityAi       `json:"capacityAI,omitempty"`
}

type GvcConfigCapacityAi added in v1.0.0

type GvcConfigCapacityAi struct {
	MemToCpuRatio float32 `json:"memToCpuRatio"`
}

type GvcConfigClusterEntry added in v1.0.0

type GvcConfigClusterEntry struct {
	ClusterId string `json:"clusterId,omitempty"`
	Since     string `json:"since,omitempty"`
}

type GvcConfigClusters

type GvcConfigClusters map[string]GvcConfigClusterEntry

type GvcConfigLoadBalancer added in v1.0.0

type GvcConfigLoadBalancer struct {
	MinScale       float32                              `json:"minScale"`
	MaxScale       float32                              `json:"maxScale"`
	MinCpu         string                               `json:"minCpu,omitempty"`
	MinMemory      string                               `json:"minMemory,omitempty"`
	ReadinessProbe *GvcConfigLoadBalancerReadinessProbe `json:"readinessProbe,omitempty"`
	LivenessProbe  *GvcConfigLoadBalancerLivenessProbe  `json:"livenessProbe,omitempty"`
}

type GvcConfigLoadBalancerLivenessProbe added in v1.0.0

type GvcConfigLoadBalancerLivenessProbe struct {
	TimeoutSeconds   float32 `json:"timeoutSeconds"`
	FailureThreshold float32 `json:"failureThreshold"`
	SuccessThreshold float32 `json:"successThreshold"`
}

type GvcConfigLoadBalancerReadinessProbe added in v1.0.0

type GvcConfigLoadBalancerReadinessProbe struct {
	TimeoutSeconds   float32 `json:"timeoutSeconds"`
	FailureThreshold float32 `json:"failureThreshold"`
	SuccessThreshold float32 `json:"successThreshold"`
}

type GvcConfigPreferredClusterEntry added in v1.0.0

type GvcConfigPreferredClusterEntry struct {
	ClusterId string `json:"clusterId,omitempty"`
}

type GvcConfigPreferredClusters added in v1.0.0

type GvcConfigPreferredClusters map[string]GvcConfigPreferredClusterEntry

type GvcConfigProxy added in v1.0.0

type GvcConfigProxy struct {
	MinCpu float32 `json:"minCpu"`
}

type GvcLoadBalancerConfig added in v1.0.0

type GvcLoadBalancerConfig struct {
	MinScale       float32                              `json:"minScale"`
	MaxScale       float32                              `json:"maxScale"`
	MinCpu         string                               `json:"minCpu,omitempty"`
	MinMemory      string                               `json:"minMemory,omitempty"`
	ReadinessProbe *GvcLoadBalancerConfigReadinessProbe `json:"readinessProbe,omitempty"`
	LivenessProbe  *GvcLoadBalancerConfigLivenessProbe  `json:"livenessProbe,omitempty"`
}

type GvcLoadBalancerConfigLivenessProbe added in v1.0.0

type GvcLoadBalancerConfigLivenessProbe struct {
	TimeoutSeconds   float32 `json:"timeoutSeconds"`
	FailureThreshold float32 `json:"failureThreshold"`
	SuccessThreshold float32 `json:"successThreshold"`
}

type GvcLoadBalancerConfigReadinessProbe added in v1.0.0

type GvcLoadBalancerConfigReadinessProbe struct {
	TimeoutSeconds   float32 `json:"timeoutSeconds"`
	FailureThreshold float32 `json:"failureThreshold"`
	SuccessThreshold float32 `json:"successThreshold"`
}

type GvcSpec

type GvcSpec struct {
	StaticPlacement      *StaticPlacement            `json:"staticPlacement,omitempty"`
	PullSecretLinks      []string                    `json:"pullSecretLinks,omitempty"`
	Domain               string                      `json:"domain,omitempty"`
	EndpointNamingFormat GvcSpecEndpointNamingFormat `json:"endpointNamingFormat,omitempty"`
	Tracing              *tracing.Tracing            `json:"tracing,omitempty"`
	Sidecar              *GvcSpecSidecar             `json:"sidecar,omitempty"`
	Env                  []env.EnvVar                `json:"env,omitempty"`
	LoadBalancer         *GvcSpecLoadBalancer        `json:"loadBalancer,omitempty"`
	Keda                 *GvcSpecKeda                `json:"keda,omitempty"`
}

type GvcSpecEndpointNamingFormat added in v1.0.0

type GvcSpecEndpointNamingFormat string
const (
	GvcSpecEndpointNamingFormatDefault GvcSpecEndpointNamingFormat = "default"
	GvcSpecEndpointNamingFormatLegacy  GvcSpecEndpointNamingFormat = "legacy"
	GvcSpecEndpointNamingFormatOrg     GvcSpecEndpointNamingFormat = "org"
)

type GvcSpecKeda added in v1.0.0

type GvcSpecKeda struct {
	Enabled      bool     `json:"enabled,omitempty"`
	IdentityLink string   `json:"identityLink,omitempty"`
	Secrets      []string `json:"secrets,omitempty"`
}

type GvcSpecLoadBalancer

type GvcSpecLoadBalancer struct {
	Dedicated      bool                          `json:"dedicated,omitempty"`
	MultiZone      *GvcSpecLoadBalancerMultiZone `json:"multiZone,omitempty"`
	TrustedProxies float32                       `json:"trustedProxies"`
	Redirect       *GvcSpecLoadBalancerRedirect  `json:"redirect,omitempty"`
	IpSet          string                        `json:"ipSet,omitempty"`
}

type GvcSpecLoadBalancerMultiZone added in v1.0.0

type GvcSpecLoadBalancerMultiZone struct {
	Enabled bool `json:"enabled,omitempty"`
}

type GvcSpecLoadBalancerRedirect added in v1.0.0

type GvcSpecLoadBalancerRedirect struct {
	Class *GvcSpecLoadBalancerRedirectClass `json:"class,omitempty"`
}

type GvcSpecLoadBalancerRedirectClass added in v1.0.0

type GvcSpecLoadBalancerRedirectClass struct {
	Status5xx string `json:"status5xx,omitempty"`
	Status401 string `json:"status401,omitempty"`
}

type GvcSpecSidecar added in v1.0.0

type GvcSpecSidecar struct {
	Envoy envoy.EnvoyFilters `json:"envoy,omitempty"`
}

type GvcStatus

type GvcStatus map[string]any

type GvcTags added in v1.0.0

type GvcTags map[string]any

type StaticPlacement

type StaticPlacement struct {
	LocationLinks []string     `json:"locationLinks,omitempty"`
	LocationQuery *query.Query `json:"locationQuery,omitempty"`
}

Jump to

Keyboard shortcuts

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