v1alpha1

package
v0.0.0-...-df31834 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=duck.knative.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: duck.GroupName, Version: "v1alpha1"}

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 Channel

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

	// ChannelSpec is the part where Channelable object is
	// configured as to be compatible with Channelable contract.
	Spec ChannelSpec `json:"spec"`
}

Channel is a skeleton type wrapping Channelable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Channelable ObjectReferences and access the Channelable data. This is not a real resource.

func (*Channel) DeepCopy

func (in *Channel) DeepCopy() *Channel

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

func (*Channel) DeepCopyInto

func (in *Channel) DeepCopyInto(out *Channel)

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

func (*Channel) DeepCopyObject

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

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

func (*Channel) GetListType

func (r *Channel) GetListType() runtime.Object

GetListType implements apis.Listable

func (*Channel) Populate

func (t *Channel) Populate()

Populate implements duck.Populatable

type ChannelList

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

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

ChannelList is a list of Channel resources

func (*ChannelList) DeepCopy

func (in *ChannelList) DeepCopy() *ChannelList

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

func (*ChannelList) DeepCopyInto

func (in *ChannelList) DeepCopyInto(out *ChannelList)

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

func (*ChannelList) DeepCopyObject

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

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

type ChannelSpec

type ChannelSpec struct {
	Channelable *Channelable `json:"channelable,omitempty"`
}

ChannelSpec shows how we expect folks to embed Channelable in their Spec field.

func (*ChannelSpec) DeepCopy

func (in *ChannelSpec) DeepCopy() *ChannelSpec

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

func (*ChannelSpec) DeepCopyInto

func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec)

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

type ChannelSubscriberSpec

type ChannelSubscriberSpec struct {
	// +optional
	CallableDomain string `json:"callableDomain,omitempty"`
	// +optional
	SinkableDomain string `json:"sinkableDomain,omitempty"`
}

ChannelSubscriberSpec defines a single subscriber to a Channel. CallableDomain is the endpoint for the call SinkableDomain is the endpoint for the result One of them must be present

func (*ChannelSubscriberSpec) DeepCopy

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

func (*ChannelSubscriberSpec) DeepCopyInto

func (in *ChannelSubscriberSpec) DeepCopyInto(out *ChannelSubscriberSpec)

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

type Channelable

type Channelable struct {
	// TODO: What is actually required here for Channel spec.
	// This is the list of subscriptions for this channel.
	Subscribers []ChannelSubscriberSpec `json:"subscribers,omitempty"`
}

Channelable is the schema for the channelable portion of the spec section of the resource.

func (*Channelable) DeepCopy

func (in *Channelable) DeepCopy() *Channelable

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

func (*Channelable) DeepCopyInto

func (in *Channelable) DeepCopyInto(out *Channelable)

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

func (*Channelable) GetFullType

func (_ *Channelable) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

type Condition

type Condition struct {
	// Type of condition.
	// +required
	Type ConditionType `json:"type" description:"type of status condition"`

	// Status of the condition, one of True, False, Unknown.
	// +required
	Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`

	// LastTransitionTime is the last time the condition transitioned from one status to another.
	// We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
	// differences (all other things held constant).
	// +optional
	LastTransitionTime apis.VolatileTime `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"`

	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"`

	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"`
}

Conditions defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#typical-status-properties +k8s:deepcopy-gen=true

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

func (*Condition) IsFalse

func (c *Condition) IsFalse() bool

IsFalse is true if the condition is False

func (*Condition) IsTrue

func (c *Condition) IsTrue() bool

IsTrue is true if the condition is True

func (*Condition) IsUnknown

func (c *Condition) IsUnknown() bool

IsUnknown is true if the condition is Unknown

type ConditionManager

type ConditionManager interface {
	// IsHappy looks at the happy condition and returns true if that condition is
	// set to true.
	IsHappy() bool

	// GetCondition finds and returns the Condition that matches the ConditionType
	// previously set on Conditions.
	GetCondition(t ConditionType) *Condition

	// SetCondition sets or updates the Condition on Conditions for Condition.Type.
	// If there is an update, Conditions are stored back sorted.
	SetCondition(new Condition)

	// MarkTrue sets the status of t to true, and then marks the happy condition to
	// true if all other dependents are also true.
	MarkTrue(t ConditionType)

	// MarkUnknown sets the status of t to Unknown and also sets the happy condition
	// to Unknown if no other dependent condition is in an error state.
	MarkUnknown(t ConditionType, reason, messageFormat string, messageA ...interface{})

	// MarkFalse sets the status of t and the happy condition to False.
	MarkFalse(t ConditionType, reason, messageFormat string, messageA ...interface{})

	// InitializeConditions updates all Conditions in the ConditionSet to Unknown
	// if not set.
	InitializeConditions()

	// InitializeCondition updates a Condition to Unknown if not set.
	InitializeCondition(t ConditionType)
}

ConditionManager allows a resource to operate on its Conditions using higher order operations.

type ConditionSet

type ConditionSet struct {
	// contains filtered or unexported fields
}

ConditionSet is an abstract collection of the possible ConditionType values that a particular resource might expose. It also holds the "happy condition" for that resource, which we define to be one of Ready or Succeeded depending on whether it is a Living or Batch process respectively. +k8s:deepcopy-gen=false

func NewBatchConditionSet

func NewBatchConditionSet(d ...ConditionType) ConditionSet

NewBatchConditionSet returns a ConditionSet to hold the conditions for the batch resource. ConditionSucceeded is used as the happy condition.

func NewLivingConditionSet

func NewLivingConditionSet(d ...ConditionType) ConditionSet

NewLivingConditionSet returns a ConditionSet to hold the conditions for the living resource. ConditionReady is used as the happy condition.

func (ConditionSet) Manage

func (r ConditionSet) Manage(status interface{}) ConditionManager

Manage creates a ConditionManager from a accessor object using the original ConditionSet as a reference. Status must be or point to a struct.

type ConditionType

type ConditionType string

ConditionType is a camel-cased condition type.

const (
	// ConditionReady specifies that the resource is ready.
	// For long-running resources.
	ConditionReady ConditionType = "Ready"
	// ConditionSucceeded specifies that the resource has finished.
	// For resource which run to completion.
	ConditionSucceeded ConditionType = "Succeeded"
)

type Conditions

type Conditions []Condition

Conditions is the schema for the conditions portion of the payload

func (Conditions) DeepCopy

func (in Conditions) DeepCopy() Conditions

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

func (Conditions) DeepCopyInto

func (in Conditions) DeepCopyInto(out *Conditions)

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

func (*Conditions) GetFullType

func (_ *Conditions) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

type ConditionsAccessor

type ConditionsAccessor interface {
	GetConditions() Conditions
	SetConditions(Conditions)
}

Conditions is the interface for a Resource that implements the getter and setter for accessing a Condition collection. +k8s:deepcopy-gen=true

func NewReflectedConditionsAccessor

func NewReflectedConditionsAccessor(status interface{}) ConditionsAccessor

NewReflectedConditionsAccessor uses reflection to return a ConditionsAccessor to access the field called "Conditions".

type Generation

type Generation int64

Generation is the schema for the generational portion of the payload

func (*Generation) GetFullType

func (_ *Generation) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

type Generational

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

	Spec GenerationalSpec `json:"spec"`
}

Generational is a skeleton type wrapping Generation in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Generation ObjectReferences and access the Generation data. This is not a real resource.

func (*Generational) DeepCopy

func (in *Generational) DeepCopy() *Generational

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

func (*Generational) DeepCopyInto

func (in *Generational) DeepCopyInto(out *Generational)

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

func (*Generational) DeepCopyObject

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

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

func (*Generational) GetListType

func (r *Generational) GetListType() runtime.Object

GetListType implements apis.Listable

func (*Generational) Populate

func (t *Generational) Populate()

Populate implements duck.Populatable

type GenerationalList

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

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

GenerationalList is a list of Generational resources

func (*GenerationalList) DeepCopy

func (in *GenerationalList) DeepCopy() *GenerationalList

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

func (*GenerationalList) DeepCopyInto

func (in *GenerationalList) DeepCopyInto(out *GenerationalList)

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

func (*GenerationalList) DeepCopyObject

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

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

type GenerationalSpec

type GenerationalSpec struct {
	Generation Generation `json:"generation,omitempty"`
}

GenerationalSpec shows how we expect folks to embed Generation in their Spec field.

func (*GenerationalSpec) DeepCopy

func (in *GenerationalSpec) DeepCopy() *GenerationalSpec

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

func (*GenerationalSpec) DeepCopyInto

func (in *GenerationalSpec) DeepCopyInto(out *GenerationalSpec)

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

type KResource

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

	Status KResourceStatus `json:"status"`
}

KResource is a skeleton type wrapping Conditions in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Conditions ObjectReferences and access the Conditions data. This is not a real resource.

func (*KResource) DeepCopy

func (in *KResource) DeepCopy() *KResource

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

func (*KResource) DeepCopyInto

func (in *KResource) DeepCopyInto(out *KResource)

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

func (*KResource) DeepCopyObject

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

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

func (*KResource) GetListType

func (r *KResource) GetListType() runtime.Object

GetListType implements apis.Listable

func (*KResource) Populate

func (t *KResource) Populate()

Populate implements duck.Populatable

type KResourceList

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

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

KResourceList is a list of KResource resources

func (*KResourceList) DeepCopy

func (in *KResourceList) DeepCopy() *KResourceList

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

func (*KResourceList) DeepCopyInto

func (in *KResourceList) DeepCopyInto(out *KResourceList)

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

func (*KResourceList) DeepCopyObject

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

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

type KResourceStatus

type KResourceStatus struct {
	Conditions Conditions `json:"conditions,omitempty"`
}

KResourceStatus shows how we expect folks to embed Conditions in their Status field.

func (*KResourceStatus) DeepCopy

func (in *KResourceStatus) DeepCopy() *KResourceStatus

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

func (*KResourceStatus) DeepCopyInto

func (in *KResourceStatus) DeepCopyInto(out *KResourceStatus)

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

func (*KResourceStatus) GetConditions

func (krs *KResourceStatus) GetConditions() Conditions

func (*KResourceStatus) SetConditions

func (krs *KResourceStatus) SetConditions(conditions Conditions)

type LegacyTarget

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

	Status LegacyTargetable `json:"status"`
}

LegacyTarget is a skeleton type wrapping LegacyTargetable in the manner we want to support unless they get migrated into supporting Legacy. We will typically use this type to deserialize LegacyTargetable ObjectReferences and access the LegacyTargetable data. This is not a real resource. ** Do not use this for any new resources **

func (*LegacyTarget) DeepCopy

func (in *LegacyTarget) DeepCopy() *LegacyTarget

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

func (*LegacyTarget) DeepCopyInto

func (in *LegacyTarget) DeepCopyInto(out *LegacyTarget)

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

func (*LegacyTarget) DeepCopyObject

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

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

func (*LegacyTarget) GetListType

func (r *LegacyTarget) GetListType() runtime.Object

GetListType implements apis.Listable

func (*LegacyTarget) Populate

func (t *LegacyTarget) Populate()

Populate implements duck.Populatable

type LegacyTargetList

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

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

LegacyTargetList is a list of LegacyTarget resources

func (*LegacyTargetList) DeepCopy

func (in *LegacyTargetList) DeepCopy() *LegacyTargetList

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

func (*LegacyTargetList) DeepCopyInto

func (in *LegacyTargetList) DeepCopyInto(out *LegacyTargetList)

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

func (*LegacyTargetList) DeepCopyObject

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

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

type LegacyTargetable

type LegacyTargetable struct {
	DomainInternal string `json:"domainInternal,omitempty"`
}

LegacyTargetable is the old schema for the targetable portion of the payload

For new resources use Targetable.

func (*LegacyTargetable) DeepCopy

func (in *LegacyTargetable) DeepCopy() *LegacyTargetable

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

func (*LegacyTargetable) DeepCopyInto

func (in *LegacyTargetable) DeepCopyInto(out *LegacyTargetable)

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

func (*LegacyTargetable) GetFullType

func (_ *LegacyTargetable) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

type Sink

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

	Status SinkStatus `json:"status"`
}

Sink is a skeleton type wrapping Sinkable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Sinkable ObjectReferences and access the Sinkable data. This is not a real resource.

func (*Sink) DeepCopy

func (in *Sink) DeepCopy() *Sink

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

func (*Sink) DeepCopyInto

func (in *Sink) DeepCopyInto(out *Sink)

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

func (*Sink) DeepCopyObject

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

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

func (*Sink) GetListType

func (r *Sink) GetListType() runtime.Object

GetListType implements apis.Listable

func (*Sink) Populate

func (t *Sink) Populate()

Populate implements duck.Populatable

type SinkList

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

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

SinkList is a list of Sink resources

func (*SinkList) DeepCopy

func (in *SinkList) DeepCopy() *SinkList

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

func (*SinkList) DeepCopyInto

func (in *SinkList) DeepCopyInto(out *SinkList)

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

func (*SinkList) DeepCopyObject

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

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

type SinkStatus

type SinkStatus struct {
	Sinkable *Sinkable `json:"sinkable,omitempty"`
}

SinkStatus shows how we expect folks to embed Sinkable in their Status field.

func (*SinkStatus) DeepCopy

func (in *SinkStatus) DeepCopy() *SinkStatus

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

func (*SinkStatus) DeepCopyInto

func (in *SinkStatus) DeepCopyInto(out *SinkStatus)

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

type Sinkable

type Sinkable struct {
	DomainInternal string `json:"domainInternal,omitempty"`
}

Sinkable is the schema for the sinkable portion of the payload

func (*Sinkable) DeepCopy

func (in *Sinkable) DeepCopy() *Sinkable

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

func (*Sinkable) DeepCopyInto

func (in *Sinkable) DeepCopyInto(out *Sinkable)

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

func (*Sinkable) GetFullType

func (_ *Sinkable) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

type Subscribable

type Subscribable struct {
	// Channelable is a reference to the actual resource
	// that provides the ability to perform Subscription capabilities.
	// This may point to object itself (for example Channel) or to another
	// object providing the actual capabilities..
	Channelable corev1.ObjectReference `json:"channelable,omitempty"`
}

Subscribable is the schema for the subscribable portion of the payload. It is a reference to actual object that implements Channelable duck type.

func (*Subscribable) DeepCopy

func (in *Subscribable) DeepCopy() *Subscribable

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

func (*Subscribable) DeepCopyInto

func (in *Subscribable) DeepCopyInto(out *Subscribable)

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

func (*Subscribable) GetFullType

func (_ *Subscribable) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

type Subscription

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

	// SubscriptionStatus is the part of the Status where a Subscribable
	// object points to the underlying Channelable object that fullfills
	// the SubscribableSpec contract. Note that this can be a self-link
	// for example for concrete Channel implementations.
	Status SubscriptionStatus `json:"status"`
}

Subscription is a skeleton type wrapping the notion that this object can be subscribed to. SubscriptionStatus provides the reference (in a form of Subscribable) to the object that you can actually create a subscription to. We will typically use this type to deserialize Subscription objects to access the Subscripion data. This is not a real resource.

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) GetListType

func (r *Subscription) GetListType() runtime.Object

GetListType implements apis.Listable

func (*Subscription) Populate

func (t *Subscription) Populate()

Populate implements duck.Populatable

type SubscriptionList

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

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

SubscribableList is a list of Subscribable resources

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 SubscriptionStatus

type SubscriptionStatus struct {
	Subscribable *Subscribable `json:"subscribable,omitempty"`
}

SubscriptionStatus shows how we expect folks to embed Subscribable in their Status field.

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.

type Target

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

	Status TargetStatus `json:"status"`
}

Target is a skeleton type wrapping Targetable in the manner we expect resource writers defining compatible resources to embed it. We will typically use this type to deserialize Targetable ObjectReferences and access the Targetable data. This is not a real resource.

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

func (*Target) DeepCopyObject

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

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

func (*Target) GetListType

func (r *Target) GetListType() runtime.Object

GetListType implements apis.Listable

func (*Target) Populate

func (t *Target) Populate()

Populate implements duck.Populatable

type TargetList

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

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

TargetList is a list of Target resources

func (*TargetList) DeepCopy

func (in *TargetList) DeepCopy() *TargetList

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

func (*TargetList) DeepCopyInto

func (in *TargetList) DeepCopyInto(out *TargetList)

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

func (*TargetList) DeepCopyObject

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

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

type TargetStatus

type TargetStatus struct {
	Targetable *Targetable `json:"targetable,omitempty"`
}

TargetStatus shows how we expect folks to embed Targetable in their Status field.

func (*TargetStatus) DeepCopy

func (in *TargetStatus) DeepCopy() *TargetStatus

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

func (*TargetStatus) DeepCopyInto

func (in *TargetStatus) DeepCopyInto(out *TargetStatus)

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

type Targetable

type Targetable struct {
	DomainInternal string `json:"domainInternal,omitempty"`
}

Targetable is the schema for the targetable portion of the payload

func (*Targetable) DeepCopy

func (in *Targetable) DeepCopy() *Targetable

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

func (*Targetable) DeepCopyInto

func (in *Targetable) DeepCopyInto(out *Targetable)

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

func (*Targetable) GetFullType

func (_ *Targetable) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL