Documentation
¶
Index ¶
- type Generator
- func (g *Generator) ApplyUpdates(skillDir string) error
- func (g *Generator) DiscardUpdates(skillDir string) error
- func (g *Generator) Generate(ctx context.Context, serverName, outputDir string, force bool) (*UpdateInfo, error)
- func (g *Generator) GenerateUpdates(ctx context.Context, skillDir string, updateBinary bool) (*UpdateInfo, error)
- func (g *Generator) IdentifyServer(skillDir string) (string, error)
- type UpdateInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator handles skill package generation.
func NewGenerator ¶
NewGenerator creates a new skill generator.
func (*Generator) ApplyUpdates ¶
ApplyUpdates moves files from the update directory to the skill root.
func (*Generator) DiscardUpdates ¶
DiscardUpdates removes the update directory and its contents.
func (*Generator) Generate ¶
func (g *Generator) Generate(ctx context.Context, serverName, outputDir string, force bool) (*UpdateInfo, error)
Generate creates a skill package in the specified output directory.
func (*Generator) GenerateUpdates ¶
func (g *Generator) GenerateUpdates(ctx context.Context, skillDir string, updateBinary bool) (*UpdateInfo, error)
GenerateUpdates creates updated files in a temporary update directory.
Click to show internal directories.
Click to hide internal directories.