Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the deployment v1alpha1 API group +kubebuilder:object:generate=true +groupName=ipam.adevinta.com
Index ¶
- Constants
- Variables
- type CIDRs
- func (in *CIDRs) DeepCopy() *CIDRs
- func (c *CIDRs) DeepCopyCIDRs() CIDRsGetter
- func (in *CIDRs) DeepCopyInto(out *CIDRs)
- func (in *CIDRs) DeepCopyObject() runtime.Object
- func (c *CIDRs) GetCIDRs() []string
- func (c *CIDRs) GetSpec() CIDRsSpec
- func (c CIDRs) GetStatus() CIDRsStatus
- func (c *CIDRs) IsBeingDeleted() bool
- func (c *CIDRs) IsSubmitted() bool
- func (c *CIDRs) SetInitialStatus()
- func (c *CIDRs) SetSpec(spec CIDRsSpec)
- func (c *CIDRs) SetStatus(status CIDRsStatus)
- type CIDRsGetter
- type CIDRsGetterList
- type CIDRsList
- type CIDRsLocation
- type CIDRsSource
- type CIDRsSpec
- type CIDRsState
- type CIDRsStatus
- type CIDRsStatusConditionType
- type ClusterCIDRs
- func (in *ClusterCIDRs) DeepCopy() *ClusterCIDRs
- func (c *ClusterCIDRs) DeepCopyCIDRs() CIDRsGetter
- func (in *ClusterCIDRs) DeepCopyInto(out *ClusterCIDRs)
- func (in *ClusterCIDRs) DeepCopyObject() runtime.Object
- func (c *ClusterCIDRs) GetCIDRs() []string
- func (c *ClusterCIDRs) GetSpec() CIDRsSpec
- func (c ClusterCIDRs) GetStatus() CIDRsStatus
- func (c *ClusterCIDRs) SetSpec(spec CIDRsSpec)
- func (c *ClusterCIDRs) SetStatus(status CIDRsStatus)
- type ClusterCIDRsList
- type Condition
- type HeadersFrom
- type ObjectRef
- type Processing
Constants ¶
const ( CIDRsStatusConditionTypeUpToDate CIDRsStatusConditionType = "UpToDate" CIDRsStateReady CIDRsState = "Ready" CIDRsStateUpdateFailed CIDRsState = "UpdateFailed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ipam.adevinta.com", 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 CIDRs ¶
type CIDRs struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CIDRsSpec `json:"spec,omitempty"` Status CIDRsStatus `json:"status,omitempty"` }
CIDRs is the Schema for the CIDRs API
func (*CIDRs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRs.
func (*CIDRs) DeepCopyCIDRs ¶
func (c *CIDRs) DeepCopyCIDRs() CIDRsGetter
func (*CIDRs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CIDRs) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (CIDRs) GetStatus ¶
func (c CIDRs) GetStatus() CIDRsStatus
func (*CIDRs) IsBeingDeleted ¶
func (*CIDRs) IsSubmitted ¶
func (*CIDRs) SetInitialStatus ¶
func (c *CIDRs) SetInitialStatus()
func (*CIDRs) SetStatus ¶
func (c *CIDRs) SetStatus(status CIDRsStatus)
type CIDRsGetter ¶
type CIDRsGetter interface { GetCIDRs() []string DeepCopyCIDRs() CIDRsGetter GetSpec() CIDRsSpec SetSpec(CIDRsSpec) GetStatus() CIDRsStatus SetStatus(CIDRsStatus) client.Object }
+kubebuilder:object:generate=false
type CIDRsGetterList ¶
type CIDRsGetterList interface { GetCIDRsItems() []CIDRsGetter DeepCopyCIDRs() CIDRsGetterList client.ObjectList }
+kubebuilder:object:generate=false
type CIDRsList ¶
type CIDRsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CIDRs `json:"items"` }
CIDRsList contains a list of CIDR
func (*CIDRsList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRsList.
func (*CIDRsList) DeepCopyCIDRs ¶
func (c *CIDRsList) DeepCopyCIDRs() CIDRsGetterList
func (*CIDRsList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CIDRsList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CIDRsList) GetCIDRsItems ¶
func (c *CIDRsList) GetCIDRsItems() []CIDRsGetter
type CIDRsLocation ¶
type CIDRsLocation struct { // URI should be a URL to fetch the CIDRs from // remote services. // The response should be a JSON array of strings, or transformable to a JSON array of strings // through JSONPath. // The response status code must be 200. // +kubebuilder:validation:Optional URI string `json:"uri,omitempty" yaml:"uri,omitempty"` // HeadersFrom holds the names of secrets where the headers should be pulled from // +kubebuilder:validation:Optional HeadersFrom []HeadersFrom `json:"headersFrom,omitempty" yaml:"headersFrom,omitempty"` // Processing holds the configuration to process the response to convert it into a list of CIDR strings Processing `json:",inline" yaml:",inline"` }
func (*CIDRsLocation) DeepCopy ¶
func (in *CIDRsLocation) DeepCopy() *CIDRsLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRsLocation.
func (*CIDRsLocation) DeepCopyInto ¶
func (in *CIDRsLocation) DeepCopyInto(out *CIDRsLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CIDRsSource ¶
type CIDRsSource struct { // +kubebuilder:validation:Optional Location CIDRsLocation `json:"location,omitempty" yaml:"location,omitempty"` // +kubebuilder:validation:Optional CIDRs []string `json:"cidrs,omitempty"` }
func (*CIDRsSource) DeepCopy ¶
func (in *CIDRsSource) DeepCopy() *CIDRsSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRsSource.
func (*CIDRsSource) DeepCopyInto ¶
func (in *CIDRsSource) DeepCopyInto(out *CIDRsSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CIDRsSpec ¶
type CIDRsSpec struct { // +kubebuilder:validation:Optional RequeueAfter *metav1.Duration `json:"requeueAfter,omitempty"` CIDRsSource `json:",inline" yaml:",inline"` }
CIDRsSpec defines the desired state of CIDRs
func (*CIDRsSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRsSpec.
func (*CIDRsSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CIDRsState ¶
type CIDRsState string
type CIDRsStatus ¶
type CIDRsStatus struct { // +kubebuilder:validation:Optional CIDRs []string `json:"cidrs,omitempty"` // +kubebuilder:validation:Optional LastUpdate metav1.Time `json:"lastUpdate,omitempty"` // +kubebuilder:validation:Optional State CIDRsState `json:"state,omitempty"` // +kubebuilder:validation:Optional Conditions []Condition `json:"conditions,omitempty"` }
CIDRsStatus defines the observed state of CIDRs
func (*CIDRsStatus) DeepCopy ¶
func (in *CIDRsStatus) DeepCopy() *CIDRsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRsStatus.
func (*CIDRsStatus) DeepCopyInto ¶
func (in *CIDRsStatus) DeepCopyInto(out *CIDRsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CIDRsStatus) UpsertCondition ¶
func (s *CIDRsStatus) UpsertCondition(condition Condition)
type CIDRsStatusConditionType ¶
type CIDRsStatusConditionType string
type ClusterCIDRs ¶
type ClusterCIDRs struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CIDRsSpec `json:"spec,omitempty"` Status CIDRsStatus `json:"status,omitempty"` }
ClusterCIDRs is the Schema for the ClusterCIDRs API
func (*ClusterCIDRs) DeepCopy ¶
func (in *ClusterCIDRs) DeepCopy() *ClusterCIDRs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRs.
func (*ClusterCIDRs) DeepCopyCIDRs ¶
func (c *ClusterCIDRs) DeepCopyCIDRs() CIDRsGetter
func (*ClusterCIDRs) DeepCopyInto ¶
func (in *ClusterCIDRs) DeepCopyInto(out *ClusterCIDRs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterCIDRs) DeepCopyObject ¶
func (in *ClusterCIDRs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterCIDRs) GetCIDRs ¶
func (c *ClusterCIDRs) GetCIDRs() []string
func (*ClusterCIDRs) GetSpec ¶
func (c *ClusterCIDRs) GetSpec() CIDRsSpec
func (ClusterCIDRs) GetStatus ¶
func (c ClusterCIDRs) GetStatus() CIDRsStatus
func (*ClusterCIDRs) SetSpec ¶
func (c *ClusterCIDRs) SetSpec(spec CIDRsSpec)
func (*ClusterCIDRs) SetStatus ¶
func (c *ClusterCIDRs) SetStatus(status CIDRsStatus)
type ClusterCIDRsList ¶
type ClusterCIDRsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterCIDRs `json:"items"` }
ClusterCIDRsList contains a list of CIDR
func (*ClusterCIDRsList) DeepCopy ¶
func (in *ClusterCIDRsList) DeepCopy() *ClusterCIDRsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRsList.
func (*ClusterCIDRsList) DeepCopyCIDRs ¶
func (c *ClusterCIDRsList) DeepCopyCIDRs() CIDRsGetterList
func (*ClusterCIDRsList) DeepCopyInto ¶
func (in *ClusterCIDRsList) DeepCopyInto(out *ClusterCIDRsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterCIDRsList) DeepCopyObject ¶
func (in *ClusterCIDRsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterCIDRsList) GetCIDRsItems ¶
func (c *ClusterCIDRsList) GetCIDRsItems() []CIDRsGetter
type Condition ¶
type Condition struct { LastTransitionTime metav1.Time `json:"lastTransitionTime"` Message string `json:"message"` Status v1.ConditionStatus `json:"status,omitempty"` Type CIDRsStatusConditionType `json:"type"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HeadersFrom ¶
type HeadersFrom struct { // +kubebuilder:validation:Optional SecretRef ObjectRef `json:"secretRef,omitempty" yaml:"secretRef,omitempty"` // +kubebuilder:validation:Optional ConfigMapRef ObjectRef `json:"configMapRef,omitempty" yaml:"configMapRef,omitempty"` }
func (*HeadersFrom) DeepCopy ¶
func (in *HeadersFrom) DeepCopy() *HeadersFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadersFrom.
func (*HeadersFrom) DeepCopyInto ¶
func (in *HeadersFrom) DeepCopyInto(out *HeadersFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectRef ¶
type ObjectRef struct { Name string `json:"name" yaml:"name"` Namespace string `json:"namespace" yaml:"namespace"` }
func (*ObjectRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectRef.
func (*ObjectRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Processing ¶
type Processing struct { // JSONPath is an expression to convert the response to a list of CIDR string // as expected by the CIDRs status // +kubebuilder:validation:Optional JSONPath string `json:"jsonPath,omitempty" yaml:"jsonPath,omitempty"` }
func (*Processing) DeepCopy ¶
func (in *Processing) DeepCopy() *Processing
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Processing.
func (*Processing) DeepCopyInto ¶
func (in *Processing) DeepCopyInto(out *Processing)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.