operations

package
v0.0.0-...-a39a1f1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 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 operations API

func (*Client) ServeAPIVersion

func (a *Client) ServeAPIVersion(params *ServeAPIVersionParams, authInfo runtime.ClientAuthInfoWriter) (*ServeAPIVersionOK, error)

ServeAPIVersion serve Api version API

func (*Client) ServeBuildFieldShort

func (a *Client) ServeBuildFieldShort(params *ServeBuildFieldShortParams, authInfo runtime.ClientAuthInfoWriter) (*ServeBuildFieldShortOK, error)

ServeBuildFieldShort serve build field short API

func (*Client) ServePluginInfo

func (a *Client) ServePluginInfo(params *ServePluginInfoParams, authInfo runtime.ClientAuthInfoWriter) (*ServePluginInfoOK, error)

ServePluginInfo serve plugin info API

func (*Client) ServeVersion

func (a *Client) ServeVersion(params *ServeVersionParams, authInfo runtime.ClientAuthInfoWriter) (*ServeVersionOK, error)

ServeVersion serve version API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ServeAPIVersion(params *ServeAPIVersionParams, authInfo runtime.ClientAuthInfoWriter) (*ServeAPIVersionOK, error)

	ServeBuildFieldShort(params *ServeBuildFieldShortParams, authInfo runtime.ClientAuthInfoWriter) (*ServeBuildFieldShortOK, error)

	ServePluginInfo(params *ServePluginInfoParams, authInfo runtime.ClientAuthInfoWriter) (*ServePluginInfoOK, error)

	ServeVersion(params *ServeVersionParams, authInfo runtime.ClientAuthInfoWriter) (*ServeVersionOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new operations API client.

type ServeAPIVersionOK

type ServeAPIVersionOK struct {
	Payload string
}

ServeAPIVersionOK handles this case with default header values.

successful operation

func NewServeAPIVersionOK

func NewServeAPIVersionOK() *ServeAPIVersionOK

NewServeAPIVersionOK creates a ServeAPIVersionOK with default headers values

func (*ServeAPIVersionOK) Error

func (o *ServeAPIVersionOK) Error() string

func (*ServeAPIVersionOK) GetPayload

func (o *ServeAPIVersionOK) GetPayload() string

type ServeAPIVersionParams

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

ServeAPIVersionParams contains all the parameters to send to the API endpoint for the serve Api version operation typically these are written to a http.Request

func NewServeAPIVersionParams

func NewServeAPIVersionParams() *ServeAPIVersionParams

NewServeAPIVersionParams creates a new ServeAPIVersionParams object with the default values initialized.

func NewServeAPIVersionParamsWithContext

func NewServeAPIVersionParamsWithContext(ctx context.Context) *ServeAPIVersionParams

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

func NewServeAPIVersionParamsWithHTTPClient

func NewServeAPIVersionParamsWithHTTPClient(client *http.Client) *ServeAPIVersionParams

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

func NewServeAPIVersionParamsWithTimeout

func NewServeAPIVersionParamsWithTimeout(timeout time.Duration) *ServeAPIVersionParams

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

func (*ServeAPIVersionParams) SetContext

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

SetContext adds the context to the serve Api version params

func (*ServeAPIVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the serve Api version params

func (*ServeAPIVersionParams) SetTimeout

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

SetTimeout adds the timeout to the serve Api version params

func (*ServeAPIVersionParams) WithContext

WithContext adds the context to the serve Api version params

func (*ServeAPIVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the serve Api version params

func (*ServeAPIVersionParams) WithTimeout

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

WithTimeout adds the timeout to the serve Api version params

func (*ServeAPIVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServeAPIVersionReader

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

ServeAPIVersionReader is a Reader for the ServeAPIVersion structure.

func (*ServeAPIVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServeBuildFieldShortOK

type ServeBuildFieldShortOK struct {
	Payload string
}

ServeBuildFieldShortOK handles this case with default header values.

successful operation

func NewServeBuildFieldShortOK

func NewServeBuildFieldShortOK() *ServeBuildFieldShortOK

NewServeBuildFieldShortOK creates a ServeBuildFieldShortOK with default headers values

func (*ServeBuildFieldShortOK) Error

func (o *ServeBuildFieldShortOK) Error() string

func (*ServeBuildFieldShortOK) GetPayload

func (o *ServeBuildFieldShortOK) GetPayload() string

type ServeBuildFieldShortParams

type ServeBuildFieldShortParams struct {

	/*BtLocator*/
	BtLocator string
	/*BuildLocator*/
	BuildLocator string
	/*Field*/
	Field string
	/*ProjectLocator*/
	ProjectLocator string

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

ServeBuildFieldShortParams contains all the parameters to send to the API endpoint for the serve build field short operation typically these are written to a http.Request

func NewServeBuildFieldShortParams

func NewServeBuildFieldShortParams() *ServeBuildFieldShortParams

NewServeBuildFieldShortParams creates a new ServeBuildFieldShortParams object with the default values initialized.

func NewServeBuildFieldShortParamsWithContext

func NewServeBuildFieldShortParamsWithContext(ctx context.Context) *ServeBuildFieldShortParams

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

func NewServeBuildFieldShortParamsWithHTTPClient

func NewServeBuildFieldShortParamsWithHTTPClient(client *http.Client) *ServeBuildFieldShortParams

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

func NewServeBuildFieldShortParamsWithTimeout

func NewServeBuildFieldShortParamsWithTimeout(timeout time.Duration) *ServeBuildFieldShortParams

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

func (*ServeBuildFieldShortParams) SetBtLocator

func (o *ServeBuildFieldShortParams) SetBtLocator(btLocator string)

SetBtLocator adds the btLocator to the serve build field short params

func (*ServeBuildFieldShortParams) SetBuildLocator

func (o *ServeBuildFieldShortParams) SetBuildLocator(buildLocator string)

SetBuildLocator adds the buildLocator to the serve build field short params

func (*ServeBuildFieldShortParams) SetContext

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

SetContext adds the context to the serve build field short params

func (*ServeBuildFieldShortParams) SetField

func (o *ServeBuildFieldShortParams) SetField(field string)

SetField adds the field to the serve build field short params

func (*ServeBuildFieldShortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the serve build field short params

func (*ServeBuildFieldShortParams) SetProjectLocator

func (o *ServeBuildFieldShortParams) SetProjectLocator(projectLocator string)

SetProjectLocator adds the projectLocator to the serve build field short params

func (*ServeBuildFieldShortParams) SetTimeout

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

SetTimeout adds the timeout to the serve build field short params

func (*ServeBuildFieldShortParams) WithBtLocator

func (o *ServeBuildFieldShortParams) WithBtLocator(btLocator string) *ServeBuildFieldShortParams

WithBtLocator adds the btLocator to the serve build field short params

func (*ServeBuildFieldShortParams) WithBuildLocator

func (o *ServeBuildFieldShortParams) WithBuildLocator(buildLocator string) *ServeBuildFieldShortParams

WithBuildLocator adds the buildLocator to the serve build field short params

func (*ServeBuildFieldShortParams) WithContext

WithContext adds the context to the serve build field short params

func (*ServeBuildFieldShortParams) WithField

WithField adds the field to the serve build field short params

func (*ServeBuildFieldShortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the serve build field short params

func (*ServeBuildFieldShortParams) WithProjectLocator

func (o *ServeBuildFieldShortParams) WithProjectLocator(projectLocator string) *ServeBuildFieldShortParams

WithProjectLocator adds the projectLocator to the serve build field short params

func (*ServeBuildFieldShortParams) WithTimeout

WithTimeout adds the timeout to the serve build field short params

func (*ServeBuildFieldShortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServeBuildFieldShortReader

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

ServeBuildFieldShortReader is a Reader for the ServeBuildFieldShort structure.

func (*ServeBuildFieldShortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServePluginInfoOK

type ServePluginInfoOK struct {
	Payload *models.Plugin
}

ServePluginInfoOK handles this case with default header values.

successful operation

func NewServePluginInfoOK

func NewServePluginInfoOK() *ServePluginInfoOK

NewServePluginInfoOK creates a ServePluginInfoOK with default headers values

func (*ServePluginInfoOK) Error

func (o *ServePluginInfoOK) Error() string

func (*ServePluginInfoOK) GetPayload

func (o *ServePluginInfoOK) GetPayload() *models.Plugin

type ServePluginInfoParams

type ServePluginInfoParams struct {

	/*Fields*/
	Fields *string

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

ServePluginInfoParams contains all the parameters to send to the API endpoint for the serve plugin info operation typically these are written to a http.Request

func NewServePluginInfoParams

func NewServePluginInfoParams() *ServePluginInfoParams

NewServePluginInfoParams creates a new ServePluginInfoParams object with the default values initialized.

func NewServePluginInfoParamsWithContext

func NewServePluginInfoParamsWithContext(ctx context.Context) *ServePluginInfoParams

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

func NewServePluginInfoParamsWithHTTPClient

func NewServePluginInfoParamsWithHTTPClient(client *http.Client) *ServePluginInfoParams

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

func NewServePluginInfoParamsWithTimeout

func NewServePluginInfoParamsWithTimeout(timeout time.Duration) *ServePluginInfoParams

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

func (*ServePluginInfoParams) SetContext

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

SetContext adds the context to the serve plugin info params

func (*ServePluginInfoParams) SetFields

func (o *ServePluginInfoParams) SetFields(fields *string)

SetFields adds the fields to the serve plugin info params

func (*ServePluginInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the serve plugin info params

func (*ServePluginInfoParams) SetTimeout

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

SetTimeout adds the timeout to the serve plugin info params

func (*ServePluginInfoParams) WithContext

WithContext adds the context to the serve plugin info params

func (*ServePluginInfoParams) WithFields

func (o *ServePluginInfoParams) WithFields(fields *string) *ServePluginInfoParams

WithFields adds the fields to the serve plugin info params

func (*ServePluginInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the serve plugin info params

func (*ServePluginInfoParams) WithTimeout

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

WithTimeout adds the timeout to the serve plugin info params

func (*ServePluginInfoParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServePluginInfoReader

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

ServePluginInfoReader is a Reader for the ServePluginInfo structure.

func (*ServePluginInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServeVersionOK

type ServeVersionOK struct {
	Payload string
}

ServeVersionOK handles this case with default header values.

successful operation

func NewServeVersionOK

func NewServeVersionOK() *ServeVersionOK

NewServeVersionOK creates a ServeVersionOK with default headers values

func (*ServeVersionOK) Error

func (o *ServeVersionOK) Error() string

func (*ServeVersionOK) GetPayload

func (o *ServeVersionOK) GetPayload() string

type ServeVersionParams

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

ServeVersionParams contains all the parameters to send to the API endpoint for the serve version operation typically these are written to a http.Request

func NewServeVersionParams

func NewServeVersionParams() *ServeVersionParams

NewServeVersionParams creates a new ServeVersionParams object with the default values initialized.

func NewServeVersionParamsWithContext

func NewServeVersionParamsWithContext(ctx context.Context) *ServeVersionParams

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

func NewServeVersionParamsWithHTTPClient

func NewServeVersionParamsWithHTTPClient(client *http.Client) *ServeVersionParams

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

func NewServeVersionParamsWithTimeout

func NewServeVersionParamsWithTimeout(timeout time.Duration) *ServeVersionParams

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

func (*ServeVersionParams) SetContext

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

SetContext adds the context to the serve version params

func (*ServeVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the serve version params

func (*ServeVersionParams) SetTimeout

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

SetTimeout adds the timeout to the serve version params

func (*ServeVersionParams) WithContext

WithContext adds the context to the serve version params

func (*ServeVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the serve version params

func (*ServeVersionParams) WithTimeout

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

WithTimeout adds the timeout to the serve version params

func (*ServeVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServeVersionReader

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

ServeVersionReader is a Reader for the ServeVersion structure.

func (*ServeVersionReader) ReadResponse

func (o *ServeVersionReader) 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