Documentation ¶
Index ¶
- func BasicIngress(name string, namespace string) *k8sExtensions.Ingress
- func BasicIngressBackend(service string, port int) k8sExtensions.IngressBackend
- func BasicIngressDomain12() *k8sExtensions.Ingress
- func BasicIngressDomain12Challenge12() *k8sExtensions.Ingress
- func BasicIngressRule(host string, path string, backend k8sExtensions.IngressBackend) k8sExtensions.IngressRule
- func DummyTls(c *gomock.Controller, domainsSlice [][]string) (mockTlsSlice []Tls)
- func DummyTlsDomain134(c *gomock.Controller) []Tls
- func DummyTlsDomain2(c *gomock.Controller) []Tls
- func DummyTlsEmpty(c *gomock.Controller) []Tls
- type MockAcme
- type MockIngress
- func DummyIngress(c *gomock.Controller, tls []Tls, ingress *k8sExtensions.Ingress) *MockIngress
- func DummyIngressDomain1(c *gomock.Controller, tls []Tls) *MockIngress
- func DummyIngressDomain12(c *gomock.Controller, tls []Tls) *MockIngress
- func DummyIngressDomain12Challenge12(c *gomock.Controller, tls []Tls) *MockIngress
- func DummyIngressNoRules(c *gomock.Controller, tls []Tls) *MockIngress
- func DummyIngressNoRulesTLSDomains134(c *gomock.Controller) *MockIngress
- func NewMockIngress(ctrl *gomock.Controller) *MockIngress
- func (_m *MockIngress) Delete() error
- func (_m *MockIngress) EXPECT() *_MockIngressRecorder
- func (_m *MockIngress) Ignore() bool
- func (_m *MockIngress) IngressClass() string
- func (_m *MockIngress) IngressProvider() string
- func (_m *MockIngress) KubeLego() KubeLego
- func (_m *MockIngress) Log() *logrus.Entry
- func (_m *MockIngress) Object() *v1beta1.Ingress
- func (_m *MockIngress) Save() error
- func (_m *MockIngress) Tls() []Tls
- type MockIngressProvider
- type MockKubeLego
- func (_m *MockKubeLego) AcmeClient() Acme
- func (_m *MockKubeLego) AcmeUser() (map[string][]byte, error)
- func (_m *MockKubeLego) EXPECT() *_MockKubeLegoRecorder
- func (_m *MockKubeLego) IngressProvider(_param0 string) (IngressProvider, error)
- func (_m *MockKubeLego) KubeClient() *kubernetes.Clientset
- func (_m *MockKubeLego) LegoCheckInterval() time.Duration
- func (_m *MockKubeLego) LegoDefaultIngressClass() string
- func (_m *MockKubeLego) LegoDefaultIngressProvider() string
- func (_m *MockKubeLego) LegoEmail() string
- func (_m *MockKubeLego) LegoHTTPPort() intstr.IntOrString
- func (_m *MockKubeLego) LegoIngressNameNginx() string
- func (_m *MockKubeLego) LegoMinimumValidity() time.Duration
- func (_m *MockKubeLego) LegoNamespace() string
- func (_m *MockKubeLego) LegoPodIP() net.IP
- func (_m *MockKubeLego) LegoServiceNameGce() string
- func (_m *MockKubeLego) LegoServiceNameNginx() string
- func (_m *MockKubeLego) LegoSupportedIngressClass() []string
- func (_m *MockKubeLego) LegoSupportedIngressProvider() []string
- func (_m *MockKubeLego) LegoURL() string
- func (_m *MockKubeLego) LegoWatchNamespace() string
- func (_m *MockKubeLego) Log() *logrus.Entry
- func (_m *MockKubeLego) SaveAcmeUser(_param0 map[string][]byte) error
- func (_m *MockKubeLego) Version() string
- type MockSecret
- func (_m *MockSecret) EXPECT() *_MockSecretRecorder
- func (_m *MockSecret) Exists() bool
- func (_m *MockSecret) KubeLego() KubeLego
- func (_m *MockSecret) Object() *v1.Secret
- func (_m *MockSecret) Save() error
- func (_m *MockSecret) TlsDomains() ([]string, error)
- func (_m *MockSecret) TlsDomainsInclude(domains []string) bool
- func (_m *MockSecret) TlsExpireTime() (time.Time, error)
- type MockService
- type MockTls
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicIngress ¶
func BasicIngress(name string, namespace string) *k8sExtensions.Ingress
func BasicIngressBackend ¶
func BasicIngressBackend(service string, port int) k8sExtensions.IngressBackend
func BasicIngressDomain12 ¶
func BasicIngressDomain12() *k8sExtensions.Ingress
func BasicIngressDomain12Challenge12 ¶
func BasicIngressDomain12Challenge12() *k8sExtensions.Ingress
func BasicIngressRule ¶
func BasicIngressRule(host string, path string, backend k8sExtensions.IngressBackend) k8sExtensions.IngressRule
func DummyTls ¶
func DummyTls(c *gomock.Controller, domainsSlice [][]string) (mockTlsSlice []Tls)
func DummyTlsDomain134 ¶
func DummyTlsDomain134(c *gomock.Controller) []Tls
func DummyTlsDomain2 ¶
func DummyTlsDomain2(c *gomock.Controller) []Tls
func DummyTlsEmpty ¶
func DummyTlsEmpty(c *gomock.Controller) []Tls
Types ¶
type MockAcme ¶
type MockAcme struct {
// contains filtered or unexported fields
}
Mock of Acme interface
func NewMockAcme ¶
func NewMockAcme(ctrl *gomock.Controller) *MockAcme
type MockIngress ¶
type MockIngress struct {
// contains filtered or unexported fields
}
Mock of Ingress interface
func DummyIngress ¶
func DummyIngress(c *gomock.Controller, tls []Tls, ingress *k8sExtensions.Ingress) *MockIngress
func DummyIngressDomain1 ¶
func DummyIngressDomain1(c *gomock.Controller, tls []Tls) *MockIngress
func DummyIngressDomain12 ¶
func DummyIngressDomain12(c *gomock.Controller, tls []Tls) *MockIngress
func DummyIngressDomain12Challenge12 ¶
func DummyIngressDomain12Challenge12(c *gomock.Controller, tls []Tls) *MockIngress
func DummyIngressNoRules ¶
func DummyIngressNoRules(c *gomock.Controller, tls []Tls) *MockIngress
func DummyIngressNoRulesTLSDomains134 ¶
func DummyIngressNoRulesTLSDomains134(c *gomock.Controller) *MockIngress
func NewMockIngress ¶
func NewMockIngress(ctrl *gomock.Controller) *MockIngress
func (*MockIngress) Delete ¶
func (_m *MockIngress) Delete() error
func (*MockIngress) EXPECT ¶
func (_m *MockIngress) EXPECT() *_MockIngressRecorder
func (*MockIngress) Ignore ¶
func (_m *MockIngress) Ignore() bool
func (*MockIngress) IngressClass ¶
func (_m *MockIngress) IngressClass() string
func (*MockIngress) IngressProvider ¶
func (_m *MockIngress) IngressProvider() string
func (*MockIngress) KubeLego ¶
func (_m *MockIngress) KubeLego() KubeLego
func (*MockIngress) Log ¶
func (_m *MockIngress) Log() *logrus.Entry
func (*MockIngress) Object ¶
func (_m *MockIngress) Object() *v1beta1.Ingress
func (*MockIngress) Save ¶
func (_m *MockIngress) Save() error
func (*MockIngress) Tls ¶
func (_m *MockIngress) Tls() []Tls
type MockIngressProvider ¶
type MockIngressProvider struct {
// contains filtered or unexported fields
}
Mock of IngressProvider interface
func NewMockIngressProvider ¶
func NewMockIngressProvider(ctrl *gomock.Controller) *MockIngressProvider
func (*MockIngressProvider) EXPECT ¶
func (_m *MockIngressProvider) EXPECT() *_MockIngressProviderRecorder
func (*MockIngressProvider) Finalize ¶
func (_m *MockIngressProvider) Finalize() error
func (*MockIngressProvider) Log ¶
func (_m *MockIngressProvider) Log() *logrus.Entry
func (*MockIngressProvider) Process ¶
func (_m *MockIngressProvider) Process(_param0 Ingress) error
func (*MockIngressProvider) Reset ¶
func (_m *MockIngressProvider) Reset() error
type MockKubeLego ¶
type MockKubeLego struct {
// contains filtered or unexported fields
}
Mock of KubeLego interface
func DummyKubeLego ¶
func DummyKubeLego(c *gomock.Controller) *MockKubeLego
func NewMockKubeLego ¶
func NewMockKubeLego(ctrl *gomock.Controller) *MockKubeLego
func (*MockKubeLego) AcmeClient ¶
func (_m *MockKubeLego) AcmeClient() Acme
func (*MockKubeLego) EXPECT ¶
func (_m *MockKubeLego) EXPECT() *_MockKubeLegoRecorder
func (*MockKubeLego) IngressProvider ¶
func (_m *MockKubeLego) IngressProvider(_param0 string) (IngressProvider, error)
func (*MockKubeLego) KubeClient ¶
func (_m *MockKubeLego) KubeClient() *kubernetes.Clientset
func (*MockKubeLego) LegoCheckInterval ¶
func (_m *MockKubeLego) LegoCheckInterval() time.Duration
func (*MockKubeLego) LegoDefaultIngressClass ¶
func (_m *MockKubeLego) LegoDefaultIngressClass() string
func (*MockKubeLego) LegoDefaultIngressProvider ¶
func (_m *MockKubeLego) LegoDefaultIngressProvider() string
func (*MockKubeLego) LegoEmail ¶
func (_m *MockKubeLego) LegoEmail() string
func (*MockKubeLego) LegoHTTPPort ¶
func (_m *MockKubeLego) LegoHTTPPort() intstr.IntOrString
func (*MockKubeLego) LegoIngressNameNginx ¶
func (_m *MockKubeLego) LegoIngressNameNginx() string
func (*MockKubeLego) LegoMinimumValidity ¶
func (_m *MockKubeLego) LegoMinimumValidity() time.Duration
func (*MockKubeLego) LegoNamespace ¶
func (_m *MockKubeLego) LegoNamespace() string
func (*MockKubeLego) LegoPodIP ¶
func (_m *MockKubeLego) LegoPodIP() net.IP
func (*MockKubeLego) LegoServiceNameGce ¶
func (_m *MockKubeLego) LegoServiceNameGce() string
func (*MockKubeLego) LegoServiceNameNginx ¶
func (_m *MockKubeLego) LegoServiceNameNginx() string
func (*MockKubeLego) LegoSupportedIngressClass ¶
func (_m *MockKubeLego) LegoSupportedIngressClass() []string
func (*MockKubeLego) LegoSupportedIngressProvider ¶
func (_m *MockKubeLego) LegoSupportedIngressProvider() []string
func (*MockKubeLego) LegoURL ¶
func (_m *MockKubeLego) LegoURL() string
func (*MockKubeLego) LegoWatchNamespace ¶
func (_m *MockKubeLego) LegoWatchNamespace() string
func (*MockKubeLego) Log ¶
func (_m *MockKubeLego) Log() *logrus.Entry
func (*MockKubeLego) SaveAcmeUser ¶
func (_m *MockKubeLego) SaveAcmeUser(_param0 map[string][]byte) error
func (*MockKubeLego) Version ¶
func (_m *MockKubeLego) Version() string
type MockSecret ¶
type MockSecret struct {
// contains filtered or unexported fields
}
Mock of Secret interface
func DummySecret ¶
func DummySecret(c *gomock.Controller, validTill time.Time, domains []string) *MockSecret
func NewMockSecret ¶
func NewMockSecret(ctrl *gomock.Controller) *MockSecret
func (*MockSecret) EXPECT ¶
func (_m *MockSecret) EXPECT() *_MockSecretRecorder
func (*MockSecret) Exists ¶
func (_m *MockSecret) Exists() bool
func (*MockSecret) KubeLego ¶
func (_m *MockSecret) KubeLego() KubeLego
func (*MockSecret) Object ¶
func (_m *MockSecret) Object() *v1.Secret
func (*MockSecret) Save ¶
func (_m *MockSecret) Save() error
func (*MockSecret) TlsDomains ¶
func (_m *MockSecret) TlsDomains() ([]string, error)
func (*MockSecret) TlsDomainsInclude ¶
func (_m *MockSecret) TlsDomainsInclude(domains []string) bool
func (*MockSecret) TlsExpireTime ¶
func (_m *MockSecret) TlsExpireTime() (time.Time, error)
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
Mock of Service interface
func DummyService ¶
func DummyService(c *gomock.Controller) *MockService
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
func (*MockService) Delete ¶
func (_m *MockService) Delete() error
func (*MockService) EXPECT ¶
func (_m *MockService) EXPECT() *_MockServiceRecorder
func (*MockService) Object ¶
func (_m *MockService) Object() *v1.Service
func (*MockService) Save ¶
func (_m *MockService) Save() error
func (*MockService) SetEndpoints ¶
func (_m *MockService) SetEndpoints(_param0 []string) error
func (*MockService) SetKubeLegoSpec ¶
func (_m *MockService) SetKubeLegoSpec()
type MockTls ¶
type MockTls struct {
// contains filtered or unexported fields
}
Mock of Tls interface
func NewMockTls ¶
func NewMockTls(ctrl *gomock.Controller) *MockTls
func (*MockTls) IngressMetadata ¶
func (_m *MockTls) IngressMetadata() *v1.ObjectMeta
func (*MockTls) SecretMetadata ¶
func (_m *MockTls) SecretMetadata() *v1.ObjectMeta
Click to show internal directories.
Click to hide internal directories.