Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
type ConfigMap struct {
// contains filtered or unexported fields
}
ConfigMap acceses k8s API to fetch/save ConfigMap objects
type ConfigMapRepository ¶
type ConfigMapRepository interface { Get(namespace string, key string) (*v1.ConfigMap, error) Save(configMap *v1.ConfigMap) (*v1.ConfigMap, error) }
ConfigMapRepository is an interface to fetch or store ConfigMaps
func NewConfigMapRepository ¶
func NewConfigMapRepository(client kubernetes.Interface, informerFactory informers.SharedInformerFactory) ConfigMapRepository
NewConfigMapRepository returns a repository instance
func NewFakeConfigMapRepository ¶
func NewFakeConfigMapRepository() ConfigMapRepository
NewFakeConfigMapRepository returns an instance of the repository
type FakeConfigMap ¶
type FakeConfigMap struct {
// contains filtered or unexported fields
}
FakeConfigMap is an InMemory implementation of an ConfigMap repository
type FakeIngress ¶
type FakeIngress struct {
// contains filtered or unexported fields
}
FakeIngress is an InMemory implementation of an Ingress repository
type Ingress ¶
type Ingress struct {
// contains filtered or unexported fields
}
Ingress acceses k8s API to fetch/save Ingress objects
type IngressRepository ¶
type IngressRepository interface { Get(namespace string, key string) (*v1beta1.Ingress, error) Save(ingress *v1beta1.Ingress) (*v1beta1.Ingress, error) }
IngressRepository is an interface to fetch or store Ingress
func NewFakeIngressRepository ¶
func NewFakeIngressRepository() IngressRepository
NewFakeIngressRepository returns an instance of the repository
func NewIngressRepository ¶
func NewIngressRepository(client kubernetes.Interface, informerFactory informers.SharedInformerFactory) IngressRepository
NewIngressRepository returns a repository instance
Click to show internal directories.
Click to hide internal directories.