credential

package
v0.0.0-...-daa3d23 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteClusterCerts

func DeleteClusterCerts(ctx context.Context, clusterID string) (err error)

func GetAppOauthCredential

func GetAppOauthCredential(ctx context.Context, serviceName string) (clientId, clientSecret string, err error)

func GetClusterCerts

func GetClusterCerts(ctx context.Context, clusterID string) (cred credentials.CertificateData, err error)

func GetClusterGlobalValues

func GetClusterGlobalValues(ctx context.Context) (globalValues string, err error)

func GetGenericCredential

func GetGenericCredential(ctx context.Context, entityName, credIndentifer string) (cred map[string]string, err error)

func GetPluginCredential

func GetPluginCredential(ctx context.Context, pluginName, svcEntity string) (cred credentials.ServiceCredential, err error)

func GetServiceUserCredential

func GetServiceUserCredential(ctx context.Context, svcEntity, userName string) (cred credentials.ServiceCredential, err error)

func PutClusterCerts

func PutClusterCerts(ctx context.Context, orgID, clusterName, clientCAChainData, clientKeyData, clientCertData string) error

func PutGenericCredential

func PutGenericCredential(ctx context.Context, svcEntity, credId string, cred map[string]string) error

func PutPluginCredential

func PutPluginCredential(ctx context.Context, pluginName, svcEntity string, cred map[string]string) error

func PutServiceUserCredential

func PutServiceUserCredential(ctx context.Context, svcEntity, userIdentifer, userName, password string) error

func StoreAppOauthCredential

func StoreAppOauthCredential(ctx context.Context, serviceName, clientId, clientSecret string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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