Documentation
¶
Index ¶
- func AllowedValuesErrorMessage(allowed api.SelectorAllowedListSpec, err string) string
- func DefaultAllowedValuesErrorMessage(allowed api.DefaultAllowedListSpec, err string) string
- func IgnoreGone(err error) bool
- func NewContainerRegistryForbidden(image string, spec api.AllowedListSpec) error
- func NewCrossTenantPVMountError(name string, action string) error
- func NewCustomResourceQuotaError(kindGroup string, limit int64) error
- func NewDeviceClassForbidden(class string, spec api.SelectorAllowedListSpec) error
- func NewDeviceClassUndefined(spec api.SelectorAllowedListSpec) error
- func NewEmptyIngressHostname(spec api.AllowedListSpec) error
- func NewExternalNameDisabledError() error
- func NewExternalServiceIPForbidden(allowedIps []api.AllowedIP) error
- func NewGatewayClassError(class string, msg error) error
- func NewGatewayClassForbidden(class string, spec api.DefaultAllowedListSpec) error
- func NewGatewayClassUndefined(spec api.DefaultAllowedListSpec) error
- func NewGatewayError(gateway gatewayv1.ObjectName, msg error) error
- func NewImagePullPolicyForbidden(usedPullPolicy, containerName string, allowedPullPolicies []string) error
- func NewIngressClassError(class string, msg error) error
- func NewIngressClassForbidden(class string, spec api.DefaultAllowedListSpec) error
- func NewIngressClassNotValid(class string, spec api.DefaultAllowedListSpec) error
- func NewIngressClassUndefined(spec api.DefaultAllowedListSpec) error
- func NewIngressHostnameCollision(hostname string) error
- func NewIngressHostnamesNotValid(invalidHostnames []string, notMatchingHostnames []string, ...) error
- func NewLoadBalancerDisabled() error
- func NewMissingContainerRegistryError(image string) error
- func NewMissingTenantPVLabelsError(name string, action string) error
- func NewNamespaceQuotaExceededError() error
- func NewNoPodMetadata(objectName string) error
- func NewNoServicesMetadata(objectName string) error
- func NewNodeAnnotationForbiddenError(forbiddenSpec *capsulev1beta2.ForbiddenListSpec) error
- func NewNodeLabelForbiddenError(forbiddenSpec *capsulev1beta2.ForbiddenListSpec) error
- func NewNodePortDisabledError() error
- func NewNonTenantObject(objectName string) error
- func NewPVSelectorError(action string) error
- func NewPodPriorityClassForbidden(priorityClassName string, spec api.DefaultAllowedListSpec) error
- func NewPodRuntimeClassForbidden(runtimeClassName string, spec api.DefaultAllowedListSpec) error
- func NewPriorityClassError(class string, msg error) error
- func NewPvNotFoundError(name string, action string) error
- func NewStorageClassError(class string, msg error) error
- func NewStorageClassForbidden(className string, storageClasses api.DefaultAllowedListSpec) error
- func NewStorageClassNotValid(storageClasses api.DefaultAllowedListSpec) error
- func RecordTypedErrorEvent(recorder events.EventRecorder, regarding runtime.Object, ...)
- func SelectionListWithDefaultErrorMessage(allowed api.SelectionListWithDefaultSpec, err string) string
- type CaExpiredError
- type CaNotYetValidError
- type CrossTenantPVMountError
- type CustomResourceQuotaError
- type DeviceClassForbiddenError
- type DeviceClassUndefinedError
- type EmptyIngressHostnameError
- type EventedError
- type ExternalNameDisabledError
- type ExternalServiceIPForbiddenError
- type GatewayClassError
- type GatewayClassForbiddenError
- type GatewayClassUndefinedError
- type GatewayError
- type ImagePullPolicyForbiddenError
- type IngressClassError
- type IngressClassForbiddenError
- type IngressClassNotValidError
- type IngressClassUndefinedError
- type IngressHostnameCollisionError
- type IngressHostnameNotValidError
- type LoadBalancerDisabledError
- type MissingPVTenantLabelsError
- type NamespaceQuotaExceededError
- type NoPodMetadataError
- type NoServicesMetadataError
- type NodeAnnotationForbiddenError
- type NodeLabelForbiddenError
- type NodePortDisabledError
- type NonTenantObjectError
- type PodPriorityClassForbiddenError
- type PodRuntimeClassForbiddenError
- type PriorityClassError
- type PvNotFoundError
- type PvSelectorError
- type RegistryClassForbiddenError
- type RunningInOutOfClusterModeError
- type StorageClassError
- type StorageClassForbiddenError
- type StorageClassNotValidError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedValuesErrorMessage ¶
func AllowedValuesErrorMessage(allowed api.SelectorAllowedListSpec, err string) string
func DefaultAllowedValuesErrorMessage ¶
func DefaultAllowedValuesErrorMessage(allowed api.DefaultAllowedListSpec, err string) string
func IgnoreGone ¶
func NewContainerRegistryForbidden ¶
func NewContainerRegistryForbidden(image string, spec api.AllowedListSpec) error
func NewDeviceClassForbidden ¶
func NewDeviceClassForbidden(class string, spec api.SelectorAllowedListSpec) error
func NewDeviceClassUndefined ¶
func NewDeviceClassUndefined(spec api.SelectorAllowedListSpec) error
func NewEmptyIngressHostname ¶
func NewEmptyIngressHostname(spec api.AllowedListSpec) error
func NewExternalNameDisabledError ¶
func NewExternalNameDisabledError() error
func NewGatewayClassError ¶
func NewGatewayClassForbidden ¶
func NewGatewayClassForbidden(class string, spec api.DefaultAllowedListSpec) error
func NewGatewayClassUndefined ¶
func NewGatewayClassUndefined(spec api.DefaultAllowedListSpec) error
func NewGatewayError ¶
func NewGatewayError(gateway gatewayv1.ObjectName, msg error) error
func NewIngressClassError ¶
func NewIngressClassForbidden ¶
func NewIngressClassForbidden(class string, spec api.DefaultAllowedListSpec) error
func NewIngressClassNotValid ¶
func NewIngressClassNotValid(class string, spec api.DefaultAllowedListSpec) error
func NewIngressClassUndefined ¶
func NewIngressClassUndefined(spec api.DefaultAllowedListSpec) error
func NewIngressHostnamesNotValid ¶
func NewIngressHostnamesNotValid(invalidHostnames []string, notMatchingHostnames []string, spec api.AllowedListSpec) error
func NewLoadBalancerDisabled ¶
func NewLoadBalancerDisabled() error
func NewNamespaceQuotaExceededError ¶
func NewNamespaceQuotaExceededError() error
func NewNoPodMetadata ¶
func NewNoServicesMetadata ¶
func NewNodeAnnotationForbiddenError ¶
func NewNodeAnnotationForbiddenError(forbiddenSpec *capsulev1beta2.ForbiddenListSpec) error
func NewNodeLabelForbiddenError ¶
func NewNodeLabelForbiddenError(forbiddenSpec *capsulev1beta2.ForbiddenListSpec) error
func NewNodePortDisabledError ¶
func NewNodePortDisabledError() error
func NewNonTenantObject ¶
func NewPVSelectorError ¶
func NewPodPriorityClassForbidden ¶
func NewPodPriorityClassForbidden(priorityClassName string, spec api.DefaultAllowedListSpec) error
func NewPodRuntimeClassForbidden ¶
func NewPodRuntimeClassForbidden(runtimeClassName string, spec api.DefaultAllowedListSpec) error
func NewPriorityClassError ¶
func NewPvNotFoundError ¶
func NewStorageClassError ¶
func NewStorageClassForbidden ¶
func NewStorageClassForbidden(className string, storageClasses api.DefaultAllowedListSpec) error
func NewStorageClassNotValid ¶
func NewStorageClassNotValid(storageClasses api.DefaultAllowedListSpec) error
func RecordTypedErrorEvent ¶
func SelectionListWithDefaultErrorMessage ¶
func SelectionListWithDefaultErrorMessage(allowed api.SelectionListWithDefaultSpec, err string) string
Types ¶
type CaExpiredError ¶
type CaExpiredError struct{}
func (CaExpiredError) Error ¶
func (CaExpiredError) Error() string
type CaNotYetValidError ¶
type CaNotYetValidError struct{}
func (CaNotYetValidError) Error ¶
func (CaNotYetValidError) Error() string
type CrossTenantPVMountError ¶
type CrossTenantPVMountError struct {
// contains filtered or unexported fields
}
func (*CrossTenantPVMountError) Action ¶
func (e *CrossTenantPVMountError) Action() string
func (CrossTenantPVMountError) Error ¶
func (e CrossTenantPVMountError) Error() string
func (*CrossTenantPVMountError) Reason ¶
func (e *CrossTenantPVMountError) Reason() string
type CustomResourceQuotaError ¶
type CustomResourceQuotaError struct {
// contains filtered or unexported fields
}
func (CustomResourceQuotaError) Error ¶
func (r CustomResourceQuotaError) Error() string
type DeviceClassForbiddenError ¶
type DeviceClassForbiddenError struct {
// contains filtered or unexported fields
}
func (DeviceClassForbiddenError) Error ¶
func (i DeviceClassForbiddenError) Error() string
type DeviceClassUndefinedError ¶
type DeviceClassUndefinedError struct {
// contains filtered or unexported fields
}
func (DeviceClassUndefinedError) Error ¶
func (i DeviceClassUndefinedError) Error() string
type EmptyIngressHostnameError ¶
type EmptyIngressHostnameError struct {
// contains filtered or unexported fields
}
func (EmptyIngressHostnameError) Error ¶
func (e EmptyIngressHostnameError) Error() string
type EventedError ¶
type ExternalNameDisabledError ¶
type ExternalNameDisabledError struct{}
func (ExternalNameDisabledError) Error ¶
func (ExternalNameDisabledError) Error() string
type ExternalServiceIPForbiddenError ¶
type ExternalServiceIPForbiddenError struct {
// contains filtered or unexported fields
}
func (ExternalServiceIPForbiddenError) Error ¶
func (e ExternalServiceIPForbiddenError) Error() string
type GatewayClassError ¶
type GatewayClassError struct {
// contains filtered or unexported fields
}
func (GatewayClassError) Error ¶
func (e GatewayClassError) Error() string
type GatewayClassForbiddenError ¶
type GatewayClassForbiddenError struct {
// contains filtered or unexported fields
}
func (GatewayClassForbiddenError) Error ¶
func (i GatewayClassForbiddenError) Error() string
type GatewayClassUndefinedError ¶
type GatewayClassUndefinedError struct {
// contains filtered or unexported fields
}
func (GatewayClassUndefinedError) Error ¶
func (i GatewayClassUndefinedError) Error() string
type GatewayError ¶
type GatewayError struct {
// contains filtered or unexported fields
}
func (GatewayError) Error ¶
func (e GatewayError) Error() string
type ImagePullPolicyForbiddenError ¶
type ImagePullPolicyForbiddenError struct {
// contains filtered or unexported fields
}
func (ImagePullPolicyForbiddenError) Error ¶
func (f ImagePullPolicyForbiddenError) Error() (err string)
type IngressClassError ¶
type IngressClassError struct {
// contains filtered or unexported fields
}
func (IngressClassError) Error ¶
func (e IngressClassError) Error() string
type IngressClassForbiddenError ¶
type IngressClassForbiddenError struct {
// contains filtered or unexported fields
}
func (IngressClassForbiddenError) Error ¶
func (i IngressClassForbiddenError) Error() string
type IngressClassNotValidError ¶
type IngressClassNotValidError struct {
// contains filtered or unexported fields
}
func (IngressClassNotValidError) Error ¶
func (i IngressClassNotValidError) Error() string
type IngressClassUndefinedError ¶
type IngressClassUndefinedError struct {
// contains filtered or unexported fields
}
func (IngressClassUndefinedError) Error ¶
func (i IngressClassUndefinedError) Error() string
type IngressHostnameCollisionError ¶
type IngressHostnameCollisionError struct {
// contains filtered or unexported fields
}
func (IngressHostnameCollisionError) Error ¶
func (i IngressHostnameCollisionError) Error() string
type IngressHostnameNotValidError ¶
type IngressHostnameNotValidError struct {
// contains filtered or unexported fields
}
func (IngressHostnameNotValidError) Error ¶
func (i IngressHostnameNotValidError) Error() string
type LoadBalancerDisabledError ¶
type LoadBalancerDisabledError struct{}
func (LoadBalancerDisabledError) Error ¶
func (LoadBalancerDisabledError) Error() string
type MissingPVTenantLabelsError ¶
type MissingPVTenantLabelsError struct {
// contains filtered or unexported fields
}
func (*MissingPVTenantLabelsError) Action ¶
func (e *MissingPVTenantLabelsError) Action() string
func (MissingPVTenantLabelsError) Error ¶
func (e MissingPVTenantLabelsError) Error() string
func (*MissingPVTenantLabelsError) Reason ¶
func (e *MissingPVTenantLabelsError) Reason() string
type NamespaceQuotaExceededError ¶
type NamespaceQuotaExceededError struct{}
func (NamespaceQuotaExceededError) Error ¶
func (NamespaceQuotaExceededError) Error() string
type NoPodMetadataError ¶
type NoPodMetadataError struct {
// contains filtered or unexported fields
}
func (NoPodMetadataError) Error ¶
func (n NoPodMetadataError) Error() string
type NoServicesMetadataError ¶
type NoServicesMetadataError struct {
// contains filtered or unexported fields
}
func (NoServicesMetadataError) Error ¶
func (n NoServicesMetadataError) Error() string
type NodeAnnotationForbiddenError ¶
type NodeAnnotationForbiddenError struct {
// contains filtered or unexported fields
}
func (NodeAnnotationForbiddenError) Error ¶
func (f NodeAnnotationForbiddenError) Error() string
type NodeLabelForbiddenError ¶
type NodeLabelForbiddenError struct {
// contains filtered or unexported fields
}
func (NodeLabelForbiddenError) Error ¶
func (f NodeLabelForbiddenError) Error() string
type NodePortDisabledError ¶
type NodePortDisabledError struct{}
func (NodePortDisabledError) Error ¶
func (NodePortDisabledError) Error() string
type NonTenantObjectError ¶
type NonTenantObjectError struct {
// contains filtered or unexported fields
}
func (NonTenantObjectError) Error ¶
func (n NonTenantObjectError) Error() string
type PodPriorityClassForbiddenError ¶
type PodPriorityClassForbiddenError struct {
// contains filtered or unexported fields
}
func (PodPriorityClassForbiddenError) Error ¶
func (f PodPriorityClassForbiddenError) Error() (err string)
type PodRuntimeClassForbiddenError ¶
type PodRuntimeClassForbiddenError struct {
// contains filtered or unexported fields
}
func (PodRuntimeClassForbiddenError) Error ¶
func (f PodRuntimeClassForbiddenError) Error() (err string)
type PriorityClassError ¶
type PriorityClassError struct {
// contains filtered or unexported fields
}
func (PriorityClassError) Error ¶
func (e PriorityClassError) Error() string
type PvNotFoundError ¶
type PvNotFoundError struct {
// contains filtered or unexported fields
}
func (*PvNotFoundError) Action ¶
func (e *PvNotFoundError) Action() string
func (PvNotFoundError) Error ¶
func (e PvNotFoundError) Error() string
func (*PvNotFoundError) Reason ¶
func (e *PvNotFoundError) Reason() string
type PvSelectorError ¶
type PvSelectorError struct {
// contains filtered or unexported fields
}
func (*PvSelectorError) Action ¶
func (e *PvSelectorError) Action() string
func (PvSelectorError) Error ¶
func (m PvSelectorError) Error() string
func (*PvSelectorError) Reason ¶
func (e *PvSelectorError) Reason() string
type RegistryClassForbiddenError ¶
type RegistryClassForbiddenError struct {
// contains filtered or unexported fields
}
func (RegistryClassForbiddenError) Error ¶
func (f RegistryClassForbiddenError) Error() (err string)
type RunningInOutOfClusterModeError ¶
type RunningInOutOfClusterModeError struct{}
func (RunningInOutOfClusterModeError) Error ¶
func (r RunningInOutOfClusterModeError) Error() string
type StorageClassError ¶
type StorageClassError struct {
// contains filtered or unexported fields
}
func (StorageClassError) Error ¶
func (e StorageClassError) Error() string
type StorageClassForbiddenError ¶
type StorageClassForbiddenError struct {
// contains filtered or unexported fields
}
func (StorageClassForbiddenError) Error ¶
func (f StorageClassForbiddenError) Error() string
type StorageClassNotValidError ¶
type StorageClassNotValidError struct {
// contains filtered or unexported fields
}
func (StorageClassNotValidError) Error ¶
func (s StorageClassNotValidError) Error() (err string)
Click to show internal directories.
Click to hide internal directories.