Resource.WithSerializedAnnotation
Method
func (Resource) WithSerializedAnnotation( annotationId string, json string,) ResourceSignature
method
WithSerializedAnnotation Stores a serialized ATS annotation payload on a resource, replacing any existing annotation with the same ID.
WithSerializedAnnotation( annotationId string, json string,) ResourceParameters
annotationId stringThe stable annotation identifier.jsonstringThe serialized JSON payload.Returns
ResourceThe resource.
Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: