diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-09-13 18:48:48 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-09-13 18:49:38 +0200 |
commit | b0cbcd1d0943a0b34d54c58c475c8239a32e0a59 (patch) | |
tree | f503a136b7ce4684a4adc1f4ec8c4d162259281b /vendor/github.com/Microsoft/hcsshim/hnsendpoint.go | |
parent | 0f3d3bd21da0b67542c44c832f0e1642c5f639cf (diff) | |
download | podman-b0cbcd1d0943a0b34d54c58c475c8239a32e0a59.tar.gz podman-b0cbcd1d0943a0b34d54c58c475c8239a32e0a59.tar.bz2 podman-b0cbcd1d0943a0b34d54c58c475c8239a32e0a59.zip |
bump c/common to v0.44.0
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'vendor/github.com/Microsoft/hcsshim/hnsendpoint.go')
-rw-r--r-- | vendor/github.com/Microsoft/hcsshim/hnsendpoint.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/Microsoft/hcsshim/hnsendpoint.go b/vendor/github.com/Microsoft/hcsshim/hnsendpoint.go index 408312672..9e0059447 100644 --- a/vendor/github.com/Microsoft/hcsshim/hnsendpoint.go +++ b/vendor/github.com/Microsoft/hcsshim/hnsendpoint.go @@ -7,6 +7,9 @@ import ( // HNSEndpoint represents a network endpoint in HNS type HNSEndpoint = hns.HNSEndpoint +// HNSEndpointStats represent the stats for an networkendpoint in HNS +type HNSEndpointStats = hns.EndpointStats + // Namespace represents a Compartment. type Namespace = hns.Namespace @@ -108,3 +111,8 @@ func GetHNSEndpointByID(endpointID string) (*HNSEndpoint, error) { func GetHNSEndpointByName(endpointName string) (*HNSEndpoint, error) { return hns.GetHNSEndpointByName(endpointName) } + +// GetHNSEndpointStats gets the endpoint stats by ID +func GetHNSEndpointStats(endpointName string) (*HNSEndpointStats, error) { + return hns.GetHNSEndpointStats(endpointName) +} |