v1

package
v0.0.0-...-aedda0b Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the crd v1 API group +kubebuilder:object:generate=true +groupName=crd.streamdal.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "crd.streamdal.com", 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 ConfigItem

type ConfigItem struct {
	// +kubebuilder:validation:Required
	Name string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	Config string `json:"config,omitempty"`
}

func (*ConfigItem) DeepCopy

func (in *ConfigItem) DeepCopy() *ConfigItem

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

func (*ConfigItem) DeepCopyInto

func (in *ConfigItem) DeepCopyInto(out *ConfigItem)

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

type StreamdalConfig

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

	Spec   StreamdalConfigSpec   `json:"spec,omitempty"`
	Status StreamdalConfigStatus `json:"status,omitempty"`
}

StreamdalConfig is the Schema for the streamdalconfigs API

func (*StreamdalConfig) DeepCopy

func (in *StreamdalConfig) DeepCopy() *StreamdalConfig

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

func (*StreamdalConfig) DeepCopyInto

func (in *StreamdalConfig) DeepCopyInto(out *StreamdalConfig)

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

func (*StreamdalConfig) DeepCopyObject

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

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

type StreamdalConfigList

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

StreamdalConfigList contains a list of StreamdalConfig

func (*StreamdalConfigList) DeepCopy

func (in *StreamdalConfigList) DeepCopy() *StreamdalConfigList

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

func (*StreamdalConfigList) DeepCopyInto

func (in *StreamdalConfigList) DeepCopyInto(out *StreamdalConfigList)

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

func (*StreamdalConfigList) DeepCopyObject

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

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

type StreamdalConfigSpec

type StreamdalConfigSpec struct {
	// +kubebuilder:validation:Required
	ServerAddress string `json:"serverAddress"`

	// +kubebuilder:validation:Required
	ServerAuth string `json:"serverAuth"`

	Configs []ConfigItem `json:"configs,omitempty"`
}

StreamdalConfigSpec defines the desired state of StreamdalConfig

func (*StreamdalConfigSpec) DeepCopy

func (in *StreamdalConfigSpec) DeepCopy() *StreamdalConfigSpec

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

func (*StreamdalConfigSpec) DeepCopyInto

func (in *StreamdalConfigSpec) DeepCopyInto(out *StreamdalConfigSpec)

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

type StreamdalConfigStatus

type StreamdalConfigStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Fatal   bool   `json:"fatal"`
	Status  string `json:"status"`
	Message string `json:"message"`
}

StreamdalConfigStatus defines the observed state of StreamdalConfig

func (*StreamdalConfigStatus) DeepCopy

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

func (*StreamdalConfigStatus) DeepCopyInto

func (in *StreamdalConfigStatus) DeepCopyInto(out *StreamdalConfigStatus)

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