Documentation
¶
Index ¶
- type Gvc
- type GvcConfig
- type GvcConfigCapacityAi
- type GvcConfigClusterEntry
- type GvcConfigClusters
- type GvcConfigLoadBalancer
- type GvcConfigLoadBalancerLivenessProbe
- type GvcConfigLoadBalancerReadinessProbe
- type GvcConfigPreferredClusterEntry
- type GvcConfigPreferredClusters
- type GvcConfigProxy
- type GvcLoadBalancerConfig
- type GvcLoadBalancerConfigLivenessProbe
- type GvcLoadBalancerConfigReadinessProbe
- type GvcSpec
- type GvcSpecEndpointNamingFormat
- type GvcSpecKeda
- type GvcSpecLoadBalancer
- type GvcSpecLoadBalancerMultiZone
- type GvcSpecLoadBalancerRedirect
- type GvcSpecLoadBalancerRedirectClass
- type GvcSpecSidecar
- type GvcStatus
- type GvcTags
- type StaticPlacement
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 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 GvcConfigLoadBalancerReadinessProbe ¶ added in v1.0.0
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 GvcLoadBalancerConfigReadinessProbe ¶ added in v1.0.0
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 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 GvcSpecSidecar ¶ added in v1.0.0
type GvcSpecSidecar struct {
Envoy envoy.EnvoyFilters `json:"envoy,omitempty"`
}
type StaticPlacement ¶
Click to show internal directories.
Click to hide internal directories.