mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
16 lines
396 B
Go
16 lines
396 B
Go
|
// Copyright (c) The OpenTofu Authors
|
||
|
// SPDX-License-Identifier: MPL-2.0
|
||
|
// Copyright (c) 2023 HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: MPL-2.0
|
||
|
|
||
|
package method
|
||
|
|
||
|
// ID is a type alias to make passing the wrong ID into a method ID harder.
|
||
|
type ID string
|
||
|
|
||
|
// Validate validates the key provider ID for correctness.
|
||
|
func (i ID) Validate() error {
|
||
|
// TODO implement format checking
|
||
|
return nil
|
||
|
}
|