Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
onex-apiserver
APIServer is the main API server and master for the onex.
|
APIServer is the main API server and master for the onex. |
onex-apiserver/app
Package app does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure.
|
Package app does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure. |
onex-apiserver/app/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
onex-cacheserver
cacheserver is a standard, specification-compliant demo example of the onex service.
|
cacheserver is a standard, specification-compliant demo example of the onex service. |
onex-cacheserver/app/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
onex-controller-manager
The controller manager contains multiple controllers.
|
The controller manager contains multiple controllers. |
onex-controller-manager/app
Package app implements a server that runs a set of active components.
|
Package app implements a server that runs a set of active components. |
onex-controller-manager/app/options
Package options provides the flags used for the controller manager.
|
Package options provides the flags used for the controller manager. |
onex-fakeserver
fakeserver is a standard, specification-compliant demo example of the onex service.
|
fakeserver is a standard, specification-compliant demo example of the onex service. |
onex-fakeserver/app/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
onex-gateway
gateway is the backend portal of onex.
|
gateway is the backend portal of onex. |
onex-gateway/app/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
onex-miner-controller
The controller manager contains multiple controllers.
|
The controller manager contains multiple controllers. |
onex-miner-controller/app
Package app implements a server that runs a set of active components.
|
Package app implements a server that runs a set of active components. |
onex-miner-controller/app/options
Package options provides the flags used for the miner controller.
|
Package options provides the flags used for the miner controller. |
onex-minerset-controller
The minerset controller is used to reconcile MinerSet resource.
|
The minerset controller is used to reconcile MinerSet resource. |
onex-minerset-controller/app
Package app implements a server that runs a set of active components.
|
Package app implements a server that runs a set of active components. |
onex-minerset-controller/app/options
Package options provides the flags used for the minerset controller.
|
Package options provides the flags used for the minerset controller. |
onex-nightwatch
The nightwatch binary is responsible for executing some async tasks like linux crontab.
|
The nightwatch binary is responsible for executing some async tasks like linux crontab. |
onex-nightwatch/app/options
Package options contains flags and options for initializing an nightwatch.
|
Package options contains flags and options for initializing an nightwatch. |
onex-pump
gateway is the backend portal of onex.
|
gateway is the backend portal of onex. |
onex-pump/app/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
onex-toyblc
onex-toyblc is used to show a naive and simple blockchain.
|
onex-toyblc is used to show a naive and simple blockchain. |
onex-toyblc/app/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
onex-usercenter
usercenter is the user center of the onex cloud platform.
|
usercenter is the user center of the onex cloud platform. |
onex-usercenter/app/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
examples
|
|
internal
|
|
cacheserver/biz
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
cacheserver/biz/namespaced
Package namespaced is a generated GoMock package.
|
Package namespaced is a generated GoMock package. |
cacheserver/biz/secret
Package secret is a generated GoMock package.
|
Package secret is a generated GoMock package. |
cacheserver/store
Package store is a generated GoMock package.
|
Package store is a generated GoMock package. |
controller
Package controller contains methods used by all controller.
|
Package controller contains methods used by all controller. |
controller/chain
Package chain implements chain controller.
|
Package chain implements chain controller. |
controller/miner
Package miner implements miner controller.
|
Package miner implements miner controller. |
controller/sync
When there is a large amount of data in Etcd, there is a query bottleneck, especially with the List interface.
|
When there is a large amount of data in Etcd, there is a query bottleneck, especially with the List interface. |
controlplane
Package controlplane contains code for setting up and running a OneX control plane API server.
|
Package controlplane contains code for setting up and running a OneX control plane API server. |
controlplane/admission/plugin/minerset
Package minerset contains an admission controller that modifies and validation every new MinerSet.
|
Package minerset contains an admission controller that modifies and validation every new MinerSet. |
controlplane/apiserver
Package app does all of the work necessary to create a OneX APIServer by binding together the API, master and APIServer infrastructure.
|
Package app does all of the work necessary to create a OneX APIServer by binding together the API, master and APIServer infrastructure. |
controlplane/apiserver/options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
fakeserver/biz
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
fakeserver/biz/order
Package order is a generated GoMock package.
|
Package order is a generated GoMock package. |
fakeserver/store
Package store defines the storage interface for fakeserver.
|
Package store defines the storage interface for fakeserver. |
gateway/biz
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
gateway/biz/miner
Package miner is a generated GoMock package.
|
Package miner is a generated GoMock package. |
gateway/biz/minerset
Package minerset is a generated GoMock package.
|
Package minerset is a generated GoMock package. |
gateway/store
Package store is a generated GoMock package.
|
Package store is a generated GoMock package. |
nightwatch/watcher
Package watcher provides functions used by all watchers.
|
Package watcher provides functions used by all watchers. |
nightwatch/watcher/clean
Package clean is a watcher implement.
|
Package clean is a watcher implement. |
nightwatch/watcher/secretsclean
Package secretsclean is a watcher implement used to delete expired keys from the database.
|
Package secretsclean is a watcher implement used to delete expired keys from the database. |
onexctl
Package onexctl provides the functions used by the onexctl command line tool under github.com/superproj/onex/internal/onexctl/cmd.
|
Package onexctl provides the functions used by the onexctl command line tool under github.com/superproj/onex/internal/onexctl/cmd. |
onexctl/cmd
Package cmd create a root cobra command and add subcommands to it.
|
Package cmd create a root cobra command and add subcommands to it. |
onexctl/cmd/color
Package color print colors supported by the current terminal.
|
Package color print colors supported by the current terminal. |
onexctl/cmd/info
Package info print the host information.
|
Package info print the host information. |
onexctl/cmd/jwt
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
|
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey. |
onexctl/cmd/minerset
Package minerset provides functions to manage minersets on onex platform.
|
Package minerset provides functions to manage minersets on onex platform. |
onexctl/cmd/new
Package used to generate demo command code.
|
Package used to generate demo command code. |
onexctl/cmd/options
Package options print a list of global command-line options (applies to all commands).
|
Package options print a list of global command-line options (applies to all commands). |
onexctl/cmd/secret
Package secret provides functions to manage secrets on onex platform.
|
Package secret provides functions to manage secrets on onex platform. |
onexctl/cmd/user
Package user provides functions to manage users on onex cloud platform.
|
Package user provides functions to manage users on onex cloud platform. |
onexctl/cmd/validate
Package validate is used to validate the basic environment for onexctl to run.
|
Package validate is used to validate the basic environment for onexctl to run. |
onexctl/cmd/version
Package version print the client and server version information.
|
Package version print the client and server version information. |
onexctl/util/interrupt
Package interrupt deal with signals.
|
Package interrupt deal with signals. |
onexctl/util/templates
Package templates provides template functions for working with templates.
|
Package templates provides template functions for working with templates. |
onexctl/util/term
Package term provides structures and helper functions to work with terminal (state, sizes).
|
Package term provides structures and helper functions to work with terminal (state, sizes). |
pkg/client/store
Package store defines the storage interface for onex-gateway.
|
Package store defines the storage interface for onex-gateway. |
pkg/client/usercenter
Package usercenter provide methods used to access usercenter service.
|
Package usercenter provide methods used to access usercenter service. |
pkg/client/usercenter.consul
Package usercenter provide methods used to access usercenter service.
|
Package usercenter provide methods used to access usercenter service. |
pkg/contract
Package contract provides support for the ClusterReconciler to handle with providers objects according to the Cluster API contract.
|
Package contract provides support for the ClusterReconciler to handle with providers objects according to the Cluster API contract. |
pkg/feature
Package feature implements feature functionality.
|
Package feature implements feature functionality. |
pkg/ports
Package ports defines ports used by various pieces of the onex infrastructure.
|
Package ports defines ports used by various pieces of the onex infrastructure. |
pkg/util/annotations
Package annotations implements annotation helper functions.
|
Package annotations implements annotation helper functions. |
pkg/util/collections
Package collections implements collection utilities.
|
Package collections implements collection utilities. |
pkg/util/conditions
Package conditions implements condition utilities.
|
Package conditions implements condition utilities. |
pkg/util/contract
Package contract contains utils related to the Cluster API contract.
|
Package contract contains utils related to the Cluster API contract. |
pkg/util/conversion
Package conversion implements conversion utilities.
|
Package conversion implements conversion utilities. |
pkg/util/core
Package core implements core utilities.
|
Package core implements core utilities. |
pkg/util/hash
Package hash provides utils to calculate hashes.
|
Package hash provides utils to calculate hashes. |
pkg/util/labels
Package labels contains useful functions to process onex labels.
|
Package labels contains useful functions to process onex labels. |
pkg/util/log
Package log provides log utils.
|
Package log provides log utils. |
pkg/util/patch
Package patch implements patch utilities.
|
Package patch implements patch utilities. |
pkg/util/predicates
Package predicates implements predicate utilities.
|
Package predicates implements predicate utilities. |
pkg/util/ssa
Package ssa contains utils related to Server-Side-Apply.
|
Package ssa contains utils related to Server-Side-Apply. |
pkg/util/yaml
Package yaml implements yaml utility functions.
|
Package yaml implements yaml utility functions. |
registry/apps/chain
Package chain provides Registry interface and its RESTStorage implementation for storing Chain objects.
|
Package chain provides Registry interface and its RESTStorage implementation for storing Chain objects. |
registry/apps/chain/storage
Package storage provides Registry interface and its REST implementation for storing chain api objects.
|
Package storage provides Registry interface and its REST implementation for storing chain api objects. |
registry/apps/miner
Package miner provides Registry interface and its RESTStorage implementation for storing Miner objects.
|
Package miner provides Registry interface and its RESTStorage implementation for storing Miner objects. |
registry/apps/miner/storage
Package storage provides Registry interface and its REST implementation for storing miner api objects.
|
Package storage provides Registry interface and its REST implementation for storing miner api objects. |
registry/apps/minerset
Package minerset provides Registry interface and its RESTStorage implementation for storing Miner objects.
|
Package minerset provides Registry interface and its RESTStorage implementation for storing Miner objects. |
registry/apps/minerset/storage
Package storage provides Registry interface and its REST implementation for storing minerset api objects.
|
Package storage provides Registry interface and its REST implementation for storing minerset api objects. |
usercenter/auth
Package auth is a generated GoMock package.
|
Package auth is a generated GoMock package. |
usercenter/biz
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
usercenter/biz/auth
Package auth is a generated GoMock package.
|
Package auth is a generated GoMock package. |
usercenter/biz/secret
Package secret is a generated GoMock package.
|
Package secret is a generated GoMock package. |
usercenter/biz/user
Package user is a generated GoMock package.
|
Package user is a generated GoMock package. |
usercenter/store
Package store is a generated GoMock package.
|
Package store is a generated GoMock package. |
pkg
|
|
api/fakeserver/v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
apis/apps
Package apps is the internal version of the API.
|
Package apps is the internal version of the API. |
apis/apps/install
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
apis/apps/v1beta1
Package v1beta1 is the v1beta1 version of the API.
|
Package v1beta1 is the v1beta1 version of the API. |
apis/apps/v1beta1/index
Package index provides indexes for the api.
|
Package index provides indexes for the api. |
cache
Package cache is a complete Go cache library that brings you multiple ways of managing your caches.
|
Package cache is a complete Go cache library that brings you multiple ways of managing your caches. |
cli/genericclioptions
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions.
|
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions. |
db
Package db provide useful functions to create mysql instance.
|
Package db provide useful functions to create mysql instance. |
errors
Package errors makes a set of error message handlers available for use by cloud miner.
|
Package errors makes a set of error message handlers available for use by cloud miner. |
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
generated/clientset/versioned/typed/apiextensions/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
generated/clientset/versioned/typed/apiextensions/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
generated/clientset/versioned/typed/apps/v1beta1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
generated/clientset/versioned/typed/apps/v1beta1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
generated/clientset/versioned/typed/coordination/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
generated/clientset/versioned/typed/coordination/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
generated/clientset/versioned/typed/core/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
generated/clientset/versioned/typed/core/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
generated/clientset/versioned/typed/flowcontrol/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
generated/clientset/versioned/typed/flowcontrol/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
log
Package log is a log package used by onex project.
|
Package log is a log package used by onex project. |
options
Package options is the public flags and options used by a generic api server.
|
Package options is the public flags and options used by a generic api server. |
record
Package record implements recording functionality.
|
Package record implements recording functionality. |
streams
Package streams provides interfaces of the streaming library.
|
Package streams provides interfaces of the streaming library. |
streams/connector/extension
Package extension provides basic connector implementations.
|
Package extension provides basic connector implementations. |
streams/connector/kafka
Package kafka implements the Apache Kafka connector.
|
Package kafka implements the Apache Kafka connector. |
streams/connector/redis
Package redis implements the Redis Pub/Sub connector.
|
Package redis implements the Redis Pub/Sub connector. |
streams/util
Package util provides utility functions.
|
Package util provides utility functions. |
streams/util/ospkg
Package ospkg provides platform-specific utility functions and constants.
|
Package ospkg provides platform-specific utility functions and constants. |
streams/ws
Package ws implements the WebSocket connector.
|
Package ws implements the WebSocket connector. |
util/lint
Package lint tests Go code for policy and style violations, as well as detecting suspicious constructs that are typically bugs.
|
Package lint tests Go code for policy and style violations, as well as detecting suspicious constructs that are typically bugs. |
util/lint/hash
Package hash defines an Analyzer that detects correct use of hash.Hash.
|
Package hash defines an Analyzer that detects correct use of hash.Hash. |
util/lint/pass
Package pass useful functionality for implementing passes.
|
Package pass useful functionality for implementing passes. |
util/version
Package version provides utilities for version number comparisons
|
Package version provides utilities for version number comparisons |
version
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
|
Package verflag defines utility functions to handle command line flags related to version of Kubernetes. |
third_party
|
|
protobuf/k8s.io/apimachinery/pkg/api/errors
Package errors provides detailed error types for api field validation.
|
Package errors provides detailed error types for api field validation. |
protobuf/k8s.io/apimachinery/pkg/api/meta
Package meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API
|
Package meta provides functions for retrieving API metadata from objects belonging to the Kubernetes API |
protobuf/k8s.io/apimachinery/pkg/api/validation
Package validation contains generic api type validation functions.
|
Package validation contains generic api type validation functions. |
tools
|
|
Click to show internal directories.
Click to hide internal directories.