Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
ClientFactory responsible for creating a git client
func NewClientFactory ¶
func NewClientFactory(provider string, token string, secretRef *v1.SecretReference, k8sClient ResourceGetter) *ClientFactory
NewClientFactory creates an instance of the ClientFactory
type ResourceGetter ¶
type ResourceGetter interface {
Get(ctx context.Context, key types.NamespacedName, obj runtime.Object) error
}
ResourceGetter represent the interface for getting Kubernetes resource
Click to show internal directories.
Click to hide internal directories.