utils

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CertificateType = (*api.Certificate)(nil)
View Source
var IssuerType = (*api.Issuer)(nil)

Functions

func AssureStringArray

func AssureStringArray(mod *utils.ModificationState, dst *[]string, value []string)

func EqualStringArray

func EqualStringArray(a, b []string) bool

func IsInDomainRange

func IsInDomainRange(domain, domainRange string) bool

func IsInDomainRanges

func IsInDomainRanges(domain string, domainRanges []string) bool

func NormalizeDomainRange

func NormalizeDomainRange(domainRange string) string

Types

type CertificateObject

type CertificateObject struct {
	resources.Object
}

func Certificate

func Certificate(o resources.Object) *CertificateObject

func (*CertificateObject) Certificate

func (this *CertificateObject) Certificate() *api.Certificate

func (*CertificateObject) SafeCommonName

func (this *CertificateObject) SafeCommonName() string

func (*CertificateObject) Spec

func (this *CertificateObject) Spec() *api.CertificateSpec

func (*CertificateObject) Status

func (this *CertificateObject) Status() *api.CertificateStatus

type IssuerObject

type IssuerObject struct {
	resources.Object
}

func Issuer

func Issuer(o resources.Object) *IssuerObject

func (*IssuerObject) Issuer

func (this *IssuerObject) Issuer() *api.Issuer

func (*IssuerObject) Spec

func (this *IssuerObject) Spec() *api.IssuerSpec

func (*IssuerObject) Status

func (this *IssuerObject) Status() *api.IssuerStatus

Jump to

Keyboard shortcuts

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