base

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(ctx context.Context, path string, dir string) (err error)

Types

type ConfigFile

type ConfigFile struct {
	// contains filtered or unexported fields
}

func NewConfigFile

func NewConfigFile(kind string, dir string) (cf *ConfigFile, err error)

func NewConfigFiles

func NewConfigFiles(dir string) (v []*ConfigFile, err error)

func (*ConfigFile) Name

func (f *ConfigFile) Name() (name string)

func (*ConfigFile) Write

func (f *ConfigFile) Write(_ context.Context) (err error)

type HooksFile

type HooksFile struct {
	// contains filtered or unexported fields
}

func NewHooksFile

func NewHooksFile(dir string) (f *HooksFile, err error)

func (*HooksFile) Name

func (f *HooksFile) Name() (name string)

func (*HooksFile) Write

func (f *HooksFile) Write(_ context.Context) (err error)

type InternalGeneratorsFile

type InternalGeneratorsFile struct {
	// contains filtered or unexported fields
}

func NewInternalGeneratorsFile

func NewInternalGeneratorsFile(dir string) (f *InternalGeneratorsFile, err error)

func (*InternalGeneratorsFile) Name

func (f *InternalGeneratorsFile) Name() (name string)

func (*InternalGeneratorsFile) Write

func (f *InternalGeneratorsFile) Write(_ context.Context) (err error)

type MainFile

type MainFile struct {
	// contains filtered or unexported fields
}

func NewMainFile

func NewMainFile(path string, dir string) (mf *MainFile, err error)

func (*MainFile) Name

func (f *MainFile) Name() (name string)

func (*MainFile) Write

func (f *MainFile) Write(_ context.Context) (err error)

type ModFile

type ModFile struct {
	// contains filtered or unexported fields
}

func NewModFile

func NewModFile(path string, dir string) (f *ModFile, err error)

func (*ModFile) Name

func (f *ModFile) Name() (name string)

func (*ModFile) Write

func (f *ModFile) Write(ctx context.Context) (err error)

type ModulesFile

type ModulesFile struct {
	// contains filtered or unexported fields
}

func NewModulesFile

func NewModulesFile(path string, dir string) (mf *ModulesFile, err error)

func (*ModulesFile) Name

func (f *ModulesFile) Name() (name string)

func (*ModulesFile) Write

func (f *ModulesFile) Write(ctx context.Context) (err error)

type RepositoryFile

type RepositoryFile struct {
	// contains filtered or unexported fields
}

func NewRepositoryFile

func NewRepositoryFile(dir string) (hooks *RepositoryFile, err error)

func (*RepositoryFile) Name

func (f *RepositoryFile) Name() (name string)

func (*RepositoryFile) Write

func (f *RepositoryFile) Write(_ context.Context) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL