package
0.0.3
Repository: https://github.com/bhojpur/knative-pkg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetCronJobDefaulter extracts the CronJobDefaulter from the context.
GetCronJobValidator extracts the CronJobValidator from the context.
GetPodDefaulter extracts the PodDefaulter from the context.
GetPodSpecDefaulter extracts the PodSpecDefaulter from the context.
GetPodSpecValidator extracts the PodSpecValidator from the context.
GetPodValidator extracts the PodValidator from the context.
Kind takes an unqualified kind and returns back a Group qualified GroupKind.
KReferenceGroupAllowed notes on the context that further validation should allow the KReference.Group, which is disabled by default.
Resource takes an unqualified resource and returns a Group qualified GroupResource.
ValidateDestination validates Destination.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

SourceConditionSinkProvided has status True when the Source has been configured with a sink target that is resolvable.

# Variables

AddToScheme adds the types known to this package to an existing schema.
SchemeBuilder builds a scheme with the types known to the package.
SchemeGroupVersion is group version used to register these objects.

# Structs

Addressable provides a generic mechanism for a custom resource definition to indicate a destination for message delivery.
AddressableType is a skeleton type wrapping Addressable in the manner we expect resource writers defining compatible resources to embed it.
AddressableTypeList is a list of AddressableType resources.
AddressStatus shows how we expect folks to embed Addressable in their Status field.
Binding is a duck type that specifies the partial schema to which all Binding implementations should adhere.
BindingList is a list of Binding resources.
BindingSpec specifies the spec portion of the Binding partial-schema.
CloudEventAttributes specifies the attributes that a Source uses as part of its CloudEvents.
CloudEventOverrides defines arguments for a Source that control the output format of the CloudEvents produced by the Source.
CronJob is a wrapper around CronJob resource, which supports our interfaces for webhooks.
CronJobList is a list of CronJob resources.
Destination represents a target of an invocation over HTTP.
KReference contains enough information to refer to another object.
KResource is a skeleton type wrapping Conditions in the manner we expect resource writers defining compatible resources to embed it.
KResourceList is a list of KResource resources.
Pod is a wrapper around Pod-like resource, which supports our interfaces for webhooks.
PodList is a list of WithPod resources.
Source is the minimum resource shape to adhere to the Source Specification.
SourceList is a list of Source resources.
No description provided by the author
SourceStatus shows how we expect folks to embed Addressable in their Status field.
Status shows how we expect folks to embed Conditions in their Status field.
WithPod is the shell that demonstrates how PodSpecable types wrap a PodSpec.
WithPodList is a list of WithPod resources.
WithPodSpec is the shell around the PodSpecable within WithPod.

# Interfaces

KRShaped is an interface for retrieving the duck elements of an arbitrary resource.

# Type aliases

Conditions is a simple wrapper around apis.Conditions to implement duck.Implementable.
CronJobDefaulter is a callback to validate a CronJob.
CronJobValidator is a callback to validate a CronJob.
PodDefaulter is a callback to validate a Pod.
PodSpecable is implemented by types containing a PodTemplateSpec in the manner of ReplicaSet, Deployment, DaemonSet, StatefulSet.
PodSpecDefaulter is a callback to validate a PodSpecable.
PodSpecValidator is a callback to validate a PodSpecable.
PodValidator is a callback to validate Pods.