Skip to content

Commit

Permalink
Merge pull request #1002 from isutton/isutton/gen-dockerfile
Browse files Browse the repository at this point in the history
Introduce "generate" command
  • Loading branch information
openshift-merge-robot authored Jan 23, 2020
2 parents 9f009fc + f8dcf74 commit 3311f0e
Show file tree
Hide file tree
Showing 1,452 changed files with 242,040 additions and 4,391 deletions.
36 changes: 36 additions & 0 deletions contrib/completions/bash/s2i
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,41 @@ _s2i_create()
noun_aliases=()
}

_s2i_generate()
{
last_command="s2i_generate"
commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--assemble-runtime-user=")
local_nonpersistent_flags+=("--assemble-runtime-user=")
flags+=("--assemble-user=")
local_nonpersistent_flags+=("--assemble-user=")
flags+=("--env=")
two_word_flags+=("-e")
local_nonpersistent_flags+=("--env=")
flags+=("--quiet")
flags+=("-q")
local_nonpersistent_flags+=("--quiet")
flags+=("--ca=")
flags+=("--cert=")
flags+=("--key=")
flags+=("--loglevel=")
flags+=("--tls")
flags+=("--tlsverify")
flags+=("--url=")
two_word_flags+=("-U")

must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}

_s2i_rebuild()
{
last_command="s2i_rebuild"
Expand Down Expand Up @@ -519,6 +554,7 @@ _s2i()
commands+=("build")
commands+=("completion")
commands+=("create")
commands+=("generate")
commands+=("rebuild")
commands+=("usage")
commands+=("version")
Expand Down
36 changes: 36 additions & 0 deletions contrib/completions/zsh/s2i
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,41 @@ _s2i_create()
noun_aliases=()
}

_s2i_generate()
{
last_command="s2i_generate"
commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--assemble-runtime-user=")
local_nonpersistent_flags+=("--assemble-runtime-user=")
flags+=("--assemble-user=")
local_nonpersistent_flags+=("--assemble-user=")
flags+=("--env=")
two_word_flags+=("-e")
local_nonpersistent_flags+=("--env=")
flags+=("--quiet")
flags+=("-q")
local_nonpersistent_flags+=("--quiet")
flags+=("--ca=")
flags+=("--cert=")
flags+=("--key=")
flags+=("--loglevel=")
flags+=("--tls")
flags+=("--tlsverify")
flags+=("--url=")
two_word_flags+=("-U")

must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}

_s2i_rebuild()
{
last_command="s2i_rebuild"
Expand Down Expand Up @@ -680,6 +715,7 @@ _s2i()
commands+=("build")
commands+=("completion")
commands+=("create")
commands+=("generate")
commands+=("rebuild")
commands+=("usage")
commands+=("version")
Expand Down
59 changes: 48 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ go 1.13

replace (
github.com/containerd/containerd => github.com/containerd/containerd v0.2.10-0.20170808145631-06b9cb351610
github.com/docker/docker => github.com/openshift/moby-moby v1.4.2-0.20190308215630-da810a85109d
github.com/docker/docker => github.com/docker/docker v0.0.0-20190404075923-dbe4a30928d4
golang.org/x/crypto => golang.org/x/crypto v0.0.0-20180904163835-0709b304e793
google.golang.org/genproto => google.golang.org/genproto v0.0.0-20190708153700-3bdd9d9f5532
google.golang.org/grpc => google.golang.org/grpc v1.3.0
google.golang.org/grpc => google.golang.org/grpc v1.12.0
)

exclude (
Expand All @@ -16,21 +17,57 @@ exclude (

require (
github.com/Azure/go-ansiterm v0.0.0-20170629204627-19f72df4d05d // indirect
github.com/Microsoft/opengcs v0.3.9 // indirect
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/boltdb/bolt v1.3.1 // indirect
github.com/containers/image/v5 v5.0.0
github.com/coreos/bbolt v1.3.2 // indirect
github.com/coreos/etcd v3.3.13+incompatible // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
github.com/deckarep/golang-set v1.7.1 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible
github.com/docker/docker v1.14.0-0.20190319215453-e7b5f7dbe98c
github.com/docker/go-connections v0.4.0
github.com/docker/go-units v0.3.2-0.20170127094116-9e638d38cf69 // indirect
github.com/docker/libtrust v0.0.0-20150526203908-9cbd2a1374f4 // indirect
github.com/gogo/protobuf v1.2.1 // indirect
github.com/google/go-cmp v0.3.0 // indirect
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
github.com/docker/go-metrics v0.0.1 // indirect
github.com/docker/libkv v0.2.1 // indirect
github.com/docker/swarmkit v1.12.1-0.20170818183140-ddb4539f883b // indirect
github.com/go-check/check v0.0.0-20190902080502-41f04d3bba15 // indirect
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/gorilla/mux v1.7.3 // indirect
github.com/gorilla/websocket v1.4.1 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.11.1 // indirect
github.com/hashicorp/consul/api v1.2.0 // indirect
github.com/hashicorp/go-memdb v1.0.3 // indirect
github.com/hashicorp/memberlist v0.1.5 // indirect
github.com/hashicorp/serf v0.8.3 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jonboulle/clockwork v0.1.0 // indirect
github.com/mattn/go-shellwords v1.0.6 // indirect
github.com/moby/buildkit v0.6.3
github.com/sirupsen/logrus v1.4.2 // indirect
github.com/mrunalp/fileutils v0.0.0-20171103030105-7d4729fb3618 // indirect
github.com/opencontainers/runtime-spec v1.0.1 // indirect
github.com/opencontainers/selinux v1.3.0 // indirect
github.com/pborman/uuid v1.2.0 // indirect
github.com/samuel/go-zookeeper v0.0.0-20190810000440-0ceca61e4d75 // indirect
github.com/seccomp/libseccomp-golang v0.9.1 // indirect
github.com/soheilhy/cmux v0.1.4 // indirect
github.com/spf13/cobra v0.0.0-20160802223737-7c674d9e7201
github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff
github.com/stretchr/testify v1.4.0 // indirect
golang.org/x/net v0.0.0-20190613194153-d28f0bde5980
golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3 // indirect
github.com/spf13/pflag v1.0.3
github.com/stevvooe/continuity v0.0.0-20190827140505-75bee3e2ccb6 // indirect
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
github.com/tonistiigi/fifo v0.0.0-20190816180239-bda0ff6ed73c // indirect
github.com/vishvananda/netns v0.0.0-20190625233234-7109fa855b0f // indirect
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
golang.org/x/net v0.0.0-20190628185345-da137c7871d7
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
google.golang.org/grpc v1.23.1 // indirect
k8s.io/klog v0.4.0
)
Loading

0 comments on commit 3311f0e

Please sign in to comment.