Documentation ¶
Index ¶
- func DeleteSecret(ctx context.Context, k client.Client, ref *xpv1.SecretKeySelector) error
- func ErrorIsNotFound(err error) bool
- func GetConfig(ctx context.Context, c client.Client, mg resource.Managed) (*accounts.TokenProviderOptions, error)
- func GetInitialAdminPassword(ctx context.Context, k client.Client, pc *v1alpha1.ProviderConfig) (string, error)
- func GetSecret(ctx context.Context, k client.Client, ref *xpv1.SecretKeySelector) (string, error)
- func IsBoolPtrEqualToBool(bp *bool, b bool) bool
- func SaveAdminToken(ctx context.Context, k client.Client, pc *v1alpha1.ProviderConfig, ...) error
- func SetSecret(ctx context.Context, k client.Client, ref *xpv1.SecretKeySelector, val string) error
- func UseProviderConfig(ctx context.Context, k client.Client, mg resource.Managed) (*accounts.TokenProviderOptions, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSecret ¶
func ErrorIsNotFound ¶
func GetConfig ¶
func GetConfig(ctx context.Context, c client.Client, mg resource.Managed) (*accounts.TokenProviderOptions, error)
GetConfig constructs a ClientOptions configuration that can be used to authenticate to argocd API by the argocd Go client
func GetInitialAdminPassword ¶
func GetInitialAdminPassword(ctx context.Context, k client.Client, pc *v1alpha1.ProviderConfig) (string, error)
GetInitialAdminPassword returns the ArgoCD initial admin password.
func IsBoolPtrEqualToBool ¶
IsBoolPtrEqualToBool compares a *bool with bool
func SaveAdminToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.