Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadReply ¶
type BadReply struct { ID string `json:"id"` Kind string `json:"kind"` Href string `json:"href"` Code string `json:"code"` Reason string `json:"reason"` Details []struct { Description string `json:"description"` } `json:"details"` }
BadReply is the template for bad reply
type GoodReply ¶
type GoodReply struct { ID string `json:"id"` Kind string `json:"kind"` Href string `json:"href"` Details string `json:"details"` DetectionType string `json:"detection_type"` Summary string `json:"summary"` CreationTimestamp time.Time `json:"creation_timestamp"` }
GoodReply is the template for good reply
type LimitedSupport ¶
type LimitedSupport struct { ID string `json:"id,omitempty"` TemplateID string `json:"template_id,omitempty"` Summary string `json:"summary"` Details string `json:"details"` DetectionType string `json:"detection_type"` }
LimitedSupport is the base limited_support_reasons template
func (*LimitedSupport) GetDescription ¶ added in v0.13.2
func (l *LimitedSupport) GetDescription() string
func (*LimitedSupport) GetSummary ¶ added in v0.13.2
func (l *LimitedSupport) GetSummary() string
func (*LimitedSupport) ReplaceWithFlag ¶ added in v0.13.2
func (l *LimitedSupport) ReplaceWithFlag(variable, value string)
func (*LimitedSupport) SearchFlag ¶ added in v0.13.2
func (l *LimitedSupport) SearchFlag(placeholder string) (found bool)
Click to show internal directories.
Click to hide internal directories.