Versions in this module Expand all Collapse all v3 v3.1.1 Dec 30, 2020 Changes in this version + const Calico + const CalicoID + const IPAMBlockAttributeNamespace + const IPAMBlockAttributeNode + const IPAMBlockAttributePod + const IPAMBlockAttributePool + const IPAMBlockAttributeType + const IPAMBlockAttributeVm + const IPAMBlockAttributeWorkloadType + const IPAMBlockAttributeWorkspace + const IPPoolFinalizer + const IPPoolIDLabel + const IPPoolNameLabel + const IPPoolTypeLabel + const Pod + const PodID + const Porter + const PorterID + const ReservedHandle + const ReservedNote + const ResourceKindIPAMBlock + const ResourceKindIPAMHandle + const ResourceKindIPPool + const ResourceKindNamespaceNetworkPolicy + const ResourcePluralIPAMBlock + const ResourcePluralIPAMHandle + const ResourcePluralIPPool + const ResourcePluralNamespaceNetworkPolicy + const ResourceSingularIPAMBlock + const ResourceSingularIPAMHandle + const ResourceSingularIPPool + const ResourceSingularNamespaceNetworkPolicy + const VLAN + const VLANIDEnd + const VLANIDStart + var AddToScheme = SchemeBuilder.AddToScheme + var SchemeBuilder = &scheme.Builder + var SchemeGroupVersion = schema.GroupVersion + func ConvertToBlockName(k string) string + func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition + func Resource(resource string) schema.GroupResource + type AllocationAttribute struct + AttrPrimary string + AttrSecondary map[string]string + func (in *AllocationAttribute) DeepCopy() *AllocationAttribute + func (in *AllocationAttribute) DeepCopyInto(out *AllocationAttribute) + type DNS struct + Domain string + Nameservers []string + Options []string + Search []string + func (in *DNS) DeepCopy() *DNS + func (in *DNS) DeepCopyInto(out *DNS) + type IPAMBlock struct + Spec IPAMBlockSpec + func NewBlock(pool *IPPool, cidr cnet.IPNet, rsvdAttr *ReservedAttr) *IPAMBlock + func (b *IPAMBlock) AutoAssign(num int, handleID string, attrs map[string]string) []cnet.IPNet + func (b *IPAMBlock) BlockName() string + func (b *IPAMBlock) Empty() bool + func (b *IPAMBlock) ID() uint32 + func (b *IPAMBlock) IPToOrdinal(ip cnet.IP) (int, error) + func (b *IPAMBlock) IsDeleted() bool + func (b *IPAMBlock) MarkDeleted() + func (b *IPAMBlock) NumAddresses() int + func (b *IPAMBlock) NumFreeAddresses() int + func (b *IPAMBlock) NumReservedAddresses() int + func (b *IPAMBlock) ReleaseByHandle(handleID string) int + func (b *IPAMBlock) String() string + func (in *IPAMBlock) DeepCopy() *IPAMBlock + func (in *IPAMBlock) DeepCopyInto(out *IPAMBlock) + func (in *IPAMBlock) DeepCopyObject() runtime.Object + type IPAMBlockList struct + Items []IPAMBlock + func (in *IPAMBlockList) DeepCopy() *IPAMBlockList + func (in *IPAMBlockList) DeepCopyInto(out *IPAMBlockList) + func (in *IPAMBlockList) DeepCopyObject() runtime.Object + type IPAMBlockSpec struct + Allocations []*int + Attributes []AllocationAttribute + CIDR string + Deleted bool + ID uint32 + Unallocated []int + func (in *IPAMBlockSpec) DeepCopy() *IPAMBlockSpec + func (in *IPAMBlockSpec) DeepCopyInto(out *IPAMBlockSpec) + type IPAMHandle struct + Spec IPAMHandleSpec + func (h *IPAMHandle) DecrementBlock(block *IPAMBlock, num int) (*int, error) + func (h *IPAMHandle) Empty() bool + func (h *IPAMHandle) IncrementBlock(block *IPAMBlock, num int) int + func (h *IPAMHandle) IsDeleted() bool + func (h *IPAMHandle) MarkDeleted() + func (in *IPAMHandle) DeepCopy() *IPAMHandle + func (in *IPAMHandle) DeepCopyInto(out *IPAMHandle) + func (in *IPAMHandle) DeepCopyObject() runtime.Object + type IPAMHandleList struct + Items []IPAMHandle + func (in *IPAMHandleList) DeepCopy() *IPAMHandleList + func (in *IPAMHandleList) DeepCopyInto(out *IPAMHandleList) + func (in *IPAMHandleList) DeepCopyObject() runtime.Object + type IPAMHandleSpec struct + Block map[string]int + Deleted bool + HandleID string + func (in *IPAMHandleSpec) DeepCopy() *IPAMHandleSpec + func (in *IPAMHandleSpec) DeepCopyInto(out *IPAMHandleSpec) + type IPPool struct + Spec IPPoolSpec + Status IPPoolStatus + func (b IPPool) EndReservedAddressed() int + func (b IPPool) IPToOrdinal(ip cnet.IP) (int, error) + func (b IPPool) NumAddresses() int + func (b IPPool) NumReservedAddresses() int + func (b IPPool) StartReservedAddressed() int + func (in *IPPool) DeepCopy() *IPPool + func (in *IPPool) DeepCopyInto(out *IPPool) + func (in *IPPool) DeepCopyObject() runtime.Object + func (p IPPool) Disabled() bool + func (p IPPool) TypeInvalid() bool + func (p IPPool) V4() bool + func (pool IPPool) ID() uint32 + type IPPoolList struct + Items []IPPool + func (in *IPPoolList) DeepCopy() *IPPoolList + func (in *IPPoolList) DeepCopyInto(out *IPPoolList) + func (in *IPPoolList) DeepCopyObject() runtime.Object + type IPPoolSpec struct + BlockSize int + CIDR string + DNS DNS + Disabled bool + Gateway string + Namespace string + RangeEnd string + RangeStart string + Routes []Route + Type string + VLAN VLANConfig + Workspace string + func (in *IPPoolSpec) DeepCopy() *IPPoolSpec + func (in *IPPoolSpec) DeepCopyInto(out *IPPoolSpec) + type IPPoolStatus struct + Allocations int + Capacity int + Reserved int + Synced bool + Unallocated int + func (in *IPPoolStatus) DeepCopy() *IPPoolStatus + func (in *IPPoolStatus) DeepCopyInto(out *IPPoolStatus) + type NamespaceNetworkPolicy struct + Spec NamespaceNetworkPolicySpec + func (in *NamespaceNetworkPolicy) DeepCopy() *NamespaceNetworkPolicy + func (in *NamespaceNetworkPolicy) DeepCopyInto(out *NamespaceNetworkPolicy) + func (in *NamespaceNetworkPolicy) DeepCopyObject() runtime.Object + type NamespaceNetworkPolicyList struct + Items []NamespaceNetworkPolicy + func (in *NamespaceNetworkPolicyList) DeepCopy() *NamespaceNetworkPolicyList + func (in *NamespaceNetworkPolicyList) DeepCopyInto(out *NamespaceNetworkPolicyList) + func (in *NamespaceNetworkPolicyList) DeepCopyObject() runtime.Object + type NamespaceNetworkPolicySpec struct + Egress []NetworkPolicyEgressRule + Ingress []NetworkPolicyIngressRule + PolicyTypes []k8snet.PolicyType + func (in *NamespaceNetworkPolicySpec) DeepCopy() *NamespaceNetworkPolicySpec + func (in *NamespaceNetworkPolicySpec) DeepCopyInto(out *NamespaceNetworkPolicySpec) + type NamespaceSelector struct + Name string + func (in *NamespaceSelector) DeepCopy() *NamespaceSelector + func (in *NamespaceSelector) DeepCopyInto(out *NamespaceSelector) + type NetworkPolicyEgressRule struct + Ports []k8snet.NetworkPolicyPort + To []NetworkPolicyPeer + func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule + func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule) + type NetworkPolicyIngressRule struct + From []NetworkPolicyPeer + Ports []k8snet.NetworkPolicyPort + func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule + func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) + type NetworkPolicyPeer struct + IPBlock *k8snet.IPBlock + NamespaceSelector *NamespaceSelector + ServiceSelector *ServiceSelector + func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer + func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) + type ReservedAttr struct + EndOfBlock int + Handle string + Note string + StartOfBlock int + func (in *ReservedAttr) DeepCopy() *ReservedAttr + func (in *ReservedAttr) DeepCopyInto(out *ReservedAttr) + type Route struct + Dst string + GW string + func (in *Route) DeepCopy() *Route + func (in *Route) DeepCopyInto(out *Route) + type ServiceSelector struct + Name string + Namespace string + func (in *ServiceSelector) DeepCopy() *ServiceSelector + func (in *ServiceSelector) DeepCopyInto(out *ServiceSelector) + type VLANConfig struct + Master string + VlanId uint32 + func (in *VLANConfig) DeepCopy() *VLANConfig + func (in *VLANConfig) DeepCopyInto(out *VLANConfig) Other modules containing this package github.com/fearlesschenc/kubesphere