Versions in this module Expand all Collapse all v0 v0.8.2 Apr 14, 2017 Changes in this version type Owner + GetStateDir func() string v0.8.1 Apr 6, 2017 v0.8.0 Mar 28, 2017 Changes in this version + const CiliumGlobalIdPrefix + const CiliumLocalIdPrefix + const ContainerIdPrefix + const DockerEndpointPrefix + const OptionAllowToHost + const OptionAllowToWorld + const OptionConntrack + const OptionConntrackAccounting + const OptionDebug + const OptionDropNotify + const OptionNAT46 + const OptionPolicy + const ProxyMaxElements + const StateCreating + const StateDisconnected + const StateReady + const StateWaitingForIdentity + var EndpointMutableOptionLibrary = option.OptionLibrary + var EndpointOptionLibrary = option.OptionLibrary + var IPv4Enabled = true + var OptionSpecAllowToHost = option.Option + var OptionSpecAllowToWorld = option.Option + var OptionSpecConntrack = option.Option + var OptionSpecConntrackAccounting = option.Option + var OptionSpecDebug = option.Option + var OptionSpecDropNotify = option.Option + var OptionSpecNAT46 = option.Option + var OptionSpecPolicy = option.Option + func Ct4MapPath(id int) string + func Ct6MapPath(id int) string + func FilterEPDir(dirFiles []os.FileInfo) []string + func NewCiliumID(id int64) string + func NewID(prefix PrefixType, id string) string + func OptionChanged(key string, value bool, data interface{}) + func OrderEndpointAsc(eps []Endpoint) + func ParseBase64ToEndpoint(str string, ep *Endpoint) error + func ParseCiliumID(id string) (int64, error) + func PolicyMapPath(id int) string + type Endpoint struct + Consumable *policy.Consumable + DockerEndpointID string + DockerID string + DockerNetworkID string + ID uint16 + IPv4 addressing.CiliumIPv4 + IPv6 addressing.CiliumIPv6 + IfIndex int + IfName string + LXCMAC mac.MAC + NodeIP net.IP + NodeMAC mac.MAC + Opts *option.BoolOptions + PolicyCalculated bool + PolicyMap *policymap.PolicyMap + PortMap []PortMap + SecLabel *policy.Identity + State string + Status *EndpointStatus + func NewEndpointFromChangeModel(base *models.EndpointChangeRequest) (*Endpoint, error) + func ParseEndpoint(strEp string) (*Endpoint, error) + func (e *Endpoint) Allows(id policy.NumericIdentity) bool + func (e *Endpoint) ApplyOpts(opts map[string]string) bool + func (e *Endpoint) CreateDirectory() error + func (e *Endpoint) Ct4MapPath() string + func (e *Endpoint) Ct6MapPath() string + func (e *Endpoint) DeepCopy() *Endpoint + func (e *Endpoint) DirectoryPath() string + func (e *Endpoint) GetIdentity() policy.NumericIdentity + func (e *Endpoint) GetModel() *models.Endpoint + func (e *Endpoint) InvalidatePolicy() + func (e *Endpoint) Leave(owner Owner) + func (e *Endpoint) LogStatus(typ StatusType, code StatusCode, msg string) + func (e *Endpoint) LogStatusOK(typ StatusType, msg string) + func (e *Endpoint) PolicyMapPath() string + func (e *Endpoint) Regenerate(owner Owner) error + func (e *Endpoint) RegenerateIfReady(owner Owner) error + func (e *Endpoint) RemoveDirectory() + func (e *Endpoint) SetDefaultOpts(opts *option.BoolOptions) + func (e *Endpoint) SetID() + func (e *Endpoint) SetIdentity(owner Owner, id *policy.Identity) + func (e *Endpoint) StringID() string + func (e *Endpoint) TriggerPolicyUpdates(owner Owner) error + func (e *Endpoint) Update(owner Owner, opts models.ConfigurationMap) error + func (e Endpoint) Base64() (string, error) + func (e Endpoint) String() string + type EndpointStatus struct + CurrentStatuses componentStatus + Index int + Log statusLog + func NewEndpointStatus() *EndpointStatus + func (e *EndpointStatus) CurrentStatus() StatusCode + func (e *EndpointStatus) DeepCopy() *EndpointStatus + func (e *EndpointStatus) GetModel() []*models.EndpointStatusChange + func (e *EndpointStatus) String() string + type Owner interface + DryModeEnabled func() bool + GetBpfDir func() string + GetCachedLabelList func(ID policy.NumericIdentity) ([]labels.Label, error) + GetConsumableCache func() *policy.ConsumableCache + GetMaxLabelID func() (policy.NumericIdentity, error) + GetPolicyTree func() *policy.Tree + GetProxy func() *proxy.Proxy + GetRuntimeDir func() string + PolicyEnabled func() bool + TracingEnabled func() bool + WriteEndpoint func(ep *Endpoint) error + type PortMap struct + From uint16 + Proto uint8 + To uint16 + type PrefixType string + func ParseID(id string) (PrefixType, string, error) + func SplitID(id string) (PrefixType, string) + func ValidateID(id string) (PrefixType, string, error) + func (s PrefixType) String() string + type Status struct + Code StatusCode + Msg string + Type StatusType + func NewStatusOK(typ StatusType, info string) Status + func (s Status) String() string + type StatusCode int + const Disabled + const Failure + const OK + const Warning + func (sc StatusCode) ColorString() string + func (sc StatusCode) String() string + type StatusResponse struct + Cilium Status + Docker Status + IPAMStatus map[string][]string + KVStore Status + Kubernetes Status + Logstash Status + type StatusType int + const BPF + const Other + const Policy + type UpdateCompilationError struct + func (e UpdateCompilationError) Error() string + type UpdateValidationError struct + func (e UpdateValidationError) Error() string