...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/synapse/2019-06-01-preview/artifacts/client.go

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/synapse/2019-06-01-preview/artifacts

     1  // Package artifacts implements the Azure ARM Artifacts service API version 2019-06-01-preview.
     2  //
     3  //
     4  package artifacts
     5  
     6  // Copyright (c) Microsoft Corporation. All rights reserved.
     7  // Licensed under the MIT License. See License.txt in the project root for license information.
     8  //
     9  // Code generated by Microsoft (R) AutoRest Code Generator.
    10  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
    11  
    12  import (
    13  	"github.com/Azure/go-autorest/autorest"
    14  )
    15  
    16  // BaseClient is the base client for Artifacts.
    17  type BaseClient struct {
    18  	autorest.Client
    19  	Endpoint string
    20  }
    21  
    22  // New creates an instance of the BaseClient client.
    23  func New(endpoint string) BaseClient {
    24  	return NewWithoutDefaults(endpoint)
    25  }
    26  
    27  // NewWithoutDefaults creates an instance of the BaseClient client.
    28  func NewWithoutDefaults(endpoint string) BaseClient {
    29  	return BaseClient{
    30  		Client:   autorest.NewClientWithUserAgent(UserAgent()),
    31  		Endpoint: endpoint,
    32  	}
    33  }
    34  

View as plain text