Documentation
¶
Overview ¶
Package runner contains functions for handling containers for schema generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateOptions ¶
GenerateOptions holds optional parameters for Generate.
func DefaultGenerateOptions ¶
func DefaultGenerateOptions() GenerateOptions
DefaultGenerateOptions provides default values.
type Option ¶
type Option func(*GenerateOptions)
Option is a function that modifies GenerateOptions.
func WithCopyFromPath ¶
WithCopyFromPath sets the CopyFromPath option.
func WithCopyToPath ¶
WithCopyToPath sets the CopyToPath option.
func WithWorkDirectory ¶
WithWorkDirectory sets the WorkDirectory option.
type ROption ¶
type ROption func(*RealSchemaRunner)
ROption configures the SchemaRunner.
func WithImageConfig ¶
func WithImageConfig(cfgs []pkgv1beta1.ImageConfig) ROption
WithImageConfig adds image rewriting rules to the SchemaRunner.
type RealSchemaRunner ¶
type RealSchemaRunner struct {
// contains filtered or unexported fields
}
RealSchemaRunner implements the SchemaRunner interface.
func NewRealSchemaRunner ¶
func NewRealSchemaRunner(opts ...ROption) *RealSchemaRunner
NewRealSchemaRunner creates a new RealSchemaRunner.
Click to show internal directories.
Click to hide internal directories.