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.Warning, "IST0102", "" /* 226 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 */)

    PolicySpecifiesPortNameThatDoesntExist = diag.NewMessageType(diag.Warning, "IST0114", "Port name %s could not be found for host %s, which means the Policy won't be enforced.")

    DestinationRuleUsesMTLSForWorkloadWithoutSidecar = diag.NewMessageType(diag.Error, "IST0115", "DestinationRule %s uses mTLS for workload %s that has no sidecar. Traffic from workloads with sidecars will fail.")

    DeploymentAssociatedToMultipleServices = diag.NewMessageType(diag.Warning, "IST0116", "This deployment 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 */)

    PolicyResourceIsDeprecated = diag.NewMessageType(diag.Info, "IST0120", "The Policy resource is deprecated and will be removed in a future Istio release. Migrate to the PeerAuthentication resource.")

    MeshPolicyResourceIsDeprecated = diag.NewMessageType(diag.Info, "IST0121", "" /* 130 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 */)

    NamespaceInvalidInjectorRevision = diag.NewMessageType(diag.Warning, "IST0124", "" /* 165 byte string literal not displayed */)
)

func All Uses

func All() []*diag.MessageType

All returns a list of all known message types.

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 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 NewDestinationRuleUsesMTLSForWorkloadWithoutSidecar Uses

func NewDestinationRuleUsesMTLSForWorkloadWithoutSidecar(r *resource.Instance, destinationRuleName string, host string) diag.Message

NewDestinationRuleUsesMTLSForWorkloadWithoutSidecar returns a new diag.Message based on DestinationRuleUsesMTLSForWorkloadWithoutSidecar.

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 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 NewMeshPolicyResourceIsDeprecated Uses

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

NewMeshPolicyResourceIsDeprecated returns a new diag.Message based on MeshPolicyResourceIsDeprecated.

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 NewNamespaceInvalidInjectorRevision Uses

func NewNamespaceInvalidInjectorRevision(r *resource.Instance, unknownrevision string, namespace string, revisions string) diag.Message

NewNamespaceInvalidInjectorRevision returns a new diag.Message based on NamespaceInvalidInjectorRevision.

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 NewPodMissingProxy Uses

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

NewPodMissingProxy returns a new diag.Message based on PodMissingProxy.

func NewPolicyResourceIsDeprecated Uses

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

NewPolicyResourceIsDeprecated returns a new diag.Message based on PolicyResourceIsDeprecated.

func NewPolicySpecifiesPortNameThatDoesntExist Uses

func NewPolicySpecifiesPortNameThatDoesntExist(r *resource.Instance, portName string, host string) diag.Message

NewPolicySpecifiesPortNameThatDoesntExist returns a new diag.Message based on PolicySpecifiesPortNameThatDoesntExist.

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 NewUnknownAnnotation Uses

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

NewUnknownAnnotation returns a new diag.Message based on UnknownAnnotation.

func NewVirtualServiceDestinationPortSelectorRequired Uses

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

NewVirtualServiceDestinationPortSelectorRequired returns a new diag.Message based on VirtualServiceDestinationPortSelectorRequired.

Package msg imports 2 packages (graph) and is imported by 13 packages. Updated 2020-04-10. Refresh now. Tools for package owners.