mirror of
https://github.com/containers/podman.git
synced 2025-12-07 22:32:46 +08:00
Bump github.com/rootless-containers/rootlesskit from 0.14.0 to 0.14.1
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit) from 0.14.0 to 0.14.1. - [Release notes](https://github.com/rootless-containers/rootlesskit/releases) - [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.14.0...v0.14.1) Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
Daniel J Walsh
parent
1db9053add
commit
5bc6bf8ecd
13
vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go
generated
vendored
13
vendor/github.com/rootless-containers/rootlesskit/pkg/api/api.go
generated
vendored
@@ -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
|
||||
}
|
||||
|
||||
12
vendor/github.com/rootless-containers/rootlesskit/pkg/api/openapi.yaml
generated
vendored
12
vendor/github.com/rootless-containers/rootlesskit/pkg/api/openapi.yaml
generated
vendored
@@ -1,7 +1,7 @@
|
||||
# When you made a change to this YAML, please validate with https://editor.swagger.io
|
||||
openapi: 3.0.3
|
||||
info:
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
title: RootlessKit API
|
||||
servers:
|
||||
- url: 'http://rootlesskit/v1'
|
||||
@@ -144,6 +144,13 @@ components:
|
||||
items:
|
||||
type: string
|
||||
example: ["10.0.2.3"]
|
||||
childIP:
|
||||
type: string
|
||||
description: "Child IP (v4)"
|
||||
example: "10.0.2.100"
|
||||
dynamicChildIP:
|
||||
type: boolean
|
||||
description: "Child IP may change"
|
||||
PortDriverInfo:
|
||||
required:
|
||||
- driver
|
||||
@@ -159,3 +166,6 @@ components:
|
||||
example: ["tcp","udp"]
|
||||
items:
|
||||
$ref: '#/components/schemas/Proto'
|
||||
disallowLoopbackChildIP:
|
||||
type: boolean
|
||||
description: "If this field is set to true, loopback IP such as 127.0.0.1 cannot be specified as a child IP"
|
||||
|
||||
5
vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/parent/parent.go
generated
vendored
5
vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/parent/parent.go
generated
vendored
@@ -59,8 +59,9 @@ type driver struct {
|
||||
|
||||
func (d *driver) Info(ctx context.Context) (*api.PortDriverInfo, error) {
|
||||
info := &api.PortDriverInfo{
|
||||
Driver: "builtin",
|
||||
Protos: []string{"tcp", "tcp4", "tcp6", "udp", "udp4", "udp6"},
|
||||
Driver: "builtin",
|
||||
Protos: []string{"tcp", "tcp4", "tcp6", "udp", "udp4", "udp6"},
|
||||
DisallowLoopbackChildIP: false,
|
||||
}
|
||||
return info, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user