import "istio.io/istio/galley/pkg/config/analysis/msg"
var ( InternalError = diag.NewMessageType(diag.Error, "IST0001", "Internal error: %v") Deprecated = diag.NewMessageType(diag.Warning, "IST0002", "Deprecated: %s") ReferencedResourceNotFound = diag.NewMessageType(diag.Error, "IST0101", "Referenced %s not found: %q") NamespaceNotInjected = diag.NewMessageType(diag.Info, "IST0102", "" /* 227 byte string literal not displayed */) PodMissingProxy = diag.NewMessageType(diag.Warning, "IST0103", "The pod is missing the Istio proxy. This can often be resolved by restarting or redeploying the workload.") GatewayPortNotOnWorkload = diag.NewMessageType(diag.Warning, "IST0104", "The gateway refers to a port that is not exposed on the workload (pod selector %s; port %d)") IstioProxyImageMismatch = diag.NewMessageType(diag.Warning, "IST0105", "" /* 265 byte string literal not displayed */) SchemaValidationError = diag.NewMessageType(diag.Error, "IST0106", "Schema validation error: %v") MisplacedAnnotation = diag.NewMessageType(diag.Warning, "IST0107", "Misplaced annotation: %s can only be applied to %s") UnknownAnnotation = diag.NewMessageType(diag.Warning, "IST0108", "Unknown annotation: %s") ConflictingMeshGatewayVirtualServiceHosts = diag.NewMessageType(diag.Error, "IST0109", "" /* 200 byte string literal not displayed */) ConflictingSidecarWorkloadSelectors = diag.NewMessageType(diag.Error, "IST0110", "The Sidecars %v in namespace %q select the same workload pod %q, which can lead to undefined behavior.") MultipleSidecarsWithoutWorkloadSelectors = diag.NewMessageType(diag.Error, "IST0111", "The Sidecars %v in namespace %q have no workload selector, which can lead to undefined behavior.") VirtualServiceDestinationPortSelectorRequired = diag.NewMessageType(diag.Error, "IST0112", "" /* 142 byte string literal not displayed */) MTLSPolicyConflict = diag.NewMessageType(diag.Error, "IST0113", "" /* 173 byte string literal not displayed */) DeploymentAssociatedToMultipleServices = diag.NewMessageType(diag.Warning, "IST0116", "This deployment %s is associated with multiple services using port %d but different protocols: %v") DeploymentRequiresServiceAssociated = diag.NewMessageType(diag.Warning, "IST0117", "No service associated with this deployment. Service mesh deployments must be associated with a service.") PortNameIsNotUnderNamingConvention = diag.NewMessageType(diag.Info, "IST0118", "Port name %s (port: %d, targetPort: %s) doesn't follow the naming convention of Istio port.") JwtFailureDueToInvalidServicePortPrefix = diag.NewMessageType(diag.Warning, "IST0119", "" /* 132 byte string literal not displayed */) InvalidRegexp = diag.NewMessageType(diag.Warning, "IST0122", "Field %q regular expression invalid: %q (%s)") NamespaceMultipleInjectionLabels = diag.NewMessageType(diag.Warning, "IST0123", "" /* 153 byte string literal not displayed */) InvalidAnnotation = diag.NewMessageType(diag.Warning, "IST0125", "Invalid annotation %s: %s") UnknownMeshNetworksServiceRegistry = diag.NewMessageType(diag.Error, "IST0126", "Unknown service registry %s in network %s") NoMatchingWorkloadsFound = diag.NewMessageType(diag.Warning, "IST0127", "No matching workloads for this resource with the following labels: %s") NoServerCertificateVerificationDestinationLevel = diag.NewMessageType(diag.Error, "IST0128", "" /* 130 byte string literal not displayed */) NoServerCertificateVerificationPortLevel = diag.NewMessageType(diag.Warning, "IST0129", "" /* 141 byte string literal not displayed */) VirtualServiceUnreachableRule = diag.NewMessageType(diag.Warning, "IST0130", "VirtualService rule %v not used (%s).") VirtualServiceIneffectiveMatch = diag.NewMessageType(diag.Info, "IST0131", "VirtualService rule %v match %v is not used (duplicates a match in rule %v).") VirtualServiceHostNotFoundInGateway = diag.NewMessageType(diag.Warning, "IST0132", "one or more host %v defined in VirtualService %s not found in Gateway %s.") SchemaWarning = diag.NewMessageType(diag.Warning, "IST0133", "Schema validation warning: %v") ServiceEntryAddressesRequired = diag.NewMessageType(diag.Warning, "IST0134", "ServiceEntry addresses are required for this protocol.") DeprecatedAnnotation = diag.NewMessageType(diag.Info, "IST0135", "Annotation %q has been deprecated and may not work in future Istio versions.") AlphaAnnotation = diag.NewMessageType(diag.Info, "IST0136", "Annotation %q is part of an alpha-phase feature and may be incompletely supported.") DeploymentConflictingPorts = diag.NewMessageType(diag.Warning, "IST0137", "This deployment %s is associated with multiple services %v using targetPort %q but different ports: %v.") )
func All() []*diag.MessageType
All returns a list of all known message types.
NewAlphaAnnotation returns a new diag.Message based on AlphaAnnotation.
func NewConflictingMeshGatewayVirtualServiceHosts(r *resource.Instance, virtualServices string, host string) diag.Message
NewConflictingMeshGatewayVirtualServiceHosts returns a new diag.Message based on ConflictingMeshGatewayVirtualServiceHosts.
func NewConflictingSidecarWorkloadSelectors(r *resource.Instance, conflictingSidecars []string, namespace string, workloadPod string) diag.Message
NewConflictingSidecarWorkloadSelectors returns a new diag.Message based on ConflictingSidecarWorkloadSelectors.
func NewDeploymentAssociatedToMultipleServices(r *resource.Instance, deployment string, port int32, services []string) diag.Message
NewDeploymentAssociatedToMultipleServices returns a new diag.Message based on DeploymentAssociatedToMultipleServices.
func NewDeploymentConflictingPorts(r *resource.Instance, deployment string, services []string, targetPort string, ports []int32) diag.Message
NewDeploymentConflictingPorts returns a new diag.Message based on DeploymentConflictingPorts.
NewDeploymentRequiresServiceAssociated returns a new diag.Message based on DeploymentRequiresServiceAssociated.
NewDeprecated returns a new diag.Message based on Deprecated.
NewDeprecatedAnnotation returns a new diag.Message based on DeprecatedAnnotation.
NewGatewayPortNotOnWorkload returns a new diag.Message based on GatewayPortNotOnWorkload.
NewInternalError returns a new diag.Message based on InternalError.
NewInvalidAnnotation returns a new diag.Message based on InvalidAnnotation.
NewInvalidRegexp returns a new diag.Message based on InvalidRegexp.
func NewIstioProxyImageMismatch(r *resource.Instance, proxyImage string, injectionImage string) diag.Message
NewIstioProxyImageMismatch returns a new diag.Message based on IstioProxyImageMismatch.
func NewJwtFailureDueToInvalidServicePortPrefix(r *resource.Instance, port int, portName string, protocol string, targetPort string) diag.Message
NewJwtFailureDueToInvalidServicePortPrefix returns a new diag.Message based on JwtFailureDueToInvalidServicePortPrefix.
func NewMTLSPolicyConflict(r *resource.Instance, host string, destinationRuleName string, destinationRuleMTLSMode bool, policyName string, policyMTLSMode string) diag.Message
NewMTLSPolicyConflict returns a new diag.Message based on MTLSPolicyConflict.
NewMisplacedAnnotation returns a new diag.Message based on MisplacedAnnotation.
func NewMultipleSidecarsWithoutWorkloadSelectors(r *resource.Instance, conflictingSidecars []string, namespace string) diag.Message
NewMultipleSidecarsWithoutWorkloadSelectors returns a new diag.Message based on MultipleSidecarsWithoutWorkloadSelectors.
func NewNamespaceMultipleInjectionLabels(r *resource.Instance, namespace string, namespace2 string) diag.Message
NewNamespaceMultipleInjectionLabels returns a new diag.Message based on NamespaceMultipleInjectionLabels.
func NewNamespaceNotInjected(r *resource.Instance, namespace string, namespace2 string) diag.Message
NewNamespaceNotInjected returns a new diag.Message based on NamespaceNotInjected.
NewNoMatchingWorkloadsFound returns a new diag.Message based on NoMatchingWorkloadsFound.
func NewNoServerCertificateVerificationDestinationLevel(r *resource.Instance, destinationrule string, namespace string, mode string, host string) diag.Message
NewNoServerCertificateVerificationDestinationLevel returns a new diag.Message based on NoServerCertificateVerificationDestinationLevel.
func NewNoServerCertificateVerificationPortLevel(r *resource.Instance, destinationrule string, namespace string, mode string, host string, port string) diag.Message
NewNoServerCertificateVerificationPortLevel returns a new diag.Message based on NoServerCertificateVerificationPortLevel.
NewPodMissingProxy returns a new diag.Message based on PodMissingProxy.
func NewPortNameIsNotUnderNamingConvention(r *resource.Instance, portName string, port int, targetPort string) diag.Message
NewPortNameIsNotUnderNamingConvention returns a new diag.Message based on PortNameIsNotUnderNamingConvention.
func NewReferencedResourceNotFound(r *resource.Instance, reftype string, refval string) diag.Message
NewReferencedResourceNotFound returns a new diag.Message based on ReferencedResourceNotFound.
NewSchemaValidationError returns a new diag.Message based on SchemaValidationError.
NewSchemaWarning returns a new diag.Message based on SchemaWarning.
NewServiceEntryAddressesRequired returns a new diag.Message based on ServiceEntryAddressesRequired.
NewUnknownAnnotation returns a new diag.Message based on UnknownAnnotation.
func NewUnknownMeshNetworksServiceRegistry(r *resource.Instance, serviceregistry string, network string) diag.Message
NewUnknownMeshNetworksServiceRegistry returns a new diag.Message based on UnknownMeshNetworksServiceRegistry.
func NewVirtualServiceDestinationPortSelectorRequired(r *resource.Instance, destHost string, destPorts []int) diag.Message
NewVirtualServiceDestinationPortSelectorRequired returns a new diag.Message based on VirtualServiceDestinationPortSelectorRequired.
func NewVirtualServiceHostNotFoundInGateway(r *resource.Instance, host []string, virtualservice string, gateway string) diag.Message
NewVirtualServiceHostNotFoundInGateway returns a new diag.Message based on VirtualServiceHostNotFoundInGateway.
func NewVirtualServiceIneffectiveMatch(r *resource.Instance, ruleno string, matchno string, dupno string) diag.Message
NewVirtualServiceIneffectiveMatch returns a new diag.Message based on VirtualServiceIneffectiveMatch.
func NewVirtualServiceUnreachableRule(r *resource.Instance, ruleno string, reason string) diag.Message
NewVirtualServiceUnreachableRule returns a new diag.Message based on VirtualServiceUnreachableRule.
Package msg imports 2 packages (graph) and is imported by 15 packages. Updated 2021-01-25. Refresh now. Tools for package owners.