git

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthSecretStrategy

type AuthSecretStrategy interface {
	Method(secret corev1.Secret) (transport.AuthMethod, error)
}

func AuthSecretStrategyForURL

func AuthSecretStrategyForURL(url string) AuthSecretStrategy

type BasicAuth

type BasicAuth struct{}

func (*BasicAuth) Method

func (s *BasicAuth) Method(secret corev1.Secret) (transport.AuthMethod, error)

type CheckoutBranch

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

func (*CheckoutBranch) Checkout

func (c *CheckoutBranch) Checkout(ctx context.Context, path, url string, auth transport.AuthMethod) (*object.Commit, string, error)

type CheckoutCommit

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

func (*CheckoutCommit) Checkout

func (c *CheckoutCommit) Checkout(ctx context.Context, path, url string, auth transport.AuthMethod) (*object.Commit, string, error)

type CheckoutSemVer

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

func (*CheckoutSemVer) Checkout

func (c *CheckoutSemVer) Checkout(ctx context.Context, path, url string, auth transport.AuthMethod) (*object.Commit, string, error)

type CheckoutStrategy

type CheckoutStrategy interface {
	Checkout(ctx context.Context, path, url string, auth transport.AuthMethod) (*object.Commit, string, error)
}

func CheckoutStrategyForRef

func CheckoutStrategyForRef(ref *sourcev1.GitRepositoryRef) CheckoutStrategy

type CheckoutTag

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

func (*CheckoutTag) Checkout

func (c *CheckoutTag) Checkout(ctx context.Context, path, url string, auth transport.AuthMethod) (*object.Commit, string, error)

type PublicKeyAuth

type PublicKeyAuth struct{}

func (*PublicKeyAuth) Method

func (s *PublicKeyAuth) Method(secret corev1.Secret) (transport.AuthMethod, error)

Jump to

Keyboard shortcuts

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