sls

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAliCloudSlsLogstorage

func NewAliCloudSlsLogstorage(logger logger.Logger) bindings.OutputBinding

Types

type AliCloudSlsLogstorage

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

func (*AliCloudSlsLogstorage) GetComponentMetadata

func (s *AliCloudSlsLogstorage) GetComponentMetadata() map[string]string

GetComponentMetadata returns the metadata of the component.

func (*AliCloudSlsLogstorage) Init

parse metadata field

func (*AliCloudSlsLogstorage) Invoke

func (*AliCloudSlsLogstorage) Operations

func (s *AliCloudSlsLogstorage) Operations() []bindings.OperationKind

type Callback

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

func (*Callback) Fail

func (callback *Callback) Fail(result *producer.Result)

func (*Callback) Success

func (callback *Callback) Success(result *producer.Result)

type SlsLogstorageMetadata

type SlsLogstorageMetadata struct {
	Endpoint        string `json:"endpoint" mapstructure:"endpoint"`
	AccessKeyID     string `json:"accessKeyID" mapstructure:"accessKeyID"`
	AccessKeySecret string `json:"accessKeySecret" mapstructure:"accessKeySecret"`
}

Jump to

Keyboard shortcuts

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