git

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SyncRepo = syncRepo

SyncRepo syncs the target git repository with skaffold's local cache and returns the path to the repository root directory.

Functions

func SyncDisabledErr

func SyncDisabledErr(g Config, repoCacheDir string) error

SyncDisabledErr returns error when git repository sync is turned off by the user but the repository clone doesn't exist inside the cache directory.

Types

type Config added in v2.11.0

type Config struct {
	Repo         string
	RepoCloneURI string
	Ref          string
	Sync         *bool
}

Jump to

Keyboard shortcuts

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