Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer()
Types ¶
type IncidentCreationPayload ¶
type IncidentCreationPayload struct { AssignmentGroup string `json:"assignment_group"` CmdbCI string `json:"cmdb_ci"` ContactType string `json:"contact_type"` //Auto Ticket Customer string `json:"caller_id"` Description string `json:"description"` Impact json.Number `json:"impact"` ShortDescription string `json:"short_description"` State json.Number `json:"state"` Urgency json.Number `json:"urgency"` }
IncidentCreationPayload Data to create an incident in service-now
type ServiceNowInstance ¶
type ServiceNowInstance struct {
// contains filtered or unexported fields
}
ServiceNowInstance should hold the necessary data for a client of the ServiceNow TableAPI
func DefaultServiceNowClient ¶
func DefaultServiceNowClient() *ServiceNowInstance
DefaultServiceNowClient get the client from the environment vars
func NewInstance ¶
func NewInstance(name, user, pass string) *ServiceNowInstance
NewInstance - Create new service-now instance
Click to show internal directories.
Click to hide internal directories.