Documentation ¶ Index ¶ func New(i *interop.Interop, v *viper.Viper) (provider.Provider, error) type Records type ServiceNowProvider func (snp *ServiceNowProvider) GetEntities(config map[string]interface{}, tags []string, lastUpdate *time.Time) ([]provider.Entity, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(i *interop.Interop, v *viper.Viper) (provider.Provider, error) Types ¶ type Records ¶ type Records struct { Result []map[string]interface{} `json:"result"` } type ServiceNowProvider ¶ type ServiceNowProvider struct { Interop *interop.Interop ApiURL string ApiUser string ApiPassword string PageSize int } func (*ServiceNowProvider) GetEntities ¶ func (snp *ServiceNowProvider) GetEntities( config map[string]interface{}, tags []string, lastUpdate *time.Time, ) ( []provider.Entity, error, ) Source Files ¶ View all Source files api.goservicenow.go Click to show internal directories. Click to hide internal directories.