Documentation ¶
Index ¶
- Variables
- type FakeK8sOperations
- func (f *FakeK8sOperations) CloudProviderName() (string, error)
- func (f *FakeK8sOperations) IsNotFound(err error) bool
- func (f *FakeK8sOperations) ServiceAnnotations(namespace, service string) (map[string]string, error)
- func (f *FakeK8sOperations) SetServiceAnnotations(namespace, service string, annotations map[string]string) error
- type K8sOperations
- type Operations
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotImplemented = status.Errorf(codes.Unimplemented, "Operation not implemented for this cloud provider") ErrServiceNotFound = status.Errorf(codes.NotFound, "Service not found") )
Functions ¶
This section is empty.
Types ¶
type FakeK8sOperations ¶
type FakeK8sOperations struct { CloudProviderNameErr error CloudProviderNameValue string SetServiceAnnotationsErr error ServiceAnnotationsErr error ServiceAnnotationsValue map[string]string IsNotFoundErr bool }
func (*FakeK8sOperations) CloudProviderName ¶
func (f *FakeK8sOperations) CloudProviderName() (string, error)
func (*FakeK8sOperations) IsNotFound ¶
func (f *FakeK8sOperations) IsNotFound(err error) bool
func (*FakeK8sOperations) ServiceAnnotations ¶
func (f *FakeK8sOperations) ServiceAnnotations(namespace, service string) (map[string]string, error)
func (*FakeK8sOperations) SetServiceAnnotations ¶
func (f *FakeK8sOperations) SetServiceAnnotations(namespace, service string, annotations map[string]string) error
type K8sOperations ¶
type Operations ¶
type Operations interface { CreateOrUpdateSSL(appName, cert string, port int) error SSLInfo(appName string) (*service.SSLInfo, error) }
func NewOperations ¶
func NewOperations(k8s K8sOperations) (Operations, error)
Click to show internal directories.
Click to hide internal directories.