add variable and method comments

This commit is contained in:
Mike Mason
2023-07-17 19:02:55 +00:00
parent 2681b3d064
commit bc87fa7726
35 changed files with 157 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
// Package providers defines the provider interface for fetching metal resources.
package providers
import (
@@ -8,6 +9,7 @@ import (
"go.equinixmetal.net/infra9-metal-bridge/internal/metal/models"
)
// Provider defines the provider implementation.
type Provider interface {
GetOrganizationDetails(ctx context.Context, id gidx.PrefixedID) (*models.OrganizationDetails, error)
GetProjectDetails(ctx context.Context, id gidx.PrefixedID) (*models.ProjectDetails, error)