Documentation
¶
Index ¶
Constants ¶
View Source
const ( FolderPrefix = "aiven-secret-" AivenatorProtectedAnnotation = "aivenator.aiven.nais.io/protected" AivenatorProtectedExpireAtAnnotation = "aivenator.aiven.nais.io/with-time-limit" )
Variables ¶
View Source
var ErrUnsuitableSecret = errors.New("unsuitable secret")
Functions ¶
func TidyLocalSecrets ¶
Types ¶
type Aiven ¶
type Aiven struct {
Ctx context.Context
Client ctrl.Client
Properties Properties
}
func Setup ¶
func Setup( ctx context.Context, innClient ctrl.Client, aivenService aiven_services.Service, username, namespace, secretName string, expiry uint, serviceSetup *aiven_services.ServiceSetup, ) *Aiven
func (Aiven) GenerateApplication ¶
func (a Aiven) GenerateApplication(out cli.Output) (*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.