Documentation ¶
Index ¶
- type IProvider
- type Kubernetes
- func (k *Kubernetes) AddIngress(ctx context.Context, domain, secretName, serviceName, servicePortName string, ...) error
- func (k *Kubernetes) GetIngressDomains(ctx context.Context) ([]string, error)
- func (k *Kubernetes) IsCertificateProvisioned(ctx context.Context, secretName string) (bool, error)
- func (k *Kubernetes) RemoveIngress(ctx context.Context, domain string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProvider ¶
type IProvider interface { GetIngressDomains(ctx context.Context) ([]string, error) AddIngress(ctx context.Context, domain, secretName, serviceName, servicePortName string, annotations map[string]string) error RemoveIngress(ctx context.Context, domain string) error IsCertificateProvisioned(ctx context.Context, secretName string) (bool, error) }
type Kubernetes ¶
type Kubernetes struct {
// contains filtered or unexported fields
}
func NewKubernetes ¶
func NewKubernetes(configFilePath, namespace string) *Kubernetes
func (*Kubernetes) AddIngress ¶
func (*Kubernetes) GetIngressDomains ¶
func (k *Kubernetes) GetIngressDomains(ctx context.Context) ([]string, error)
func (*Kubernetes) IsCertificateProvisioned ¶
func (*Kubernetes) RemoveIngress ¶
func (k *Kubernetes) RemoveIngress(ctx context.Context, domain string) error
Click to show internal directories.
Click to hide internal directories.