builder

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*TreeBuilder)

Option function.

func WithClient

func WithClient(client *confluence.Client) Option

WithClient option.

func WithEndpoint

func WithEndpoint(location string) Option

WithEndpoint option.

func WithSpaceKey

func WithSpaceKey(key string) Option

WithSpaceKey option.

func WithTemplates

func WithTemplates(s []config.ConfluenceTemplate) Option

WithTemplates option.

type TreeBuilder

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

TreeBuilder command to create git hooks

func NewTreeBuilder

func NewTreeBuilder(options ...Option) *TreeBuilder

NewTreeBuilder with the given options.

func (*TreeBuilder) Run

func (s *TreeBuilder) Run() error

Run the command

func (*TreeBuilder) StartCommandSurvey

func (s *TreeBuilder) StartCommandSurvey() error

StartCommandSurvey collect all required informations from user

Jump to

Keyboard shortcuts

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