v1beta1

package
v1.27.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the wao v1beta1 API group +kubebuilder:object:generate=true +groupName=wao.bitmedia.co.jp

Index

Constants

View Source
const (
	TypeFake                = "Fake"
	TypeRedfish             = "Redfish"
	TypeDPAPI               = "DifferentialPressureAPI"
	TypeV2InferenceProtocol = "V2InferenceProtocol"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "wao.bitmedia.co.jp", Version: "v1beta1"}

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

type EndpointTerm struct {
	// Type specifies the type of endpoint. This value means which client is used.
	Type string `json:"type"`
	// Endpoint specifies the endpoint URL. Behavior depends on the client specified by Type.
	Endpoint string `json:"endpoint"`
	// BasicAuthSecret specifies the name of the Secret in the same namespace used for basic auth. Some Types require this value.
	// +optional
	BasicAuthSecret *corev1.LocalObjectReference `json:"basicAuthSecret,omitempty"`
	// FetchInterval specifies the data retrieval interval. Some Types require this value, and behavior depends on the client.
	// +optional
	FetchInterval *metav1.Duration `json:"fetchInterval,omitempty"`
}

func (*EndpointTerm) DeepCopy

func (in *EndpointTerm) DeepCopy() *EndpointTerm

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

func (*EndpointTerm) DeepCopyInto

func (in *EndpointTerm) DeepCopyInto(out *EndpointTerm)

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

type MetricsCollector

type MetricsCollector struct {
	InletTemp EndpointTerm `json:"inletTemp"`
	DeltaP    EndpointTerm `json:"deltaP"`
}

func (*MetricsCollector) DeepCopy

func (in *MetricsCollector) DeepCopy() *MetricsCollector

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

func (*MetricsCollector) DeepCopyInto

func (in *MetricsCollector) DeepCopyInto(out *MetricsCollector)

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

type NodeConfig

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

	Spec   NodeConfigSpec   `json:"spec,omitempty"`
	Status NodeConfigStatus `json:"status,omitempty"`
}

NodeConfig is the Schema for the nodeconfigs API

func (*NodeConfig) DeepCopy

func (in *NodeConfig) DeepCopy() *NodeConfig

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

func (*NodeConfig) DeepCopyInto

func (in *NodeConfig) DeepCopyInto(out *NodeConfig)

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

func (*NodeConfig) DeepCopyObject

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

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

type NodeConfigList

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

NodeConfigList contains a list of NodeConfig

func (*NodeConfigList) DeepCopy

func (in *NodeConfigList) DeepCopy() *NodeConfigList

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

func (*NodeConfigList) DeepCopyInto

func (in *NodeConfigList) DeepCopyInto(out *NodeConfigList)

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

func (*NodeConfigList) DeepCopyObject

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

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

type NodeConfigSpec

type NodeConfigSpec struct {
	NodeName         string           `json:"nodeName"`
	MetricsCollector MetricsCollector `json:"metricsCollector"`
	Predictor        Predictor        `json:"predictor"`
}

NodeConfigSpec defines the desired state of NodeConfig

func (*NodeConfigSpec) DeepCopy

func (in *NodeConfigSpec) DeepCopy() *NodeConfigSpec

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

func (*NodeConfigSpec) DeepCopyInto

func (in *NodeConfigSpec) DeepCopyInto(out *NodeConfigSpec)

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

type NodeConfigStatus

type NodeConfigStatus struct {
}

NodeConfigStatus defines the observed state of NodeConfig

func (*NodeConfigStatus) DeepCopy

func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus

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

func (*NodeConfigStatus) DeepCopyInto

func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus)

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

type NodeConfigTemplate

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

	Spec   NodeConfigTemplateSpec   `json:"spec,omitempty"`
	Status NodeConfigTemplateStatus `json:"status,omitempty"`
}

NodeConfigTemplate is the Schema for the nodeconfigtemplates API

func (*NodeConfigTemplate) DeepCopy

func (in *NodeConfigTemplate) DeepCopy() *NodeConfigTemplate

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

func (*NodeConfigTemplate) DeepCopyInto

func (in *NodeConfigTemplate) DeepCopyInto(out *NodeConfigTemplate)

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

func (*NodeConfigTemplate) DeepCopyObject

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

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

type NodeConfigTemplateList

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

NodeConfigTemplateList contains a list of NodeConfigTemplate

func (*NodeConfigTemplateList) DeepCopy

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

func (*NodeConfigTemplateList) DeepCopyInto

func (in *NodeConfigTemplateList) DeepCopyInto(out *NodeConfigTemplateList)

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

func (*NodeConfigTemplateList) DeepCopyObject

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

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

type NodeConfigTemplateSpec

type NodeConfigTemplateSpec struct {
	NodeSelector     metav1.LabelSelector `json:"nodeSelector"`
	MetricsCollector MetricsCollector     `json:"metricsCollector"`
	Predictor        Predictor            `json:"predictor"`
}

NodeConfigTemplateSpec defines the desired state of NodeConfigTemplate

func (*NodeConfigTemplateSpec) DeepCopy

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

func (*NodeConfigTemplateSpec) DeepCopyInto

func (in *NodeConfigTemplateSpec) DeepCopyInto(out *NodeConfigTemplateSpec)

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

type NodeConfigTemplateStatus

type NodeConfigTemplateStatus struct {
}

NodeConfigTemplateStatus defines the observed state of NodeConfigTemplate

func (*NodeConfigTemplateStatus) DeepCopy

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

func (*NodeConfigTemplateStatus) DeepCopyInto

func (in *NodeConfigTemplateStatus) DeepCopyInto(out *NodeConfigTemplateStatus)

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

type Predictor

type Predictor struct {
	// +optional
	PowerConsumption *EndpointTerm `json:"powerConsumption,omitempty"`
	// +optional
	PowerConsumptionEndpointProvider *EndpointTerm `json:"powerConsumptionEndpointProvider,omitempty"`
}

func (*Predictor) DeepCopy

func (in *Predictor) DeepCopy() *Predictor

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

func (*Predictor) DeepCopyInto

func (in *Predictor) DeepCopyInto(out *Predictor)

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