istio: istio.io/istio/galley/pkg/config/analysis/msg Index | Files

package msg

import "istio.io/istio/galley/pkg/config/analysis/msg"

Index

Package Files

messages.gen.go messages.go

Variables

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 Uses

func All() []*diag.MessageType

All returns a list of all known message types.

func NewAlphaAnnotation Uses

func NewAlphaAnnotation(r *resource.Instance, annotation string) diag.Message

NewAlphaAnnotation returns a new diag.Message based on AlphaAnnotation.

func NewConflictingMeshGatewayVirtualServiceHosts Uses

func NewConflictingMeshGatewayVirtualServiceHosts(r *resource.Instance, virtualServices string, host string) diag.Message

NewConflictingMeshGatewayVirtualServiceHosts returns a new diag.Message based on ConflictingMeshGatewayVirtualServiceHosts.

func NewConflictingSidecarWorkloadSelectors Uses

func NewConflictingSidecarWorkloadSelectors(r *resource.Instance, conflictingSidecars []string, namespace string, workloadPod string) diag.Message

NewConflictingSidecarWorkloadSelectors returns a new diag.Message based on ConflictingSidecarWorkloadSelectors.

func NewDeploymentAssociatedToMultipleServices Uses

func NewDeploymentAssociatedToMultipleServices(r *resource.Instance, deployment string, port int32, services []string) diag.Message

NewDeploymentAssociatedToMultipleServices returns a new diag.Message based on DeploymentAssociatedToMultipleServices.

func NewDeploymentConflictingPorts Uses

func NewDeploymentConflictingPorts(r *resource.Instance, deployment string, services []string, targetPort string, ports []int32) diag.Message

NewDeploymentConflictingPorts returns a new diag.Message based on DeploymentConflictingPorts.

func NewDeploymentRequiresServiceAssociated Uses

func NewDeploymentRequiresServiceAssociated(r *resource.Instance) diag.Message

NewDeploymentRequiresServiceAssociated returns a new diag.Message based on DeploymentRequiresServiceAssociated.

func NewDeprecated Uses

func NewDeprecated(r *resource.Instance, detail string) diag.Message

NewDeprecated returns a new diag.Message based on Deprecated.

func NewDeprecatedAnnotation Uses

func NewDeprecatedAnnotation(r *resource.Instance, annotation string) diag.Message

NewDeprecatedAnnotation returns a new diag.Message based on DeprecatedAnnotation.

func NewGatewayPortNotOnWorkload Uses

func NewGatewayPortNotOnWorkload(r *resource.Instance, selector string, port int) diag.Message

NewGatewayPortNotOnWorkload returns a new diag.Message based on GatewayPortNotOnWorkload.

func NewInternalError Uses

func NewInternalError(r *resource.Instance, detail string) diag.Message

NewInternalError returns a new diag.Message based on InternalError.

func NewInvalidAnnotation Uses

func NewInvalidAnnotation(r *resource.Instance, annotation string, problem string) diag.Message

NewInvalidAnnotation returns a new diag.Message based on InvalidAnnotation.

func NewInvalidRegexp Uses

func NewInvalidRegexp(r *resource.Instance, where string, re string, problem string) diag.Message

NewInvalidRegexp returns a new diag.Message based on InvalidRegexp.

func NewIstioProxyImageMismatch Uses

func NewIstioProxyImageMismatch(r *resource.Instance, proxyImage string, injectionImage string) diag.Message

NewIstioProxyImageMismatch returns a new diag.Message based on IstioProxyImageMismatch.

func NewJwtFailureDueToInvalidServicePortPrefix Uses

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 Uses

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.

func NewMisplacedAnnotation Uses

func NewMisplacedAnnotation(r *resource.Instance, annotation string, kind string) diag.Message

NewMisplacedAnnotation returns a new diag.Message based on MisplacedAnnotation.

func NewMultipleSidecarsWithoutWorkloadSelectors Uses

func NewMultipleSidecarsWithoutWorkloadSelectors(r *resource.Instance, conflictingSidecars []string, namespace string) diag.Message

NewMultipleSidecarsWithoutWorkloadSelectors returns a new diag.Message based on MultipleSidecarsWithoutWorkloadSelectors.

func NewNamespaceMultipleInjectionLabels Uses

func NewNamespaceMultipleInjectionLabels(r *resource.Instance, namespace string, namespace2 string) diag.Message

NewNamespaceMultipleInjectionLabels returns a new diag.Message based on NamespaceMultipleInjectionLabels.

func NewNamespaceNotInjected Uses

func NewNamespaceNotInjected(r *resource.Instance, namespace string, namespace2 string) diag.Message

NewNamespaceNotInjected returns a new diag.Message based on NamespaceNotInjected.

func NewNoMatchingWorkloadsFound Uses

func NewNoMatchingWorkloadsFound(r *resource.Instance, labels string) diag.Message

NewNoMatchingWorkloadsFound returns a new diag.Message based on NoMatchingWorkloadsFound.

func NewNoServerCertificateVerificationDestinationLevel Uses

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 Uses

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.

func NewPodMissingProxy Uses

func NewPodMissingProxy(r *resource.Instance) diag.Message

NewPodMissingProxy returns a new diag.Message based on PodMissingProxy.

func NewPortNameIsNotUnderNamingConvention Uses

func NewPortNameIsNotUnderNamingConvention(r *resource.Instance, portName string, port int, targetPort string) diag.Message

NewPortNameIsNotUnderNamingConvention returns a new diag.Message based on PortNameIsNotUnderNamingConvention.

func NewReferencedResourceNotFound Uses

func NewReferencedResourceNotFound(r *resource.Instance, reftype string, refval string) diag.Message

NewReferencedResourceNotFound returns a new diag.Message based on ReferencedResourceNotFound.

func NewSchemaValidationError Uses

func NewSchemaValidationError(r *resource.Instance, err error) diag.Message

NewSchemaValidationError returns a new diag.Message based on SchemaValidationError.

func NewSchemaWarning Uses

func NewSchemaWarning(r *resource.Instance, err error) diag.Message

NewSchemaWarning returns a new diag.Message based on SchemaWarning.

func NewServiceEntryAddressesRequired Uses

func NewServiceEntryAddressesRequired(r *resource.Instance) diag.Message

NewServiceEntryAddressesRequired returns a new diag.Message based on ServiceEntryAddressesRequired.

func NewUnknownAnnotation Uses

func NewUnknownAnnotation(r *resource.Instance, annotation string) diag.Message

NewUnknownAnnotation returns a new diag.Message based on UnknownAnnotation.

func NewUnknownMeshNetworksServiceRegistry Uses

func NewUnknownMeshNetworksServiceRegistry(r *resource.Instance, serviceregistry string, network string) diag.Message

NewUnknownMeshNetworksServiceRegistry returns a new diag.Message based on UnknownMeshNetworksServiceRegistry.

func NewVirtualServiceDestinationPortSelectorRequired Uses

func NewVirtualServiceDestinationPortSelectorRequired(r *resource.Instance, destHost string, destPorts []int) diag.Message

NewVirtualServiceDestinationPortSelectorRequired returns a new diag.Message based on VirtualServiceDestinationPortSelectorRequired.

func NewVirtualServiceHostNotFoundInGateway Uses

func NewVirtualServiceHostNotFoundInGateway(r *resource.Instance, host []string, virtualservice string, gateway string) diag.Message

NewVirtualServiceHostNotFoundInGateway returns a new diag.Message based on VirtualServiceHostNotFoundInGateway.

func NewVirtualServiceIneffectiveMatch Uses

func NewVirtualServiceIneffectiveMatch(r *resource.Instance, ruleno string, matchno string, dupno string) diag.Message

NewVirtualServiceIneffectiveMatch returns a new diag.Message based on VirtualServiceIneffectiveMatch.

func NewVirtualServiceUnreachableRule Uses

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.