gvc

package
v1.1.60-test Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 6 Imported by: 1 module, 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,omitempty"`
	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,omitempty"`
	LargeDiskSize     workload.Memory            `json:"largeDiskSize,omitempty"`
	CapacityAI        *GvcConfigCapacityAi       `json:"capacityAI,omitempty"`
	Spire             bool                       `json:"spire,omitempty"`
}

type GvcConfigCapacityAi

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

type GvcConfigClusterEntry

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

type GvcConfigClusters

type GvcConfigClusters map[string]GvcConfigClusterEntry

type GvcConfigLoadBalancer

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

type GvcConfigLoadBalancerLivenessProbe

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

type GvcConfigLoadBalancerReadinessProbe

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

type GvcConfigPreferredClusterEntry

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

type GvcConfigPreferredClusters

type GvcConfigPreferredClusters map[string]GvcConfigPreferredClusterEntry

type GvcConfigProxy

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

type GvcLoadBalancerConfig

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

type GvcLoadBalancerConfigLivenessProbe

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

type GvcLoadBalancerConfigReadinessProbe

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

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"`
	AliasWorkloadLink    string                      `json:"aliasWorkloadLink,omitempty"`
	Tracing              *GvcSpecTracing             `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

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

type GvcSpecKeda

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,omitempty"`
	Redirect       *GvcSpecLoadBalancerRedirect  `json:"redirect,omitempty"`
	IpSet          string                        `json:"ipSet,omitempty"`
}

type GvcSpecLoadBalancerMultiZone

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

type GvcSpecLoadBalancerRedirect

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

type GvcSpecLoadBalancerRedirectClass

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

type GvcSpecSidecar

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

type GvcSpecTracing

type GvcSpecTracing struct {
	Sampling   float32                   `json:"sampling"`
	Lightstep  *GvcSpecTracingLightstep  `json:"lightstep,omitempty"`
	CustomTags *GvcSpecTracingCustomTags `json:"customTags,omitempty"`
	Provider   *GvcSpecTracingProvider   `json:"provider,omitempty"`
}

type GvcSpecTracingCustomTags

type GvcSpecTracingCustomTags map[string]tracing.TracingCustomTag

type GvcSpecTracingLightstep

type GvcSpecTracingLightstep struct {
	Endpoint    string `json:"endpoint"`
	Credentials string `json:"credentials,omitempty"`
}

type GvcSpecTracingProvider

type GvcSpecTracingProvider struct {
	Otel         *GvcSpecTracingProviderOtel         `json:"otel,omitempty"`
	Lightstep    *GvcSpecTracingProviderLightstep    `json:"lightstep,omitempty"`
	Controlplane *GvcSpecTracingProviderControlplane `json:"controlplane,omitempty"`
}

type GvcSpecTracingProviderControlplane

type GvcSpecTracingProviderControlplane struct {
}

type GvcSpecTracingProviderLightstep

type GvcSpecTracingProviderLightstep struct {
	Endpoint    string `json:"endpoint"`
	Credentials string `json:"credentials,omitempty"`
}

type GvcSpecTracingProviderOtel

type GvcSpecTracingProviderOtel struct {
	Endpoint string `json:"endpoint"`
}

type GvcStatus

type GvcStatus map[string]any

type GvcTags

type GvcTags map[string]any

type LocationOptions added in v1.1.9

type LocationOptions []LocationOptionsItem

type LocationOptionsItem added in v1.1.9

type LocationOptionsItem struct {
	LocationLink       string   `json:"locationLink"`
	RoutingTier        *float32 `json:"routingTier,omitempty"`
	LatencyOffsetMs    *float32 `json:"latencyOffsetMs,omitempty"`
	LatencyToleranceMs *float32 `json:"latencyToleranceMs,omitempty"`
}

type StaticPlacement

type StaticPlacement struct {
	LocationLinks   []string                      `json:"locationLinks,omitempty"`
	LocationQuery   *StaticPlacementLocationQuery `json:"locationQuery,omitempty"`
	LocationOptions *[]LocationOptionsItem        `json:"locationOptions,omitempty"`
}

type StaticPlacementLocationQuery

type StaticPlacementLocationQuery struct {
	Kind    base.Kind                            `json:"kind,omitempty"`
	Context *StaticPlacementLocationQueryContext `json:"context,omitempty"`
	Fetch   StaticPlacementLocationQueryFetch    `json:"fetch,omitempty"`
	Spec    *StaticPlacementLocationQuerySpec    `json:"spec,omitempty"`
}

type StaticPlacementLocationQueryContext

type StaticPlacementLocationQueryContext map[string]any

type StaticPlacementLocationQueryFetch

type StaticPlacementLocationQueryFetch string
const (
	StaticPlacementLocationQueryFetchLinks StaticPlacementLocationQueryFetch = "links"
	StaticPlacementLocationQueryFetchItems StaticPlacementLocationQueryFetch = "items"
)

type StaticPlacementLocationQuerySpec

type StaticPlacementLocationQuerySpec struct {
	Match StaticPlacementLocationQuerySpecMatch `json:"match,omitempty"`
	Terms []query.Term                          `json:"terms,omitempty"`
	Sort  *StaticPlacementLocationQuerySpecSort `json:"sort,omitempty"`
}

type StaticPlacementLocationQuerySpecMatch

type StaticPlacementLocationQuerySpecMatch string
const (
	StaticPlacementLocationQuerySpecMatchAll  StaticPlacementLocationQuerySpecMatch = "all"
	StaticPlacementLocationQuerySpecMatchAny  StaticPlacementLocationQuerySpecMatch = "any"
	StaticPlacementLocationQuerySpecMatchNone StaticPlacementLocationQuerySpecMatch = "none"
)

type StaticPlacementLocationQuerySpecSort

type StaticPlacementLocationQuerySpecSort struct {
	By    string                                    `json:"by"`
	Order StaticPlacementLocationQuerySpecSortOrder `json:"order,omitempty"`
}

type StaticPlacementLocationQuerySpecSortOrder

type StaticPlacementLocationQuerySpecSortOrder string
const (
	StaticPlacementLocationQuerySpecSortOrderAsc  StaticPlacementLocationQuerySpecSortOrder = "asc"
	StaticPlacementLocationQuerySpecSortOrderDesc StaticPlacementLocationQuerySpecSortOrder = "desc"
)

Jump to

Keyboard shortcuts

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