Affected by GO-2023-1699
and 2 other vulnerabilities
GO-2023-1699 : Docker Swarm encrypted overlay network may be unauthenticated in github.com/docker/docker
GO-2023-1700 : Docker Swarm encrypted overlay network traffic may be unencrypted in github.com/docker/docker
GO-2023-1701 : Docker Swarm encrypted overlay network with a single endpoint is unauthenticated in github.com/docker/docker
Discover Packages
github.com/docker/docker
pkg
stringid
package
Version:
v20.10.23+incompatible
Opens a new window with list of versions in this module.
Published: Jan 18, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 4,002
Opens a new window with list of known importers.
README
README
¶
This package provides helper functions for dealing with string identifiers
Expand ▾
Collapse ▴
Documentation
¶
Package stringid provides helper functions for dealing with string identifiers
func GenerateRandomID() string
GenerateRandomID returns a unique id.
IsShortID determines if an arbitrary string *looks like* a short ID.
TruncateID returns a shorthand version of a string identifier for convenience.
A collision with other shorthands is very unlikely, but possible.
In case of a collision a lookup with TruncIndex.Get() will fail, and the caller
will need to use a longer prefix, or the full-length Id.
ValidateID checks whether an ID string is a valid image ID.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.