v1alpha1

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the event v1alpha1 API group +kubebuilder:object:generate=true +groupName=event.aeto.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "event.aeto.net", 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 EventRecord

type EventRecord struct {
	// Raw defines the raw data of the event
	Raw string `json:"raw"`
}

EventRecord defines an event

func (*EventRecord) DeepCopy

func (in *EventRecord) DeepCopy() *EventRecord

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

func (*EventRecord) DeepCopyInto

func (in *EventRecord) DeepCopyInto(out *EventRecord)

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

type EventStreamChunk

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

	Spec   EventStreamChunkSpec   `json:"spec,omitempty"`
	Status EventStreamChunkStatus `json:"status,omitempty"`
}

EventStreamChunk is the Schema for the eventstreamchunks API

func (*EventStreamChunk) DeepCopy

func (in *EventStreamChunk) DeepCopy() *EventStreamChunk

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

func (*EventStreamChunk) DeepCopyInto

func (in *EventStreamChunk) DeepCopyInto(out *EventStreamChunk)

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

func (*EventStreamChunk) DeepCopyObject

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

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

func (EventStreamChunk) NamespacedName added in v0.2.3

func (esc EventStreamChunk) NamespacedName() types.NamespacedName

NamespacedName returns a namespaced name for the custom resource

type EventStreamChunkList

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

EventStreamChunkList contains a list of EventStreamChunk

func (*EventStreamChunkList) DeepCopy

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

func (*EventStreamChunkList) DeepCopyInto

func (in *EventStreamChunkList) DeepCopyInto(out *EventStreamChunkList)

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

func (*EventStreamChunkList) DeepCopyObject

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

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

func (EventStreamChunkList) Sort

type EventStreamChunkSpec

type EventStreamChunkSpec struct {

	// StreamId defines the ID of the stream
	StreamId string `json:"id"`

	// StreamVersion is the version of the stream at the point when it chunk was created
	StreamVersion int64 `json:"version"`

	// Timestamp is point in time when the chunk was created
	Timestamp string `json:"ts"`

	// Events holds the events of the stream chunk
	Events []EventRecord `json:"events"`
}

EventStreamChunkSpec defines the desired state of EventStreamChunk

func (*EventStreamChunkSpec) DeepCopy

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

func (*EventStreamChunkSpec) DeepCopyInto

func (in *EventStreamChunkSpec) DeepCopyInto(out *EventStreamChunkSpec)

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

type EventStreamChunkStatus

type EventStreamChunkStatus struct {
}

EventStreamChunkStatus defines the observed state of EventStreamChunk

func (*EventStreamChunkStatus) DeepCopy

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

func (*EventStreamChunkStatus) DeepCopyInto

func (in *EventStreamChunkStatus) DeepCopyInto(out *EventStreamChunkStatus)

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