solver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliDNSAccessKeyRef

type AliDNSAccessKeyRef struct {
	SecretName         string `json:"name"`
	AccessKeyIDKey     string `json:"accessKeyIdKey"`
	AccessKeySecretKey string `json:"accessKeySecretKey"`
}

AliDNSAccessKeyRef defines configuration when using kubernetes secret.

type AliDNSSolver

type AliDNSSolver struct {
	// contains filtered or unexported fields
}

AliDNSSolver is a solver to solve DNS challenge for AliCloud.

func (*AliDNSSolver) CleanUp

func (s *AliDNSSolver) CleanUp(ch *v1alpha1.ChallengeRequest) error

CleanUp deletes relevant TXT record from AliCloud.

func (*AliDNSSolver) Initialize

func (s *AliDNSSolver) Initialize(kubeClientConfig *rest.Config, stopCh <-chan struct{}) error

Initialize initializes the solver.

func (*AliDNSSolver) Name

func (s *AliDNSSolver) Name() string

Name returns the solver name.

func (*AliDNSSolver) Present

func (s *AliDNSSolver) Present(ch *v1alpha1.ChallengeRequest) error

Present presents DNS chanllenge to AliCloud.

type AliDNSSolverConfig

type AliDNSSolverConfig struct {
	RegionID        string             `json:"regionId"`
	AccessKeyID     string             `json:"accessKeyId"`
	AccessKeySecret string             `json:"accessKeySecret"`
	AccessKeyRef    AliDNSAccessKeyRef `json:"accessKeyRef"`
	TTL             int                `json:"ttl"`
}

AliDNSSolverConfig defines solver configuration.

Jump to

Keyboard shortcuts

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