v1beta1

package
v1.32.0-kw1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GroupName = "networking.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type IPAddress

type IPAddress struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"`

	// spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IPAddressSpec `json:"spec,omitempty"`
}

IPAddress IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1

swagger:model IPAddress

func (*IPAddress) GroupVersionKind

func (v *IPAddress) GroupVersionKind() schema.GroupVersionKind

type IPAddressList

type IPAddressList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of IPAddresses.
	// Required: true
	Items []*IPAddress `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *apimachinery_pkg_apis_meta_v1.ListMeta `json:"metadata,omitempty"`
}

IPAddressList IPAddressList contains a list of IPAddress.

swagger:model IPAddressList

func (*IPAddressList) GroupVersionKind

func (v *IPAddressList) GroupVersionKind() schema.GroupVersionKind

type IPAddressSpec

type IPAddressSpec struct {

	// ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
	// Required: true
	ParentRef *ParentReference `json:"parentRef"`
}

IPAddressSpec IPAddressSpec describe the attributes in an IP Address.

swagger:model IPAddressSpec

type ParentReference

type ParentReference struct {

	// Group is the group of the object being referenced.
	Group string `json:"group,omitempty"`

	// Name is the name of the object being referenced.
	// Required: true
	Name *string `json:"name"`

	// Namespace is the namespace of the object being referenced.
	Namespace string `json:"namespace,omitempty"`

	// Resource is the resource of the object being referenced.
	// Required: true
	Resource *string `json:"resource"`
}

ParentReference ParentReference describes a reference to a parent object.

swagger:model ParentReference

type ServiceCIDR

type ServiceCIDR struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"`

	// spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *ServiceCIDRSpec `json:"spec,omitempty"`

	// status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *ServiceCIDRStatus `json:"status,omitempty"`
}

ServiceCIDR ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.

swagger:model ServiceCIDR

func (*ServiceCIDR) GroupVersionKind

func (v *ServiceCIDR) GroupVersionKind() schema.GroupVersionKind

type ServiceCIDRList

type ServiceCIDRList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of ServiceCIDRs.
	// Required: true
	Items []*ServiceCIDR `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *apimachinery_pkg_apis_meta_v1.ListMeta `json:"metadata,omitempty"`
}

ServiceCIDRList ServiceCIDRList contains a list of ServiceCIDR objects.

swagger:model ServiceCIDRList

func (*ServiceCIDRList) GroupVersionKind

func (v *ServiceCIDRList) GroupVersionKind() schema.GroupVersionKind

type ServiceCIDRSpec

type ServiceCIDRSpec struct {

	// CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
	Cidrs []string `json:"cidrs,omitempty"`
}

ServiceCIDRSpec ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.

swagger:model ServiceCIDRSpec

type ServiceCIDRStatus

type ServiceCIDRStatus struct {

	// conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
	Conditions []*apimachinery_pkg_apis_meta_v1.Condition `json:"conditions,omitempty"`
}

ServiceCIDRStatus ServiceCIDRStatus describes the current state of the ServiceCIDR.

swagger:model ServiceCIDRStatus

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL