Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SchemaName represents the name of the schema being used. SchemaName = "karte_von_morgen-v1.0.0" // APIEntry is the base endpoint for the API from which profiles are // retrieved. APIEntry = "https://api.ofdb.io/v0/entries/" // APIValidatePath is the API path used for validating profiles. APIValidatePath = "/v2/validate" // APINodesPath is the API path used for operations related to nodes. APINodesPath = "/v2/nodes" // APIProfilesPath is the API path used for operations related to profiles. APIProfilesPath = "/v1/profiles" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataproxyRefresher ¶
type DataproxyRefresher struct {
// contains filtered or unexported fields
}
func NewRefresher ¶
func NewRefresher() *DataproxyRefresher
func (*DataproxyRefresher) Run ¶
func (r *DataproxyRefresher) Run() error
func (*DataproxyRefresher) UpdateProfile ¶
func (r *DataproxyRefresher) UpdateProfile( profile model.Profile, profileJSON map[string]interface{}, ) error
Click to show internal directories.
Click to hide internal directories.