git

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func NewFactory

func NewFactory(fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner) Factory

func (Factory) Create

func (f Factory) Create(uri string, options map[string]interface{}) (source.Source, error)

func (Factory) Schemes

func (f Factory) Schemes() []string

type Source

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

func NewSource

func NewSource(rawURI string, uri string, branch string, path string, privateKey *string, commits sourceCommitSettings, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner) *Source

func (Source) Filter

func (*Source) Load

func (s *Source) Load() error

func (Source) Put added in v0.2.0

func (s Source) Put(name string, data io.Reader) error

func (Source) URI

func (s Source) URI() string

Jump to

Keyboard shortcuts

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