Documentation
¶
Overview ¶
Package searcher provides functionality to retrieve a single credential.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsSecretInUnexpectedFormatError ¶
IsSecretInUnexpectedFormatError asserts secretInUnexpectedFormatError.
func IsSecretNotFoundError ¶
IsSecretNotFoundError asserts secretNotFoundError.
func IsWrongOwnerOrganizationError ¶
IsWrongOwnerOrganizationError asserts wrongOwnerOrganizationError.
Types ¶
type Config ¶
type Config struct {
K8sClient kubernetes.Interface
Logger micrologger.Logger
}
Config is the service configuration data structure.
type Response ¶
type Response struct {
ID string
Provider string
AWS struct {
Roles struct {
Admin string
AWSOperator string
}
}
Azure struct {
Credential struct {
ClientID string
SubscriptionID string
TenantID string
}
}
}
Response is the response data structure our searcher service will return.
Click to show internal directories.
Click to hide internal directories.