Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigBundle ¶
func NewConfigBundle(opts ...Option) (*v1alpha1.ConfigBundle, error)
NewConfigBundle returns a new bundle nolint: gocyclo
Types ¶
type InputOptions ¶
type InputOptions struct { ClusterName string Endpoint string KubeVersion string GenOptions []generate.GenOption }
InputOptions holds necessary params for generating an input.
type Option ¶
Option controls config options specific to config bundle generation.
func WithExistingConfigs ¶
WithExistingConfigs sets the path to existing config files.
func WithInputOptions ¶
func WithInputOptions(inputOpts *InputOptions) Option
WithInputOptions allows passing in of various params for net-new input generation.
type Options ¶
type Options struct { ExistingConfigs string // path to existing config files InputOptions *InputOptions }
Options describes generate parameters.
Click to show internal directories.
Click to hide internal directories.