Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DesiredStateFetcher ¶
type DesiredStateFetcher struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *config.Config, store store.Store, metricsAccountant metricsaccountant.MetricsAccountant, httpClient httpclient.HttpClient, timeProvider timeprovider.TimeProvider, logger logger.Logger) *DesiredStateFetcher
func (*DesiredStateFetcher) Fetch ¶
func (fetcher *DesiredStateFetcher) Fetch(resultChan chan DesiredStateFetcherResult)
type DesiredStateServerResponse ¶
type DesiredStateServerResponse struct { Results map[string]models.DesiredAppState `json:"results"` BulkToken BulkToken `json:"bulk_token"` }
func NewDesiredStateServerResponse ¶
func NewDesiredStateServerResponse(jsonMessage []byte) (DesiredStateServerResponse, error)
func (DesiredStateServerResponse) BulkTokenRepresentation ¶
func (response DesiredStateServerResponse) BulkTokenRepresentation() string
func (DesiredStateServerResponse) ToJSON ¶
func (response DesiredStateServerResponse) ToJSON() []byte
Click to show internal directories.
Click to hide internal directories.