connector

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourcesPageSize = 50

Functions

This section is empty.

Types

type ServiceNow

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

func New

func New(ctx context.Context, auth string, deployment string) (*ServiceNow, error)

New returns the ServiceNow connector.

func (*ServiceNow) Metadata

func (s *ServiceNow) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

func (*ServiceNow) ResourceSyncers

func (s *ServiceNow) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*ServiceNow) Validate

func (s *ServiceNow) Validate(ctx context.Context) (annotations.Annotations, error)

Validates that we have credentials and an endpoint. Does not validate that the credentials have all of the correct permissions.

Jump to

Keyboard shortcuts

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