2023-08-10 19:49:51 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-08-10 19:49:51 +00:00
|
|
|
|
|
|
|
//go:build !consulent
|
|
|
|
|
|
|
|
package pbconfigentry
|
|
|
|
|
|
|
|
import "github.com/hashicorp/consul/agent/structs"
|
|
|
|
|
|
|
|
func gwJWTRequirementToStructs(m *APIGatewayJWTRequirement) *structs.APIGatewayJWTRequirement {
|
|
|
|
return &structs.APIGatewayJWTRequirement{}
|
|
|
|
}
|
|
|
|
|
|
|
|
func gwJWTRequirementFromStructs(*structs.APIGatewayJWTRequirement) *APIGatewayJWTRequirement {
|
|
|
|
return &APIGatewayJWTRequirement{}
|
|
|
|
}
|
2023-08-10 21:23:42 +00:00
|
|
|
|
|
|
|
func routeJWTFilterToStructs(m *JWTFilter) *structs.JWTFilter {
|
|
|
|
return &structs.JWTFilter{}
|
|
|
|
}
|
|
|
|
|
|
|
|
func routeJWTFilterFromStructs(*structs.JWTFilter) *JWTFilter {
|
|
|
|
return &JWTFilter{}
|
|
|
|
}
|