Versions in this module Expand all Collapse all v0 v0.4.24 Oct 8, 2019 Changes in this version + func Architecture(value, operator string) func(*latest.Constraints) + func CPUs(cpus string) func(*latest.Resource) + func Command(s ...string) func(*latest.ServiceConfig) + func ConfigExternal(c *latest.ConfigObjConfig) + func ConfigFile(path string) func(*latest.ConfigObjConfig) + func ConfigGID(gid string) func(*latest.ServiceConfigObjConfig) + func ConfigMode(mode uint32) func(*latest.ServiceConfigObjConfig) + func ConfigSource(source string) func(*latest.ServiceConfigObjConfig) + func ConfigTarget(target string) func(*latest.ServiceConfigObjConfig) + func ConfigUID(uid string) func(*latest.ServiceConfigObjConfig) + func ConstraintHostname(value, operator string) func(*latest.Constraints) + func Constraints(builders ...func(*latest.Constraints)) func(*latest.Placement) + func Daemonset(owningStack *latest.Stack, name string, builders ...func(*appstypes.DaemonSet)) *appstypes.DaemonSet + func Deploy(builders ...func(*latest.DeployConfig)) func(*latest.ServiceConfig) + func Deployment(owningStack *latest.Stack, name string, ...) *appstypes.Deployment + func Entrypoint(s ...string) func(*latest.ServiceConfig) + func Healthcheck(builders ...func(*latest.HealthCheckConfig)) func(*latest.ServiceConfig) + func Hostname(hostname string) func(*latest.ServiceConfig) + func IPC(mode string) func(*latest.ServiceConfig) + func Image(reference string) func(*latest.ServiceConfig) + func Interval(duration time.Duration) func(*latest.HealthCheckConfig) + func Limits(builders ...func(*latest.Resource)) func(*latest.Resources) + func Memory(memory int64) func(*latest.Resource) + func ModeGlobal(d *latest.DeployConfig) + func Mount(v *latest.ServiceVolumeConfig) + func OnFailure(r *latest.RestartPolicy) + func OperatingSystem(value, operator string) func(*latest.Constraints) + func PID(mode string) func(*latest.ServiceConfig) + func Parallelism(parallelism uint64) func(*latest.UpdateConfig) + func Placement(builders ...func(*latest.Placement)) func(*latest.DeployConfig) + func Privileged(c *latest.ServiceConfig) + func ProtocolUDP(c *latest.ServicePortConfig) + func Published(published uint32) func(*latest.ServicePortConfig) + func PullPolicy(policy string) func(*latest.ServiceConfig) + func PullSecret(name string) func(*latest.ServiceConfig) + func ReadOnly(c *latest.ServiceConfig) + func Replicas(replicas uint64) func(*latest.DeployConfig) + func Reservations(builders ...func(*latest.Resource)) func(*latest.Resources) + func Resources(builders ...func(*latest.Resources)) func(*latest.DeployConfig) + func RestartPolicy(builders ...func(*latest.RestartPolicy)) func(*latest.DeployConfig) + func Retries(retries uint64) func(*latest.HealthCheckConfig) + func SecretFile(path string) func(*latest.SecretConfig) + func SecretSource(source string) func(*latest.ServiceSecretConfig) + func SecretTarget(target string) func(*latest.ServiceSecretConfig) + func Service(owningStack *latest.Stack, name string, builders ...func(*coretypes.Service)) *coretypes.Service + func Source(source string) func(*latest.ServiceVolumeConfig) + func Stack(name string, builders ...func(*latest.Stack)) *latest.Stack + func Statefulset(owningStack *latest.Stack, name string, ...) *appstypes.StatefulSet + func StdinOpen(s *latest.ServiceConfig) + func StopGracePeriod(duration time.Duration) func(*latest.ServiceConfig) + func Target(target string) func(*latest.ServiceVolumeConfig) + func Test(cmd ...string) func(*latest.HealthCheckConfig) + func Timeout(duration time.Duration) func(*latest.HealthCheckConfig) + func Tty(s *latest.ServiceConfig) + func Update(builders ...func(*latest.UpdateConfig)) func(*latest.DeployConfig) + func User(user int64) func(*latest.ServiceConfig) + func Volume(v *latest.ServiceVolumeConfig) + func VolumeReadOnly(v *latest.ServiceVolumeConfig) + func WithCapAdd(caps ...string) func(*latest.ServiceConfig) + func WithCapDrop(caps ...string) func(*latest.ServiceConfig) + func WithConfig(builders ...func(*latest.ServiceConfigObjConfig)) func(*latest.ServiceConfig) + func WithConfigObjConfig(name string, builders ...func(*latest.ConfigObjConfig)) func(*latest.Stack) + func WithDeployLabel(key, value string) func(*latest.DeployConfig) + func WithEnvironment(key string, value *string) func(*latest.ServiceConfig) + func WithExtraHost(host string) func(*latest.ServiceConfig) + func WithInternalPort(port int32, protocol corev1.Protocol) func(*latest.ServiceConfig) + func WithLabel(key, value string) func(*latest.ServiceConfig) + func WithMatchLabel(key, value, operator string) func(*latest.Constraints) + func WithNamespace(namespace string) func(*latest.Stack) + func WithPort(target uint32, builders ...func(*latest.ServicePortConfig)) func(*latest.ServiceConfig) + func WithSecret(builders ...func(*latest.ServiceSecretConfig)) func(*latest.ServiceConfig) + func WithSecretConfig(name string, builders ...func(*latest.SecretConfig)) func(*latest.Stack) + func WithService(name string, builders ...func(*latest.ServiceConfig)) func(*latest.Stack) + func WithTmpFS(path string) func(*latest.ServiceConfig) + func WithVolume(builders ...func(*latest.ServiceVolumeConfig)) func(*latest.ServiceConfig) + func WorkingDir(w string) func(*latest.ServiceConfig)