compatibility

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: Apache-2.0 Imports: 4 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

View Source
const (
	UpdateConfigUpdate   = "update_config"
	UpdateConfigRollback = "rolback_config"
)
View Source
const (
	ResourceLimits       = "limits"
	ResourceReservations = "reservations"
)

Variables

This section is empty.

Functions

func Check

func Check(project *types.Project, c Checker)

func CheckConfigsConfig

func CheckConfigsConfig(config *types.ConfigObjConfig, c Checker)

func CheckFileObjectConfig

func CheckFileObjectConfig(s string, config *types.FileObjectConfig, c Checker)

func CheckNetworkConfig

func CheckNetworkConfig(network *types.NetworkConfig, c Checker)

func CheckSecretsConfig

func CheckSecretsConfig(config *types.SecretConfig, c Checker)

func CheckServiceConfig

func CheckServiceConfig(service *types.ServiceConfig, c Checker)

func CheckVolumeConfig

func CheckVolumeConfig(config *types.VolumeConfig, c Checker)

func IsCompatible

func IsCompatible(c Checker) bool

IsCompatible return true if the checker didn't reported any incompatibility error

Types

type AllowList

type AllowList struct {
	Supported []string
	// contains filtered or unexported fields
}

AllowList implements the Checker interface by rejecting all attributes that are not listed as "supported".

func (*AllowList) CheckBlkioConfig

func (c *AllowList) CheckBlkioConfig(service *types.ServiceConfig)

func (*AllowList) CheckBlkioDeviceReadBps

func (c *AllowList) CheckBlkioDeviceReadBps(config *types.BlkioConfig)

func (*AllowList) CheckBlkioDeviceReadIOps

func (c *AllowList) CheckBlkioDeviceReadIOps(config *types.BlkioConfig)

func (*AllowList) CheckBlkioDeviceWriteBps

func (c *AllowList) CheckBlkioDeviceWriteBps(config *types.BlkioConfig)

func (*AllowList) CheckBlkioDeviceWriteIOps

func (c *AllowList) CheckBlkioDeviceWriteIOps(config *types.BlkioConfig)

func (*AllowList) CheckBlkioWeight

func (c *AllowList) CheckBlkioWeight(config *types.BlkioConfig)

func (*AllowList) CheckBlkioWeightDevice

func (c *AllowList) CheckBlkioWeightDevice(config *types.BlkioConfig)

func (*AllowList) CheckBuild

func (c *AllowList) CheckBuild(service *types.ServiceConfig) bool

func (*AllowList) CheckBuildArgs

func (c *AllowList) CheckBuildArgs(build *types.BuildConfig)

func (*AllowList) CheckBuildCacheFrom

func (c *AllowList) CheckBuildCacheFrom(build *types.BuildConfig)

func (*AllowList) CheckBuildExtraHosts

func (c *AllowList) CheckBuildExtraHosts(build *types.BuildConfig)

func (*AllowList) CheckBuildIsolation

func (c *AllowList) CheckBuildIsolation(build *types.BuildConfig)

func (*AllowList) CheckBuildLabels

func (c *AllowList) CheckBuildLabels(build *types.BuildConfig)

func (*AllowList) CheckBuildNetwork

func (c *AllowList) CheckBuildNetwork(build *types.BuildConfig)

func (*AllowList) CheckBuildTarget

func (c *AllowList) CheckBuildTarget(build *types.BuildConfig)

func (*AllowList) CheckCPUCount

func (c *AllowList) CheckCPUCount(service *types.ServiceConfig)

func (*AllowList) CheckCPUPercent

func (c *AllowList) CheckCPUPercent(service *types.ServiceConfig)

func (*AllowList) CheckCPUPeriod

func (c *AllowList) CheckCPUPeriod(service *types.ServiceConfig)

func (*AllowList) CheckCPUQuota

func (c *AllowList) CheckCPUQuota(service *types.ServiceConfig)

func (*AllowList) CheckCPURTPeriod

func (c *AllowList) CheckCPURTPeriod(service *types.ServiceConfig)

func (*AllowList) CheckCPURTRuntime

func (c *AllowList) CheckCPURTRuntime(service *types.ServiceConfig)

func (*AllowList) CheckCPUSet

func (c *AllowList) CheckCPUSet(service *types.ServiceConfig)

func (*AllowList) CheckCPUShares

func (c *AllowList) CheckCPUShares(service *types.ServiceConfig)

func (*AllowList) CheckCPUs

func (c *AllowList) CheckCPUs(service *types.ServiceConfig)

func (*AllowList) CheckCapAdd

func (c *AllowList) CheckCapAdd(service *types.ServiceConfig)

func (*AllowList) CheckCapDrop

func (c *AllowList) CheckCapDrop(service *types.ServiceConfig)

func (*AllowList) CheckCgroupParent

func (c *AllowList) CheckCgroupParent(service *types.ServiceConfig)

func (*AllowList) CheckCommand

func (c *AllowList) CheckCommand(service *types.ServiceConfig)

func (*AllowList) CheckConfigs

func (c *AllowList) CheckConfigs(service *types.ServiceConfig)

func (*AllowList) CheckContainerName

func (c *AllowList) CheckContainerName(service *types.ServiceConfig)

func (*AllowList) CheckCredentialSpec

func (c *AllowList) CheckCredentialSpec(service *types.ServiceConfig)

func (*AllowList) CheckDNS

func (c *AllowList) CheckDNS(service *types.ServiceConfig)

func (*AllowList) CheckDNSOpts

func (c *AllowList) CheckDNSOpts(service *types.ServiceConfig)

func (*AllowList) CheckDNSSearch

func (c *AllowList) CheckDNSSearch(service *types.ServiceConfig)

func (*AllowList) CheckDependsOn

func (c *AllowList) CheckDependsOn(service *types.ServiceConfig)

func (*AllowList) CheckDeploy

func (c *AllowList) CheckDeploy(service *types.ServiceConfig) bool

func (*AllowList) CheckDeployEndpointMode

func (c *AllowList) CheckDeployEndpointMode(config *types.DeployConfig)

func (*AllowList) CheckDeployLabels

func (c *AllowList) CheckDeployLabels(config *types.DeployConfig)

func (*AllowList) CheckDeployMode

func (c *AllowList) CheckDeployMode(config *types.DeployConfig)

func (*AllowList) CheckDeployReplicas

func (c *AllowList) CheckDeployReplicas(config *types.DeployConfig)

func (*AllowList) CheckDeployResourcesDevices

func (c *AllowList) CheckDeployResourcesDevices(s string, r *types.Resource)

func (*AllowList) CheckDeployResourcesDevicesCapabilities

func (c *AllowList) CheckDeployResourcesDevicesCapabilities(s string, r types.DeviceRequest)

func (*AllowList) CheckDeployResourcesDevicesCount

func (c *AllowList) CheckDeployResourcesDevicesCount(s string, r types.DeviceRequest)

func (*AllowList) CheckDeployResourcesDevicesDriver

func (c *AllowList) CheckDeployResourcesDevicesDriver(s string, r types.DeviceRequest)

func (*AllowList) CheckDeployResourcesDevicesIDs

func (c *AllowList) CheckDeployResourcesDevicesIDs(s string, r types.DeviceRequest)

func (*AllowList) CheckDeployResourcesGenericResources

func (c *AllowList) CheckDeployResourcesGenericResources(s string, r *types.Resource)

func (*AllowList) CheckDeployResourcesLimits

func (c *AllowList) CheckDeployResourcesLimits(config *types.DeployConfig) bool

func (*AllowList) CheckDeployResourcesMemoryBytes

func (c *AllowList) CheckDeployResourcesMemoryBytes(s string, r *types.Resource)

func (*AllowList) CheckDeployResourcesNanoCPUs

func (c *AllowList) CheckDeployResourcesNanoCPUs(s string, r *types.Resource)

func (*AllowList) CheckDeployResourcesReservations

func (c *AllowList) CheckDeployResourcesReservations(config *types.DeployConfig) bool

func (*AllowList) CheckDeployRestartPolicy

func (c *AllowList) CheckDeployRestartPolicy(config *types.DeployConfig) bool

func (*AllowList) CheckDeployRollbackConfig

func (c *AllowList) CheckDeployRollbackConfig(config *types.DeployConfig) bool

func (*AllowList) CheckDeployUpdateConfig

func (c *AllowList) CheckDeployUpdateConfig(config *types.DeployConfig) bool

func (*AllowList) CheckDevices

func (c *AllowList) CheckDevices(service *types.ServiceConfig)

func (*AllowList) CheckDomainName

func (c *AllowList) CheckDomainName(service *types.ServiceConfig)

func (*AllowList) CheckEntrypoint

func (c *AllowList) CheckEntrypoint(service *types.ServiceConfig)

func (*AllowList) CheckEnvFile

func (c *AllowList) CheckEnvFile(service *types.ServiceConfig)

func (*AllowList) CheckEnvironment

func (c *AllowList) CheckEnvironment(service *types.ServiceConfig)

func (*AllowList) CheckExpose

func (c *AllowList) CheckExpose(service *types.ServiceConfig)

func (*AllowList) CheckExtends

func (c *AllowList) CheckExtends(service *types.ServiceConfig)
func (c *AllowList) CheckExternalLinks(service *types.ServiceConfig)

func (*AllowList) CheckExtraHosts

func (c *AllowList) CheckExtraHosts(service *types.ServiceConfig)

func (*AllowList) CheckFileObjectConfigDriver

func (c *AllowList) CheckFileObjectConfigDriver(s string, config *types.FileObjectConfig)

func (*AllowList) CheckFileObjectConfigDriverOpts

func (c *AllowList) CheckFileObjectConfigDriverOpts(s string, config *types.FileObjectConfig)

func (*AllowList) CheckFileObjectConfigExternal

func (c *AllowList) CheckFileObjectConfigExternal(s string, config *types.FileObjectConfig)

func (*AllowList) CheckFileObjectConfigFile

func (c *AllowList) CheckFileObjectConfigFile(s string, config *types.FileObjectConfig)

func (*AllowList) CheckFileObjectConfigLabels

func (c *AllowList) CheckFileObjectConfigLabels(s string, config *types.FileObjectConfig)

func (*AllowList) CheckFileObjectConfigTemplateDriver

func (c *AllowList) CheckFileObjectConfigTemplateDriver(s string, config *types.FileObjectConfig)

func (*AllowList) CheckFileReference

func (c *AllowList) CheckFileReference(s string, config *types.FileReferenceConfig)

func (*AllowList) CheckFileReferenceGID

func (c *AllowList) CheckFileReferenceGID(s string, config *types.FileReferenceConfig)

func (*AllowList) CheckFileReferenceMode

func (c *AllowList) CheckFileReferenceMode(s string, config *types.FileReferenceConfig)

func (*AllowList) CheckFileReferenceSource

func (c *AllowList) CheckFileReferenceSource(s string, config *types.FileReferenceConfig)

func (*AllowList) CheckFileReferenceTarget

func (c *AllowList) CheckFileReferenceTarget(s string, config *types.FileReferenceConfig)

func (*AllowList) CheckFileReferenceUID

func (c *AllowList) CheckFileReferenceUID(s string, config *types.FileReferenceConfig)

func (*AllowList) CheckGroupAdd

func (c *AllowList) CheckGroupAdd(service *types.ServiceConfig)

func (*AllowList) CheckHealthCheck

func (c *AllowList) CheckHealthCheck(service *types.ServiceConfig) bool

func (*AllowList) CheckHealthCheckInterval

func (c *AllowList) CheckHealthCheckInterval(h *types.HealthCheckConfig)

func (*AllowList) CheckHealthCheckRetries

func (c *AllowList) CheckHealthCheckRetries(h *types.HealthCheckConfig)

func (*AllowList) CheckHealthCheckStartPeriod

func (c *AllowList) CheckHealthCheckStartPeriod(h *types.HealthCheckConfig)

func (*AllowList) CheckHealthCheckTest

func (c *AllowList) CheckHealthCheckTest(h *types.HealthCheckConfig)

func (*AllowList) CheckHealthCheckTimeout

func (c *AllowList) CheckHealthCheckTimeout(h *types.HealthCheckConfig)

func (*AllowList) CheckHostname

func (c *AllowList) CheckHostname(service *types.ServiceConfig)

func (*AllowList) CheckImage

func (c *AllowList) CheckImage(service *types.ServiceConfig)

func (*AllowList) CheckInit

func (c *AllowList) CheckInit(service *types.ServiceConfig)

func (*AllowList) CheckIpc

func (c *AllowList) CheckIpc(service *types.ServiceConfig)

func (*AllowList) CheckIsolation

func (c *AllowList) CheckIsolation(service *types.ServiceConfig)

func (*AllowList) CheckLabels

func (c *AllowList) CheckLabels(service *types.ServiceConfig)
func (c *AllowList) CheckLinks(service *types.ServiceConfig)

func (*AllowList) CheckLogging

func (c *AllowList) CheckLogging(service *types.ServiceConfig) bool

func (*AllowList) CheckLoggingDriver

func (c *AllowList) CheckLoggingDriver(logging *types.LoggingConfig)

func (*AllowList) CheckLoggingOptions

func (c *AllowList) CheckLoggingOptions(logging *types.LoggingConfig)

func (*AllowList) CheckMacAddress

func (c *AllowList) CheckMacAddress(service *types.ServiceConfig)

func (*AllowList) CheckMemLimit

func (c *AllowList) CheckMemLimit(service *types.ServiceConfig)

func (*AllowList) CheckMemReservation

func (c *AllowList) CheckMemReservation(service *types.ServiceConfig)

func (*AllowList) CheckMemSwapLimit

func (c *AllowList) CheckMemSwapLimit(service *types.ServiceConfig)

func (*AllowList) CheckMemSwappiness

func (c *AllowList) CheckMemSwappiness(service *types.ServiceConfig)

func (*AllowList) CheckNet

func (c *AllowList) CheckNet(service *types.ServiceConfig)

func (*AllowList) CheckNetworkAliases

func (c *AllowList) CheckNetworkAliases(n *types.ServiceNetworkConfig)

func (*AllowList) CheckNetworkConfig

func (c *AllowList) CheckNetworkConfig(network *types.NetworkConfig)

func (*AllowList) CheckNetworkConfigAttachable

func (c *AllowList) CheckNetworkConfigAttachable(config *types.NetworkConfig)

func (*AllowList) CheckNetworkConfigDriver

func (c *AllowList) CheckNetworkConfigDriver(config *types.NetworkConfig)

func (*AllowList) CheckNetworkConfigDriverOpts

func (c *AllowList) CheckNetworkConfigDriverOpts(config *types.NetworkConfig)

func (*AllowList) CheckNetworkConfigExternal

func (c *AllowList) CheckNetworkConfigExternal(config *types.NetworkConfig)

func (*AllowList) CheckNetworkConfigInternal

func (c *AllowList) CheckNetworkConfigInternal(config *types.NetworkConfig)

func (*AllowList) CheckNetworkConfigIpam

func (c *AllowList) CheckNetworkConfigIpam(config *types.NetworkConfig)

func (*AllowList) CheckNetworkConfigIpamAuxiliaryAddresses

func (c *AllowList) CheckNetworkConfigIpamAuxiliaryAddresses(config *types.IPAMPool)

func (*AllowList) CheckNetworkConfigIpamDriver

func (c *AllowList) CheckNetworkConfigIpamDriver(config *types.IPAMConfig)

func (*AllowList) CheckNetworkConfigIpamGateway

func (c *AllowList) CheckNetworkConfigIpamGateway(config *types.IPAMPool)

func (*AllowList) CheckNetworkConfigIpamIPRange

func (c *AllowList) CheckNetworkConfigIpamIPRange(config *types.IPAMPool)

func (*AllowList) CheckNetworkConfigIpamSubnet

func (c *AllowList) CheckNetworkConfigIpamSubnet(config *types.IPAMPool)

func (*AllowList) CheckNetworkConfigLabels

func (c *AllowList) CheckNetworkConfigLabels(config *types.NetworkConfig)

func (*AllowList) CheckNetworkIpv4Address

func (c *AllowList) CheckNetworkIpv4Address(n *types.ServiceNetworkConfig)

func (*AllowList) CheckNetworkIpv6Address

func (c *AllowList) CheckNetworkIpv6Address(n *types.ServiceNetworkConfig)

func (*AllowList) CheckNetworkMode

func (c *AllowList) CheckNetworkMode(service *types.ServiceConfig)

func (*AllowList) CheckNetworks

func (c *AllowList) CheckNetworks(service *types.ServiceConfig) bool

func (*AllowList) CheckOomKillDisable

func (c *AllowList) CheckOomKillDisable(service *types.ServiceConfig)

func (*AllowList) CheckOomScoreAdj

func (c *AllowList) CheckOomScoreAdj(service *types.ServiceConfig)

func (*AllowList) CheckPid

func (c *AllowList) CheckPid(service *types.ServiceConfig)

func (*AllowList) CheckPidsLimit

func (c *AllowList) CheckPidsLimit(service *types.ServiceConfig)

func (*AllowList) CheckPlacementConstraints

func (c *AllowList) CheckPlacementConstraints(p *types.Placement)

func (*AllowList) CheckPlacementMaxReplicas

func (c *AllowList) CheckPlacementMaxReplicas(p *types.Placement)

func (*AllowList) CheckPlacementPreferences

func (c *AllowList) CheckPlacementPreferences(p *types.Placement)

func (*AllowList) CheckPlatform

func (c *AllowList) CheckPlatform(service *types.ServiceConfig)

func (*AllowList) CheckPorts

func (c *AllowList) CheckPorts(service *types.ServiceConfig) bool

func (*AllowList) CheckPortsMode

func (c *AllowList) CheckPortsMode(p *types.ServicePortConfig)

func (*AllowList) CheckPortsProtocol

func (c *AllowList) CheckPortsProtocol(p *types.ServicePortConfig)

func (*AllowList) CheckPortsPublished

func (c *AllowList) CheckPortsPublished(p *types.ServicePortConfig)

func (*AllowList) CheckPortsTarget

func (c *AllowList) CheckPortsTarget(p *types.ServicePortConfig)

func (*AllowList) CheckPrivileged

func (c *AllowList) CheckPrivileged(service *types.ServiceConfig)

func (*AllowList) CheckPullPolicy

func (c *AllowList) CheckPullPolicy(service *types.ServiceConfig)

func (*AllowList) CheckReadOnly

func (c *AllowList) CheckReadOnly(service *types.ServiceConfig)

func (*AllowList) CheckRestart

func (c *AllowList) CheckRestart(service *types.ServiceConfig)

func (*AllowList) CheckRestartPolicyCondition

func (c *AllowList) CheckRestartPolicyCondition(p *types.RestartPolicy)

func (*AllowList) CheckRestartPolicyDelay

func (c *AllowList) CheckRestartPolicyDelay(p *types.RestartPolicy)

func (*AllowList) CheckRestartPolicyMaxAttempts

func (c *AllowList) CheckRestartPolicyMaxAttempts(p *types.RestartPolicy)

func (*AllowList) CheckRestartPolicyWindow

func (c *AllowList) CheckRestartPolicyWindow(p *types.RestartPolicy)

func (*AllowList) CheckRuntime

func (c *AllowList) CheckRuntime(service *types.ServiceConfig)

func (*AllowList) CheckScale

func (c *AllowList) CheckScale(service *types.ServiceConfig)

func (*AllowList) CheckSecrets

func (c *AllowList) CheckSecrets(service *types.ServiceConfig)

func (*AllowList) CheckSecurityOpt

func (c *AllowList) CheckSecurityOpt(service *types.ServiceConfig)

func (*AllowList) CheckServiceVolumes

func (c *AllowList) CheckServiceVolumes(service *types.ServiceConfig) bool

func (*AllowList) CheckShmSize

func (c *AllowList) CheckShmSize(service *types.ServiceConfig)

func (*AllowList) CheckStdinOpen

func (c *AllowList) CheckStdinOpen(service *types.ServiceConfig)

func (*AllowList) CheckStopGracePeriod

func (c *AllowList) CheckStopGracePeriod(service *types.ServiceConfig)

func (*AllowList) CheckStopSignal

func (c *AllowList) CheckStopSignal(service *types.ServiceConfig)

func (*AllowList) CheckSysctls

func (c *AllowList) CheckSysctls(service *types.ServiceConfig)

func (*AllowList) CheckTmpfs

func (c *AllowList) CheckTmpfs(service *types.ServiceConfig)

func (*AllowList) CheckTty

func (c *AllowList) CheckTty(service *types.ServiceConfig)

func (*AllowList) CheckUlimits

func (c *AllowList) CheckUlimits(service *types.ServiceConfig)

func (*AllowList) CheckUpdateConfigDelay

func (c *AllowList) CheckUpdateConfigDelay(s string, config *types.UpdateConfig)

func (*AllowList) CheckUpdateConfigFailureAction

func (c *AllowList) CheckUpdateConfigFailureAction(s string, config *types.UpdateConfig)

func (*AllowList) CheckUpdateConfigMaxFailureRatio

func (c *AllowList) CheckUpdateConfigMaxFailureRatio(s string, config *types.UpdateConfig)

func (*AllowList) CheckUpdateConfigMonitor

func (c *AllowList) CheckUpdateConfigMonitor(s string, config *types.UpdateConfig)

func (*AllowList) CheckUpdateConfigOrder

func (c *AllowList) CheckUpdateConfigOrder(s string, config *types.UpdateConfig)

func (*AllowList) CheckUpdateConfigParallelism

func (c *AllowList) CheckUpdateConfigParallelism(s string, config *types.UpdateConfig)

func (*AllowList) CheckUser

func (c *AllowList) CheckUser(service *types.ServiceConfig)

func (*AllowList) CheckUserNSMode

func (c *AllowList) CheckUserNSMode(service *types.ServiceConfig)

func (*AllowList) CheckUts

func (c *AllowList) CheckUts(service *types.ServiceConfig)

func (*AllowList) CheckVolumeConfigDriver

func (c *AllowList) CheckVolumeConfigDriver(config *types.VolumeConfig)

func (*AllowList) CheckVolumeConfigDriverOpts

func (c *AllowList) CheckVolumeConfigDriverOpts(config *types.VolumeConfig)

func (*AllowList) CheckVolumeConfigExternal

func (c *AllowList) CheckVolumeConfigExternal(config *types.VolumeConfig)

func (*AllowList) CheckVolumeConfigLabels

func (c *AllowList) CheckVolumeConfigLabels(config *types.VolumeConfig)

func (*AllowList) CheckVolumeDriver

func (c *AllowList) CheckVolumeDriver(service *types.ServiceConfig)

func (*AllowList) CheckVolumesBind

func (c *AllowList) CheckVolumesBind(config *types.ServiceVolumeBind)

func (*AllowList) CheckVolumesConsistency

func (c *AllowList) CheckVolumesConsistency(config *types.ServiceVolumeConfig)

func (*AllowList) CheckVolumesFrom

func (c *AllowList) CheckVolumesFrom(service *types.ServiceConfig)

func (*AllowList) CheckVolumesReadOnly

func (c *AllowList) CheckVolumesReadOnly(config *types.ServiceVolumeConfig)

func (*AllowList) CheckVolumesSource

func (c *AllowList) CheckVolumesSource(config *types.ServiceVolumeConfig)

func (*AllowList) CheckVolumesTarget

func (c *AllowList) CheckVolumesTarget(config *types.ServiceVolumeConfig)

func (*AllowList) CheckVolumesTmpfs

func (c *AllowList) CheckVolumesTmpfs(config *types.ServiceVolumeTmpfs)

func (*AllowList) CheckVolumesVolume

func (c *AllowList) CheckVolumesVolume(config *types.ServiceVolumeVolume)

func (*AllowList) CheckWorkingDir

func (c *AllowList) CheckWorkingDir(service *types.ServiceConfig)

func (*AllowList) Errors

func (c *AllowList) Errors() []error

Errors returns the list of errors encountered when checking against the allow list

func (*AllowList) Incompatible

func (c *AllowList) Incompatible(message string, args ...interface{})

func (*AllowList) Unsupported

func (c *AllowList) Unsupported(message string, args ...interface{})

type Checker

type Checker interface {
	Errors() []error
	CheckBlkioConfig(build *types.ServiceConfig)
	CheckBlkioWeight(build *types.BlkioConfig)
	CheckBlkioWeightDevice(build *types.BlkioConfig)
	CheckBlkioDeviceReadBps(build *types.BlkioConfig)
	CheckBlkioDeviceReadIOps(build *types.BlkioConfig)
	CheckBlkioDeviceWriteBps(build *types.BlkioConfig)
	CheckBlkioDeviceWriteIOps(build *types.BlkioConfig)
	CheckBuild(build *types.ServiceConfig) bool
	CheckBuildArgs(build *types.BuildConfig)
	CheckBuildLabels(build *types.BuildConfig)
	CheckBuildCacheFrom(build *types.BuildConfig)
	CheckBuildExtraHosts(build *types.BuildConfig)
	CheckBuildIsolation(build *types.BuildConfig)
	CheckBuildNetwork(build *types.BuildConfig)
	CheckBuildTarget(build *types.BuildConfig)
	CheckCapAdd(service *types.ServiceConfig)
	CheckCapDrop(service *types.ServiceConfig)
	CheckCgroupParent(service *types.ServiceConfig)
	CheckCPUCount(service *types.ServiceConfig)
	CheckCPUPercent(service *types.ServiceConfig)
	CheckCPUPeriod(service *types.ServiceConfig)
	CheckCPUQuota(service *types.ServiceConfig)
	CheckCPURTRuntime(service *types.ServiceConfig)
	CheckCPURTPeriod(service *types.ServiceConfig)
	CheckCPUs(service *types.ServiceConfig)
	CheckCPUSet(service *types.ServiceConfig)
	CheckCPUShares(service *types.ServiceConfig)
	CheckCommand(service *types.ServiceConfig)
	CheckConfigs(service *types.ServiceConfig)
	CheckContainerName(service *types.ServiceConfig)
	CheckCredentialSpec(service *types.ServiceConfig)
	CheckDependsOn(service *types.ServiceConfig)
	CheckDevices(service *types.ServiceConfig)
	CheckDNS(service *types.ServiceConfig)
	CheckDNSOpts(service *types.ServiceConfig)
	CheckDNSSearch(service *types.ServiceConfig)
	CheckDomainName(service *types.ServiceConfig)
	CheckEntrypoint(service *types.ServiceConfig)
	CheckEnvironment(service *types.ServiceConfig)
	CheckEnvFile(service *types.ServiceConfig)
	CheckExpose(service *types.ServiceConfig)
	CheckExtends(service *types.ServiceConfig)
	CheckExternalLinks(service *types.ServiceConfig)
	CheckExtraHosts(service *types.ServiceConfig)
	CheckGroupAdd(service *types.ServiceConfig)
	CheckHostname(service *types.ServiceConfig)
	CheckHealthCheckTest(h *types.HealthCheckConfig)
	CheckHealthCheckTimeout(h *types.HealthCheckConfig)
	CheckHealthCheckInterval(h *types.HealthCheckConfig)
	CheckHealthCheckRetries(h *types.HealthCheckConfig)
	CheckHealthCheckStartPeriod(h *types.HealthCheckConfig)
	CheckImage(service *types.ServiceConfig)
	CheckInit(service *types.ServiceConfig)
	CheckIpc(service *types.ServiceConfig)
	CheckIsolation(service *types.ServiceConfig)
	CheckLabels(service *types.ServiceConfig)
	CheckLinks(service *types.ServiceConfig)
	CheckLoggingDriver(logging *types.LoggingConfig)
	CheckLoggingOptions(logging *types.LoggingConfig)
	CheckMemLimit(service *types.ServiceConfig)
	CheckMemReservation(service *types.ServiceConfig)
	CheckMemSwapLimit(service *types.ServiceConfig)
	CheckMemSwappiness(service *types.ServiceConfig)
	CheckMacAddress(service *types.ServiceConfig)
	CheckNet(service *types.ServiceConfig)
	CheckNetworkMode(service *types.ServiceConfig)
	CheckNetworkAliases(n *types.ServiceNetworkConfig)
	CheckNetworkIpv4Address(n *types.ServiceNetworkConfig)
	CheckNetworkIpv6Address(n *types.ServiceNetworkConfig)
	CheckOomKillDisable(service *types.ServiceConfig)
	CheckOomScoreAdj(service *types.ServiceConfig)
	CheckPid(service *types.ServiceConfig)
	CheckPidsLimit(service *types.ServiceConfig)
	CheckPlatform(service *types.ServiceConfig)
	CheckPortsMode(p *types.ServicePortConfig)
	CheckPortsTarget(p *types.ServicePortConfig)
	CheckPortsPublished(p *types.ServicePortConfig)
	CheckPortsProtocol(p *types.ServicePortConfig)
	CheckPrivileged(service *types.ServiceConfig)
	CheckPullPolicy(service *types.ServiceConfig)
	CheckReadOnly(service *types.ServiceConfig)
	CheckRestart(service *types.ServiceConfig)
	CheckRuntime(service *types.ServiceConfig)
	CheckScale(service *types.ServiceConfig)
	CheckSecrets(service *types.ServiceConfig)
	CheckFileReferenceSource(s string, config *types.FileReferenceConfig)
	CheckFileReferenceTarget(s string, config *types.FileReferenceConfig)
	CheckFileReferenceUID(s string, config *types.FileReferenceConfig)
	CheckFileReferenceGID(s string, config *types.FileReferenceConfig)
	CheckFileReferenceMode(s string, config *types.FileReferenceConfig)
	CheckSecurityOpt(service *types.ServiceConfig)
	CheckShmSize(service *types.ServiceConfig)
	CheckStdinOpen(service *types.ServiceConfig)
	CheckStopGracePeriod(service *types.ServiceConfig)
	CheckStopSignal(service *types.ServiceConfig)
	CheckSysctls(service *types.ServiceConfig)
	CheckTmpfs(service *types.ServiceConfig)
	CheckTty(service *types.ServiceConfig)
	CheckUlimits(service *types.ServiceConfig)
	CheckUser(service *types.ServiceConfig)
	CheckUserNSMode(service *types.ServiceConfig)
	CheckUts(service *types.ServiceConfig)
	CheckVolumeDriver(service *types.ServiceConfig)
	CheckVolumesSource(config *types.ServiceVolumeConfig)
	CheckVolumesTarget(config *types.ServiceVolumeConfig)
	CheckVolumesReadOnly(config *types.ServiceVolumeConfig)
	CheckVolumesConsistency(config *types.ServiceVolumeConfig)
	CheckVolumesBind(config *types.ServiceVolumeBind)
	CheckVolumesVolume(config *types.ServiceVolumeVolume)
	CheckVolumesTmpfs(config *types.ServiceVolumeTmpfs)
	CheckVolumesFrom(service *types.ServiceConfig)
	CheckWorkingDir(service *types.ServiceConfig)
	CheckVolumeConfigDriver(config *types.VolumeConfig)
	CheckVolumeConfigDriverOpts(config *types.VolumeConfig)
	CheckVolumeConfigExternal(config *types.VolumeConfig)
	CheckVolumeConfigLabels(config *types.VolumeConfig)
	CheckFileObjectConfigFile(s string, config *types.FileObjectConfig)
	CheckFileObjectConfigExternal(s string, config *types.FileObjectConfig)
	CheckFileObjectConfigLabels(s string, config *types.FileObjectConfig)
	CheckFileObjectConfigDriver(s string, config *types.FileObjectConfig)
	CheckFileObjectConfigDriverOpts(s string, config *types.FileObjectConfig)
	CheckFileObjectConfigTemplateDriver(s string, config *types.FileObjectConfig)
	CheckDeploy(deploy *types.ServiceConfig) bool
	CheckDeployEndpointMode(deploy *types.DeployConfig)
	CheckDeployLabels(deploy *types.DeployConfig)
	CheckDeployMode(deploy *types.DeployConfig)
	CheckDeployReplicas(deploy *types.DeployConfig)
	CheckDeployRestartPolicy(deploy *types.DeployConfig) bool
	CheckDeployRollbackConfig(deploy *types.DeployConfig) bool
	CheckDeployUpdateConfig(deploy *types.DeployConfig) bool
	CheckPlacementConstraints(p *types.Placement)
	CheckPlacementMaxReplicas(p *types.Placement)
	CheckPlacementPreferences(p *types.Placement)
	CheckRestartPolicyDelay(policy *types.RestartPolicy)
	CheckRestartPolicyCondition(policy *types.RestartPolicy)
	CheckRestartPolicyMaxAttempts(policy *types.RestartPolicy)
	CheckRestartPolicyWindow(policy *types.RestartPolicy)
	CheckUpdateConfigDelay(rollback string, config *types.UpdateConfig)
	CheckUpdateConfigFailureAction(rollback string, config *types.UpdateConfig)
	CheckUpdateConfigMaxFailureRatio(rollback string, config *types.UpdateConfig)
	CheckUpdateConfigMonitor(rollback string, config *types.UpdateConfig)
	CheckUpdateConfigOrder(rollback string, config *types.UpdateConfig)
	CheckUpdateConfigParallelism(rollback string, config *types.UpdateConfig)
	CheckDeployResourcesNanoCPUs(s string, resource *types.Resource)
	CheckDeployResourcesMemoryBytes(s string, resource *types.Resource)
	CheckDeployResourcesDevices(s string, resource *types.Resource)
	CheckDeployResourcesDevicesCapabilities(s string, r types.DeviceRequest)
	CheckDeployResourcesDevicesCount(s string, r types.DeviceRequest)
	CheckDeployResourcesDevicesIDs(s string, r types.DeviceRequest)
	CheckDeployResourcesDevicesDriver(s string, r types.DeviceRequest)
	CheckDeployResourcesGenericResources(s string, resource *types.Resource)
	CheckDeployResourcesLimits(deploy *types.DeployConfig) bool
	CheckDeployResourcesReservations(deploy *types.DeployConfig) bool
	CheckHealthCheck(service *types.ServiceConfig) bool
	CheckLogging(service *types.ServiceConfig) bool
	CheckNetworks(service *types.ServiceConfig) bool
	CheckPorts(service *types.ServiceConfig) bool
	CheckServiceVolumes(service *types.ServiceConfig) bool
	CheckNetworkConfigIpam(network *types.NetworkConfig)
	CheckNetworkConfigIpamSubnet(config *types.IPAMPool)
	CheckNetworkConfigIpamGateway(config *types.IPAMPool)
	CheckNetworkConfigIpamIPRange(config *types.IPAMPool)
	CheckNetworkConfigIpamAuxiliaryAddresses(config *types.IPAMPool)
	CheckNetworkConfigDriver(network *types.NetworkConfig)
	CheckNetworkConfigDriverOpts(network *types.NetworkConfig)
	CheckNetworkConfigExternal(network *types.NetworkConfig)
	CheckNetworkConfigInternal(network *types.NetworkConfig)
	CheckNetworkConfigAttachable(network *types.NetworkConfig)
	CheckNetworkConfigLabels(network *types.NetworkConfig)
}

Jump to

Keyboard shortcuts

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