Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the ipam v1alpha1 API group +kubebuilder:object:generate=true +groupName=ipam.cluster.x-k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 PHPIPAMPoolKind = "PHPIPAMIPPool" )
var ( ConditionTypeReady PHPIPAMIPPoolConditionType = "Ready" ConditionReasonInvalidPHPIPam PHPIPAMIPPoolConditionReason = "InvalidPHPIPamConfiguration" ConditionReasonInvalidCreds PHPIPAMIPPoolConditionReason = "InvalidPHPIPamCredentials" ConditionReasonIsReady PHPIPAMIPPoolConditionReason = "IPPoolReady" )
Functions ¶
func PoolHasReadyCondition ¶
func PoolHasReadyCondition(status PHPIPAMIPPoolStatus) bool
Types ¶
type PHPIPAMCredentials ¶
type PHPIPAMCredentials struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` AppID string `json:"app_id,omitempty"` Endpoint string `json:"endpoint,omitempty"` }
func (*PHPIPAMCredentials) DeepCopy ¶
func (in *PHPIPAMCredentials) DeepCopy() *PHPIPAMCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PHPIPAMCredentials.
func (*PHPIPAMCredentials) DeepCopyInto ¶
func (in *PHPIPAMCredentials) DeepCopyInto(out *PHPIPAMCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PHPIPAMIPPool ¶
type PHPIPAMIPPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PHPIPAMPoolSpec `json:"spec,omitempty"` Status PHPIPAMIPPoolStatus `json:"status,omitempty"` }
PHPIPAMIPPool is the Schema for the PHPIPAMIPPool API
func (*PHPIPAMIPPool) DeepCopy ¶
func (in *PHPIPAMIPPool) DeepCopy() *PHPIPAMIPPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PHPIPAMIPPool.
func (*PHPIPAMIPPool) DeepCopyInto ¶
func (in *PHPIPAMIPPool) DeepCopyInto(out *PHPIPAMIPPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PHPIPAMIPPool) DeepCopyObject ¶
func (in *PHPIPAMIPPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PHPIPAMIPPoolConditionReason ¶
type PHPIPAMIPPoolConditionReason string
PHPIPAMIPPoolConditionReason defines the set of reasons that explain why a particular PHPIPamIPPool condition type has been raised.
type PHPIPAMIPPoolConditionType ¶
type PHPIPAMIPPoolConditionType string
PHPIPAMIPPoolConditionType is the type for status conditions on IPPool resources. This type should be used with the PHPIPamIPPoolStatus.Conditions field.
type PHPIPAMIPPoolList ¶
type PHPIPAMIPPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PHPIPAMIPPool `json:"items"` }
PHPIPAMIPPoolList contains a list of PHPIPAMIPPool
func (*PHPIPAMIPPoolList) DeepCopy ¶
func (in *PHPIPAMIPPoolList) DeepCopy() *PHPIPAMIPPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PHPIPAMIPPoolList.
func (*PHPIPAMIPPoolList) DeepCopyInto ¶
func (in *PHPIPAMIPPoolList) DeepCopyInto(out *PHPIPAMIPPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PHPIPAMIPPoolList) DeepCopyObject ¶
func (in *PHPIPAMIPPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PHPIPAMIPPoolStatus ¶
type PHPIPAMIPPoolStatus struct { // Conditions defines a set of Conditions of this IPPool Conditions []metav1.Condition `json:"conditions,omitempty"` // Gateway is the reported Gateway from the subnet Gateway string `json:"gateway,omitempty"` // Mask is the reported Mask from the IPPool Mask string `json:"mask,omitempty"` }
PHPIPamIPPoolStatus defines the observed state of PHPIPamIPPool
func (*PHPIPAMIPPoolStatus) DeepCopy ¶
func (in *PHPIPAMIPPoolStatus) DeepCopy() *PHPIPAMIPPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PHPIPAMIPPoolStatus.
func (*PHPIPAMIPPoolStatus) DeepCopyInto ¶
func (in *PHPIPAMIPPoolStatus) DeepCopyInto(out *PHPIPAMIPPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PHPIPAMPoolSpec ¶
type PHPIPAMPoolSpec struct { // SubnetID specifies the subnet that should be used on phpIPAM SubnetID int `json:"subnetid,omitempty"` // Credentials contains the credentials to connect to phpIPAM Credentials *PHPIPAMCredentials `json:"credentials,omitempty"` }
PHPIPAMPoolSpec defines the desired state of PHPIPAMPoolSpec
func (*PHPIPAMPoolSpec) DeepCopy ¶
func (in *PHPIPAMPoolSpec) DeepCopy() *PHPIPAMPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PHPIPAMPoolSpec.
func (*PHPIPAMPoolSpec) DeepCopyInto ¶
func (in *PHPIPAMPoolSpec) DeepCopyInto(out *PHPIPAMPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.