silica

package
v0.0.0-...-6c49518 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package silica implements the Azure ARM Silica service API version 1.

Master API Teplate with cross cutting concerns baked into the template.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Silica
	DefaultBaseURI = "http://localhost:8082/"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type GetSystemAPIClient

type GetSystemAPIClient struct {
	ManagementClient
}

GetSystemAPIClient is the master API Teplate with cross cutting concerns baked into the template.

func NewGetSystemAPIClient

func NewGetSystemAPIClient() GetSystemAPIClient

NewGetSystemAPIClient creates an instance of the GetSystemAPIClient client.

func NewGetSystemAPIClientWithBaseURI

func NewGetSystemAPIClientWithBaseURI(baseURI string) GetSystemAPIClient

NewGetSystemAPIClientWithBaseURI creates an instance of the GetSystemAPIClient client.

func (GetSystemAPIClient) PingAPI

func (client GetSystemAPIClient) PingAPI(APIKey string) (result autorest.Response, err error)

PingAPI endpoint used for Heartbeat Monitoring. Monitoring will use this endpoint to check if the API is up and available.

APIKey is client API Key

func (GetSystemAPIClient) PingAPIPreparer

func (client GetSystemAPIClient) PingAPIPreparer(APIKey string) (*http.Request, error)

PingAPIPreparer prepares the PingAPI request.

func (GetSystemAPIClient) PingAPIResponder

func (client GetSystemAPIClient) PingAPIResponder(resp *http.Response) (result autorest.Response, err error)

PingAPIResponder handles the response to the PingAPI request. The method always closes the http.Response Body.

func (GetSystemAPIClient) PingAPISender

func (client GetSystemAPIClient) PingAPISender(req *http.Request) (*http.Response, error)

PingAPISender sends the PingAPI request. The method will close the http.Response Body if it receives an error.

type GetSystemGeneratesdkAPIClient

type GetSystemGeneratesdkAPIClient struct {
	ManagementClient
}

GetSystemGeneratesdkAPIClient is the master API Teplate with cross cutting concerns baked into the template.

func NewGetSystemGeneratesdkAPIClient

func NewGetSystemGeneratesdkAPIClient() GetSystemGeneratesdkAPIClient

NewGetSystemGeneratesdkAPIClient creates an instance of the GetSystemGeneratesdkAPIClient client.

func NewGetSystemGeneratesdkAPIClientWithBaseURI

func NewGetSystemGeneratesdkAPIClientWithBaseURI(baseURI string) GetSystemGeneratesdkAPIClient

NewGetSystemGeneratesdkAPIClientWithBaseURI creates an instance of the GetSystemGeneratesdkAPIClient client.

func (GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespace

func (client GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespace(APIKey string, swaggerJSONurl string, language string, namespace string) (result autorest.Response, err error)

KeySwaggerjsonurlLanguageNamespace endpoint used for Heartbeat Monitoring. Monitoring will use this endpoint to check if the API is up and available.

APIKey is client API Key swaggerJSONurl is url path to swagger.json file language is development language to generate SDK for. namespace is user selected namespace

func (GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespacePreparer

func (client GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespacePreparer(APIKey string, swaggerJSONurl string, language string, namespace string) (*http.Request, error)

KeySwaggerjsonurlLanguageNamespacePreparer prepares the KeySwaggerjsonurlLanguageNamespace request.

func (GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespaceResponder

func (client GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespaceResponder(resp *http.Response) (result autorest.Response, err error)

KeySwaggerjsonurlLanguageNamespaceResponder handles the response to the KeySwaggerjsonurlLanguageNamespace request. The method always closes the http.Response Body.

func (GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespaceSender

func (client GetSystemGeneratesdkAPIClient) KeySwaggerjsonurlLanguageNamespaceSender(req *http.Request) (*http.Response, error)

KeySwaggerjsonurlLanguageNamespaceSender sends the KeySwaggerjsonurlLanguageNamespace request. The method will close the http.Response Body if it receives an error.

type GetSystemSessionAPIClient

type GetSystemSessionAPIClient struct {
	ManagementClient
}

GetSystemSessionAPIClient is the master API Teplate with cross cutting concerns baked into the template.

func NewGetSystemSessionAPIClient

func NewGetSystemSessionAPIClient() GetSystemSessionAPIClient

NewGetSystemSessionAPIClient creates an instance of the GetSystemSessionAPIClient client.

func NewGetSystemSessionAPIClientWithBaseURI

func NewGetSystemSessionAPIClientWithBaseURI(baseURI string) GetSystemSessionAPIClient

NewGetSystemSessionAPIClientWithBaseURI creates an instance of the GetSystemSessionAPIClient client.

func (GetSystemSessionAPIClient) Key

func (client GetSystemSessionAPIClient) Key(APIKey string) (result autorest.Response, err error)

Key endpoint used for Heartbeat Monitoring. Monitoring will use this endpoint to check if the API is up and available.

APIKey is client API Key

func (GetSystemSessionAPIClient) KeyPreparer

func (client GetSystemSessionAPIClient) KeyPreparer(APIKey string) (*http.Request, error)

KeyPreparer prepares the Key request.

func (GetSystemSessionAPIClient) KeyResponder

func (client GetSystemSessionAPIClient) KeyResponder(resp *http.Response) (result autorest.Response, err error)

KeyResponder handles the response to the Key request. The method always closes the http.Response Body.

func (GetSystemSessionAPIClient) KeySender

func (client GetSystemSessionAPIClient) KeySender(req *http.Request) (*http.Response, error)

KeySender sends the Key request. The method will close the http.Response Body if it receives an error.

type GetSystemUseragentAPIClient

type GetSystemUseragentAPIClient struct {
	ManagementClient
}

GetSystemUseragentAPIClient is the master API Teplate with cross cutting concerns baked into the template.

func NewGetSystemUseragentAPIClient

func NewGetSystemUseragentAPIClient() GetSystemUseragentAPIClient

NewGetSystemUseragentAPIClient creates an instance of the GetSystemUseragentAPIClient client.

func NewGetSystemUseragentAPIClientWithBaseURI

func NewGetSystemUseragentAPIClientWithBaseURI(baseURI string) GetSystemUseragentAPIClient

NewGetSystemUseragentAPIClientWithBaseURI creates an instance of the GetSystemUseragentAPIClient client.

func (GetSystemUseragentAPIClient) Key

func (client GetSystemUseragentAPIClient) Key(APIKey string) (result autorest.Response, err error)

Key endpoint used to return the Consumer User Agent Information.

APIKey is client API Key

func (GetSystemUseragentAPIClient) KeyPreparer

func (client GetSystemUseragentAPIClient) KeyPreparer(APIKey string) (*http.Request, error)

KeyPreparer prepares the Key request.

func (GetSystemUseragentAPIClient) KeyResponder

func (client GetSystemUseragentAPIClient) KeyResponder(resp *http.Response) (result autorest.Response, err error)

KeyResponder handles the response to the Key request. The method always closes the http.Response Body.

func (GetSystemUseragentAPIClient) KeySender

func (client GetSystemUseragentAPIClient) KeySender(req *http.Request) (*http.Response, error)

KeySender sends the Key request. The method will close the http.Response Body if it receives an error.

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI string
}

ManagementClient is the base client for Silica.

func New

func New() ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

func (ManagementClient) PostUserRefreshtokenforuseraccount

func (client ManagementClient) PostUserRefreshtokenforuseraccount(body *Model1) (result autorest.Response, err error)

PostUserRefreshtokenforuseraccount step 3. Create a new bearer token associated with the user account.

func (ManagementClient) PostUserRefreshtokenforuseraccountPreparer

func (client ManagementClient) PostUserRefreshtokenforuseraccountPreparer(body *Model1) (*http.Request, error)

PostUserRefreshtokenforuseraccountPreparer prepares the PostUserRefreshtokenforuseraccount request.

func (ManagementClient) PostUserRefreshtokenforuseraccountResponder

func (client ManagementClient) PostUserRefreshtokenforuseraccountResponder(resp *http.Response) (result autorest.Response, err error)

PostUserRefreshtokenforuseraccountResponder handles the response to the PostUserRefreshtokenforuseraccount request. The method always closes the http.Response Body.

func (ManagementClient) PostUserRefreshtokenforuseraccountSender

func (client ManagementClient) PostUserRefreshtokenforuseraccountSender(req *http.Request) (*http.Response, error)

PostUserRefreshtokenforuseraccountSender sends the PostUserRefreshtokenforuseraccount request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) PostUserRegisteraccounttoreceivetoken

func (client ManagementClient) PostUserRegisteraccounttoreceivetoken(body *Model1) (result autorest.Response, err error)

PostUserRegisteraccounttoreceivetoken step 1. Create a new user account to allow API interaction.

func (ManagementClient) PostUserRegisteraccounttoreceivetokenPreparer

func (client ManagementClient) PostUserRegisteraccounttoreceivetokenPreparer(body *Model1) (*http.Request, error)

PostUserRegisteraccounttoreceivetokenPreparer prepares the PostUserRegisteraccounttoreceivetoken request.

func (ManagementClient) PostUserRegisteraccounttoreceivetokenResponder

func (client ManagementClient) PostUserRegisteraccounttoreceivetokenResponder(resp *http.Response) (result autorest.Response, err error)

PostUserRegisteraccounttoreceivetokenResponder handles the response to the PostUserRegisteraccounttoreceivetoken request. The method always closes the http.Response Body.

func (ManagementClient) PostUserRegisteraccounttoreceivetokenSender

func (client ManagementClient) PostUserRegisteraccounttoreceivetokenSender(req *http.Request) (*http.Response, error)

PostUserRegisteraccounttoreceivetokenSender sends the PostUserRegisteraccounttoreceivetoken request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) PostUserRequestaudittrail

func (client ManagementClient) PostUserRequestaudittrail(body *Model1) (result autorest.Response, err error)

PostUserRequestaudittrail step 3. Create a new bearer token associated with the user account.

func (ManagementClient) PostUserRequestaudittrailPreparer

func (client ManagementClient) PostUserRequestaudittrailPreparer(body *Model1) (*http.Request, error)

PostUserRequestaudittrailPreparer prepares the PostUserRequestaudittrail request.

func (ManagementClient) PostUserRequestaudittrailResponder

func (client ManagementClient) PostUserRequestaudittrailResponder(resp *http.Response) (result autorest.Response, err error)

PostUserRequestaudittrailResponder handles the response to the PostUserRequestaudittrail request. The method always closes the http.Response Body.

func (ManagementClient) PostUserRequestaudittrailSender

func (client ManagementClient) PostUserRequestaudittrailSender(req *http.Request) (*http.Response, error)

PostUserRequestaudittrailSender sends the PostUserRequestaudittrail request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) PostUserRetrievetokenforuseraccount

func (client ManagementClient) PostUserRetrievetokenforuseraccount(body *Model1) (result autorest.Response, err error)

PostUserRetrievetokenforuseraccount step 2. Return the bearer token associated with the user account.

func (ManagementClient) PostUserRetrievetokenforuseraccountPreparer

func (client ManagementClient) PostUserRetrievetokenforuseraccountPreparer(body *Model1) (*http.Request, error)

PostUserRetrievetokenforuseraccountPreparer prepares the PostUserRetrievetokenforuseraccount request.

func (ManagementClient) PostUserRetrievetokenforuseraccountResponder

func (client ManagementClient) PostUserRetrievetokenforuseraccountResponder(resp *http.Response) (result autorest.Response, err error)

PostUserRetrievetokenforuseraccountResponder handles the response to the PostUserRetrievetokenforuseraccount request. The method always closes the http.Response Body.

func (ManagementClient) PostUserRetrievetokenforuseraccountSender

func (client ManagementClient) PostUserRetrievetokenforuseraccountSender(req *http.Request) (*http.Response, error)

PostUserRetrievetokenforuseraccountSender sends the PostUserRetrievetokenforuseraccount request. The method will close the http.Response Body if it receives an error.

type Model1

type Model1 struct {
	Email    *string `json:"email,omitempty"`
	Password *string `json:"password,omitempty"`
}

Model1 is

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL