Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotation types.NullString
func (Annotation) MarshalJSON ¶
func (a Annotation) MarshalJSON() ([]byte, error)
func (*Annotation) UnmarshalJSON ¶
func (a *Annotation) UnmarshalJSON(data []byte) error
type CommonResource ¶ added in v0.1.0
type CommonResource struct {
Metadata Metadata `json:"metadata"`
}
func (*CommonResource) AddMetadataElement ¶ added in v0.1.0
func (r *CommonResource) AddMetadataElement(element ElementType, key string, value string)
func (*CommonResource) RemoveMetadataElement ¶ added in v0.1.0
func (r *CommonResource) RemoveMetadataElement(element ElementType, key string)
type ElementType ¶ added in v0.1.0
type ElementType string
const ( AnnotationType ElementType = "annotation" LabelType ElementType = "label" )
type GUIDResource ¶ added in v0.1.0
type GUIDResource struct { CommonResource GUID string `json:"guid"` }
Click to show internal directories.
Click to hide internal directories.