Documentation
¶
Index ¶
- func CloneURLAuth(raw string) (string, transport.AuthMethod, error)
- func EnsureURL(url string) (string, error)
- func New(v *validator.Validate, opts ...Option) (*gh, error)
- func ParseRepo(repo string) (string, string, error)
- func RepoPath(owner, repo, token string) string
- type CloneTokenGetter
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneURLAuth ¶ added in v0.19.1277
func CloneURLAuth(raw string) (string, transport.AuthMethod, error)
CloneURLAuth separates transport credentials from the URL stored by go-git.
Types ¶
type CloneTokenGetter ¶
type Option ¶
type Option func(*gh) error
func WithAppKeyClusterInfo ¶
func WithAppKeyClusterInfo(info *kube.ClusterInfo) Option
WithAppKeySecretNamesapce is used to set the k8s secret namespace
func WithAppKeyID ¶
WithAppKeyID is used to set the iam role arn to auth with
func WithAppKeySecretName ¶
WithAppKeySecretName is used to set the secret name
func WithAppKeySecretNamespace ¶
WithAppKeySecretNamesapce is used to set the k8s secret namespace
func WithInstallID ¶
WithInstallID is used to set the registry id
Click to show internal directories.
Click to hide internal directories.