versions_v1

package
v0.0.0-...-bd7fa6f Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

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 versions v1 API

func New

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

New creates a new versions v1 API client.

func (*Client) GetLogHandler

func (a *Client) GetLogHandler(params *GetLogHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetLogHandlerOK, error)

GetLogHandler lists archived runs for user

func (*Client) GetVersions

func (a *Client) GetVersions(params *GetVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetVersionsOK, error)

GetVersions lists bookmarked runs for user

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetLogHandlerForbidden

type GetLogHandlerForbidden struct {
	Payload interface{}
}

GetLogHandlerForbidden handles this case with default header values.

You don't have permission to access the resource.

func NewGetLogHandlerForbidden

func NewGetLogHandlerForbidden() *GetLogHandlerForbidden

NewGetLogHandlerForbidden creates a GetLogHandlerForbidden with default headers values

func (*GetLogHandlerForbidden) Error

func (o *GetLogHandlerForbidden) Error() string

func (*GetLogHandlerForbidden) GetPayload

func (o *GetLogHandlerForbidden) GetPayload() interface{}

type GetLogHandlerNotFound

type GetLogHandlerNotFound struct {
	Payload string
}

GetLogHandlerNotFound handles this case with default header values.

Resource does not exist.

func NewGetLogHandlerNotFound

func NewGetLogHandlerNotFound() *GetLogHandlerNotFound

NewGetLogHandlerNotFound creates a GetLogHandlerNotFound with default headers values

func (*GetLogHandlerNotFound) Error

func (o *GetLogHandlerNotFound) Error() string

func (*GetLogHandlerNotFound) GetPayload

func (o *GetLogHandlerNotFound) GetPayload() string

type GetLogHandlerOK

type GetLogHandlerOK struct {
	Payload *service_model.V1LogHandler
}

GetLogHandlerOK handles this case with default header values.

A successful response.

func NewGetLogHandlerOK

func NewGetLogHandlerOK() *GetLogHandlerOK

NewGetLogHandlerOK creates a GetLogHandlerOK with default headers values

func (*GetLogHandlerOK) Error

func (o *GetLogHandlerOK) Error() string

func (*GetLogHandlerOK) GetPayload

func (o *GetLogHandlerOK) GetPayload() *service_model.V1LogHandler

type GetLogHandlerParams

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

GetLogHandlerParams contains all the parameters to send to the API endpoint for the get log handler operation typically these are written to a http.Request

func NewGetLogHandlerParams

func NewGetLogHandlerParams() *GetLogHandlerParams

NewGetLogHandlerParams creates a new GetLogHandlerParams object with the default values initialized.

func NewGetLogHandlerParamsWithContext

func NewGetLogHandlerParamsWithContext(ctx context.Context) *GetLogHandlerParams

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

func NewGetLogHandlerParamsWithHTTPClient

func NewGetLogHandlerParamsWithHTTPClient(client *http.Client) *GetLogHandlerParams

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

func NewGetLogHandlerParamsWithTimeout

func NewGetLogHandlerParamsWithTimeout(timeout time.Duration) *GetLogHandlerParams

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

func (*GetLogHandlerParams) SetContext

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

SetContext adds the context to the get log handler params

func (*GetLogHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get log handler params

func (*GetLogHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the get log handler params

func (*GetLogHandlerParams) WithContext

WithContext adds the context to the get log handler params

func (*GetLogHandlerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get log handler params

func (*GetLogHandlerParams) WithTimeout

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

WithTimeout adds the timeout to the get log handler params

func (*GetLogHandlerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogHandlerReader

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

GetLogHandlerReader is a Reader for the GetLogHandler structure.

func (*GetLogHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVersionsForbidden

type GetVersionsForbidden struct {
	Payload interface{}
}

GetVersionsForbidden handles this case with default header values.

You don't have permission to access the resource.

func NewGetVersionsForbidden

func NewGetVersionsForbidden() *GetVersionsForbidden

NewGetVersionsForbidden creates a GetVersionsForbidden with default headers values

func (*GetVersionsForbidden) Error

func (o *GetVersionsForbidden) Error() string

func (*GetVersionsForbidden) GetPayload

func (o *GetVersionsForbidden) GetPayload() interface{}

type GetVersionsNotFound

type GetVersionsNotFound struct {
	Payload string
}

GetVersionsNotFound handles this case with default header values.

Resource does not exist.

func NewGetVersionsNotFound

func NewGetVersionsNotFound() *GetVersionsNotFound

NewGetVersionsNotFound creates a GetVersionsNotFound with default headers values

func (*GetVersionsNotFound) Error

func (o *GetVersionsNotFound) Error() string

func (*GetVersionsNotFound) GetPayload

func (o *GetVersionsNotFound) GetPayload() string

type GetVersionsOK

type GetVersionsOK struct {
	Payload *service_model.V1Versions
}

GetVersionsOK handles this case with default header values.

A successful response.

func NewGetVersionsOK

func NewGetVersionsOK() *GetVersionsOK

NewGetVersionsOK creates a GetVersionsOK with default headers values

func (*GetVersionsOK) Error

func (o *GetVersionsOK) Error() string

func (*GetVersionsOK) GetPayload

func (o *GetVersionsOK) GetPayload() *service_model.V1Versions

type GetVersionsParams

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

GetVersionsParams contains all the parameters to send to the API endpoint for the get versions operation typically these are written to a http.Request

func NewGetVersionsParams

func NewGetVersionsParams() *GetVersionsParams

NewGetVersionsParams creates a new GetVersionsParams object with the default values initialized.

func NewGetVersionsParamsWithContext

func NewGetVersionsParamsWithContext(ctx context.Context) *GetVersionsParams

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

func NewGetVersionsParamsWithHTTPClient

func NewGetVersionsParamsWithHTTPClient(client *http.Client) *GetVersionsParams

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

func NewGetVersionsParamsWithTimeout

func NewGetVersionsParamsWithTimeout(timeout time.Duration) *GetVersionsParams

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

func (*GetVersionsParams) SetContext

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

SetContext adds the context to the get versions params

func (*GetVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get versions params

func (*GetVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the get versions params

func (*GetVersionsParams) WithContext

func (o *GetVersionsParams) WithContext(ctx context.Context) *GetVersionsParams

WithContext adds the context to the get versions params

func (*GetVersionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get versions params

func (*GetVersionsParams) WithTimeout

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

WithTimeout adds the timeout to the get versions params

func (*GetVersionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetVersionsReader

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

GetVersionsReader is a Reader for the GetVersions structure.

func (*GetVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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