Documentation
¶
Index ¶
- type Client
- func (a *Client) GETGUIDAliasTypes(params *GETGUIDAliasTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GETGUIDAliasTypesOK, *GETGUIDAliasTypesAccepted, error)
- func (a *Client) SearchByAlias(params *SearchByAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SearchByAliasOK, *SearchByAliasAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GETGUIDAliasTypesAccepted
- type GETGUIDAliasTypesForbidden
- type GETGUIDAliasTypesInternalServerError
- type GETGUIDAliasTypesMethodNotAllowed
- type GETGUIDAliasTypesNotAcceptable
- type GETGUIDAliasTypesNotFound
- type GETGUIDAliasTypesOK
- type GETGUIDAliasTypesParams
- func NewGETGUIDAliasTypesParams() *GETGUIDAliasTypesParams
- func NewGETGUIDAliasTypesParamsWithContext(ctx context.Context) *GETGUIDAliasTypesParams
- func NewGETGUIDAliasTypesParamsWithHTTPClient(client *http.Client) *GETGUIDAliasTypesParams
- func NewGETGUIDAliasTypesParamsWithTimeout(timeout time.Duration) *GETGUIDAliasTypesParams
- func (o *GETGUIDAliasTypesParams) SetContext(ctx context.Context)
- func (o *GETGUIDAliasTypesParams) SetHTTPClient(client *http.Client)
- func (o *GETGUIDAliasTypesParams) SetTimeout(timeout time.Duration)
- func (o *GETGUIDAliasTypesParams) WithContext(ctx context.Context) *GETGUIDAliasTypesParams
- func (o *GETGUIDAliasTypesParams) WithHTTPClient(client *http.Client) *GETGUIDAliasTypesParams
- func (o *GETGUIDAliasTypesParams) WithTimeout(timeout time.Duration) *GETGUIDAliasTypesParams
- func (o *GETGUIDAliasTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GETGUIDAliasTypesReader
- type GETGUIDAliasTypesUnauthorized
- type GETGUIDAliasTypesUnsupportedMediaType
- type SearchByAliasAccepted
- type SearchByAliasForbidden
- type SearchByAliasInternalServerError
- type SearchByAliasMethodNotAllowed
- type SearchByAliasNotAcceptable
- type SearchByAliasNotFound
- type SearchByAliasOK
- type SearchByAliasParams
- func (o *SearchByAliasParams) SetAlias(alias string)
- func (o *SearchByAliasParams) SetAliasType(aliasType string)
- func (o *SearchByAliasParams) SetContext(ctx context.Context)
- func (o *SearchByAliasParams) SetHTTPClient(client *http.Client)
- func (o *SearchByAliasParams) SetLimit(limit *int32)
- func (o *SearchByAliasParams) SetOffset(offset *int32)
- func (o *SearchByAliasParams) SetTimeout(timeout time.Duration)
- func (o *SearchByAliasParams) WithAlias(alias string) *SearchByAliasParams
- func (o *SearchByAliasParams) WithAliasType(aliasType string) *SearchByAliasParams
- func (o *SearchByAliasParams) WithContext(ctx context.Context) *SearchByAliasParams
- func (o *SearchByAliasParams) WithHTTPClient(client *http.Client) *SearchByAliasParams
- func (o *SearchByAliasParams) WithLimit(limit *int32) *SearchByAliasParams
- func (o *SearchByAliasParams) WithOffset(offset *int32) *SearchByAliasParams
- func (o *SearchByAliasParams) WithTimeout(timeout time.Duration) *SearchByAliasParams
- func (o *SearchByAliasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchByAliasReader
- type SearchByAliasUnauthorized
- type SearchByAliasUnsupportedMediaType
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 ¶
func (a *Client) GETGUIDAliasTypes(params *GETGUIDAliasTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GETGUIDAliasTypesOK, *GETGUIDAliasTypesAccepted, error)
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 ¶
func (a *Client) SearchByAlias(params *SearchByAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SearchByAliasOK, *SearchByAliasAccepted, error)
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 ¶
func (o *GETGUIDAliasTypesForbidden) Error() string
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 ¶
func (o *GETGUIDAliasTypesInternalServerError) Error() string
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 ¶
func (o *GETGUIDAliasTypesMethodNotAllowed) Error() string
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 ¶
func (o *GETGUIDAliasTypesNotAcceptable) Error() string
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 ¶
func (o *GETGUIDAliasTypesParams) WithContext(ctx context.Context) *GETGUIDAliasTypesParams
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 ¶
func (o *GETGUIDAliasTypesParams) WithTimeout(timeout time.Duration) *GETGUIDAliasTypesParams
WithTimeout adds the timeout to the get Guid alias types params
func (*GETGUIDAliasTypesParams) WriteToRequest ¶
func (o *GETGUIDAliasTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *GETGUIDAliasTypesUnauthorized) Error() string
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 ¶
func (o *GETGUIDAliasTypesUnsupportedMediaType) Error() string
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 ¶
func (o *SearchByAliasInternalServerError) Error() string
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 ¶
func (o *SearchByAliasMethodNotAllowed) Error() string
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 ¶
func (o *SearchByAliasNotAcceptable) Error() string
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 ¶
func (o *SearchByAliasParams) WithContext(ctx context.Context) *SearchByAliasParams
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 {
}
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 ¶
func (o *SearchByAliasUnsupportedMediaType) Error() string