v1

package
v0.0.0-...-5ee3db7 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the conversion-webhook v1 API group +kubebuilder:object:generate=true +groupName=conversion-webhook.example.zqzten.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "conversion-webhook.example.zqzten.io", 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 NetworkAddress

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

	Spec   NetworkAddressSpec   `json:"spec,omitempty"`
	Status NetworkAddressStatus `json:"status,omitempty"`
}

NetworkAddress is the Schema for the networkaddresses API

func (*NetworkAddress) DeepCopy

func (in *NetworkAddress) DeepCopy() *NetworkAddress

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

func (*NetworkAddress) DeepCopyInto

func (in *NetworkAddress) DeepCopyInto(out *NetworkAddress)

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

func (*NetworkAddress) DeepCopyObject

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

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

func (*NetworkAddress) Hub

func (*NetworkAddress) Hub()

func (*NetworkAddress) SetupWebhookWithManager

func (r *NetworkAddress) SetupWebhookWithManager(mgr ctrl.Manager) error

type NetworkAddressList

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

NetworkAddressList contains a list of NetworkAddress

func (*NetworkAddressList) DeepCopy

func (in *NetworkAddressList) DeepCopy() *NetworkAddressList

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

func (*NetworkAddressList) DeepCopyInto

func (in *NetworkAddressList) DeepCopyInto(out *NetworkAddressList)

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

func (*NetworkAddressList) DeepCopyObject

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

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

type NetworkAddressSpec

type NetworkAddressSpec struct {
	IP string `json:"ip,omitempty"`

	Domain string `json:"domain,omitempty"`

	//+kubebuilder:validation:Required
	Port string `json:"port"`

	Note string `json:"note,omitempty"`
}

NetworkAddressSpec defines the desired state of NetworkAddress

func (*NetworkAddressSpec) DeepCopy

func (in *NetworkAddressSpec) DeepCopy() *NetworkAddressSpec

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

func (*NetworkAddressSpec) DeepCopyInto

func (in *NetworkAddressSpec) DeepCopyInto(out *NetworkAddressSpec)

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

type NetworkAddressStatus

type NetworkAddressStatus struct {
}

NetworkAddressStatus defines the observed state of NetworkAddress

func (*NetworkAddressStatus) DeepCopy

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

func (*NetworkAddressStatus) DeepCopyInto

func (in *NetworkAddressStatus) DeepCopyInto(out *NetworkAddressStatus)

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