configuration

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	OperatorNamespace    string
	APIToken             string `json:"api_token,omitempty"`
	APIServer            string `json:"api_server,omitempty"`
	DomainVerifyDuration int    `json:"domain_verification_timeout,omitempty"`
}

func NewConfiguration

func NewConfiguration() *Data

func (*Data) LoadConfiguration

func (d *Data) LoadConfiguration(ctx context.Context, client client.Client, configMapName, secretName string) error

func (*Data) MailgunClient

func (d *Data) MailgunClient(domainName string) *mailgun.MailgunImpl

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL