spider

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AwsFidCreateTags           FUNCTION = "createTags"
	AwsKeyCreateTagsResourceId          = "ResourceId"
	AwsKeyCreateTagsTag                 = "Tag"

	AwsFidAssociateIamInstanceProfile           FUNCTION = "associateIamInstanceProfile"
	AwsKeyAssociateIamInstanceProfileInstanceId          = "InstanceId"
	AwsKeyAssociateIamInstanceProfileRole                = "Role"

	AwsFidGetRegionInfo FUNCTION = "getRegionInfo"

	OpenstackFidGetConnectionInfo FUNCTION = "getConnectionInfo"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AnyCall

type AnyCall struct {
	Model
	ConnectionName string      `json:"connectionName"`
	ReqInfo        AnyCallInfo `json:"reqInfo"`
}

func NewAnyCall

func NewAnyCall(connectionName string, fId FUNCTION, iKeyValueList []KeyValue) *AnyCall

func (*AnyCall) POST

func (self *AnyCall) POST() error

type AnyCallInfo

type AnyCallInfo struct {
	FID           FUNCTION   `json:"fId"`           // Function ID
	IKeyValueList []KeyValue `json:"iKeyValueList"` // Input Arguments List
	OKeyValueList []KeyValue `json:"oKeyValueList"` // Output Results List
}

type FUNCTION

type FUNCTION string

type KeyValue

type KeyValue struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Model

type Model struct {
}

Jump to

Keyboard shortcuts

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