Documentation ¶
Index ¶
- Constants
- func NewSecretProvider(optionalArgs ...map[string]string) (sp.SecretProviderInterface, error)
- type ManagedSecretProvider
- func (msp *ManagedSecretProvider) GetContainerAPIRoute(readConfig bool) (string, error)
- func (msp *ManagedSecretProvider) GetDefaultIAMToken(freshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
- func (msp *ManagedSecretProvider) GetIAMToken(secret string, freshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
- func (msp *ManagedSecretProvider) GetPrivateContainerAPIRoute(readConfig bool) (string, error)
- func (msp *ManagedSecretProvider) GetPrivateRIAASEndpoint(readConfig bool) (string, error)
- func (msp *ManagedSecretProvider) GetRIAASEndpoint(readConfig bool) (string, error)
- func (msp *ManagedSecretProvider) GetResourceGroupID() string
- type UnmanagedSecretProvider
- func (usp *UnmanagedSecretProvider) GetContainerAPIRoute(readConfig bool) (string, error)
- func (usp *UnmanagedSecretProvider) GetDefaultIAMToken(isFreshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
- func (usp *UnmanagedSecretProvider) GetIAMToken(secret string, isFreshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
- func (usp *UnmanagedSecretProvider) GetPrivateContainerAPIRoute(readConfig bool) (string, error)
- func (usp *UnmanagedSecretProvider) GetPrivateRIAASEndpoint(readConfig bool) (string, error)
- func (usp *UnmanagedSecretProvider) GetRIAASEndpoint(readConfig bool) (string, error)
- func (usp *UnmanagedSecretProvider) GetResourceGroupID() string
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewSecretProvider ¶
func NewSecretProvider(optionalArgs ...map[string]string) (sp.SecretProviderInterface, error)
NewSecretProvider initializes new secret provider Note: providerType which can be VPC, Bluemix, Softlayer (the constants defined above) and is only used when we need to read storage-secret-store, this is kept to support backward compatibility.
Types ¶
type ManagedSecretProvider ¶
type ManagedSecretProvider struct {
// contains filtered or unexported fields
}
ManagedSecretProvider ...
func (*ManagedSecretProvider) GetContainerAPIRoute ¶ added in v1.0.4
func (msp *ManagedSecretProvider) GetContainerAPIRoute(readConfig bool) (string, error)
GetContainerAPIRoute ...
func (*ManagedSecretProvider) GetDefaultIAMToken ¶
func (msp *ManagedSecretProvider) GetDefaultIAMToken(freshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
GetDefaultIAMToken ...
func (*ManagedSecretProvider) GetIAMToken ¶
func (msp *ManagedSecretProvider) GetIAMToken(secret string, freshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
GetIAMToken ...
func (*ManagedSecretProvider) GetPrivateContainerAPIRoute ¶ added in v1.0.4
func (msp *ManagedSecretProvider) GetPrivateContainerAPIRoute(readConfig bool) (string, error)
GetPrivateContainerAPIRoute ...
func (*ManagedSecretProvider) GetPrivateRIAASEndpoint ¶ added in v1.0.4
func (msp *ManagedSecretProvider) GetPrivateRIAASEndpoint(readConfig bool) (string, error)
GetPrivateRIAASEndpoint ...
func (*ManagedSecretProvider) GetRIAASEndpoint ¶ added in v1.0.4
func (msp *ManagedSecretProvider) GetRIAASEndpoint(readConfig bool) (string, error)
GetRIAASEndpoint ...
func (*ManagedSecretProvider) GetResourceGroupID ¶ added in v1.0.4
func (msp *ManagedSecretProvider) GetResourceGroupID() string
GetResourceGroupID ...
type UnmanagedSecretProvider ¶
type UnmanagedSecretProvider struct {
// contains filtered or unexported fields
}
UnmanagedSecretProvider ...
func InitUnmanagedSecretProvider ¶ added in v1.0.4
func InitUnmanagedSecretProvider(logger *zap.Logger, kc k8s_utils.KubernetesClient, optionalArgs ...map[string]string) (*UnmanagedSecretProvider, error)
initUnmanagedSecretProvider ...
func (*UnmanagedSecretProvider) GetContainerAPIRoute ¶ added in v1.0.4
func (usp *UnmanagedSecretProvider) GetContainerAPIRoute(readConfig bool) (string, error)
GetContainerAPIRoute ...
func (*UnmanagedSecretProvider) GetDefaultIAMToken ¶
func (usp *UnmanagedSecretProvider) GetDefaultIAMToken(isFreshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
GetDefaultIAMToken ...
func (*UnmanagedSecretProvider) GetIAMToken ¶
func (usp *UnmanagedSecretProvider) GetIAMToken(secret string, isFreshTokenRequired bool, reasonForCall ...string) (string, uint64, error)
GetIAMToken ...
func (*UnmanagedSecretProvider) GetPrivateContainerAPIRoute ¶ added in v1.0.4
func (usp *UnmanagedSecretProvider) GetPrivateContainerAPIRoute(readConfig bool) (string, error)
GetPrivateContainerAPIRoute ...
func (*UnmanagedSecretProvider) GetPrivateRIAASEndpoint ¶ added in v1.0.4
func (usp *UnmanagedSecretProvider) GetPrivateRIAASEndpoint(readConfig bool) (string, error)
GetPrivateRIAASEndpoint ...
func (*UnmanagedSecretProvider) GetRIAASEndpoint ¶ added in v1.0.4
func (usp *UnmanagedSecretProvider) GetRIAASEndpoint(readConfig bool) (string, error)
GetRIAASEndpoint ...
func (*UnmanagedSecretProvider) GetResourceGroupID ¶ added in v1.0.4
func (usp *UnmanagedSecretProvider) GetResourceGroupID() string
GetResourceGroupID ...
Click to show internal directories.
Click to hide internal directories.