Documentation ¶
Index ¶
- Constants
- func CreateTLSHTTPClient(certPaths []CertPaths) (*http.Client, error)
- func GenerateNatsURL(natsPassword, natsIP string, natsPort int) string
- func Hash(s string) (string, error)
- func NewLagerLogr(logger lager.Logger) logr.Logger
- func ParseAppIndex(podName string) (int, error)
- func ParseImageRegistryHost(imageURL string) string
- type CertPaths
- type LagerLogr
- func (l LagerLogr) Enabled(level int) bool
- func (l LagerLogr) Error(err error, msg string, kvs ...interface{})
- func (l LagerLogr) Info(level int, msg string, kvs ...interface{})
- func (l LagerLogr) Init(info logr.RuntimeInfo)
- func (l LagerLogr) WithName(name string) logr.LogSink
- func (l LagerLogr) WithValues(kvs ...interface{}) logr.LogSink
- type RetryableJSONClient
Constants ¶
View Source
const DockerHubHost = "index.docker.io/v1/"
View Source
const MaxHashLength = 10
Variables ¶
This section is empty.
Functions ¶
func GenerateNatsURL ¶
func ParseAppIndex ¶
func ParseImageRegistryHost ¶
Types ¶
type LagerLogr ¶
type LagerLogr struct {
// contains filtered or unexported fields
}
LagerLogr is a logr (https://github.com/go-logr/logr) implementation over lager.Logger
func (LagerLogr) Init ¶
func (l LagerLogr) Init(info logr.RuntimeInfo)
func (LagerLogr) WithValues ¶
type RetryableJSONClient ¶
type RetryableJSONClient struct {
// contains filtered or unexported fields
}
func NewRetryableJSONClient ¶
func NewRetryableJSONClient(httpClient *http.Client) *RetryableJSONClient
Source Files ¶
Click to show internal directories.
Click to hide internal directories.