Documentation ¶
Index ¶
- func CreateObject(cfg string) runtime.Object
- func CreateService(name, port, endpoints string) (*api.Service, *api.Endpoints)
- type CacheMock
- func (c *CacheMock) GetCASecretPath(defaultNamespace, secretName string) (ca, crl convtypes.File, err error)
- func (c *CacheMock) GetDHSecretPath(defaultNamespace, secretName string) (convtypes.File, error)
- func (c *CacheMock) GetEndpoints(service *api.Service) (*api.Endpoints, error)
- func (c *CacheMock) GetPod(podName string) (*api.Pod, error)
- func (c *CacheMock) GetSecretContent(defaultNamespace, secretName, keyName string) ([]byte, error)
- func (c *CacheMock) GetService(serviceName string) (*api.Service, error)
- func (c *CacheMock) GetTLSSecretPath(defaultNamespace, secretName string) (convtypes.CrtFile, error)
- func (c *CacheMock) GetTerminatingPods(service *api.Service) ([]*api.Pod, error)
- type SecretContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheMock ¶
type CacheMock struct { SvcList []*api.Service EpList map[string]*api.Endpoints TermPodList map[string][]*api.Pod PodList map[string]*api.Pod SecretTLSPath map[string]string SecretCAPath map[string]string SecretCRLPath map[string]string SecretDHPath map[string]string SecretContent SecretContent }
CacheMock ...
func (*CacheMock) GetCASecretPath ¶
func (c *CacheMock) GetCASecretPath(defaultNamespace, secretName string) (ca, crl convtypes.File, err error)
GetCASecretPath ...
func (*CacheMock) GetDHSecretPath ¶
GetDHSecretPath ...
func (*CacheMock) GetEndpoints ¶
GetEndpoints ...
func (*CacheMock) GetSecretContent ¶
GetSecretContent ...
func (*CacheMock) GetService ¶
GetService ...
Click to show internal directories.
Click to hide internal directories.