Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 versions of the serving apis. Api versions allow the api contract for a resource to be changed while keeping backward compatibility by support multiple concurrent versions of the same resource
Index ¶
Constants ¶
const ( // ConditionTypeConvertible is a Warning condition that is set on // resources when they cannot be converted to warn of a forthcoming // breakage. ConditionTypeConvertible apis.ConditionType = "Convertible" )
Variables ¶
var ( // SchemeBuilder registers the addKnownTypes function. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: serving.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func ConvertErrorf ¶ added in v0.6.0
ConvertErrorf creates a CannotConvertError from the field name and format string.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CannotConvertError ¶ added in v0.6.0
CannotConvertError is returned when a field cannot be converted.
func (*CannotConvertError) DeepCopy ¶ added in v0.6.0
func (in *CannotConvertError) DeepCopy() *CannotConvertError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CannotConvertError.
func (*CannotConvertError) DeepCopyInto ¶ added in v0.6.0
func (in *CannotConvertError) DeepCopyInto(out *CannotConvertError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CannotConvertError) Error ¶ added in v0.6.0
func (cce *CannotConvertError) Error() string
Error implements error