Documentation
¶
Index ¶
- Variables
- func IsErrConflictService(pErr error) bool
- func IsErrConflictServiceAndCloud(pErr error) bool
- func IsErrNoDefaultSecgroup(pErr error) bool
- func IsErrNodeAddressNotFound(pErr error) bool
- func IsErrServicePortEmpty(pErr error) bool
- func IsNoNodeAvailable(pErr error) bool
- func NewErrConflictService(pPort int, pProtocol, pInfo string) vconError.IErrorBuilder
- func NewErrConflictServiceAndCloud(pInfo string) vconError.IErrorBuilder
- func NewErrNoDefaultSecgroup(pProjectUUID, pInfo string) vconError.IErrorBuilder
- func NewErrNodeAddressNotFound(pNodeName, pInfo string) vconError.IErrorBuilder
- func NewErrServicePortEmpty() vconError.IErrorBuilder
- func NewNoNodeAvailable() vconError.IErrorBuilder
- type ErrConflictService
- type ErrConflictServiceAndCloud
- type ErrNoDefaultSecgroup
- type ErrNodeAddressNotFound
- type ErrServicePortEmpty
- type NoNodeAvailable
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = vErr.New("failed to find object") ErrNoNodeAvailable = vErr.New("no node available in the cluster") ErrNoPortIsConfigured = vErr.New("no port is configured for the Kubernetes service") ErrSpecAndExistingLbNotMatch = vErr.New("the spec and the existing load balancer do not match") ErrNodesAreNotSameSubnet = vErr.New("nodes are not in the same subnet") ErrServiceConfigIsNil = vErr.New("service config is nil") ErrEmptyLoadBalancerAnnotation = vErr.New("load balancer annotation is empty") ErrTimeoutWaitingLoadBalancerReady = vErr.New("timeout waiting for load balancer to be ready") ErrLoadBalancerIdNotInAnnotation = vErr.New("loadbalancer ID has been not set in service annotation") ErrServerObjectIsNil = vErr.New("server object is nil") ErrVngCloudNotReturnNilPoolObject = vErr.New("VNG CLOUD should not return nil pool object") ErrVngCloudNotReturnNilListenerObject = vErr.New("VNG CLOUD should not return nil listener object") ErrIngressNotFound = vErr.New("failed to find ingress") ErrSecurityGroupNotFound = vErr.New("failed to find security group") ErrNetworkIDNotFound = vErr.New("failed to find network ID") ErrNoCertificateFound = vErr.New("no certificate found, should use annotation to specify certificate") ErrListenerProtocolNotMatch = vErr.New("listener protocol does not match") ErrLoadBalancerStatusError = vErr.New("load balancer status error") )
View Source
var ErrLoadBalancerIDNotFoundAnnotation = vErr.New("failed to find LoadBalancerID from Annotation")
View Source
var ErrLoadBalancerNameNotFoundAnnotation = vErr.New("failed to find LoadBalancerName from Annotation")
Functions ¶
func IsErrConflictService ¶
func IsErrNoDefaultSecgroup ¶
func IsErrServicePortEmpty ¶
func IsNoNodeAvailable ¶
func NewErrConflictService ¶
func NewErrConflictService(pPort int, pProtocol, pInfo string) vconError.IErrorBuilder
func NewErrConflictServiceAndCloud ¶
func NewErrConflictServiceAndCloud(pInfo string) vconError.IErrorBuilder
func NewErrNoDefaultSecgroup ¶
func NewErrNoDefaultSecgroup(pProjectUUID, pInfo string) vconError.IErrorBuilder
func NewErrNodeAddressNotFound ¶
func NewErrNodeAddressNotFound(pNodeName, pInfo string) vconError.IErrorBuilder
func NewErrServicePortEmpty ¶
func NewErrServicePortEmpty() vconError.IErrorBuilder
func NewNoNodeAvailable ¶
func NewNoNodeAvailable() vconError.IErrorBuilder
Types ¶
type ErrConflictService ¶
func (*ErrConflictService) Error ¶
func (s *ErrConflictService) Error() string
type ErrConflictServiceAndCloud ¶
func (*ErrConflictServiceAndCloud) Error ¶
func (s *ErrConflictServiceAndCloud) Error() string
type ErrNoDefaultSecgroup ¶
func (*ErrNoDefaultSecgroup) Error ¶
func (s *ErrNoDefaultSecgroup) Error() string
type ErrNodeAddressNotFound ¶
func (*ErrNodeAddressNotFound) Error ¶
func (s *ErrNodeAddressNotFound) Error() string
type ErrServicePortEmpty ¶
func (*ErrServicePortEmpty) Error ¶
func (s *ErrServicePortEmpty) Error() string
type NoNodeAvailable ¶
func (*NoNodeAvailable) Error ¶
func (s *NoNodeAvailable) Error() string
Click to show internal directories.
Click to hide internal directories.