1
0
mirror of https://github.com/rancher/types.git synced 2025-09-20 01:22:31 +00:00

Tweaks to cluster capabilities field names

This commit is contained in:
rajashree
2018-10-25 17:53:19 -07:00
committed by Alena Prokharchyk
parent 60d1effb30
commit a123cd1714

View File

@@ -291,21 +291,20 @@ type ImportYamlOutput struct {
}
type Capabilities struct {
L4LoadBalancer L4LoadBalancer `json:"l4loadBalancer,omitempty"`
IngressControllers []IngressController `json:"ingressControllers,omitempty"`
NodePoolScalingSupported bool `json:"nodePoolScalingSupported,omitempty"`
NodePortRange string `json:"nodePortRange,omitempty"`
LoadBalancerCapabilities LoadBalancerCapabilities `json:"loadBalancerCapabilities,omitempty"`
IngressCapabilities []IngressCapabilities `json:"ingressCapabilities,omitempty"`
NodePoolScalingSupported bool `json:"nodePoolScalingSupported,omitempty"`
NodePortRange string `json:"nodePortRange,omitempty"`
}
type L4LoadBalancer struct {
type LoadBalancerCapabilities struct {
Enabled bool `json:"enabled,omitempty"`
Provider string `json:"provider,omitempty"`
ProtocolsSupported []string `json:"protocolsSupported,omitempty"`
HealthCheckSupported bool `json:"healthCheckSupported,omitempty"`
}
type IngressController struct {
HTTPLoadBalancingEnabled bool `json:"httpLoadBalancingEnabled,omitempty"`
IngressProvider string `json:"ingressProvider,omitempty"`
CustomDefaultBackend bool `json:"customDefaultBackend,omitempty"`
type IngressCapabilities struct {
IngressProvider string `json:"ingressProvider,omitempty"`
CustomDefaultBackend bool `json:"customDefaultBackend,omitempty"`
}