Help us shape the future of Go! Take the 2026 Go Developer Survey

sls

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: Apache-2.0 Imports: 11 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) Close added in v1.15.0

func (s *AliCloudSlsLogstorage) Close() error

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