v1alpha1

package
v0.0.0-...-f24a696 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=aci.ctrl

Index

Constants

This section is empty.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: accprovisioninput.GroupName, Version: "v1alpha1"}

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 AccProvisionInput

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

	Spec   AccProvisionInputSpec   `json:"spec,omitempty"`
	Status AccProvisionInputStatus `json:"status,omitempty"`
}

AccProvisionInput is a specification for a AccProvisionInput resource

func (*AccProvisionInput) DeepCopy

func (in *AccProvisionInput) DeepCopy() *AccProvisionInput

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

func (*AccProvisionInput) DeepCopyInto

func (in *AccProvisionInput) DeepCopyInto(out *AccProvisionInput)

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

func (*AccProvisionInput) DeepCopyObject

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

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

type AccProvisionInputList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object AccProvisionInput list

func (*AccProvisionInputList) DeepCopy

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

func (*AccProvisionInputList) DeepCopyInto

func (in *AccProvisionInputList) DeepCopyInto(out *AccProvisionInputList)

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

func (*AccProvisionInputList) DeepCopyObject

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

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

type AccProvisionInputSpec

type AccProvisionInputSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "acioperator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	Flavor            string           `json:"flavor"`
	Config            string           `json:"config"`
	AccProvisionInput AccProvisionSpec `json:"acc_provision_input"`
}

AccProvisionInputSpec defines the desired state of AccProvisionInput

func (*AccProvisionInputSpec) DeepCopy

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

func (*AccProvisionInputSpec) DeepCopyInto

func (in *AccProvisionInputSpec) DeepCopyInto(out *AccProvisionInputSpec)

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

type AccProvisionInputStatus

type AccProvisionInputStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "acioperator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	Status bool `json:"status"`
}

AccProvisionInputStatus defines the observed state of AccProvisionInput

func (*AccProvisionInputStatus) DeepCopy

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

func (*AccProvisionInputStatus) DeepCopyInto

func (in *AccProvisionInputStatus) DeepCopyInto(out *AccProvisionInputStatus)

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

type AccProvisionSpec

type AccProvisionSpec struct {
	OperatorManagedConfig OperatorConfigSpec  `json:"operator_managed_config"`
	AciConfig             AciConfigSpec       `json:"aci_config,omitempty"`
	NetConfig             NetConfigSpec       `json:"net_config,omitempty"`
	Registry              RegistrySpec        `json:"registry,omitempty"`
	Logging               LoggingSpec         `json:"logging,omitempty"`
	IstioConfig           IstioConfigSpec     `json:"istio_config,omitempty"`
	DropLogConfig         DropLogConfigSpec   `json:"drop_log_config,omitempty"`
	Multus                MultusSpec          `json:"multus,omitempty"`
	KubeConfig            KubeConfigSpec      `json:"kube_config,omitempty"`
	SriovConfig           SriovConfigSpec     `json:"sriov_config,omitempty"`
	NodePodIFConfig       NodePodIFConfigSpec `json:"nodepodif_config,omitempty"`
}

func (*AccProvisionSpec) DeepCopy

func (in *AccProvisionSpec) DeepCopy() *AccProvisionSpec

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

func (*AccProvisionSpec) DeepCopyInto

func (in *AccProvisionSpec) DeepCopyInto(out *AccProvisionSpec)

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

type AciConfigSpec

type AciConfigSpec struct {
	SyncLogin *SyncLoginSpec `json:"sync_login,omitempty"`
	ClientSSL bool           `json:"client_ssl,omitempty"`
}

func (*AciConfigSpec) DeepCopy

func (in *AciConfigSpec) DeepCopy() *AciConfigSpec

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

func (*AciConfigSpec) DeepCopyInto

func (in *AciConfigSpec) DeepCopyInto(out *AciConfigSpec)

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

type DropLogConfigSpec

type DropLogConfigSpec struct {
	Enable bool `json:"enable,omitempty"`
}

func (*DropLogConfigSpec) DeepCopy

func (in *DropLogConfigSpec) DeepCopy() *DropLogConfigSpec

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

func (*DropLogConfigSpec) DeepCopyInto

func (in *DropLogConfigSpec) DeepCopyInto(out *DropLogConfigSpec)

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

type IstioConfigSpec

type IstioConfigSpec struct {
	InstallIstio   bool   `json:"install_istio,omitempty"`
	InstallProfile string `json:"install_profile,omitempty"`
}

func (*IstioConfigSpec) DeepCopy

func (in *IstioConfigSpec) DeepCopy() *IstioConfigSpec

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

func (*IstioConfigSpec) DeepCopyInto

func (in *IstioConfigSpec) DeepCopyInto(out *IstioConfigSpec)

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

type KubeConfigSpec

type KubeConfigSpec struct {
	OVSMemoryLimit          string    `json:"ovs_memory_limit,omitempty"`
	UsePrivilegedContainers bool      `json:"use_privileged_containers,omitempty"`
	ImagePullPolicy         string    `json:"image_pull_policy,omitempty"`
	RebootOpflexWithOvs     string    `json:"reboot_opflex_with_ovs,omitempty"`
	SnatOperator            *SnatSpec `json:"snat_operator,omitempty"`
}

func (*KubeConfigSpec) DeepCopy

func (in *KubeConfigSpec) DeepCopy() *KubeConfigSpec

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

func (*KubeConfigSpec) DeepCopyInto

func (in *KubeConfigSpec) DeepCopyInto(out *KubeConfigSpec)

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

type LoggingSpec

type LoggingSpec struct {
	ControllerLogLevel  string `json:"controller_log_level,omitempty"`
	HostagentLogLevel   string `json:"hostagent_log_level,omitempty"`
	OpflexagentLogLevel string `json:"opflexagent_log_level,omitempty"`
}

func (*LoggingSpec) DeepCopy

func (in *LoggingSpec) DeepCopy() *LoggingSpec

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

func (*LoggingSpec) DeepCopyInto

func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)

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

type MultusSpec

type MultusSpec struct {
	Disable bool `json:"disable,omitempty"`
}

func (*MultusSpec) DeepCopy

func (in *MultusSpec) DeepCopy() *MultusSpec

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

func (*MultusSpec) DeepCopyInto

func (in *MultusSpec) DeepCopyInto(out *MultusSpec)

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

type NetConfigSpec

type NetConfigSpec struct {
	InterfaceMTU           int  `json:"interface_mtu,omitempty"`
	InterfaceMtuHeadroom   int  `json:"interface_mtu_headroom,omitempty"`
	SvcMonitorInterval     int  `json:"service_monitor_interval,omitempty"`
	PBRTrackingNonSNAT     bool `json:"pbr_tracking_non_snat,omitempty"`
	PodSubnetChunkSize     int  `json:"pod_subnet_chunk_size,omitempty"`
	DisableWaitForNetwork  bool `json:"disable_wait_for_network,omitempty"`
	DurationWaitForNetwork int  `json:"duration_wait_for_network,omitempty"`
}

func (*NetConfigSpec) DeepCopy

func (in *NetConfigSpec) DeepCopy() *NetConfigSpec

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

func (*NetConfigSpec) DeepCopyInto

func (in *NetConfigSpec) DeepCopyInto(out *NetConfigSpec)

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

type NodePodIFConfigSpec

type NodePodIFConfigSpec struct {
	Enable bool `json:"enable,omitempty"`
}

func (*NodePodIFConfigSpec) DeepCopy

func (in *NodePodIFConfigSpec) DeepCopy() *NodePodIFConfigSpec

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

func (*NodePodIFConfigSpec) DeepCopyInto

func (in *NodePodIFConfigSpec) DeepCopyInto(out *NodePodIFConfigSpec)

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

type OperatorConfigSpec

type OperatorConfigSpec struct {
	EnableUpdates bool `json:"enable_updates"`
}

func (*OperatorConfigSpec) DeepCopy

func (in *OperatorConfigSpec) DeepCopy() *OperatorConfigSpec

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

func (*OperatorConfigSpec) DeepCopyInto

func (in *OperatorConfigSpec) DeepCopyInto(out *OperatorConfigSpec)

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

type PortRangeSpec

type PortRangeSpec struct {
	Start        int `json:"start,omitempty"`
	End          int `json:"end,omitempty"`
	PortsPerNode int `json:"ports_per_node,omitempty"`
}

func (*PortRangeSpec) DeepCopy

func (in *PortRangeSpec) DeepCopy() *PortRangeSpec

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

func (*PortRangeSpec) DeepCopyInto

func (in *PortRangeSpec) DeepCopyInto(out *PortRangeSpec)

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

type RegistrySpec

type RegistrySpec struct {
	ImagePrefix                    string `json:"image_prefix,omitempty"`
	ImagePullSecret                string `json:"image_pull_secret,omitempty"`
	AccProvisionOperatorVersion    string `json:"acc_provision_operator_version,omitempty"`
	AciCniOperatorVersion          string `json:"aci_cni_operator_version,omitempty"`
	AciContainersOperatorVersion   string `json:"aci_containers_operator_version,omitempty"`
	AciContainersControllerVersion string `json:"aci_containers_controller_version,omitempty"`
	AciContainersHostVersion       string `json:"aci_containers_host_version,omitempty"`
	CNIDeployVersion               string `json:"cnideploy_version,omitempty"`
	OpflexAgentVersion             string `json:"opflex_agent_version,omitempty"`
	OpenVSwitchVersion             string `json:"openvswitch_version,omitempty"`
	GBPVersion                     string `json:"gbp_version,omitempty"`
}

func (*RegistrySpec) DeepCopy

func (in *RegistrySpec) DeepCopy() *RegistrySpec

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

func (*RegistrySpec) DeepCopyInto

func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)

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

type SnatSpec

type SnatSpec struct {
	PortRange                         *PortRangeSpec `json:"port_range,omitempty"`
	ContractScope                     string         `json:"contract_scope,omitempty"`
	DisablePeriodicSnatGlobalInfoSync bool           `json:"disable_periodic_snat_global_info_sync,omitempty"`
}

func (*SnatSpec) DeepCopy

func (in *SnatSpec) DeepCopy() *SnatSpec

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

func (*SnatSpec) DeepCopyInto

func (in *SnatSpec) DeepCopyInto(out *SnatSpec)

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

type SriovConfigSpec

type SriovConfigSpec struct {
	Enable bool `json:"enable,omitempty"`
}

func (*SriovConfigSpec) DeepCopy

func (in *SriovConfigSpec) DeepCopy() *SriovConfigSpec

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

func (*SriovConfigSpec) DeepCopyInto

func (in *SriovConfigSpec) DeepCopyInto(out *SriovConfigSpec)

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

type SyncLoginSpec

type SyncLoginSpec struct {
	CertFile string `json:"certfile,omitempty"`
	KeyFile  string `json:"keyfile,omitempty"`
}

func (*SyncLoginSpec) DeepCopy

func (in *SyncLoginSpec) DeepCopy() *SyncLoginSpec

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

func (*SyncLoginSpec) DeepCopyInto

func (in *SyncLoginSpec) DeepCopyInto(out *SyncLoginSpec)

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