Documentation ¶
Overview ¶
Package holos defines types for the rest of the system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstancePath ¶
type InstancePath string
A InstancePath is a string representing the absolute filesystem path of a holos instance. It is given a unique type so the API is clear.
type PathCueMod ¶
type PathCueMod string
A PathCueMod is a string representing the absolute filesystem path of a cue module. It is given a unique type so the API is clear.
Directories ¶
Path | Synopsis |
---|---|
api
|
|
core/v1alpha2
Package v1alpha2 contains the core API contract between the holos cli and CUE configuration code.
|
Package v1alpha2 contains the core API contract between the holos cli and CUE configuration code. |
v1alpha1
Package v1alpha1 defines the api boundary between CUE and Holos.
|
Package v1alpha1 defines the api boundary between CUE and Holos. |
cmd
|
|
doc
|
|
website
Package website embeds the docs website for the server subcommand.
|
Package website embeds the docs website for the server subcommand. |
internal
|
|
builder
Package builder is responsible for building fully rendered kubernetes api objects from various input directories.
|
Package builder is responsible for building fully rendered kubernetes api objects from various input directories. |
cli/controller
Package controller integrates Choria Machine Room into Holos for cluster management.
|
Package controller integrates Choria Machine Room into Holos for cluster management. |
cli/pull
Package pull pulls resources from the PlatformService and caches them in the local filesystem.
|
Package pull pulls resources from the PlatformService and caches them in the local filesystem. |
cli/push
Package push pushes resources to the holos api server.
|
Package push pushes resources to the holos api server. |
cli/register
Package register provides user registration via the command line.
|
Package register provides user registration via the command line. |
client
Package client provides configuration and convenience methods for making API calls to the holos server.
|
Package client provides configuration and convenience methods for making API calls to the holos server. |
errors
Package errors provides error wrapping with location information
|
Package errors provides error wrapping with location information |
logger
Package logger provides logging configuration and helpers to pass a logger instance through the context.
|
Package logger provides logging configuration and helpers to pass a logger instance through the context. |
push
Package push pushes resources to the holos api server.
|
Package push pushes resources to the holos api server. |
server/db
Package db manages database client and schema migrations to interact with entities.
|
Package db manages database client and schema migrations to interact with entities. |
server/handler
Package handler implements service handlers.
|
Package handler implements service handlers. |
server/middleware/authn
Package authn provides the middleware handler responsible for authenticating requests and adding the Identity to the request context.
|
Package authn provides the middleware handler responsible for authenticating requests and adding the Identity to the request context. |
server/middleware/logger
Package logger logs http responses See: https://github.com/elithrar/admission-control/blob/v0.6.7/request_logger.go#L40
|
Package logger logs http responses See: https://github.com/elithrar/admission-control/blob/v0.6.7/request_logger.go#L40 |
server/website
Package website serves the holos website with a http server.
|
Package website serves the holos website with a http server. |
strings
Package strings implements simple functions to manipulate UTF-8 encoded strings that are not included in the standard library package.
|
Package strings implements simple functions to manipulate UTF-8 encoded strings that are not included in the standard library package. |
tint
Package tint copied from https://github.com/lmittmann/tint/tree/v1.0.4 to adjust the colors
|
Package tint copied from https://github.com/lmittmann/tint/tree/v1.0.4 to adjust the colors |
token
Package token obtains, caches, and provides an ID token to authenticate to the holos api server.
|
Package token obtains, caches, and provides an ID token to authenticate to the holos api server. |
service
|
|
Click to show internal directories.
Click to hide internal directories.