...

Source file src/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.1/customvision/prediction/predictionapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.1/customvision/prediction/predictionapi

     1  package predictionapi
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  import (
    10  	"context"
    11  	"github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.1/customvision/prediction"
    12  	"github.com/gofrs/uuid"
    13  	"io"
    14  )
    15  
    16  // BaseClientAPI contains the set of methods on the BaseClient type.
    17  type BaseClientAPI interface {
    18  	PredictImage(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, iterationID *uuid.UUID, application string) (result prediction.ImagePrediction, err error)
    19  	PredictImageURL(ctx context.Context, projectID uuid.UUID, imageURL prediction.ImageURL, iterationID *uuid.UUID, application string) (result prediction.ImagePrediction, err error)
    20  	PredictImageURLWithNoStore(ctx context.Context, projectID uuid.UUID, imageURL prediction.ImageURL, iterationID *uuid.UUID, application string) (result prediction.ImagePrediction, err error)
    21  	PredictImageWithNoStore(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, iterationID *uuid.UUID, application string) (result prediction.ImagePrediction, err error)
    22  }
    23  
    24  var _ BaseClientAPI = (*prediction.BaseClient)(nil)
    25  

View as plain text