v1alpha1

package
v0.0.0-...-c8ac227 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=line.you

Index

Constants

View Source
const (
	CustomResourceGroup = "line.you"
	Version             = "v1alpha1"
)

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: line.GroupName, Version: Version}

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 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 Binding

type Binding struct {
	Name     string            `json:"name"`
	Type     linebot.EventType `json:"type"`
	Messages []Message         `json:"messages"`
}

func (*Binding) DeepCopy

func (in *Binding) DeepCopy() *Binding

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

func (*Binding) DeepCopyInto

func (in *Binding) DeepCopyInto(out *Binding)

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

type Bot

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

	Spec   BotSpec   `json:"spec"`
	Status BotStatus `json:"status,omitempty"`
}

func (*Bot) DeepCopy

func (in *Bot) DeepCopy() *Bot

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

func (*Bot) DeepCopyInto

func (in *Bot) DeepCopyInto(out *Bot)

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

func (*Bot) DeepCopyObject

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

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

type BotExpose

type BotExpose struct {
	Type           BotExposeType `json:"type"`
	DomainName     string        `json:"domainName"`
	LoadBalanceIPs []string      `json:"loadBalanceIPs,omitempty"`
	NgrokToken     string        `json:"ngrokToken"`
}

func (*BotExpose) DeepCopy

func (in *BotExpose) DeepCopy() *BotExpose

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

func (*BotExpose) DeepCopyInto

func (in *BotExpose) DeepCopyInto(out *BotExpose)

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

type BotExposeType

type BotExposeType string
const (
	NgrokExpose        BotExposeType = "Ngrok"
	IngressExpose      BotExposeType = "Ingress"
	LoadBalancerExpose BotExposeType = "LoadBalancer"
)

type BotList

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

	Items []Bot `json:"items"`
}

func (*BotList) DeepCopy

func (in *BotList) DeepCopy() *BotList

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

func (*BotList) DeepCopyInto

func (in *BotList) DeepCopyInto(out *BotList)

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

func (*BotList) DeepCopyObject

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

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

type BotPhase

type BotPhase string
const (
	BotPending     BotPhase = "Pending"
	BotActive      BotPhase = "Active"
	BotFailed      BotPhase = "Failed"
	BotTerminating BotPhase = "Terminating"
)

type BotSpec

type BotSpec struct {
	Selector          *metav1.LabelSelector `json:"selector"`
	ChannelSecretName string                `json:"channelSecretName"`
	Expose            BotExpose             `json:"expose"`
	Version           string                `json:"version"`
	LogLevel          int                   `json:"logLevel"`
}

func (*BotSpec) DeepCopy

func (in *BotSpec) DeepCopy() *BotSpec

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

func (*BotSpec) DeepCopyInto

func (in *BotSpec) DeepCopyInto(out *BotSpec)

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

type BotStatus

type BotStatus struct {
	Phase          BotPhase    `json:"phase"`
	Reason         string      `json:"reason,omitempty"`
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`
}

func (*BotStatus) DeepCopy

func (in *BotStatus) DeepCopy() *BotStatus

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

func (*BotStatus) DeepCopyInto

func (in *BotStatus) DeepCopyInto(out *BotStatus)

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

type Event

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

	Spec EventSpec `json:"spec"`
}

func (*Event) DeepCopy

func (in *Event) DeepCopy() *Event

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

func (*Event) DeepCopyInto

func (in *Event) DeepCopyInto(out *Event)

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

func (*Event) DeepCopyObject

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

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

type EventBinding

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

	Subsets []EventBindingSubset `json:"subsets,omitempty"`
}

func (*EventBinding) DeepCopy

func (in *EventBinding) DeepCopy() *EventBinding

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

func (*EventBinding) DeepCopyInto

func (in *EventBinding) DeepCopyInto(out *EventBinding)

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

func (*EventBinding) DeepCopyObject

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

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

type EventBindingList

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

	Items []EventBinding `json:"items"`
}

func (*EventBindingList) DeepCopy

func (in *EventBindingList) DeepCopy() *EventBindingList

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

func (*EventBindingList) DeepCopyInto

func (in *EventBindingList) DeepCopyInto(out *EventBindingList)

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

func (*EventBindingList) DeepCopyObject

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

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

type EventBindingSubset

type EventBindingSubset struct {
	Binding Binding `json:"binding,omitempty"`
}

func (*EventBindingSubset) DeepCopy

func (in *EventBindingSubset) DeepCopy() *EventBindingSubset

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

func (*EventBindingSubset) DeepCopyInto

func (in *EventBindingSubset) DeepCopyInto(out *EventBindingSubset)

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

type EventList

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

	Items []Event `json:"items"`
}

func (*EventList) DeepCopy

func (in *EventList) DeepCopy() *EventList

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

func (*EventList) DeepCopyInto

func (in *EventList) DeepCopyInto(out *EventList)

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

func (*EventList) DeepCopyObject

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

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

type EventSpec

type EventSpec struct {
	Selector *metav1.LabelSelector `json:"selector"`
	Type     linebot.EventType     `json:"type"`
	Messages []Message             `json:"messages"`
}

func (*EventSpec) DeepCopy

func (in *EventSpec) DeepCopy() *EventSpec

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

func (*EventSpec) DeepCopyInto

func (in *EventSpec) DeepCopyInto(out *EventSpec)

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

type Message

type Message struct {
	Type     linebot.MessageType `json:"type"`
	Keywords []string            `json:"keywords,omitempty"`
	Reply    string              `json:"reply"`
}

func (*Message) DeepCopy

func (in *Message) DeepCopy() *Message

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

func (*Message) DeepCopyInto

func (in *Message) DeepCopyInto(out *Message)

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