Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Quotas ¶
type Quotas struct { ServiceQuotas ConfigCount int ConfigSize int Ingress int Services int }
type ServiceQuotas ¶
type ServiceQuotas struct { Cpus float32 Gpus uint32 MemoryMiB float32 Replicas int ShmSizeMiB float32 }
func (ServiceQuotas) ValidateQuotas ¶
func (q ServiceQuotas) ValidateQuotas(service *types.ServiceConfig) error
Click to show internal directories.
Click to hide internal directories.