Documentation
¶
Overview ¶
Package apimodels holds the request payload types for the api HTTP API. They are shared between the server-side handlers and the api-backed service.Service client (remotesvc) so the wire contract stays in one place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSRecordsCreateRequest ¶
type DNSRecordsCreateRequest struct {
PayloadName string `json:"payloadName"`
Name string `json:"name"`
TTL int `json:"ttl"`
Type service.DNSRecordType `json:"type"`
Values []string `json:"values"`
Strategy service.DNSRecordStrategy `json:"strategy"`
}
type HTTPRoutesCreateRequest ¶
type HTTPRoutesUpdateRequest ¶
type PayloadsCreateRequest ¶
type PayloadsCreateRequest struct {
Name string `json:"name"`
NotifyProtocols []service.ProtoCategory `json:"notifyProtocols"`
StoreEvents bool `json:"storeEvents"`
}
type PayloadsUpdateRequest ¶
type PayloadsUpdateRequest struct {
Name string `json:"name"`
NotifyProtocols []service.ProtoCategory `json:"notifyProtocols,omitempty"`
StoreEvents *bool `json:"storeEvents"`
}
Click to show internal directories.
Click to hide internal directories.