v1alpha1

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 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.atlas.infoblox.com", Version: "v1"}

	// 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 XNetworkRecords

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

	Spec   XNetworkRecordsSpec   `json:"spec,omitempty"`
	Status XNetworkRecordsStatus `json:"status,omitempty"`
}

XNetworkRecords is the Schema for the xnetworkrecords API

func (*XNetworkRecords) DeepCopy

func (in *XNetworkRecords) DeepCopy() *XNetworkRecords

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

func (*XNetworkRecords) DeepCopyInto

func (in *XNetworkRecords) DeepCopyInto(out *XNetworkRecords)

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

func (*XNetworkRecords) DeepCopyObject

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

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

type XNetworkRecordsList

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

XNetworkRecordsList contains a list of XNetworkRecords

func (*XNetworkRecordsList) DeepCopy

func (in *XNetworkRecordsList) DeepCopy() *XNetworkRecordsList

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

func (*XNetworkRecordsList) DeepCopyInto

func (in *XNetworkRecordsList) DeepCopyInto(out *XNetworkRecordsList)

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

func (*XNetworkRecordsList) DeepCopyObject

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

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

type XNetworkRecordsParameters

type XNetworkRecordsParameters 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 (*XNetworkRecordsParameters) DeepCopy

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

func (*XNetworkRecordsParameters) DeepCopyInto

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

type XNetworkRecordsSpec

type XNetworkRecordsSpec 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 XNetworkRecordsParameters `json:"parameters"`
}

XNetworkRecordsSpec defines the desired state of XNetworkRecords

func (*XNetworkRecordsSpec) DeepCopy

func (in *XNetworkRecordsSpec) DeepCopy() *XNetworkRecordsSpec

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

func (*XNetworkRecordsSpec) DeepCopyInto

func (in *XNetworkRecordsSpec) DeepCopyInto(out *XNetworkRecordsSpec)

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

type XNetworkRecordsStatus

type XNetworkRecordsStatus 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"`
}

XNetworkRecordsStatus defines the observed state of XNetworkRecords

func (*XNetworkRecordsStatus) DeepCopy

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

func (*XNetworkRecordsStatus) DeepCopyInto

func (in *XNetworkRecordsStatus) DeepCopyInto(out *XNetworkRecordsStatus)

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