2023-08-10 19:49:51 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
|
|
//go:build !consulent
|
|
|
|
// +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{}
|
|
|
|
}
|