servicenow

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CmdbCIServerTableName = "cmdb_ci_server"
View Source
const CmdbCIServiceTableName = "cmdb_ci_service"
View Source
const CmdbCITableName = "cmdb_ci"
View Source
const IncidentTableName = "incident"
View Source
const SysAuditRelationTableName = "sys_audit_relation"
View Source
const SysAuditTableName = "sys_audit"
View Source
const SysGroupHasRoleTableName = "sys_group_has_role"
View Source
const SysUserGroupMemberTableName = "sys_user_grmember"
View Source
const SysUserGroupTableName = "sys_user_group"
View Source
const SysUserHasRoleTableName = "sys_user_has_role"
View Source
const SysUserRoleTableName = "sys_user_role"
View Source
const SysUserTableName = "sys_user"

Variables

This section is empty.

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) servicenowConfig

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

type ServiceNowTableBuilder

type ServiceNowTableBuilder struct {
	// contains filtered or unexported fields
}

func NewServiceNowTableBuilder

func NewServiceNowTableBuilder(client *servicenow.ServiceNow) (*ServiceNowTableBuilder, error)

func (*ServiceNowTableBuilder) GetTableById

func (builder *ServiceNowTableBuilder) GetTableById(sysId string) (*model.SysDbObject, error)

func (*ServiceNowTableBuilder) GetTableByName

func (builder *ServiceNowTableBuilder) GetTableByName(tableName string) (*model.SysDbObject, error)

func (*ServiceNowTableBuilder) GetTableColumns

func (builder *ServiceNowTableBuilder) GetTableColumns(tableName string, parentTableSysId string, serviceNowColumns map[string]ServiceNowTableColumn) error

func (*ServiceNowTableBuilder) GetTableColumnsDescriptions

func (builder *ServiceNowTableBuilder) GetTableColumnsDescriptions(tableName string) (map[string]model.SysDocumentation, error)

func (*ServiceNowTableBuilder) GetTableColumnsTypes

func (builder *ServiceNowTableBuilder) GetTableColumnsTypes(tableName string) (map[string]string, error)

type ServiceNowTableColumn

type ServiceNowTableColumn struct {
	Name        string
	Type        string
	Label       string
	Description string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL