istio: istio.io/istio/pilot/pkg/networking Index | Files | Directories

package networking

import "istio.io/istio/pilot/pkg/networking"

Index

Package Files

networking.go

Constants

const (
    // ListenerProtocolUnknown is an unknown type of listener.
    ListenerProtocolUnknown = iota
    // ListenerProtocolTCP is a TCP listener.
    ListenerProtocolTCP
    // ListenerProtocolHTTP is an HTTP listener.
    ListenerProtocolHTTP
    // ListenerProtocolThrift is a Thrift listener.
    ListenerProtocolThrift
    // ListenerProtocolAuto enables auto protocol detection
    ListenerProtocolAuto
)

type FilterChain Uses

type FilterChain struct {
    // FilterChainMatch is the match used to select the filter chain.
    FilterChainMatch *listener.FilterChainMatch
    // TLSContext is the TLS settings for this filter chains.
    TLSContext *auth.DownstreamTlsContext
    // ListenerFilters are the filters needed for the whole listener, not particular to this
    // filter chain.
    ListenerFilters []*listener.ListenerFilter
    // ListenerProtocol indicates whether this filter chain is for HTTP or TCP
    // Note that HTTP filter chains can also have network filters
    ListenerProtocol ListenerProtocol
    // HTTP is the set of HTTP filters for this filter chain
    HTTP []*http_conn.HttpFilter
    // Thrift is the set of Thrift filters for this filter chain
    Thrift []*thrift_proxy.ThriftFilter
    // TCP is the set of network (TCP) filters for this filter chain.
    TCP []*listener.Filter
    // IsFallthrough indicates if the filter chain is fallthrough.
    IsFallThrough bool
}

FilterChain describes a set of filters (HTTP or TCP) with a shared TLS context.

type ListenerProtocol Uses

type ListenerProtocol int

ListenerProtocol is the protocol associated with the listener.

func ModelProtocolToListenerProtocol Uses

func ModelProtocolToListenerProtocol(node *model.Proxy, p protocol.Instance,
    trafficDirection core.TrafficDirection) ListenerProtocol

ModelProtocolToListenerProtocol converts from a config.Protocol to its corresponding plugin.ListenerProtocol

type MutableObjects Uses

type MutableObjects struct {
    // Listener is the listener being built. Must be initialized before Plugin methods are called.
    Listener *xdsapi.Listener

    // FilterChains is the set of filter chains that will be attached to Listener.
    FilterChains []FilterChain
}

MutableObjects is a set of objects passed to On*Listener callbacks. Fields may be nil or empty. Any lists should not be overridden, but rather only appended to. Non-list fields may be mutated; however it's not recommended to do this since it can affect other plugins in the chain in unpredictable ways.

Directories

PathSynopsis
core
core/v1alpha3
core/v1alpha3/envoyfilter
core/v1alpha3/fakesCode generated by counterfeiter.
core/v1alpha3/loadbalancerpackages used for load balancer setting
core/v1alpha3/route
core/v1alpha3/route/retry
plugin
plugin/authn
plugin/authzPackage authz converts Istio RBAC (role-based-access-control) policies (ServiceRole and ServiceRoleBinding) to the Envoy RBAC filter config to enforce access control to the service co-located with Envoy.
plugin/health
plugin/mixer
plugin/mixer/client
plugin/registryPackage registry represents a registry of plugins that can be used by a config generator.
util

Package networking imports 9 packages (graph) and is imported by 9 packages. Updated 2020-03-30. Refresh now. Tools for package owners.