v2

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CCNP = "ciliumclusterwidenetworkpolicies.cilium.io"
)
View Source
const (
	CE = "ciliumendpoints.cilium.io"
)
View Source
const (
	CI = "ciliumidentities.cilium.io"
)
View Source
const (
	CLRP = "ciliumlocalredirectpolicies.cilium.io"
)
View Source
const (
	CN = "ciliumnodes.cilium.io"
)
View Source
const (
	CNP = "ciliumnetworkpolicies.cilium.io"
)

Variables

View Source
var CEManager = &CEMgr{
	staticList:   &ciliumV2.CiliumEndpointList{},
	elemTemplate: &ciliumV2.CiliumEndpoint{},
	streamCh:     make(chan k8sRuntime.Object),
}
View Source
var CIManager = &CIMgr{
	staticList:   &ciliumV2.CiliumIdentityList{},
	elemTemplate: &ciliumV2.CiliumIdentity{},
	streamCh:     make(chan k8sRuntime.Object),
}
View Source
var CLRPManager = &CLRPMgr{
	staticList:   &ciliumV2.CiliumLocalRedirectPolicyList{},
	elemTemplate: &ciliumV2.CiliumLocalRedirectPolicy{},
}
View Source
var CNPManager = &CNPMgr{
	staticList:   &ciliumV2.CiliumNetworkPolicyList{},
	elemTemplate: &ciliumV2.CiliumNetworkPolicy{},
}
View Source
var CiliumNodeManager = &CiliumNodeMgr{
	staticList:   &ciliumV2.CiliumNodeList{},
	elemTemplate: &ciliumV2.CiliumNode{},
	streamCh:     make(chan k8sRuntime.Object),
}

Functions

Types

type CCNPConfig

type CCNPConfig struct {
	Name string
	UID  string
}

type CCNPMgr

type CCNPMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*CCNPMgr) AddElements

func (n *CCNPMgr) AddElements(elem int64) int64

func (*CCNPMgr) List

func (n *CCNPMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*CCNPMgr) NewInterface

func (*CCNPMgr) NewInterface() k8sRuntime.Object

func (*CCNPMgr) NewListInterface

func (*CCNPMgr) NewListInterface() k8sRuntime.Object

func (*CCNPMgr) SetList

func (n *CCNPMgr) SetList(obj k8sRuntime.Object) error

func (*CCNPMgr) SetObj

func (n *CCNPMgr) SetObj(obj k8sRuntime.Object) error

type CEConfig

type CEConfig struct {
	Name        string
	Namespace   string
	ContainerID string
	OwnerUID    string
	UID         string
	LocalID     int64
	Identity    *ciliumV2.EndpointIdentity
	Networking  *ciliumV2.EndpointNetworking
}

type CEMgr

type CEMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*CEMgr) AddElements

func (n *CEMgr) AddElements(elem int64) int64

func (*CEMgr) GenObjs

func (n *CEMgr) GenObjs(start, maxElemts int64) <-chan k8sRuntime.Object

func (*CEMgr) List

func (n *CEMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*CEMgr) Log

func (*CEMgr) Log() *logrus.Logger

func (*CEMgr) NewInterface

func (*CEMgr) NewInterface() k8sRuntime.Object

func (*CEMgr) NewListInterface

func (*CEMgr) NewListInterface() k8sRuntime.Object

func (*CEMgr) SetList

func (n *CEMgr) SetList(obj k8sRuntime.Object) error

func (*CEMgr) SetObj

func (n *CEMgr) SetObj(obj k8sRuntime.Object) error

func (*CEMgr) Stream

func (n *CEMgr) Stream() chan k8sRuntime.Object

type CIConfig

type CIConfig struct {
	Name           string
	Namespace      string
	UUID           string
	Labels         map[string]string
	SecurityLabels map[string]string
}

type CIMgr

type CIMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*CIMgr) AddElements

func (n *CIMgr) AddElements(elem int64) int64

func (*CIMgr) GenObj

func (n *CIMgr) GenObj(idx int64) k8sRuntime.Object

func (*CIMgr) GenObjs

func (n *CIMgr) GenObjs(start, maxElemts int64) <-chan k8sRuntime.Object

func (*CIMgr) List

func (n *CIMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*CIMgr) Log

func (*CIMgr) Log() *logrus.Logger

func (*CIMgr) NewInterface

func (*CIMgr) NewInterface() k8sRuntime.Object

func (*CIMgr) NewListInterface

func (*CIMgr) NewListInterface() k8sRuntime.Object

func (*CIMgr) SetList

func (n *CIMgr) SetList(obj k8sRuntime.Object) error

func (*CIMgr) SetObj

func (n *CIMgr) SetObj(obj k8sRuntime.Object) error

func (*CIMgr) Stream

func (n *CIMgr) Stream() chan k8sRuntime.Object

type CLRPConfig

type CLRPConfig struct {
	Name string
	UUID string
}

type CLRPMgr

type CLRPMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*CLRPMgr) AddElements

func (n *CLRPMgr) AddElements(elem int64) int64

func (*CLRPMgr) List

func (n *CLRPMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*CLRPMgr) NewInterface

func (*CLRPMgr) NewInterface() k8sRuntime.Object

func (*CLRPMgr) NewListInterface

func (*CLRPMgr) NewListInterface() k8sRuntime.Object

func (*CLRPMgr) SetList

func (n *CLRPMgr) SetList(obj k8sRuntime.Object) error

func (*CLRPMgr) SetObj

func (n *CLRPMgr) SetObj(obj k8sRuntime.Object) error

type CNPConfig

type CNPConfig struct {
	Name string
	UUID string
}

type CNPMgr

type CNPMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*CNPMgr) AddElements

func (n *CNPMgr) AddElements(elem int64) int64

func (*CNPMgr) List

func (n *CNPMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*CNPMgr) NewInterface

func (*CNPMgr) NewInterface() k8sRuntime.Object

func (*CNPMgr) NewListInterface

func (*CNPMgr) NewListInterface() k8sRuntime.Object

func (*CNPMgr) SetList

func (n *CNPMgr) SetList(obj k8sRuntime.Object) error

func (*CNPMgr) SetObj

func (n *CNPMgr) SetObj(obj k8sRuntime.Object) error

type CiliumNodeConfig

type CiliumNodeConfig struct {
	Name           string
	IPv4           string
	IPv6           string
	PodCIDRv4      string
	PodCIDRv6      string
	CiliumHostIP   string
	CiliumHealthIP string
	UUID           string
	PodUUID        string
}

type CiliumNodeMgr

type CiliumNodeMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*CiliumNodeMgr) AddElements

func (n *CiliumNodeMgr) AddElements(elem int64) int64

func (*CiliumNodeMgr) GenObj

func (n *CiliumNodeMgr) GenObj(idx int64) k8sRuntime.Object

func (*CiliumNodeMgr) GenObjs

func (n *CiliumNodeMgr) GenObjs(start, maxElemts int64) <-chan k8sRuntime.Object

func (*CiliumNodeMgr) List

func (n *CiliumNodeMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*CiliumNodeMgr) Log

func (*CiliumNodeMgr) Log() *logrus.Logger

func (*CiliumNodeMgr) NewInterface

func (*CiliumNodeMgr) NewInterface() k8sRuntime.Object

func (*CiliumNodeMgr) NewListInterface

func (*CiliumNodeMgr) NewListInterface() k8sRuntime.Object

func (*CiliumNodeMgr) SetList

func (n *CiliumNodeMgr) SetList(obj k8sRuntime.Object) error

func (*CiliumNodeMgr) SetObj

func (n *CiliumNodeMgr) SetObj(obj k8sRuntime.Object) error

func (*CiliumNodeMgr) Stream

func (n *CiliumNodeMgr) Stream() chan k8sRuntime.Object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL