builder

package
v0.0.0-...-8ae6469 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Prepare() error
	Build() error
	Clean() error
	AbsolutePath() string
	Project() interface{}
	Templates() []template.Template
}

func Get

func Get(con console.Console, p *project.Project, templateAddress, remote string) Builder

type Fsys

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

func (*Fsys) AbsolutePath

func (b *Fsys) AbsolutePath() string

func (*Fsys) Build

func (b *Fsys) Build() (err error)

func (*Fsys) Clean

func (b *Fsys) Clean() (err error)

func (*Fsys) Prepare

func (b *Fsys) Prepare() (err error)

func (*Fsys) Project

func (b *Fsys) Project() interface{}

func (*Fsys) Templates

func (b *Fsys) Templates() []template.Template

type Git

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

func (*Git) AbsolutePath

func (b *Git) AbsolutePath() string

func (*Git) Build

func (b *Git) Build() (err error)

func (*Git) Clean

func (b *Git) Clean() (err error)

func (*Git) Prepare

func (b *Git) Prepare() (err error)

func (*Git) Project

func (b *Git) Project() interface{}

func (*Git) Templates

func (b *Git) Templates() []template.Template

type MockBuilder

type MockBuilder struct {
	mock.Mock
}

MockBuilder is an autogenerated mock type for the Builder type

func (*MockBuilder) AbsolutePath

func (_m *MockBuilder) AbsolutePath() string

AbsolutePath provides a mock function with given fields:

func (*MockBuilder) Build

func (_m *MockBuilder) Build() error

Build provides a mock function with given fields:

func (*MockBuilder) Clean

func (_m *MockBuilder) Clean() error

Clean provides a mock function with given fields:

func (*MockBuilder) Prepare

func (_m *MockBuilder) Prepare() error

Prepare provides a mock function with given fields:

func (*MockBuilder) Project

func (_m *MockBuilder) Project() interface{}

Project provides a mock function with given fields:

func (*MockBuilder) Templates

func (_m *MockBuilder) Templates() []template.Template

Templates provides a mock function with given fields:

Jump to

Keyboard shortcuts

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