auth

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigClientAuthInfo

type ConfigClientAuthInfo struct {
	AccessKey string
	SecretKey string
}

type ConfigClientParam

type ConfigClientParam struct {
	Endpoint   string
	ServerAddr string
	Namespace  string
	AuthInfo   ConfigClientAuthInfo
}

type DefaultNacosAuthProvider added in v1.0.3

type DefaultNacosAuthProvider struct {
	client.Client
}

func (*DefaultNacosAuthProvider) GetNacosClientParams added in v1.0.3

type NacosAuthProvider

type NacosAuthProvider interface {
	GetNacosClientParams(*nacosiov1.DynamicConfiguration) (*ConfigClientParam, error)
}

func NewDefaultNacosAuthProvider added in v1.0.3

func NewDefaultNacosAuthProvider(c client.Client) NacosAuthProvider

Jump to

Keyboard shortcuts

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