v1

package
v0.0.0-...-cc9fc9a Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the observer v1 API group +kubebuilder:object:generate=true +groupName=observer.tkn.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "observer.tkn.dev", 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 PubSubTopic

type PubSubTopic struct {
	// ProjectID is the GCP project ID where the PubSub topic is located
	PubSubProjectID string `json:"pubSubProjectID" yaml:"pubSubProjectID"`
	// PubSubTopicID is the ID of the PubSub topic
	PubSubTopicID string `json:"pubSubTopicID" yaml:"pubSubTopicID"`
}

type TektonObservation

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

	Spec   TektonObservationSpec   `json:"spec,omitempty"`
	Status TektonObservationStatus `json:"status,omitempty"`
}

TektonObservation is the Schema for the tektonobservations API

func (*TektonObservation) DeepCopy

func (in *TektonObservation) DeepCopy() *TektonObservation

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

func (*TektonObservation) DeepCopyInto

func (in *TektonObservation) DeepCopyInto(out *TektonObservation)

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

func (*TektonObservation) DeepCopyObject

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

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

type TektonObservationList

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

TektonObservationList contains a list of TektonObservation

func (*TektonObservationList) DeepCopy

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

func (*TektonObservationList) DeepCopyInto

func (in *TektonObservationList) DeepCopyInto(out *TektonObservationList)

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

func (*TektonObservationList) DeepCopyObject

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

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

type TektonObservationSpec

type TektonObservationSpec struct {

	// PubSubTopics is a list of PubSub topics to which the controller will publish events
	PubSubTopics []PubSubTopic `json:"pubSubTopics" yaml:"pubSubTopics"`
}

TektonObservationSpec defines the desired state of TektonObservation

func (*TektonObservationSpec) DeepCopy

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

func (*TektonObservationSpec) DeepCopyInto

func (in *TektonObservationSpec) DeepCopyInto(out *TektonObservationSpec)

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

type TektonObservationStatus

type TektonObservationStatus struct {
}

TektonObservationStatus defines the observed state of TektonObservation

func (*TektonObservationStatus) DeepCopy

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

func (*TektonObservationStatus) DeepCopyInto

func (in *TektonObservationStatus) DeepCopyInto(out *TektonObservationStatus)

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