Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPAuth ¶
func HTTPAuth(id string, spec *obs.HTTPAuthentication, secrets vectorhelpers.Secrets, op Options) Element
HTTPAuth provides auth configuration for http authentication where username/password or bearer token are viable options. Bearer token takes precedence if both are provided
Types ¶
type Basic ¶
func NewBasic ¶
func NewBasic(id string, spec *obs.HTTPAuthentication, secrets observability.Secrets) Basic
type BearerToken ¶
func NewBearerToken ¶
func NewBearerToken(id string, spec *obs.HTTPAuthentication, secrets observability.Secrets, op framework.Options) BearerToken
func (BearerToken) Name ¶
func (bt BearerToken) Name() string
func (BearerToken) Template ¶
func (bt BearerToken) Template() string
Click to show internal directories.
Click to hide internal directories.