sds

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSdsStreamClient

func CreateSdsStreamClient(config interface{}) (sds.SdsStreamClient, error)

Types

type SdsStreamClientImpl

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

func (*SdsStreamClientImpl) AckResponse

func (sc *SdsStreamClientImpl) AckResponse(resp interface{})

func (*SdsStreamClientImpl) Fetch

func (sc *SdsStreamClientImpl) Fetch(ctx context.Context, name string) (*types.SdsSecret, error)

Fetch wraps a discovery request construct and will send a grpc request without grpc options.

func (*SdsStreamClientImpl) Recv

func (sc *SdsStreamClientImpl) Recv(provider types.SecretProvider, callback func()) error

func (*SdsStreamClientImpl) Send

func (sc *SdsStreamClientImpl) Send(name string) error

func (*SdsStreamClientImpl) Stop

func (sc *SdsStreamClientImpl) Stop()

type SdsStreamConfig

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

func ConvertConfig

func ConvertConfig(config interface{}) (SdsStreamConfig, error)

Jump to

Keyboard shortcuts

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