diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-04 20:02:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 20:02:01 +0200 |
commit | 3fb9669a63558955766e7bd9152b8b542b00d9dd (patch) | |
tree | 1a714fe12c96023f390592f3d93501102d6fd72a /cmd/podman/remoteclientconfig/errors.go | |
parent | 2a4e5aac197d86c836d9026e97b089744cc609c5 (diff) | |
parent | dc7ae3117146aa4e91d454b4b1afa03058638b13 (diff) | |
download | podman-3fb9669a63558955766e7bd9152b8b542b00d9dd.tar.gz podman-3fb9669a63558955766e7bd9152b8b542b00d9dd.tar.bz2 podman-3fb9669a63558955766e7bd9152b8b542b00d9dd.zip |
Merge pull request #3231 from baude/remoteclientconf
podman-remote.conf enablement
Diffstat (limited to 'cmd/podman/remoteclientconfig/errors.go')
-rw-r--r-- | cmd/podman/remoteclientconfig/errors.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/podman/remoteclientconfig/errors.go b/cmd/podman/remoteclientconfig/errors.go new file mode 100644 index 000000000..2689d3b49 --- /dev/null +++ b/cmd/podman/remoteclientconfig/errors.go @@ -0,0 +1,14 @@ +package remoteclientconfig + +import "errors" + +var ( + // ErrNoDefaultConnection no default connection is defined in the podman-remote.conf file + ErrNoDefaultConnection = errors.New("no default connection is defined") + // ErrNoDefinedConnections no connections are defined in the podman-remote.conf file + ErrNoDefinedConnections = errors.New("no remote connections have been defined") + // ErrConnectionNotFound unable to lookup connection by name + ErrConnectionNotFound = errors.New("remote connection not found by name") + // ErrNoConfigationFile no config file found + ErrNoConfigationFile = errors.New("no configuration file found") +) |