Directories
¶
Path | Synopsis |
---|---|
api
|
|
apiserver/v1
Package v1 defines schemes used by leona-apiserver.
|
Package v1 defines schemes used by leona-apiserver. |
cmd
|
|
examples
|
|
internal
|
|
pkg
|
|
app
Package app defines an application framework used to create application.
|
Package app defines an application framework used to create application. |
auth
Package auth encrypt and compare password string.
|
Package auth encrypt and compare password string. |
core
Package core implements some core functions used by apimachinery.
|
Package core implements some core functions used by apimachinery. |
db
Package db provide useful functions to create mysql instance.
|
Package db provide useful functions to create mysql instance. |
errors
Package errors provides simple error handling primitives.
|
Package errors provides simple error handling primitives. |
fields
Package fields implements a simple field system, parsing and matching selectors with sets of fields.
|
Package fields implements a simple field system, parsing and matching selectors with sets of fields. |
labels
Package labels implements a simple label system, parsing and matching selectors with sets of labels.
|
Package labels implements a simple label system, parsing and matching selectors with sets of labels. |
log
Package log is a log package used by TKE team.
|
Package log is a log package used by TKE team. |
log/distribution
Package distribution implements a logger which compatible to logrus/std log/prometheus.
|
Package distribution implements a logger which compatible to logrus/std log/prometheus. |
log/logrus
Package logrus adds a hook to the logrus logger hooks.
|
Package logrus adds a hook to the logrus logger hooks. |
meta/v1
Package v1 contains API types that are common to all versions.
|
Package v1 contains API types that are common to all versions. |
runtime
Package runtime defines some functions used to encode/decode object.
|
Package runtime defines some functions used to encode/decode object. |
scheme
Package scheme defines some useful function for group version.
|
Package scheme defines some useful function for group version. |
selection
Package selection defiens some operators to use.
|
Package selection defiens some operators to use. |
shutdown
Package shutdown Providing shutdown callbacks for graceful app shutdown Installation To install run: go get github.com/dairongpeng/leona/pkg/shutdown Example - posix signals Graceful shutdown will listen for posix SIGINT and SIGTERM signals.
|
Package shutdown Providing shutdown callbacks for graceful app shutdown Installation To install run: go get github.com/dairongpeng/leona/pkg/shutdown Example - posix signals Graceful shutdown will listen for posix SIGINT and SIGTERM signals. |
shutdown/shutdownmanagers/posixsignal
Package posixsignal provides a listener for a posix signal.
|
Package posixsignal provides a listener for a posix signal. |
storage
Package storage defines redis storage.
|
Package storage defines redis storage. |
time
Package time implements a new time with specified time format.
|
Package time implements a new time with specified time format. |
tools
This program ensures source code files have copyright license headers.
|
This program ensures source code files have copyright license headers. |
util/homedir
Package homedir returns the home directory of any operating system.
|
Package homedir returns the home directory of any operating system. |
util/idutil
Package idutil is a tool set used to generate multiple id string.
|
Package idutil is a tool set used to generate multiple id string. |
util/sets
Package sets has auto-generated set types.
|
Package sets has auto-generated set types. |
util/wait
Package wait provides tools for polling or listening for changes to a condition.
|
Package wait provides tools for polling or listening for changes to a condition. |
validation
Package validation defines apimachinery user-defined validations.
|
Package validation defines apimachinery user-defined validations. |
validation/field
Package field implements field path functions when do validation.
|
Package field implements field path functions when do validation. |
validator
Package validator defines leona custom binding validators used by gin.
|
Package validator defines leona custom binding validators used by gin. |
version
Package version supplies version information collected at build time to apimachinery components.
|
Package version supplies version information collected at build time to apimachinery components. |
version/verflag
Package verflag defines utility functions to handle command line flags related to version of LEONA.
|
Package verflag defines utility functions to handle command line flags related to version of LEONA. |
Click to show internal directories.
Click to hide internal directories.