alias

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for alias API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new alias API client.

func (*Client) GETGUIDAliasTypes

GETGUIDAliasTypes lists all supported alias types

Retrieve this list to find out all alias types to use with alias search and change operations

func (*Client) SearchByAlias

SearchByAlias searches for guids by alias

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GETGUIDAliasTypesAccepted

type GETGUIDAliasTypesAccepted struct {
}

GETGUIDAliasTypesAccepted handles this case with default header values.

Accepted

func NewGETGUIDAliasTypesAccepted

func NewGETGUIDAliasTypesAccepted() *GETGUIDAliasTypesAccepted

NewGETGUIDAliasTypesAccepted creates a GETGUIDAliasTypesAccepted with default headers values

func (*GETGUIDAliasTypesAccepted) Error

func (o *GETGUIDAliasTypesAccepted) Error() string

type GETGUIDAliasTypesForbidden

type GETGUIDAliasTypesForbidden struct {
	Payload *api_models.APIError
}

GETGUIDAliasTypesForbidden handles this case with default header values.

Forbidden

func NewGETGUIDAliasTypesForbidden

func NewGETGUIDAliasTypesForbidden() *GETGUIDAliasTypesForbidden

NewGETGUIDAliasTypesForbidden creates a GETGUIDAliasTypesForbidden with default headers values

func (*GETGUIDAliasTypesForbidden) Error

type GETGUIDAliasTypesInternalServerError

type GETGUIDAliasTypesInternalServerError struct {
	Payload *api_models.APIError
}

GETGUIDAliasTypesInternalServerError handles this case with default header values.

Internal Server Error

func NewGETGUIDAliasTypesInternalServerError

func NewGETGUIDAliasTypesInternalServerError() *GETGUIDAliasTypesInternalServerError

NewGETGUIDAliasTypesInternalServerError creates a GETGUIDAliasTypesInternalServerError with default headers values

func (*GETGUIDAliasTypesInternalServerError) Error

type GETGUIDAliasTypesMethodNotAllowed

type GETGUIDAliasTypesMethodNotAllowed struct {
	Payload *api_models.APIError
}

GETGUIDAliasTypesMethodNotAllowed handles this case with default header values.

Method not allowed

func NewGETGUIDAliasTypesMethodNotAllowed

func NewGETGUIDAliasTypesMethodNotAllowed() *GETGUIDAliasTypesMethodNotAllowed

NewGETGUIDAliasTypesMethodNotAllowed creates a GETGUIDAliasTypesMethodNotAllowed with default headers values

func (*GETGUIDAliasTypesMethodNotAllowed) Error

type GETGUIDAliasTypesNotAcceptable

type GETGUIDAliasTypesNotAcceptable struct {
	Payload *api_models.APIError
}

GETGUIDAliasTypesNotAcceptable handles this case with default header values.

Not Acceptable

func NewGETGUIDAliasTypesNotAcceptable

func NewGETGUIDAliasTypesNotAcceptable() *GETGUIDAliasTypesNotAcceptable

NewGETGUIDAliasTypesNotAcceptable creates a GETGUIDAliasTypesNotAcceptable with default headers values

func (*GETGUIDAliasTypesNotAcceptable) Error

type GETGUIDAliasTypesNotFound

type GETGUIDAliasTypesNotFound struct {
	Payload *api_models.APIError
}

GETGUIDAliasTypesNotFound handles this case with default header values.

Not Found

func NewGETGUIDAliasTypesNotFound

func NewGETGUIDAliasTypesNotFound() *GETGUIDAliasTypesNotFound

NewGETGUIDAliasTypesNotFound creates a GETGUIDAliasTypesNotFound with default headers values

func (*GETGUIDAliasTypesNotFound) Error

func (o *GETGUIDAliasTypesNotFound) Error() string

type GETGUIDAliasTypesOK

type GETGUIDAliasTypesOK struct {
	Payload []string
}

GETGUIDAliasTypesOK handles this case with default header values.

OK

func NewGETGUIDAliasTypesOK

func NewGETGUIDAliasTypesOK() *GETGUIDAliasTypesOK

NewGETGUIDAliasTypesOK creates a GETGUIDAliasTypesOK with default headers values

func (*GETGUIDAliasTypesOK) Error

func (o *GETGUIDAliasTypesOK) Error() string

type GETGUIDAliasTypesParams

type GETGUIDAliasTypesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GETGUIDAliasTypesParams contains all the parameters to send to the API endpoint for the get Guid alias types operation typically these are written to a http.Request

func NewGETGUIDAliasTypesParams

func NewGETGUIDAliasTypesParams() *GETGUIDAliasTypesParams

NewGETGUIDAliasTypesParams creates a new GETGUIDAliasTypesParams object with the default values initialized.

func NewGETGUIDAliasTypesParamsWithContext

func NewGETGUIDAliasTypesParamsWithContext(ctx context.Context) *GETGUIDAliasTypesParams

NewGETGUIDAliasTypesParamsWithContext creates a new GETGUIDAliasTypesParams object with the default values initialized, and the ability to set a context for a request

func NewGETGUIDAliasTypesParamsWithHTTPClient

func NewGETGUIDAliasTypesParamsWithHTTPClient(client *http.Client) *GETGUIDAliasTypesParams

NewGETGUIDAliasTypesParamsWithHTTPClient creates a new GETGUIDAliasTypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGETGUIDAliasTypesParamsWithTimeout

func NewGETGUIDAliasTypesParamsWithTimeout(timeout time.Duration) *GETGUIDAliasTypesParams

NewGETGUIDAliasTypesParamsWithTimeout creates a new GETGUIDAliasTypesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GETGUIDAliasTypesParams) SetContext

func (o *GETGUIDAliasTypesParams) SetContext(ctx context.Context)

SetContext adds the context to the get Guid alias types params

func (*GETGUIDAliasTypesParams) SetHTTPClient

func (o *GETGUIDAliasTypesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get Guid alias types params

func (*GETGUIDAliasTypesParams) SetTimeout

func (o *GETGUIDAliasTypesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get Guid alias types params

func (*GETGUIDAliasTypesParams) WithContext

WithContext adds the context to the get Guid alias types params

func (*GETGUIDAliasTypesParams) WithHTTPClient

func (o *GETGUIDAliasTypesParams) WithHTTPClient(client *http.Client) *GETGUIDAliasTypesParams

WithHTTPClient adds the HTTPClient to the get Guid alias types params

func (*GETGUIDAliasTypesParams) WithTimeout

WithTimeout adds the timeout to the get Guid alias types params

func (*GETGUIDAliasTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GETGUIDAliasTypesReader

type GETGUIDAliasTypesReader struct {
	// contains filtered or unexported fields
}

GETGUIDAliasTypesReader is a Reader for the GETGUIDAliasTypes structure.

func (*GETGUIDAliasTypesReader) ReadResponse

func (o *GETGUIDAliasTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GETGUIDAliasTypesUnauthorized

type GETGUIDAliasTypesUnauthorized struct {
	Payload *api_models.APIError
}

GETGUIDAliasTypesUnauthorized handles this case with default header values.

Unauthorized

func NewGETGUIDAliasTypesUnauthorized

func NewGETGUIDAliasTypesUnauthorized() *GETGUIDAliasTypesUnauthorized

NewGETGUIDAliasTypesUnauthorized creates a GETGUIDAliasTypesUnauthorized with default headers values

func (*GETGUIDAliasTypesUnauthorized) Error

type GETGUIDAliasTypesUnsupportedMediaType

type GETGUIDAliasTypesUnsupportedMediaType struct {
	Payload *api_models.APIError
}

GETGUIDAliasTypesUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewGETGUIDAliasTypesUnsupportedMediaType

func NewGETGUIDAliasTypesUnsupportedMediaType() *GETGUIDAliasTypesUnsupportedMediaType

NewGETGUIDAliasTypesUnsupportedMediaType creates a GETGUIDAliasTypesUnsupportedMediaType with default headers values

func (*GETGUIDAliasTypesUnsupportedMediaType) Error

type SearchByAliasAccepted

type SearchByAliasAccepted struct {
}

SearchByAliasAccepted handles this case with default header values.

Accepted

func NewSearchByAliasAccepted

func NewSearchByAliasAccepted() *SearchByAliasAccepted

NewSearchByAliasAccepted creates a SearchByAliasAccepted with default headers values

func (*SearchByAliasAccepted) Error

func (o *SearchByAliasAccepted) Error() string

type SearchByAliasForbidden

type SearchByAliasForbidden struct {
	Payload *api_models.APIError
}

SearchByAliasForbidden handles this case with default header values.

Forbidden

func NewSearchByAliasForbidden

func NewSearchByAliasForbidden() *SearchByAliasForbidden

NewSearchByAliasForbidden creates a SearchByAliasForbidden with default headers values

func (*SearchByAliasForbidden) Error

func (o *SearchByAliasForbidden) Error() string

type SearchByAliasInternalServerError

type SearchByAliasInternalServerError struct {
	Payload *api_models.APIError
}

SearchByAliasInternalServerError handles this case with default header values.

Internal Server Error

func NewSearchByAliasInternalServerError

func NewSearchByAliasInternalServerError() *SearchByAliasInternalServerError

NewSearchByAliasInternalServerError creates a SearchByAliasInternalServerError with default headers values

func (*SearchByAliasInternalServerError) Error

type SearchByAliasMethodNotAllowed

type SearchByAliasMethodNotAllowed struct {
	Payload *api_models.APIError
}

SearchByAliasMethodNotAllowed handles this case with default header values.

Method not allowed

func NewSearchByAliasMethodNotAllowed

func NewSearchByAliasMethodNotAllowed() *SearchByAliasMethodNotAllowed

NewSearchByAliasMethodNotAllowed creates a SearchByAliasMethodNotAllowed with default headers values

func (*SearchByAliasMethodNotAllowed) Error

type SearchByAliasNotAcceptable

type SearchByAliasNotAcceptable struct {
	Payload *api_models.APIError
}

SearchByAliasNotAcceptable handles this case with default header values.

Not Acceptable

func NewSearchByAliasNotAcceptable

func NewSearchByAliasNotAcceptable() *SearchByAliasNotAcceptable

NewSearchByAliasNotAcceptable creates a SearchByAliasNotAcceptable with default headers values

func (*SearchByAliasNotAcceptable) Error

type SearchByAliasNotFound

type SearchByAliasNotFound struct {
	Payload *api_models.APIError
}

SearchByAliasNotFound handles this case with default header values.

Not Found

func NewSearchByAliasNotFound

func NewSearchByAliasNotFound() *SearchByAliasNotFound

NewSearchByAliasNotFound creates a SearchByAliasNotFound with default headers values

func (*SearchByAliasNotFound) Error

func (o *SearchByAliasNotFound) Error() string

type SearchByAliasOK

type SearchByAliasOK struct {
	Payload *api_models.PaginatedGUIDResponse
}

SearchByAliasOK handles this case with default header values.

OK

func NewSearchByAliasOK

func NewSearchByAliasOK() *SearchByAliasOK

NewSearchByAliasOK creates a SearchByAliasOK with default headers values

func (*SearchByAliasOK) Error

func (o *SearchByAliasOK) Error() string

type SearchByAliasParams

type SearchByAliasParams struct {

	/*Alias
	  The alias to search for

	*/
	Alias string
	/*AliasType
	  Alias type type to search for

	*/
	AliasType string
	/*Limit
	  The maximum count of returned elements

	*/
	Limit *int32
	/*Offset
	  Start with the n-th element

	*/
	Offset *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchByAliasParams contains all the parameters to send to the API endpoint for the search by alias operation typically these are written to a http.Request

func NewSearchByAliasParams

func NewSearchByAliasParams() *SearchByAliasParams

NewSearchByAliasParams creates a new SearchByAliasParams object with the default values initialized.

func NewSearchByAliasParamsWithContext

func NewSearchByAliasParamsWithContext(ctx context.Context) *SearchByAliasParams

NewSearchByAliasParamsWithContext creates a new SearchByAliasParams object with the default values initialized, and the ability to set a context for a request

func NewSearchByAliasParamsWithHTTPClient

func NewSearchByAliasParamsWithHTTPClient(client *http.Client) *SearchByAliasParams

NewSearchByAliasParamsWithHTTPClient creates a new SearchByAliasParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSearchByAliasParamsWithTimeout

func NewSearchByAliasParamsWithTimeout(timeout time.Duration) *SearchByAliasParams

NewSearchByAliasParamsWithTimeout creates a new SearchByAliasParams object with the default values initialized, and the ability to set a timeout on a request

func (*SearchByAliasParams) SetAlias

func (o *SearchByAliasParams) SetAlias(alias string)

SetAlias adds the alias to the search by alias params

func (*SearchByAliasParams) SetAliasType

func (o *SearchByAliasParams) SetAliasType(aliasType string)

SetAliasType adds the aliasType to the search by alias params

func (*SearchByAliasParams) SetContext

func (o *SearchByAliasParams) SetContext(ctx context.Context)

SetContext adds the context to the search by alias params

func (*SearchByAliasParams) SetHTTPClient

func (o *SearchByAliasParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search by alias params

func (*SearchByAliasParams) SetLimit

func (o *SearchByAliasParams) SetLimit(limit *int32)

SetLimit adds the limit to the search by alias params

func (*SearchByAliasParams) SetOffset

func (o *SearchByAliasParams) SetOffset(offset *int32)

SetOffset adds the offset to the search by alias params

func (*SearchByAliasParams) SetTimeout

func (o *SearchByAliasParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search by alias params

func (*SearchByAliasParams) WithAlias

func (o *SearchByAliasParams) WithAlias(alias string) *SearchByAliasParams

WithAlias adds the alias to the search by alias params

func (*SearchByAliasParams) WithAliasType

func (o *SearchByAliasParams) WithAliasType(aliasType string) *SearchByAliasParams

WithAliasType adds the aliasType to the search by alias params

func (*SearchByAliasParams) WithContext

WithContext adds the context to the search by alias params

func (*SearchByAliasParams) WithHTTPClient

func (o *SearchByAliasParams) WithHTTPClient(client *http.Client) *SearchByAliasParams

WithHTTPClient adds the HTTPClient to the search by alias params

func (*SearchByAliasParams) WithLimit

func (o *SearchByAliasParams) WithLimit(limit *int32) *SearchByAliasParams

WithLimit adds the limit to the search by alias params

func (*SearchByAliasParams) WithOffset

func (o *SearchByAliasParams) WithOffset(offset *int32) *SearchByAliasParams

WithOffset adds the offset to the search by alias params

func (*SearchByAliasParams) WithTimeout

func (o *SearchByAliasParams) WithTimeout(timeout time.Duration) *SearchByAliasParams

WithTimeout adds the timeout to the search by alias params

func (*SearchByAliasParams) WriteToRequest

func (o *SearchByAliasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchByAliasReader

type SearchByAliasReader struct {
	// contains filtered or unexported fields
}

SearchByAliasReader is a Reader for the SearchByAlias structure.

func (*SearchByAliasReader) ReadResponse

func (o *SearchByAliasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchByAliasUnauthorized

type SearchByAliasUnauthorized struct {
	Payload *api_models.APIError
}

SearchByAliasUnauthorized handles this case with default header values.

Unauthorized

func NewSearchByAliasUnauthorized

func NewSearchByAliasUnauthorized() *SearchByAliasUnauthorized

NewSearchByAliasUnauthorized creates a SearchByAliasUnauthorized with default headers values

func (*SearchByAliasUnauthorized) Error

func (o *SearchByAliasUnauthorized) Error() string

type SearchByAliasUnsupportedMediaType

type SearchByAliasUnsupportedMediaType struct {
	Payload *api_models.APIError
}

SearchByAliasUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewSearchByAliasUnsupportedMediaType

func NewSearchByAliasUnsupportedMediaType() *SearchByAliasUnsupportedMediaType

NewSearchByAliasUnsupportedMediaType creates a SearchByAliasUnsupportedMediaType with default headers values

func (*SearchByAliasUnsupportedMediaType) Error

Jump to

Keyboard shortcuts

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