mirror of https://github.com/hashicorp/consul
25 lines
630 B
Go
25 lines
630 B
Go
|
// Copyright (c) HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: BUSL-1.1
|
||
|
|
||
|
//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{}
|
||
|
}
|
||
|
|
||
|
func routeJWTFilterToStructs(m *JWTFilter) *structs.JWTFilter {
|
||
|
return &structs.JWTFilter{}
|
||
|
}
|
||
|
|
||
|
func routeJWTFilterFromStructs(*structs.JWTFilter) *JWTFilter {
|
||
|
return &JWTFilter{}
|
||
|
}
|