Documentation
¶
Overview ¶
Copyright 2023 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2023 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2023 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2023 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2024 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicAuthenticator ¶
func (*BasicAuthenticator) Configure ¶
func (o *BasicAuthenticator) Configure(cfg map[string]interface{}) error
func (*BasicAuthenticator) EncodeHeader ¶
func (o *BasicAuthenticator) EncodeHeader() (string, error)
type IAuthenticator ¶
type Method ¶
type Method string
Method is the enumeration of authentication methods supported by Veraison service. It implements the pflag.Value interface.
type NullAuthenticator ¶
type NullAuthenticator struct{}
func (*NullAuthenticator) Configure ¶
func (o *NullAuthenticator) Configure(cfg map[string]interface{}) error
func (*NullAuthenticator) EncodeHeader ¶
func (o *NullAuthenticator) EncodeHeader() (string, error)
type Oauth2Authenticator ¶
type Oauth2Authenticator struct {
TokenURL string
ClientID string
ClientSecret string
Username string
Password string
CACerts []string
Token *oauth2.Token
}
func (*Oauth2Authenticator) Configure ¶
func (o *Oauth2Authenticator) Configure(cfg map[string]interface{}) error
func (*Oauth2Authenticator) EncodeHeader ¶
func (o *Oauth2Authenticator) EncodeHeader() (string, error)
Click to show internal directories.
Click to hide internal directories.