Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: FogDong <[email protected]>
  • Loading branch information
FogDong committed Aug 13, 2024
1 parent c96e6a4 commit 074a471
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/providers/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ type RuntimeParams struct {
KubeClient client.Client
}

// Params is the input parameters of a provider.
type Params[T any] struct {
Params T `json:"$params"`
RuntimeParams
}

// Returns is the returns of a provider.
type Returns[T any] struct {
Returns T `json:"$returns"`
}
Expand Down

0 comments on commit 074a471

Please sign in to comment.