v1beta1

package
Version: v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 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 CronJobTrigger

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

CronJobTrigger is Kubeless resource representing cron job event source

func (*CronJobTrigger) DeepCopy

func (in *CronJobTrigger) DeepCopy() *CronJobTrigger

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

func (*CronJobTrigger) DeepCopyInto

func (in *CronJobTrigger) DeepCopyInto(out *CronJobTrigger)

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

func (*CronJobTrigger) DeepCopyObject

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

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

type CronJobTriggerList

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

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

CronJobTriggerList is list of CronJobTrigger's

func (*CronJobTriggerList) DeepCopy

func (in *CronJobTriggerList) DeepCopy() *CronJobTriggerList

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

func (*CronJobTriggerList) DeepCopyInto

func (in *CronJobTriggerList) DeepCopyInto(out *CronJobTriggerList)

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

func (*CronJobTriggerList) DeepCopyObject

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

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

type CronJobTriggerSpec

type CronJobTriggerSpec struct {
	Schedule     string      `json:"schedule"`      // Scheduled time (for Schedule type)
	FunctionName string      `json:"function-name"` // Name of the associated function
	Payload      interface{} `json:"payload"`       // Payload to send as the request data to the given function
}

CronJobTriggerSpec defines specification for CronJobTrigger

func (*CronJobTriggerSpec) DeepCopy

func (in *CronJobTriggerSpec) DeepCopy() *CronJobTriggerSpec

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

func (*CronJobTriggerSpec) DeepCopyInto

func (in *CronJobTriggerSpec) DeepCopyInto(out *CronJobTriggerSpec)

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