Documentation
¶
Overview ¶
Package git contains the git functions
Package git contains the git functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
// GetRepo will find the remote repo or error
GetRepo(context.Context, string, string) (*github.Repository, *github.Response, error)
// CreateRepo will create a repo based on the params
CreateRepo(context.Context, string, *v1alpha1.Repository) error
// DeleteRepo will delete the repo
DeleteRepo(context.Context, string, string) error
// GetKey will find the remote key or error
GetKey(context.Context, string, string, int64) (*github.Key, *github.Response, error)
// CreateKey will create a key in the repo based on the params
CreateKey(context.Context, string, string, *v1alpha1.Key, *corev1.Secret) (*github.Key, error)
// DeleteKey will delete the key from the repo
DeleteKey(context.Context, string, string, int64) error
}
Client defines the interface to use with the controllers
Click to show internal directories.
Click to hide internal directories.