Help us shape the future of Go! Take the 2026 Go Developer Survey

v1beta1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package v1beta1 contains the input type for this Function +kubebuilder:object:generate=true +groupName=cidr.fn.crossplane.io +versionName=v1beta1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameters

type Parameters struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// cidrfunc is one of cidrhost, cidrnetmast, cidesubnet, cidrsubnets, cidrsubnetloop
	CidrFunc string `json:"cidrFunc"`

	// prefix field
	PrefixField string `json:"prefixField,omitempty"`

	// prefix is a CIDR block that is used as input for CIDR calculations
	Prefix string `json:"prefix"`

	// hostnum field
	HostNumField string `json:"hostNumField,omitempty"`

	// hostnum
	HostNum int `json:"hostNum,omitempty"`

	// newbits field
	NewBitsField string `json:"newBitsField,omitempty"`

	// newbits
	NewBits []int `json:"newBits,omitempty"`

	// netnum field
	NetNumField string `json:"netNumField,omitempty"`

	// netnum
	NetNum int64 `json:"netNum,omitempty"`

	// netnumcount field
	NetNumCountField string `json:"netNumCountField,omitempty"`

	// netnumcount
	NetNumCount int64 `json:"netNumCount,omitempty"`

	// netnumitems field
	NetNumItemsField string `json:"netNumItemsField,omitempty"`

	// netnumitems
	NetNumItems []string `json:"netNumItems,omitempty"`

	// offset field
	OffsetField string `json:"offsetField,omitempty"`

	// offset is only used by cidrsubnetloop
	Offset int `json:"offset,omitempty"`

	// output field
	OutputField string `json:"outputField,omitempty"`
}

Parameters can be used to provide input to this Function. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:categories=crossplane

func (*Parameters) DeepCopy

func (in *Parameters) DeepCopy() *Parameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameters.

func (*Parameters) DeepCopyInto

func (in *Parameters) DeepCopyInto(out *Parameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Parameters) DeepCopyObject

func (in *Parameters) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Jump to

Keyboard shortcuts

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