v1alpha1

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is v1alpha1 version of the API. +groupName=eventing.kyma-project.io

Index

Constants

View Source
const (
	// ConditionTrue value for the Kyma subscription condition status.
	ConditionTrue ConditionStatus = "True"
	// ConditionFalse value for the Kyma subscription condition status.
	ConditionFalse ConditionStatus = "False"

	// Ready label for the Kyma subscription condition type.
	Ready SubscriptionConditionType = "is-ready"
	// EventsActivated label for the Kyma subscription condition type.
	EventsActivated SubscriptionConditionType = "events-activated"
)

Variables

View Source
var (
	// SchemeBuilder instance
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme instance
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: eventingkymaio.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ConditionStatus

type ConditionStatus string

ConditionStatus type

type Conditions

type Conditions []SubscriptionCondition

Conditions type

type Status

type Status struct {
	Conditions Conditions `json:"conditions"`
}

Status of Kyma subscriptions.

type Subscription

type Subscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	SubscriptionSpec  `json:"spec"`
	Status            SubscriptionStatus `json:"status,omitempty"`
}

Subscription describes a subscription

func (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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

func (*Subscription) DeepCopyObject

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

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

func (*Subscription) HasCondition

func (in *Subscription) HasCondition(checked SubscriptionCondition) bool

HasCondition returns a boolean values if the subscription satisfies the condition.

type SubscriptionCondition

type SubscriptionCondition struct {
	Type               SubscriptionConditionType `json:"type"`
	Status             ConditionStatus           `json:"status"`
	LastTransitionTime metav1.Time               `json:"last_transition_time"`
	Reason             string                    `json:"reason"`
	Message            string                    `json:"message"`
}

SubscriptionCondition of Kyma subscriptions.

func (*SubscriptionCondition) DeepCopy

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

func (*SubscriptionCondition) DeepCopyInto

func (in *SubscriptionCondition) DeepCopyInto(out *SubscriptionCondition)

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

type SubscriptionConditionType

type SubscriptionConditionType string

SubscriptionConditionType type

type SubscriptionList

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

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

SubscriptionList of Kyma subscriptions.

func (*SubscriptionList) DeepCopy

func (in *SubscriptionList) DeepCopy() *SubscriptionList

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

func (*SubscriptionList) DeepCopyInto

func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)

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

func (*SubscriptionList) DeepCopyObject

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

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

type SubscriptionSpec

type SubscriptionSpec struct {
	Endpoint                      string `json:"endpoint"`
	IncludeSubscriptionNameHeader bool   `json:"include_subscription_name_header"`
	EventType                     string `json:"event_type"`
	EventTypeVersion              string `json:"event_type_version"`
	SourceID                      string `json:"source_id"`
}

SubscriptionSpec for Event Bus Push

func (*SubscriptionSpec) DeepCopy

func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec

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

func (*SubscriptionSpec) DeepCopyInto

func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)

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

type SubscriptionStatus

type SubscriptionStatus struct {
	Status `json:",inline"`
}

SubscriptionStatus of Kyma subscriptions.

func (*SubscriptionStatus) DeepCopy

func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus

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

func (*SubscriptionStatus) DeepCopyInto

func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)

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