sls

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

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 added in v1.11.0

func (s *AliCloudSlsLogstorage) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

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