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