v1alpha1

package
v1.10.2 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the persistance v1 API group +kubebuilder:object:generate=true +groupName=persistance.atlas.infoblox.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "persistance.infoblox.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 XNetworkRecord added in v1.0.7

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

	Spec   XNetworkRecordSpec   `json:"spec,omitempty"`
	Status XNetworkRecordStatus `json:"status,omitempty"`
}

XNetworkRecord is the Schema for the xnetworkrecord API

func (*XNetworkRecord) DeepCopy added in v1.0.7

func (in *XNetworkRecord) DeepCopy() *XNetworkRecord

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

func (*XNetworkRecord) DeepCopyInto added in v1.0.7

func (in *XNetworkRecord) DeepCopyInto(out *XNetworkRecord)

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

func (*XNetworkRecord) DeepCopyObject added in v1.0.7

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

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

type XNetworkRecordList added in v1.0.7

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

XNetworkRecordList contains a list of XNetworkRecord

func (*XNetworkRecordList) DeepCopy added in v1.0.7

func (in *XNetworkRecordList) DeepCopy() *XNetworkRecordList

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

func (*XNetworkRecordList) DeepCopyInto added in v1.0.7

func (in *XNetworkRecordList) DeepCopyInto(out *XNetworkRecordList)

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

func (*XNetworkRecordList) DeepCopyObject added in v1.0.7

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

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

type XNetworkRecordParameters added in v1.0.7

type XNetworkRecordParameters struct {
	// Network is the VPC network to provision IP addresses for
	// PSC
	// ie. projects/gcp-eng-ddiaas-dev/global/networks/alloydb-psc-network
	Network string `json:"network"`

	// PSCDNSName is the DNS name of the PSC
	// ie. 30f6af49-74c7-4058-9b00-8a29cff777c9.3f031303-8e9c-4941-8b77-1aafad235014.us-east1.alloydb-psc.goog.
	PSCDNSName string `json:"pscDNSName"`

	// Region is the region of the PSC
	// ie. us-east1
	Region string `json:"region"`

	// ServiceAttachmentLink is the URL of the service attachment
	// ie. https://www.googleapis.com/compute/v1/projects/gcp-eng-ddiaas-dev/regions/us-east1/serviceAttachments/alloydb-psc-network-sx9s5
	ServiceAttachmentLink string `json:"serviceAttachmentLink"`

	// Subnetwork is the subnet to provision IP addresses for PSC
	// ie. projects/gcp-eng-ddiaas-dev/regions/us-east1/subnetworks/private-service-connect
	Subnetwork string `json:"subnetwork"`
}

func (*XNetworkRecordParameters) DeepCopy added in v1.0.7

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

func (*XNetworkRecordParameters) DeepCopyInto added in v1.0.7

func (in *XNetworkRecordParameters) DeepCopyInto(out *XNetworkRecordParameters)

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

type XNetworkRecordSpec added in v1.0.7

type XNetworkRecordSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	xpv1.ResourceSpec `json:",inline"`

	// Parameters are used to configured the XR, all are required
	Parameters XNetworkRecordParameters `json:"parameters"`
}

XNetworkRecordSpec defines the desired state of XNetworkRecord

func (*XNetworkRecordSpec) DeepCopy added in v1.0.7

func (in *XNetworkRecordSpec) DeepCopy() *XNetworkRecordSpec

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

func (*XNetworkRecordSpec) DeepCopyInto added in v1.0.7

func (in *XNetworkRecordSpec) DeepCopyInto(out *XNetworkRecordSpec)

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

type XNetworkRecordStatus added in v1.0.7

type XNetworkRecordStatus struct {
	xpv1.ResourceStatus `json:",inline"`

	// Address is the local IP address in the VPC ie. 100.127.252.5
	Address string `json:"address,omitempty"`

	// AddressID is the fully qualified resource ID for the address ie. projects/gcp-eng-ddiaas-dev/regions/us-east1/addresses/alloydb-psc-network-h9h4h
	// TODO: if the managed address url can be predetermined, we do not need this field
	AddressID string `json:"addressID,omitempty"`

	// ManagedZoneRef is the name of the Managed Zone CR
	// ie. alloydb-psc-network-sx9s5
	// TODO: if managed zone resource name can be predetermined, this field is not needed
	ManagedZoneRef string `json:"managedZoneRef,omitempty"`
}

XNetworkRecordStatus defines the observed state of XNetworkRecord

func (*XNetworkRecordStatus) DeepCopy added in v1.0.7

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

func (*XNetworkRecordStatus) DeepCopyInto added in v1.0.7

func (in *XNetworkRecordStatus) DeepCopyInto(out *XNetworkRecordStatus)

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