Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=bindings.projectriff.io
Index ¶
- Constants
- Variables
- func GetLatestImage(ctx context.Context) string
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- func WithLatestImage(ctx context.Context, img string) context.Context
- type ImageBinding
- func (in *ImageBinding) DeepCopy() *ImageBinding
- func (in *ImageBinding) DeepCopyInto(out *ImageBinding)
- func (in *ImageBinding) DeepCopyObject() runtime.Object
- func (b *ImageBinding) Do(ctx context.Context, ps *duckv1.WithPod)
- func (b *ImageBinding) GetBindingStatus() duck.BindableStatus
- func (b *ImageBinding) GetConditionSet() apis.ConditionSet
- func (b *ImageBinding) GetGroupVersionKind() schema.GroupVersionKind
- func (b *ImageBinding) GetStatus() *duckv1.Status
- func (b *ImageBinding) GetSubject() tracker.Reference
- func (b *ImageBinding) SetDefaults(context.Context)
- func (b *ImageBinding) Undo(ctx context.Context, ps *duckv1.WithPod)
- func (b *ImageBinding) Validate(context.Context) (errs *apis.FieldError)
- type ImageBindingList
- type ImageBindingSpec
- type ImageBindingStatus
- func (in *ImageBindingStatus) DeepCopy() *ImageBindingStatus
- func (in *ImageBindingStatus) DeepCopyInto(out *ImageBindingStatus)
- func (bs *ImageBindingStatus) InitializeConditions()
- func (bs *ImageBindingStatus) MarkBindingAvailable()
- func (bs *ImageBindingStatus) MarkBindingUnavailable(reason string, message string)
- func (bs *ImageBindingStatus) SetObservedGeneration(gen int64)
Constants ¶
const ( ImageBindingConditionReady = apis.ConditionReady ImageBindingConditionBindingAvailable = "BindingAvailable" ImageBindingAnnotationKeyPrefix = "imagebindings." + GroupName + "/" )
const (
GroupName = "bindings.projectriff.io"
)
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} )
Functions ¶
func GetLatestImage ¶
GetLatestImage accesses the resolved image that have been associated with this context.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ImageBinding ¶
type ImageBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImageBindingSpec `json:"spec,omitempty"` Status ImageBindingStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ImageBinding) DeepCopy ¶
func (in *ImageBinding) DeepCopy() *ImageBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBinding.
func (*ImageBinding) DeepCopyInto ¶
func (in *ImageBinding) DeepCopyInto(out *ImageBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageBinding) DeepCopyObject ¶
func (in *ImageBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ImageBinding) GetBindingStatus ¶
func (b *ImageBinding) GetBindingStatus() duck.BindableStatus
func (*ImageBinding) GetConditionSet ¶
func (b *ImageBinding) GetConditionSet() apis.ConditionSet
func (*ImageBinding) GetGroupVersionKind ¶
func (b *ImageBinding) GetGroupVersionKind() schema.GroupVersionKind
func (*ImageBinding) GetStatus ¶
func (b *ImageBinding) GetStatus() *duckv1.Status
func (*ImageBinding) GetSubject ¶
func (b *ImageBinding) GetSubject() tracker.Reference
func (*ImageBinding) SetDefaults ¶
func (b *ImageBinding) SetDefaults(context.Context)
func (*ImageBinding) Validate ¶
func (b *ImageBinding) Validate(context.Context) (errs *apis.FieldError)
type ImageBindingList ¶
type ImageBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ImageBinding `json:"items"` }
func (*ImageBindingList) DeepCopy ¶
func (in *ImageBindingList) DeepCopy() *ImageBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBindingList.
func (*ImageBindingList) DeepCopyInto ¶
func (in *ImageBindingList) DeepCopyInto(out *ImageBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageBindingList) DeepCopyObject ¶
func (in *ImageBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageBindingSpec ¶
type ImageBindingSpec struct { Subject *tracker.Reference `json:"subject,omitempty"` Provider *tracker.Reference `json:"provider,omitempty"` ContainerName string `json:"containerName,omitempty"` }
func (*ImageBindingSpec) DeepCopy ¶
func (in *ImageBindingSpec) DeepCopy() *ImageBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBindingSpec.
func (*ImageBindingSpec) DeepCopyInto ¶
func (in *ImageBindingSpec) DeepCopyInto(out *ImageBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageBindingStatus ¶
func (*ImageBindingStatus) DeepCopy ¶
func (in *ImageBindingStatus) DeepCopy() *ImageBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBindingStatus.
func (*ImageBindingStatus) DeepCopyInto ¶
func (in *ImageBindingStatus) DeepCopyInto(out *ImageBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageBindingStatus) InitializeConditions ¶
func (bs *ImageBindingStatus) InitializeConditions()
func (*ImageBindingStatus) MarkBindingAvailable ¶
func (bs *ImageBindingStatus) MarkBindingAvailable()
func (*ImageBindingStatus) MarkBindingUnavailable ¶
func (bs *ImageBindingStatus) MarkBindingUnavailable(reason string, message string)
func (*ImageBindingStatus) SetObservedGeneration ¶
func (bs *ImageBindingStatus) SetObservedGeneration(gen int64)