repo

package
v0.0.112 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGitURLUserPassword

func AddGitURLUserPassword(rawurl string, username string, password string) (string, error)

AddGitURLUserPassword combines the optional username and password to make a git url for cloning git

Types

type Interface

type Interface interface {
	// List lists the repositories enabled for the git operator
	List() ([]Repository, error)
}

Interface the interface for querying the git repositories to be operated

type Repository

type Repository struct {
	// Name name of the repository
	Name string

	// Namespace of the repository - where the `Job` will be created
	Namespace string

	// GitURL the URL to git clone the repository
	GitURL string
}

Repository represents a git repository to clone

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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