Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NO_REPAIR_INPUT = true
var NO_REPAIR_INPUT = os.Getenv("DT_NO_REPAIR_INPUT") == "true"
Functions ¶
func Service ¶
func Service(credentials *settings.Credentials) settings.CRUDService[*generic.Settings]
Types ¶
type SettingsObject ¶
type SettingsObject struct { SchemaVersion string `json:"schemaVersion"` SchemaID string `json:"schemaId"` Scope string `json:"scope"` Value json.RawMessage `json:"value"` }
type SettingsObjectCreate ¶
type SettingsObjectCreate struct { SchemaVersion string `json:"schemaVersion,omitempty"` SchemaID string `json:"schemaId"` Scope string `json:"scope"` Value json.RawMessage `json:"value"` }
type SettingsObjectCreateResponse ¶
type SettingsObjectCreateResponse struct {
ObjectID string `json:"objectId"`
}
type SettingsObjectList ¶
type SettingsObjectList struct { Items []*SettingsObjectListItem `json:"items"` NextPageKey *string `json:"nextPageKey,omitempty"` }
type SettingsObjectListItem ¶
type SettingsObjectListItem struct { ObjectID string `json:"objectId"` Scope string `json:"scope"` SchemaVersion string `json:"schemaVersion"` Value json.RawMessage `json:"value"` }
type SettingsObjectUpdate ¶
type SettingsObjectUpdate struct { SchemaVersion string `json:"schemaVersion,omitempty"` Value json.RawMessage `json:"value"` }
Click to show internal directories.
Click to hide internal directories.