Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigBytes ¶ added in v1.0.13
func NewConfigBytes(opts ...OptionFunc) (context.Context, []byte, error)
NewConfigBytes 获取配置
Types ¶
type OptionFunc ¶ added in v1.0.12
type OptionFunc func(*ap)
func WithApp ¶ added in v1.0.12
func WithApp(app string) OptionFunc
func WithCluster ¶ added in v1.0.12
func WithCluster(cluster string) OptionFunc
func WithIp ¶ added in v1.0.12
func WithIp(ip string) OptionFunc
func WithNamespaceName ¶ added in v1.0.12
func WithNamespaceName(namespaceName []string) OptionFunc
func WithPath ¶ added in v1.0.12
func WithPath(path string) OptionFunc
func WithSecret ¶ added in v1.0.12
func WithSecret(secret string) OptionFunc
Click to show internal directories.
Click to hide internal directories.