diff --git a/pkg/solver/client.go b/pkg/solver/client.go index 44ef39f7..b61b1d0b 100644 --- a/pkg/solver/client.go +++ b/pkg/solver/client.go @@ -159,3 +159,9 @@ func (client *SolverClient) DownloadResultFiles(id string, localPath string) err } return system.ExpandTarBuffer(buf, localPath) } + +// Validation service + +func (client *SolverClient) GetValidationToken() (http.ValidationToken, error) { + return http.GetRequest[http.ValidationToken](client.options, fmt.Sprintf("/validation_token"), map[string]string{}) +}