aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-04 03:34:22 +0200
committerGitHub <noreply@github.com>2021-04-04 03:34:22 +0200
commit72eb0005f1ae680932acacae3048939965cc44ea (patch)
treefc66de4047f955f01095e6e0468779d021ee28fb /vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go
parent307014170f6d2d39e5979edef72d1863833e4f5c (diff)
parent5bc6bf8ecd4a59826245057aaf9fc2d3b5b423b1 (diff)
downloadpodman-72eb0005f1ae680932acacae3048939965cc44ea.tar.gz
podman-72eb0005f1ae680932acacae3048939965cc44ea.tar.bz2
podman-72eb0005f1ae680932acacae3048939965cc44ea.zip
Merge pull request #9900 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.14.1
Bump github.com/rootless-containers/rootlesskit from 0.14.0 to 0.14.1
Diffstat (limited to 'vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go')
-rw-r--r--vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go b/vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go
index b6779bf70..5d74cae49 100644
--- a/vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go
+++ b/vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go
@@ -5,7 +5,7 @@ import "net"
const (
// Version of the REST API, not implementation version.
// See openapi.yaml for the definition.
- Version = "1.1.0"
+ Version = "1.1.1"
)
// ErrorJSON is returned with "application/json" content type and non-2XX status code
@@ -25,12 +25,15 @@ type Info struct {
// NetworkDriverInfo in Info
type NetworkDriverInfo struct {
- Driver string `json:"driver"`
- DNS []net.IP `json:"dns,omitempty"`
+ Driver string `json:"driver"`
+ DNS []net.IP `json:"dns,omitempty"`
+ ChildIP net.IP `json:"childIP,omitempty"` // since API v1.1.1 (RootlessKit v0.14.1)
+ DynamicChildIP bool `json:"dynamicChildIP,omitempty"` // since API v1.1.1
}
// PortDriverInfo in Info
type PortDriverInfo struct {
- Driver string `json:"driver"`
- Protos []string `json:"protos"`
+ Driver string `json:"driver"`
+ Protos []string `json:"protos"`
+ DisallowLoopbackChildIP bool `json:"disallowLoopbackChildIP,omitempty"` // since API v1.1.1
}