libgit2 package - github.com/fluxcd/pkg/git/libgit2 - Go Packages

ClientName is the string representation of Client.

This section is empty.

RemoteCallbacks constructs git2go.RemoteCallbacks with dummy callbacks. Our smart transports don't require any callbacks but, passing nil to high level git2go functions like Push, Clone can result in panic, thus it's safer to use no-op functions.

type ClientOption func(*Client) error
func WithDiskStorage() ClientOption
func WithInsecureCredentialsOverHTTP() ClientOption

WithInsecureCredentialsOverHTTP enables credentials being used over HTTP. This is not recommended for production environments.

func WithMemoryStorage() ClientOption