v1alpha1

package
v0.0.0-...-9f59c5b Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=cloudevents.waveywaves.dev

Index

Constants

View Source
const (
	// AddressableServiceConditionReady is set when the revision is starting to materialize
	// runtime resources, and becomes true when those resources are ready.
	AddressableServiceConditionReady = apis.ConditionReady
)
View Source
const (
	// SimpleDeploymentConditionReady is set when the revision is starting to materialize
	// runtime resources, and becomes true when those resources are ready.
	SimpleDeploymentConditionReady = apis.ConditionReady
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: samples.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 AddressableService

type AddressableService struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec holds the desired state of the AddressableService (from the client).
	// +optional
	Spec AddressableServiceSpec `json:"spec,omitempty"`

	// Status communicates the observed state of the AddressableService (from the controller).
	// +optional
	Status AddressableServiceStatus `json:"status,omitempty"`
}

AddressableService is a Knative abstraction that encapsulates the interface by which Knative components express a desire to have a particular image cached.

+genclient +genreconciler +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AddressableService) DeepCopy

func (in *AddressableService) DeepCopy() *AddressableService

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

func (*AddressableService) DeepCopyInto

func (in *AddressableService) DeepCopyInto(out *AddressableService)

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

func (*AddressableService) DeepCopyObject

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

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

func (*AddressableService) GetConditionSet

func (as *AddressableService) GetConditionSet() apis.ConditionSet

GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface.

func (*AddressableService) GetGroupVersionKind

func (*AddressableService) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*AddressableService) GetStatus

func (as *AddressableService) GetStatus() *duckv1.Status

GetStatus retrieves the status of the resource. Implements the KRShaped interface.

func (*AddressableService) SetDefaults

func (as *AddressableService) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*AddressableService) Validate

func (as *AddressableService) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type AddressableServiceList

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

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

AddressableServiceList is a list of AddressableService resources

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AddressableServiceList) DeepCopy

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

func (*AddressableServiceList) DeepCopyInto

func (in *AddressableServiceList) DeepCopyInto(out *AddressableServiceList)

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

func (*AddressableServiceList) DeepCopyObject

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

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

type AddressableServiceSpec

type AddressableServiceSpec struct {
	// ServiceName holds the name of the Kubernetes Service to expose as an "addressable".
	ServiceName string `json:"serviceName"`
}

AddressableServiceSpec holds the desired state of the AddressableService (from the client).

func (*AddressableServiceSpec) DeepCopy

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

func (*AddressableServiceSpec) DeepCopyInto

func (in *AddressableServiceSpec) DeepCopyInto(out *AddressableServiceSpec)

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

func (*AddressableServiceSpec) Validate

Validate implements apis.Validatable

type AddressableServiceStatus

type AddressableServiceStatus struct {
	duckv1.Status `json:",inline"`

	// Address holds the information needed to connect this Addressable up to receive events.
	// +optional
	Address *duckv1.Addressable `json:"address,omitempty"`
}

AddressableServiceStatus communicates the observed state of the AddressableService (from the controller).

func (*AddressableServiceStatus) DeepCopy

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

func (*AddressableServiceStatus) DeepCopyInto

func (in *AddressableServiceStatus) DeepCopyInto(out *AddressableServiceStatus)

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

func (*AddressableServiceStatus) InitializeConditions

func (ass *AddressableServiceStatus) InitializeConditions()

InitializeConditions sets the initial values to the conditions.

func (*AddressableServiceStatus) MarkServiceAvailable

func (ass *AddressableServiceStatus) MarkServiceAvailable()

func (*AddressableServiceStatus) MarkServiceUnavailable

func (ass *AddressableServiceStatus) MarkServiceUnavailable(name string)

type CloudeventSink

type CloudeventSink struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec holds the desired state of the CloudeventSink (from the client).
	// +optional
	Spec CloudeventSinkSpec `json:"spec,omitempty"`

	// Status communicates the observed state of the CloudeventSink (from the controller).
	// +optional
	Status CloudeventSinkStatus `json:"status,omitempty"`
}

CloudeventSink is a Knative abstraction that encapsulates the interface by which Knative components express a desire to have a particular image cached.

+genclient +genreconciler +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CloudeventSink) DeepCopy

func (in *CloudeventSink) DeepCopy() *CloudeventSink

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

func (*CloudeventSink) DeepCopyInto

func (in *CloudeventSink) DeepCopyInto(out *CloudeventSink)

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

func (*CloudeventSink) DeepCopyObject

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

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

func (*CloudeventSink) GetConditionSet

func (d *CloudeventSink) GetConditionSet() apis.ConditionSet

GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface.

func (*CloudeventSink) GetGroupVersionKind

func (*CloudeventSink) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*CloudeventSink) GetStatus

func (d *CloudeventSink) GetStatus() *duckv1.Status

GetStatus retrieves the status of the resource. Implements the KRShaped interface.

func (*CloudeventSink) SetDefaults

func (d *CloudeventSink) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*CloudeventSink) Validate

func (d *CloudeventSink) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type CloudeventSinkList

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

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

CloudeventSinkList is a list of AddressableService resources

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CloudeventSinkList) DeepCopy

func (in *CloudeventSinkList) DeepCopy() *CloudeventSinkList

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

func (*CloudeventSinkList) DeepCopyInto

func (in *CloudeventSinkList) DeepCopyInto(out *CloudeventSinkList)

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

func (*CloudeventSinkList) DeepCopyObject

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

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

type CloudeventSinkSpec

type CloudeventSinkSpec struct {
	SinkType string `json:"type,omitempty"`
}

CloudeventSinkSpec holds the desired state of the CloudeventSink (from the client).

func (*CloudeventSinkSpec) DeepCopy

func (in *CloudeventSinkSpec) DeepCopy() *CloudeventSinkSpec

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

func (*CloudeventSinkSpec) DeepCopyInto

func (in *CloudeventSinkSpec) DeepCopyInto(out *CloudeventSinkSpec)

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

func (*CloudeventSinkSpec) Validate

func (ds *CloudeventSinkSpec) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type CloudeventSinkStatus

type CloudeventSinkStatus struct {
	duckv1.Status `json:",inline"`

	ReadyReplicas int32 `json:"readyReplicas"`
}

CloudeventSinkStatus communicates the observed state of the CloudeventSink (from the controller).

func (*CloudeventSinkStatus) DeepCopy

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

func (*CloudeventSinkStatus) DeepCopyInto

func (in *CloudeventSinkStatus) DeepCopyInto(out *CloudeventSinkStatus)

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

func (*CloudeventSinkStatus) InitializeConditions

func (ds *CloudeventSinkStatus) InitializeConditions()

InitializeConditions sets the initial values to the conditions.

func (*CloudeventSinkStatus) MarkPodsNotReady

func (ds *CloudeventSinkStatus) MarkPodsNotReady(n int32)

MarkPodsNotReady makes the CloudeventSink be not ready.

func (*CloudeventSinkStatus) MarkPodsReady

func (ds *CloudeventSinkStatus) MarkPodsReady()

MarkPodsReady makes the CloudeventSink be ready.

Jump to

Keyboard shortcuts

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