mirror of
https://github.com/status-im/consul.git
synced 2025-02-20 01:18:49 +00:00
* Added oss config entries for Policy and JWT on APIGW * Updated structs for config entry * Updated comments, ran deep-copy * Move JWT configuration into OSS file * Add in the config entry OSS file for jwts * Added changelog * fixing proto spacing * Moved to using manually written deep copy method * Use pointers for override/default fields in apigw config entries * Run gen scripts for changed types
18 lines
466 B
Go
18 lines
466 B
Go
// 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{}
|
|
}
|