v1beta1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 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 HTTPTrigger

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

HTTPTrigger is Kubeless resource representing HTTP trigger event source

func (*HTTPTrigger) DeepCopy

func (in *HTTPTrigger) DeepCopy() *HTTPTrigger

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

func (*HTTPTrigger) DeepCopyInto

func (in *HTTPTrigger) DeepCopyInto(out *HTTPTrigger)

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

func (*HTTPTrigger) DeepCopyObject

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

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

type HTTPTriggerList

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

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

HTTPTriggerList is list of HTTPTrigger's

func (*HTTPTriggerList) DeepCopy

func (in *HTTPTriggerList) DeepCopy() *HTTPTriggerList

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

func (*HTTPTriggerList) DeepCopyInto

func (in *HTTPTriggerList) DeepCopyInto(out *HTTPTriggerList)

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

func (*HTTPTriggerList) DeepCopyObject

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

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

type HTTPTriggerSpec

type HTTPTriggerSpec struct {
	FunctionName    string `json:"function-name"` // Name of the associated function
	HostName        string `json:"host-name"`
	TLSAcme         bool   `json:"tls"`
	TLSSecret       string `json:"tls-secret"`
	Path            string `json:"path"`
	BasicAuthSecret string `json:"basic-auth-secret"`
	Gateway         string `json:"gateway"`
	CorsEnable      bool   `json:"cors-enable"`
}

HTTPTriggerSpec defines specification for HTTP trigger

func (*HTTPTriggerSpec) DeepCopy

func (in *HTTPTriggerSpec) DeepCopy() *HTTPTriggerSpec

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

func (*HTTPTriggerSpec) DeepCopyInto

func (in *HTTPTriggerSpec) DeepCopyInto(out *HTTPTriggerSpec)

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