Documentation ¶
Index ¶
- Constants
- func CreateInsecureConnection(ctx context.Context, url string) (*ggrpc.ClientConn, error)
- func NewAPITokenServer(issuer string, signer jwt.JWTSigner, ...) api.APITokenServer
- func NewAuthServer(ctx context.Context, issuerURL string, oidcServer *auth.Server, ...) (*authServer, error)
- func NewAuthServerClient(ctx context.Context, gatewayAddr string) (*grpc.ClientConn, gateway.GatewayAuthClient, error)
- func NewClusterAuthAPIServer(issuer string, signer jwt.JWTSigner, ...) api.ClusterAuthServer
- func NewGatewayAPIServer(authConfig *auth.ClientConfig, client *auth.Client, server *auth.Server, ...) api.GatewayServer
- func NewOIDCProviderServer(oidcServer *auth.Server) *oidcProviderServer
- type OpenIdConfiguration
Constants ¶
View Source
const (
CACertPath = "/etc/pki/tls.crt"
)
Variables ¶
This section is empty.
Functions ¶
func NewAPITokenServer ¶ added in v0.3.0
func NewAPITokenServer( issuer string, signer jwt.JWTSigner, userRepo repositories.ReadOnlyUserRepository, ) api.APITokenServer
func NewAuthServer ¶
func NewAuthServer(ctx context.Context, issuerURL string, oidcServer *auth.Server, policiesPath string, roleBindingRepo repositories.UserRoleBindingRepository) (*authServer, error)
NewAuthServer creates a new instance of gateway.authServer.
func NewAuthServerClient ¶
func NewAuthServerClient(ctx context.Context, gatewayAddr string) (*grpc.ClientConn, gateway.GatewayAuthClient, error)
func NewClusterAuthAPIServer ¶
func NewClusterAuthAPIServer( issuer string, signer jwt.JWTSigner, clusterRepo repositories.ReadOnlyClusterRepository, validity map[string]time.Duration, ) api.ClusterAuthServer
func NewGatewayAPIServer ¶
func NewGatewayAPIServer(authConfig *auth.ClientConfig, client *auth.Client, server *auth.Server, userRepo repositories.ReadOnlyUserRepository) api.GatewayServer
func NewOIDCProviderServer ¶ added in v0.3.6
NewOIDCProviderServer creates a basic OIDC provider server
Types ¶
type OpenIdConfiguration ¶ added in v0.3.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.