Versions in this module Expand all Collapse all v0 v0.10.0 Jul 21, 2017 Changes in this version type CIDR + func (cidr CIDR) Validate() error v0.9.0 May 30, 2017 Changes in this version + type CIDR struct + IP string + type Decision byte + const Allowed + const Denied + const Undecided + func (d *Decision) UnmarshalJSON(b []byte) error + func (d Decision) MarshalJSON() ([]byte, error) + func (d Decision) String() string + type EgressRule struct + ToCIDR []CIDR + ToPorts []PortRule + func (e EgressRule) Validate() error + type EndpointSelector struct + func NewESFromK8sLabelSelector(srcPrefix string, ls *metav1.LabelSelector) EndpointSelector + func NewESFromLabels(lbls ...*labels.Label) EndpointSelector + func (n *EndpointSelector) Matches(lblsToMatch k8sLbls.Labels) bool + func (n *EndpointSelector) UnmarshalJSON(b []byte) error + func (n EndpointSelector) HasKeyPrefix(prefix string) bool + func (n EndpointSelector) MarshalJSON() ([]byte, error) + func (n EndpointSelector) String() string + type IngressRule struct + FromCIDR []CIDR + FromEndpoints []EndpointSelector + FromRequires []EndpointSelector + ToPorts []PortRule + func (i IngressRule) Validate() error + type L7Rules struct + HTTP []PortRuleHTTP + type PortProtocol struct + Port string + Protocol string + func (pp PortProtocol) Validate() error + type PortRule struct + Ports []PortProtocol + RedirectPort int + Rules *L7Rules + func (pr PortRule) Validate() error + type PortRuleHTTP struct + Headers []string + Host string + Method string + Path string + type Rule struct + Description string + Egress []EgressRule + EndpointSelector EndpointSelector + Ingress []IngressRule + Labels labels.LabelArray + func (r Rule) Validate() error + type Rules []*Rule v0.9.0-rc1 May 24, 2017