Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OpenSearchAccesses = []string{"read", "write", "readwrite", "admin"}
View Source
var Services = map[string]Service{}
Functions ¶
This section is empty.
Types ¶
type Kafka ¶
type Kafka struct {
// contains filtered or unexported fields
}
func (*Kafka) Apply ¶
func (k *Kafka) Apply(aivenApplicationSpec *aiven_nais_io_v1.AivenApplicationSpec, _ string)
func (*Kafka) Generate ¶
func (k *Kafka) Generate(generator SecretGenerator) error
func (*Kafka) Setup ¶
func (k *Kafka) Setup(setup *ServiceSetup)
type OpenSearch ¶
type OpenSearch struct {
// contains filtered or unexported fields
}
func (*OpenSearch) Apply ¶
func (o *OpenSearch) Apply(aivenApplicationSpec *aiven_nais_io_v1.AivenApplicationSpec, namespace string)
func (*OpenSearch) Generate ¶
func (o *OpenSearch) Generate(generator SecretGenerator) error
func (*OpenSearch) Is ¶
func (o *OpenSearch) Is(other Service) bool
func (*OpenSearch) Name ¶
func (o *OpenSearch) Name() string
func (*OpenSearch) Setup ¶
func (o *OpenSearch) Setup(setup *ServiceSetup)
type OpenSearchAccess ¶
type OpenSearchAccess int64
const ( Read OpenSearchAccess = iota Write ReadWrite Admin )
func OpenSearchAccessFromString ¶
func OpenSearchAccessFromString(access string) (OpenSearchAccess, error)
func (OpenSearchAccess) String ¶
func (p OpenSearchAccess) String() string
type SecretGenerator ¶
type Service ¶
type Service interface {
Name() string
Setup(setup *ServiceSetup)
Apply(aivenApplicationSpec *aiven_nais_io_v1.AivenApplicationSpec, namespace string)
Generate(generator SecretGenerator) error
Is(other Service) bool
}
func FromString ¶
type ServiceSetup ¶
type ServiceSetup struct {
Instance string
Pool KafkaPool
Access OpenSearchAccess
}
Click to show internal directories.
Click to hide internal directories.