v1alpha1

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the ipam.cluster.x-k8s.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=ipam.cluster.x-k8s.io

Index

Constants

View Source
const (
	// AuthenticationFailedReason indicates that the credentials provided to Infoblox were invalid.
	AuthenticationFailedReason = "AuthenticationFailed"
	// NetworkViewNotFoundReason indicates that the specified network view could not be found on the Infoblox instance.
	NetworkViewNotFoundReason = "NetworkViewNotFound"
	// NetworkNotFoundReason indicates that the specified network could not be found on the Infoblox instance.
	NetworkNotFoundReason = "NetworkNotFound"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "ipam.cluster.x-k8s.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type InfobloxIPPool

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

	Spec   InfobloxIPPoolSpec   `json:"spec,omitempty"`
	Status InfobloxIPPoolStatus `json:"status,omitempty"`
}

InfobloxIPPool is the Schema for the InfobloxIPPools API.

func (*InfobloxIPPool) DeepCopy

func (in *InfobloxIPPool) DeepCopy() *InfobloxIPPool

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

func (*InfobloxIPPool) DeepCopyInto

func (in *InfobloxIPPool) DeepCopyInto(out *InfobloxIPPool)

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

func (*InfobloxIPPool) DeepCopyObject

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

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

func (*InfobloxIPPool) GetConditions

func (i *InfobloxIPPool) GetConditions() clusterv1.Conditions

GetConditions returns pool conditions.

func (*InfobloxIPPool) SetConditions

func (i *InfobloxIPPool) SetConditions(conditions clusterv1.Conditions)

SetConditions sets pool conditions.

type InfobloxIPPoolList

type InfobloxIPPoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []InfobloxIPPool `json:"items"`
}

InfobloxIPPoolList contains a list of InfobloxIPPool.

func (*InfobloxIPPoolList) DeepCopy

func (in *InfobloxIPPoolList) DeepCopy() *InfobloxIPPoolList

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

func (*InfobloxIPPoolList) DeepCopyInto

func (in *InfobloxIPPoolList) DeepCopyInto(out *InfobloxIPPoolList)

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

func (*InfobloxIPPoolList) DeepCopyObject

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

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

type InfobloxIPPoolSpec

type InfobloxIPPoolSpec struct {
	// Instance is the Infoblox instance to use.
	InstanceRef corev1.LocalObjectReference `json:"instance"`
	// Subnets is the subnet to assign IP addresses from.
	// Can be omitted if addresses or first, last and prefix are set.
	Subnets []Subnet `json:"subnets"`
	// NetworkView defines Infoblox netwok view to be used with pool.
	// +optional
	NetworkView string `json:"networkView,omitempty"`
	// DNSZone is the DNS zone within which hostnames will be allocated.
	// +optional
	DNSZone string `json:"dnsZone,omitempty"`
}

InfobloxIPPoolSpec defines the desired state of InfobloxIPPool.

func (*InfobloxIPPoolSpec) DeepCopy

func (in *InfobloxIPPoolSpec) DeepCopy() *InfobloxIPPoolSpec

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

func (*InfobloxIPPoolSpec) DeepCopyInto

func (in *InfobloxIPPoolSpec) DeepCopyInto(out *InfobloxIPPoolSpec)

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

type InfobloxIPPoolStatus

type InfobloxIPPoolStatus struct {
	Conditions clusterv1.Conditions `json:"conditions"`
}

InfobloxIPPoolStatus defines the observed state of InfobloxIPPool.

func (*InfobloxIPPoolStatus) DeepCopy

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

func (*InfobloxIPPoolStatus) DeepCopyInto

func (in *InfobloxIPPoolStatus) DeepCopyInto(out *InfobloxIPPoolStatus)

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

type InfobloxInstance

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

	Spec   InfobloxInstanceSpec   `json:"spec,omitempty"`
	Status InfobloxInstanceStatus `json:"status,omitempty"`
}

InfobloxInstance is the Schema for the infobloxinstances API.

func (*InfobloxInstance) DeepCopy

func (in *InfobloxInstance) DeepCopy() *InfobloxInstance

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

func (*InfobloxInstance) DeepCopyInto

func (in *InfobloxInstance) DeepCopyInto(out *InfobloxInstance)

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

func (*InfobloxInstance) DeepCopyObject

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

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

func (*InfobloxInstance) GetConditions

func (i *InfobloxInstance) GetConditions() clusterv1.Conditions

GetConditions gets cluster conditions.

func (*InfobloxInstance) SetConditions

func (i *InfobloxInstance) SetConditions(conditions clusterv1.Conditions)

SetConditions sets cluster conditions.

type InfobloxInstanceList

type InfobloxInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []InfobloxInstance `json:"items"`
}

InfobloxInstanceList contains a list of InfobloxInstance.

func (*InfobloxInstanceList) DeepCopy

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

func (*InfobloxInstanceList) DeepCopyInto

func (in *InfobloxInstanceList) DeepCopyInto(out *InfobloxInstanceList)

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

func (*InfobloxInstanceList) DeepCopyObject

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

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

type InfobloxInstanceSpec

type InfobloxInstanceSpec struct {
	// Endpoint is the API endpoint of the Infoblox instance.
	Host string `json:"host"`
	// Port
	// +kubebuilder:default="443"
	Port string `json:"port"`
	// WAPIVersion
	WAPIVersion string `json:"wapiVersion"`
	// CredentialsSecretRef is a reference to a secret containing the username and password to be used for authentication.
	// Both `username`/`password` and `clientCert`/`clientKey` are supported and one of either combination is required to be present as keys in the secret.
	CredentialsSecretRef corev1.LocalObjectReference `json:"credentialsSecretRef"`

	// DefaultNetworkView is the default network view used when interacting with Infoblox.
	// InfobloxIPPools will inherit this value when not explicitly specifying a network view.
	// +optional
	DefaultNetworkView string `json:"defaultNetworkView,omitempty"`
	// DisableTLSVerification if set 'true', certificates for SSL commuunication with Infoblox instance will be not verified
	DisableTLSVerification bool `json:"disableTLSVerification,omitempty"`
	// CustomCAPath can be used to point Infoblox client to a file with a list of accepted certificate authorities. Only used if DisableTLSVerification is set to 'false'.
	// + optional
	CustomCAPath string `json:"customCAPath,omitempty"`
}

InfobloxInstanceSpec defines the desired state of InfobloxInstance.

func (*InfobloxInstanceSpec) DeepCopy

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

func (*InfobloxInstanceSpec) DeepCopyInto

func (in *InfobloxInstanceSpec) DeepCopyInto(out *InfobloxInstanceSpec)

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

type InfobloxInstanceStatus

type InfobloxInstanceStatus struct {
	Conditions clusterv1.Conditions `json:"conditions"`
}

InfobloxInstanceStatus defines the observed state of InfobloxInstance.

func (*InfobloxInstanceStatus) DeepCopy

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

func (*InfobloxInstanceStatus) DeepCopyInto

func (in *InfobloxInstanceStatus) DeepCopyInto(out *InfobloxInstanceStatus)

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

type Subnet

type Subnet struct {
	// CIDR for the subnet.
	CIDR string `json:"cidr"`
	// Gateway for the subnet.
	// +optional
	Gateway string `json:"gateway,omitempty"`
}

Subnet defines the CIDR and Gateway.

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

Jump to

Keyboard shortcuts

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