Versions in this module Expand all Collapse all v1 v1.0.1 Aug 16, 2019 Changes in this version + type Client struct + func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client + func (a *Client) CreateAuthToken(params *CreateAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAuthTokenOK, error) + func (a *Client) DeleteAuthToken(params *DeleteAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAuthTokenOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type CreateAuthTokenOK struct + Payload *models.V4CreateAuthTokenResponse + func NewCreateAuthTokenOK() *CreateAuthTokenOK + func (o *CreateAuthTokenOK) Error() string + type CreateAuthTokenParams struct + Body *models.V4CreateAuthTokenRequest + Context context.Context + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewCreateAuthTokenParams() *CreateAuthTokenParams + func NewCreateAuthTokenParamsWithContext(ctx context.Context) *CreateAuthTokenParams + func NewCreateAuthTokenParamsWithHTTPClient(client *http.Client) *CreateAuthTokenParams + func NewCreateAuthTokenParamsWithTimeout(timeout time.Duration) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) SetBody(body *models.V4CreateAuthTokenRequest) + func (o *CreateAuthTokenParams) SetContext(ctx context.Context) + func (o *CreateAuthTokenParams) SetHTTPClient(client *http.Client) + func (o *CreateAuthTokenParams) SetTimeout(timeout time.Duration) + func (o *CreateAuthTokenParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *CreateAuthTokenParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *CreateAuthTokenParams) SetXRequestID(xRequestID *string) + func (o *CreateAuthTokenParams) WithBody(body *models.V4CreateAuthTokenRequest) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) WithContext(ctx context.Context) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) WithHTTPClient(client *http.Client) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) WithTimeout(timeout time.Duration) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) WithXRequestID(xRequestID *string) *CreateAuthTokenParams + func (o *CreateAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateAuthTokenReader struct + func (o *CreateAuthTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CreateAuthTokenUnauthorized struct + Payload *models.V4GenericResponse + func NewCreateAuthTokenUnauthorized() *CreateAuthTokenUnauthorized + func (o *CreateAuthTokenUnauthorized) Error() string + type DeleteAuthTokenOK struct + Payload *models.V4GenericResponse + func NewDeleteAuthTokenOK() *DeleteAuthTokenOK + func (o *DeleteAuthTokenOK) Error() string + type DeleteAuthTokenParams struct + Authorization string + Context context.Context + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewDeleteAuthTokenParams() *DeleteAuthTokenParams + func NewDeleteAuthTokenParamsWithContext(ctx context.Context) *DeleteAuthTokenParams + func NewDeleteAuthTokenParamsWithHTTPClient(client *http.Client) *DeleteAuthTokenParams + func NewDeleteAuthTokenParamsWithTimeout(timeout time.Duration) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) SetAuthorization(authorization string) + func (o *DeleteAuthTokenParams) SetContext(ctx context.Context) + func (o *DeleteAuthTokenParams) SetHTTPClient(client *http.Client) + func (o *DeleteAuthTokenParams) SetTimeout(timeout time.Duration) + func (o *DeleteAuthTokenParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *DeleteAuthTokenParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *DeleteAuthTokenParams) SetXRequestID(xRequestID *string) + func (o *DeleteAuthTokenParams) WithAuthorization(authorization string) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) WithContext(ctx context.Context) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) WithHTTPClient(client *http.Client) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) WithTimeout(timeout time.Duration) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) WithXRequestID(xRequestID *string) *DeleteAuthTokenParams + func (o *DeleteAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteAuthTokenReader struct + func (o *DeleteAuthTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteAuthTokenUnauthorized struct + Payload *models.V4GenericResponse + func NewDeleteAuthTokenUnauthorized() *DeleteAuthTokenUnauthorized + func (o *DeleteAuthTokenUnauthorized) Error() string