package
3.11.0-alpha.0+incompatible
Repository: https://github.com/wbh1/origin.git
Documentation: pkg.go.dev
# Functions
AddComponentInputsToRefBuilder set up the components to be used by the reference builder.
AddDockerfile adds a Dockerfile passed in the command line to the reference builder.
No description provided by the author
ComponentsForSourceRepositories creates components for repositories that have not been previously associated by a builder.
AddSourceRepositoriesToRefBuilder adds the provided repositories to the reference builder, identifies which should be built using Docker, and then returns the full list of source repositories.
DescribeGeneratedTemplate writes a description of the provided template to out.
DetectSource runs a code detector on the passed in repositories to obtain a SourceRepositoryInfo.
EnsureHasSource ensure every builder component has source code associated with it.
InferBuildTypes infers build status and mismatches between source and docker builders.
NewAppConfig returns a new AppConfig, but you must set your typer, mapper, and clientMapper after the command has been run and flags have been parsed.
Resolve transforms unstructured inputs (component names, templates, images) into a set of resolved components, or returns an error.
TransformTemplate processes a template with the provided parameters, returning an error if transformation fails.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrNoInputs is returned when no inputs are specified.
# Structs
AppConfig contains all the necessary configuration for an application.
AppResult contains the results of an application.
No description provided by the author
No description provided by the author
ComponentInputs are transformed into ResolvedComponents.
No description provided by the author
GenerationInputs control how new-app creates output TODO: split these into finer grained structs.
QueryResult contains the results of a query (search or list).
ResolvedComponents is the input to generation.
Resolvers are used to identify source repositories, images, or templates in different contexts.