v1beta1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package v1beta1 is the v1beta1 version of the Kubeless API +groupName=kubeless.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder collects the scheme builder functions for the Kubeless API
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme applies the SchemeBuilder functions to a specified scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: kubeless.GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type KafkaTrigger

type KafkaTrigger struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              KafkaTriggerSpec `json:"spec"`
}

KafkaTrigger is Kubeless resource representing Kafka event source

func (*KafkaTrigger) DeepCopy

func (in *KafkaTrigger) DeepCopy() *KafkaTrigger

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

func (*KafkaTrigger) DeepCopyInto

func (in *KafkaTrigger) DeepCopyInto(out *KafkaTrigger)

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

func (*KafkaTrigger) DeepCopyObject

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

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

type KafkaTriggerList

type KafkaTriggerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	// Items is a list of third party objects
	Items []*KafkaTrigger `json:"items"`
}

KafkaTriggerList is list of KafkaTrigger's

func (*KafkaTriggerList) DeepCopy

func (in *KafkaTriggerList) DeepCopy() *KafkaTriggerList

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

func (*KafkaTriggerList) DeepCopyInto

func (in *KafkaTriggerList) DeepCopyInto(out *KafkaTriggerList)

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

func (*KafkaTriggerList) DeepCopyObject

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

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

type KafkaTriggerSpec

type KafkaTriggerSpec struct {
	Topic            string               `json:"topic"` // Trigger topic (for PubSub type)
	FunctionSelector metav1.LabelSelector `json:"functionSelector"`
}

KafkaTriggerSpec defines specification for KafkaTrigger

func (*KafkaTriggerSpec) DeepCopy

func (in *KafkaTriggerSpec) DeepCopy() *KafkaTriggerSpec

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

func (*KafkaTriggerSpec) DeepCopyInto

func (in *KafkaTriggerSpec) DeepCopyInto(out *KafkaTriggerSpec)

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