Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultInitializer ¶
type DefaultInitializer struct{}
DefaultInitilizer implements Initializer interface.
func (*DefaultInitializer) Initialize ¶
func (i *DefaultInitializer) Initialize( ctx context.Context, fsys filesys.FileSystem, opts InitOptions, ) error
type InitOptions ¶
type InitOptions struct { PkgName string PkgPath string // RelPath is used purely for printing info relative to current working dir of user. // It may or may not be same as PkgPath. RelPath string Desc string Keywords []string Site string }
InitOptions contains customization options for package initialization.
type Initializer ¶
type Initializer interface {
Initialize(ctx context.Context, pkg filesys.FileSystem, opts InitOptions) error
}
Initializer defines capability to initialize a kpt package.
Click to show internal directories.
Click to hide internal directories.