Documentation ¶
Index ¶
- func BuildIPAMAllocation(nfName string, epName types.NamespacedName, spec ipamv1alpha1.IPAllocationSpec) (*kyaml.RNode, error)
- func BuildIPAMAllocationFn(nfName string, epName types.NamespacedName, spec ipamv1alpha1.IPAllocationSpec) (*fn.KubeObject, error)
- func GetIPAllocationSelectorMatchLabels(source *kyaml.RNode) (map[string]string, error)
- func GetPrefixKind(source *kyaml.RNode) string
- func GetPrefixLength(source *kyaml.RNode) (int, error)
- func GetValue(source *kyaml.RNode, fp string) (string, error)
- func MustGetValue(source *kyaml.RNode, fp string) string
- type IpamAllocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildIPAMAllocation ¶
func BuildIPAMAllocation(nfName string, epName types.NamespacedName, spec ipamv1alpha1.IPAllocationSpec) (*kyaml.RNode, error)
func BuildIPAMAllocationFn ¶
func BuildIPAMAllocationFn(nfName string, epName types.NamespacedName, spec ipamv1alpha1.IPAllocationSpec) (*fn.KubeObject, error)
func GetIPAllocationSelectorMatchLabels ¶ added in v0.0.5
func GetPrefixKind ¶ added in v0.0.5
Types ¶
type IpamAllocation ¶ added in v0.0.7
type IpamAllocation struct {
Obj fn.KubeObject
}
func (*IpamAllocation) GetSpec ¶ added in v0.0.7
func (r *IpamAllocation) GetSpec() (*ipamv1alpha1.IPAllocationSpec, error)
Click to show internal directories.
Click to hide internal directories.