Documentation ¶
Index ¶
- Constants
- type BackendOperator
- func (e *BackendOperator) Create(dopts *model.DomainOptions) (d model.Domain, err error)
- func (e *BackendOperator) Delete(dopts *model.DomainOptions) error
- func (e *BackendOperator) Get(dopts *model.DomainOptions) (d model.Domain, err error)
- func (e *BackendOperator) GetTokenOrigin(fqdn string) (string, error)
- func (e *BackendOperator) Renew(dopts *model.DomainOptions) (d model.Domain, err error)
- func (e *BackendOperator) Update(dopts *model.DomainOptions) (d model.Domain, err error)
Constants ¶
View Source
const ( BackendName = "etcd" ValueHostKey = "host" DefaultTTL = "240h" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendOperator ¶
type BackendOperator struct {
// contains filtered or unexported fields
}
func NewEtcdBackend ¶
func NewEtcdBackend(endpoints []string, prePath string, rootDomain string) (*BackendOperator, error)
func (*BackendOperator) Create ¶
func (e *BackendOperator) Create(dopts *model.DomainOptions) (d model.Domain, err error)
func (*BackendOperator) Delete ¶
func (e *BackendOperator) Delete(dopts *model.DomainOptions) error
func (*BackendOperator) Get ¶
func (e *BackendOperator) Get(dopts *model.DomainOptions) (d model.Domain, err error)
func (*BackendOperator) GetTokenOrigin ¶ added in v0.3.3
func (e *BackendOperator) GetTokenOrigin(fqdn string) (string, error)
func (*BackendOperator) Renew ¶
func (e *BackendOperator) Renew(dopts *model.DomainOptions) (d model.Domain, err error)
func (*BackendOperator) Update ¶
func (e *BackendOperator) Update(dopts *model.DomainOptions) (d model.Domain, err error)
Click to show internal directories.
Click to hide internal directories.