Documentation ¶
Overview ¶
Package provider provides TLS config for client & server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesEndpoints ¶ added in v0.9.0
type KubernetesEndpoints struct{}
KubernetesEndpoints provides dynamic list of control plane endpoints via Kubernetes Endpoints resource.
func (*KubernetesEndpoints) GetEndpoints ¶ added in v0.9.0
func (e *KubernetesEndpoints) GetEndpoints() (endpoints []string, err error)
GetEndpoints implements Endpoints inteface.
type StaticEndpoints ¶ added in v0.9.0
type StaticEndpoints struct {
Endpoints []string
}
StaticEndpoints provides static list of endpoints.
func (*StaticEndpoints) GetEndpoints ¶ added in v0.9.0
func (e *StaticEndpoints) GetEndpoints() (endpoints []string, err error)
GetEndpoints implements Endpoints inteface.
type TLSConfig ¶
type TLSConfig struct {
// contains filtered or unexported fields
}
TLSConfig provides client & server TLS configs for apid.
func NewTLSConfig ¶
NewTLSConfig builds provider from configuration and endpoints.
func (*TLSConfig) ClientConfig ¶
ClientConfig generates client-side tls.Config.
Click to show internal directories.
Click to hide internal directories.