netlify

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListEntities

func ListEntities(ctx context.ServiceContext, options *ListOptions) (interface{}, error)

func Sync

func Sync(ctx context.ServiceContext, options *SyncOptions) error

Types

type ListOptions

type ListOptions struct {
	Credentials map[string]interface{}
}

type SetupOptions

type SetupOptions struct {
	Token string `json:"token"`
	OrgID string `json:"-"`
}

type Site

type Site struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	AccountSlug string `json:"account_slug"`
}

type SyncOptions

type SyncOptions struct {
	Credentials   map[string]interface{} `json:"credentials"`
	EntityDetails map[string]interface{} `json:"entity_details"`
	Data          *keypayload.KPMap      `json:"data"`
}

type User

type User struct {
	ID       string `json:"id"`
	UID      string `json:"uid"`
	FullName string `json:"full_name"`
}

Jump to

Keyboard shortcuts

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