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 FileContent ¶ added in v0.96.0
type FileContent string
FileContent represents the contents of a file as a string.
type FilePath ¶ added in v0.96.0
type FilePath string
FilePath represents the path of a file relative to the current working directory of holos at runtime.
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
|
|
author/v1alpha5
Package author contains a standard set of schemas for component authors to generate common core BuildPlans.
|
Package author contains a standard set of schemas for component authors to generate common core BuildPlans. |
author/v1alpha6
Package author contains a standard set of schemas for component authors to generate common core BuildPlans.
|
Package author contains a standard set of schemas for component authors to generate common core BuildPlans. |
core/v1alpha5
Package core contains schemas for a Platform and BuildPlan.
|
Package core contains schemas for a Platform and BuildPlan. |
core/v1alpha6
Package core contains schemas for a Platform and BuildPlan.
|
Package core contains schemas for a Platform and BuildPlan. |
holos
command
|
|
internal
|
|
cli/slice
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
compile
Package compile compiles BuildPlan resources by reading json encoded data from a reader, unmarshaling the data into a Component, building a CUE instance injecting the Component as a tag, then exporting a BuildPlan and marshalling the result to a writer represented as a stream of json objects.
|
Package compile compiles BuildPlan resources by reading json encoded data from a reader, unmarshaling the data into a Component, building a CUE instance injecting the Component as a tag, then exporting a BuildPlan and marshalling the result to a writer represented as a stream of json objects. |
cue
Package cue wraps the upstream cue package for use with holos.
|
Package cue wraps the upstream cue package for use with holos. |
doc
Package doc contains helper functions to run doc examples as testscript scripts to keep the docs up to date with the code at the head of the repository.
|
Package doc contains helper functions to run doc examples as testscript scripts to keep the docs up to date with the code at the head of the repository. |
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. |
logger/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 |
Click to show internal directories.
Click to hide internal directories.