Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=duck.knative.dev
Index ¶
- Variables
- type TestBindable
- func (in *TestBindable) DeepCopy() *TestBindable
- func (in *TestBindable) DeepCopyInto(out *TestBindable)
- func (in *TestBindable) DeepCopyObject() runtime.Object
- func (tb *TestBindable) Do(ctx context.Context, ps *duckv1.WithPod)
- func (tb *TestBindable) GetBindingStatus() duck.BindableStatus
- func (tb *TestBindable) GetGroupVersionKind() schema.GroupVersionKind
- func (tb *TestBindable) GetListType() runtime.Object
- func (tb *TestBindable) GetSubject() tracker.Reference
- func (tb *TestBindable) GetUntypedSpec() interface{}
- func (tb *TestBindable) Undo(ctx context.Context, ps *duckv1.WithPod)
- type TestBindableList
- type TestBindableSpec
- type TestBindableStatus
- func (in *TestBindableStatus) DeepCopy() *TestBindableStatus
- func (in *TestBindableStatus) DeepCopyInto(out *TestBindableStatus)
- func (tbs *TestBindableStatus) InitializeConditions()
- func (tbs *TestBindableStatus) MarkBindingAvailable()
- func (tbs *TestBindableStatus) MarkBindingUnavailable(reason, message string)
- func (tbs *TestBindableStatus) SetObservedGeneration(gen int64)
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder builds a scheme with the types known to the package. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types known to this package to an existing schema. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "duck.knative.dev", Version: "v3"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type TestBindable ¶
type TestBindable struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestBindableSpec `json:"spec,omitempty"` Status TestBindableStatus `json:"status,omitempty"` }
TestBindable is a simple resource that's compatible with our webhook
func (*TestBindable) DeepCopy ¶
func (in *TestBindable) DeepCopy() *TestBindable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBindable.
func (*TestBindable) DeepCopyInto ¶
func (in *TestBindable) DeepCopyInto(out *TestBindable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestBindable) DeepCopyObject ¶
func (in *TestBindable) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestBindable) Do ¶
func (tb *TestBindable) Do(ctx context.Context, ps *duckv1.WithPod)
Do implements psbinding.Bindable
func (*TestBindable) GetBindingStatus ¶
func (tb *TestBindable) GetBindingStatus() duck.BindableStatus
GetBindingStatus implements psbinding.Bindable
func (*TestBindable) GetGroupVersionKind ¶
func (tb *TestBindable) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind returns the GroupVersionKind.
func (*TestBindable) GetListType ¶
func (tb *TestBindable) GetListType() runtime.Object
GetListType implements apis.Listable
func (*TestBindable) GetSubject ¶
func (tb *TestBindable) GetSubject() tracker.Reference
GetSubject implements psbinding.Bindable
func (*TestBindable) GetUntypedSpec ¶
func (tb *TestBindable) GetUntypedSpec() interface{}
GetUntypedSpec returns the spec of the resource.
type TestBindableList ¶
type TestBindableList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []TestBindable `json:"items"` }
TestBindableList is a list of TestBindable resources
func (*TestBindableList) DeepCopy ¶
func (in *TestBindableList) DeepCopy() *TestBindableList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBindableList.
func (*TestBindableList) DeepCopyInto ¶
func (in *TestBindableList) DeepCopyInto(out *TestBindableList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestBindableList) DeepCopyObject ¶
func (in *TestBindableList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestBindableSpec ¶
type TestBindableSpec struct { duckv1alpha1.BindingSpec `json:",inline"` Foo string `json:"foo"` }
TestBindableSpec represents test resource spec.
func (*TestBindableSpec) DeepCopy ¶
func (in *TestBindableSpec) DeepCopy() *TestBindableSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBindableSpec.
func (*TestBindableSpec) DeepCopyInto ¶
func (in *TestBindableSpec) DeepCopyInto(out *TestBindableSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestBindableStatus ¶
TestBindableStatus represents the status of our test binding.
func (*TestBindableStatus) DeepCopy ¶
func (in *TestBindableStatus) DeepCopy() *TestBindableStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBindableStatus.
func (*TestBindableStatus) DeepCopyInto ¶
func (in *TestBindableStatus) DeepCopyInto(out *TestBindableStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestBindableStatus) InitializeConditions ¶
func (tbs *TestBindableStatus) InitializeConditions()
InitializeConditions populates the TestBindableStatus's conditions field with all of its conditions configured to Unknown.
func (*TestBindableStatus) MarkBindingAvailable ¶
func (tbs *TestBindableStatus) MarkBindingAvailable()
MarkBindingAvailable marks the TestBindable's Ready condition to True.
func (*TestBindableStatus) MarkBindingUnavailable ¶
func (tbs *TestBindableStatus) MarkBindingUnavailable(reason, message string)
MarkBindingUnavailable marks the TestBindable's Ready condition to False with the provided reason and message.
func (*TestBindableStatus) SetObservedGeneration ¶
func (tbs *TestBindableStatus) SetObservedGeneration(gen int64)
SetObservedGeneration implements psbinding.BindableStatus