v1alpha1

package
v0.0.0-...-db2fe5d Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the nx.cisco.networking.metal.ironcore.dev v1alpha1 API group. +kubebuilder:validation:Required +kubebuilder:object:generate=true +groupName=nx.cisco.networking.metal.ironcore.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "nx.cisco.networking.metal.ironcore.dev", 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 Console

type Console struct {
	// Timeout defines the inactivity timeout for console sessions.
	// If a session is inactive for the specified duration, it will be automatically disconnected.
	// The format is a string representing a duration (e.g., "10m" for 10 minutes).
	// +optional
	// +kubebuilder:default="10m"
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$"
	Timeout metav1.Duration `json:"timeout,omitzero"`
}

func (*Console) DeepCopy

func (in *Console) DeepCopy() *Console

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

func (*Console) DeepCopyInto

func (in *Console) DeepCopyInto(out *Console)

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

type ManagementAccessConfig

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

	// Specification of the desired state of the resource.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +required
	Spec ManagementAccessConfigSpec `json:"spec"`
}

ManagementAccessConfig is the Schema for the managementaccessconfigs API

func (*ManagementAccessConfig) DeepCopy

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

func (*ManagementAccessConfig) DeepCopyInto

func (in *ManagementAccessConfig) DeepCopyInto(out *ManagementAccessConfig)

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

func (*ManagementAccessConfig) DeepCopyObject

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

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

type ManagementAccessConfigList

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

ManagementAccessConfigList contains a list of ManagementAccessConfig

func (*ManagementAccessConfigList) DeepCopy

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

func (*ManagementAccessConfigList) DeepCopyInto

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

func (*ManagementAccessConfigList) DeepCopyObject

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

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

type ManagementAccessConfigSpec

type ManagementAccessConfigSpec struct {
	// Console defines the configuration for the terminal console access on the device.
	// +optional
	// +kubebuilder:default={timeout:"10m"}
	Console Console `json:"console,omitzero"`

	// SSH defines the SSH server configuration for the VTY terminal access on the device.
	// +optional
	SSH SSH `json:"ssh,omitzero"`
}

ManagementAccessConfigSpec defines the desired state of ManagementAccessConfig

func (*ManagementAccessConfigSpec) DeepCopy

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

func (*ManagementAccessConfigSpec) DeepCopyInto

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

type SSH

type SSH struct {
	// AccessControlListName defines the name of the access control list (ACL) to apply for incoming
	// SSH connections on the VTY terminal. The ACL must be configured separately on the device.
	// +optional
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=63
	AccessControlListName string `json:"accessControlListName,omitempty"`
}

func (*SSH) DeepCopy

func (in *SSH) DeepCopy() *SSH

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

func (*SSH) DeepCopyInto

func (in *SSH) DeepCopyInto(out *SSH)

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

type System

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

	// Specification of the desired state of the resource.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +required
	Spec SystemSpec `json:"spec,omitempty"`

	// Status of the resource. This is set and updated automatically.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status SystemStatus `json:"status,omitempty,omitzero"`
}

System is the Schema for the systems API

func (*System) DeepCopy

func (in *System) DeepCopy() *System

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

func (*System) DeepCopyInto

func (in *System) DeepCopyInto(out *System)

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

func (*System) DeepCopyObject

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

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

func (*System) GetConditions

func (s *System) GetConditions() []metav1.Condition

GetConditions implements conditions.Getter.

func (*System) SetConditions

func (s *System) SetConditions(conditions []metav1.Condition)

SetConditions implements conditions.Setter.

type SystemList

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

SystemList contains a list of System

func (*SystemList) DeepCopy

func (in *SystemList) DeepCopy() *SystemList

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

func (*SystemList) DeepCopyInto

func (in *SystemList) DeepCopyInto(out *SystemList)

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

func (*SystemList) DeepCopyObject

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

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

type SystemSpec

type SystemSpec struct {
	// DeviceName is the name of the Device this object belongs to. The Device object must exist in the same namespace.
	// Immutable.
	// +required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="DeviceRef is immutable"
	DeviceRef v1alpha1.LocalObjectReference `json:"deviceRef"`

	// JumboMtu defines the system-wide jumbo MTU setting.
	// Valid values are from 1501 to 9216.
	// +optional
	// +kubebuilder:validation:Minimum=1501
	// +kubebuilder:validation:Maximum=9216
	// +kubebuilder:validation:ExclusiveMaximum=false
	// +kubebuilder:default=9216
	JumboMTU int16 `json:"jumboMtu"`

	// ReservedVlan specifies the VLAN ID to be reserved for system use.
	// Valid values are from 1 to 4032.
	// +optional
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=4032
	// +kubebuilder:validation:ExclusiveMaximum=false
	// +kubebuilder:default=3968
	ReservedVlan int16 `json:"reservedVlan"`

	// VlanLongName enables or disables 128-character VLAN names
	// Disabled by default.
	// +optional
	// +kubebuilder:default=false
	VlanLongName bool `json:"vlanLongName"`
}

SystemSpec defines the desired state of System

func (*SystemSpec) DeepCopy

func (in *SystemSpec) DeepCopy() *SystemSpec

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

func (*SystemSpec) DeepCopyInto

func (in *SystemSpec) DeepCopyInto(out *SystemSpec)

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

type SystemStatus

type SystemStatus struct {
	// The conditions are a list of status objects that describe the state of the Banner.
	//+listType=map
	//+listMapKey=type
	//+patchStrategy=merge
	//+patchMergeKey=type
	//+optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

SystemStatus defines the observed state of System.

func (*SystemStatus) DeepCopy

func (in *SystemStatus) DeepCopy() *SystemStatus

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

func (*SystemStatus) DeepCopyInto

func (in *SystemStatus) DeepCopyInto(out *SystemStatus)

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