Documentation
¶
Index ¶
Constants ¶
View Source
const ( FolderPrefix = "aiven-secret-" AivenatorProtectedAnnotation = "aivenator.aiven.nais.io/protected" AivenatorProtectedExpireAtAnnotation = "aivenator.aiven.nais.io/with-time-limit" )
Variables ¶
This section is empty.
Functions ¶
func ExtractAndGenerateConfig ¶
func ExtractAndGenerateConfig(service aiven_services.Service, secretName, namespaceName string) error
func TidyLocalSecrets ¶
func TidyLocalSecrets() error
Types ¶
type Aiven ¶
type Aiven struct {
Ctx context.Context
Client ctrl.Client
Properties Properties
}
func Setup ¶
func Setup(innClient ctrl.Client, aivenService aiven_services.Service, username, namespace, secretName, instance string, pool aiven_services.KafkaPool, access aiven_services.OpenSearchAccess, expiry uint) *Aiven
func (Aiven) GenerateApplication ¶
func (a Aiven) GenerateApplication() (*aiven_nais_io_v1.AivenApplication, error)
type Properties ¶
type Secret ¶
type Secret struct {
Secret *v1.Secret
DestinationPath string
Service aiven_services.Service
}
func (*Secret) CreateKafkaConfigs ¶
func (*Secret) CreateOpenSearchConfigs ¶
Click to show internal directories.
Click to hide internal directories.