package
99.0.0+incompatible
Repository: https://github.com/poy/knative-pkg.git
Documentation: pkg.go.dev
# Functions
Kind takes an unqualified kind and returns back a Group qualified GroupKind.
NewBatchConditionSet returns a ConditionSet to hold the conditions for the batch resource.
NewLivingConditionSet returns a ConditionSet to hold the conditions for the living resource.
NewReflectedConditionsAccessor uses reflection to return a ConditionsAccessor to access the field called "Conditions".
Resource takes an unqualified resource and returns a Group qualified GroupResource.
# Constants
ConditionReady specifies that the resource is ready.
ConditionSeverityError specifies that a failure of a condition type should be viewed as an error.
ConditionSeverityInfo specifies that a failure of a condition type should be viewed as purely informational, and that things could still work.
ConditionSeverityWarning specifies that a failure of a condition type should be viewed as a warning, but that things could still work.
ConditionSucceeded specifies that the resource has finished.
# Variables
No description provided by the author
No description provided by the author
SchemeGroupVersion is group version used to register these objects.
# Structs
Addressable is the schema for the destination information.
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.
Conditions defines a readiness condition for a Knative resource.
ConditionSet is an abstract collection of the possible ConditionType values that a particular resource might expose.
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.
LegacyTarget is a skeleton type wrapping LegacyTargetable in the manner we want to support unless they get migrated into supporting Legacy.
LegacyTargetable is the old schema for the addressable portion of the payload
For new resources use Addressable.
LegacyTargetList is a list of LegacyTarget resources.
Status shows how we expect folks to embed Conditions in their Status field.
Target is a skeleton type wrapping Targetable in the manner we expect resource writers defining compatible resources to embed it.
Targetable is retired; implement Addressable for now.
TargetList is a list of Target resources.
TargetStatus shows how we expect folks to embed Targetable in their Status field.
# Interfaces
ConditionManager allows a resource to operate on its Conditions using higher order operations.
Conditions is the interface for a Resource that implements the getter and setter for accessing a Condition collection.
# Type aliases
Conditions is the schema for the conditions portion of the payload.
ConditionSeverity expresses the severity of a Condition Type failing.
ConditionType is a camel-cased condition type.
TODO: KResourceStatus is added for backwards compatibility for <= 0.4.0 releases.