operations

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: MIT Imports: 9 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 New

func New(transport client.Transport, formats strfmt.Registry) *Client

New creates a new operations API client.

func (*Client) CreateClusterDetails

func (a *Client) CreateClusterDetails(params *CreateClusterDetailsParams) (*CreateClusterDetailsOK, error)

CreateClusterDetails creates a cluster with all components

func (*Client) CreateClusterDetailsForV2

func (a *Client) CreateClusterDetailsForV2(params *CreateClusterDetailsForV2Params) (*CreateClusterDetailsForV2OK, error)

CreateClusterDetailsForV2 creates a cluster with all components this endpoint is to support old clients

func (*Client) GetClusterByID

func (a *Client) GetClusterByID(params *GetClusterByIDParams) (*GetClusterByIDOK, error)

GetClusterByID reads a cluster details

func (*Client) GetClustersByAge

func (a *Client) GetClustersByAge(params *GetClustersByAgeParams) (*GetClustersByAgeOK, error)

GetClustersByAge lists clusters

func (*Client) GetClustersCount

func (a *Client) GetClustersCount(params *GetClustersCountParams) (*GetClustersCountOK, error)

GetClustersCount reads the count of the known deis clusters

func (*Client) GetComponentByName

func (a *Client) GetComponentByName(params *GetComponentByNameParams) (*GetComponentByNameOK, error)

GetComponentByName lists the releases of a component

func (*Client) GetComponentByRelease

func (a *Client) GetComponentByRelease(params *GetComponentByReleaseParams) (*GetComponentByReleaseOK, error)

GetComponentByRelease reads the specified release of a component

func (*Client) GetComponentsByLatestRelease

func (a *Client) GetComponentsByLatestRelease(params *GetComponentsByLatestReleaseParams) (*GetComponentsByLatestReleaseOK, error)

GetComponentsByLatestRelease lists the latest release version of the components

func (*Client) GetComponentsByLatestReleaseForV2

func (a *Client) GetComponentsByLatestReleaseForV2(params *GetComponentsByLatestReleaseForV2Params) (*GetComponentsByLatestReleaseForV2OK, error)

GetComponentsByLatestReleaseForV2 lists the latest release version of the components this endpoint is to support old clients

func (*Client) GetDoctorInfo

func (a *Client) GetDoctorInfo(params *GetDoctorInfoParams, authInfo client.AuthInfoWriter) (*GetDoctorInfoOK, error)

GetDoctorInfo gets the specified doctor report as per UUID

func (*Client) Ping

func (a *Client) Ping(params *PingParams) (*PingOK, error)

Ping pings the versions API server

func (*Client) PublishComponentRelease

func (a *Client) PublishComponentRelease(params *PublishComponentReleaseParams) (*PublishComponentReleaseOK, error)

PublishComponentRelease publishes a new release for the component

func (*Client) PublishDoctorInfo

func (a *Client) PublishDoctorInfo(params *PublishDoctorInfoParams) (*PublishDoctorInfoOK, error)

PublishDoctorInfo publishes doctor info to workflow manager API

func (*Client) SetTransport

func (a *Client) SetTransport(transport client.Transport)

SetTransport changes the transport on the client

type CreateClusterDetailsDefault

type CreateClusterDetailsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateClusterDetailsDefault handles this case with default header values.

unexpected error

func NewCreateClusterDetailsDefault

func NewCreateClusterDetailsDefault(code int) *CreateClusterDetailsDefault

NewCreateClusterDetailsDefault creates a CreateClusterDetailsDefault with default headers values

func (*CreateClusterDetailsDefault) Code

func (o *CreateClusterDetailsDefault) Code() int

Code gets the status code for the create cluster details default response

func (*CreateClusterDetailsDefault) Error

type CreateClusterDetailsForV2Default

type CreateClusterDetailsForV2Default struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateClusterDetailsForV2Default handles this case with default header values.

unexpected error

func NewCreateClusterDetailsForV2Default

func NewCreateClusterDetailsForV2Default(code int) *CreateClusterDetailsForV2Default

NewCreateClusterDetailsForV2Default creates a CreateClusterDetailsForV2Default with default headers values

func (*CreateClusterDetailsForV2Default) Code

Code gets the status code for the create cluster details for v2 default response

func (*CreateClusterDetailsForV2Default) Error

type CreateClusterDetailsForV2OK

type CreateClusterDetailsForV2OK struct {
	Payload *models.Cluster
}

CreateClusterDetailsForV2OK handles this case with default header values.

clusters details response

func NewCreateClusterDetailsForV2OK

func NewCreateClusterDetailsForV2OK() *CreateClusterDetailsForV2OK

NewCreateClusterDetailsForV2OK creates a CreateClusterDetailsForV2OK with default headers values

func (*CreateClusterDetailsForV2OK) Error

type CreateClusterDetailsForV2Params

type CreateClusterDetailsForV2Params struct {

	/*Body*/
	Body *models.Cluster
	/*ID*/
	ID string
}

CreateClusterDetailsForV2Params contains all the parameters to send to the API endpoint for the create cluster details for v2 operation typically these are written to a http.Request

func NewCreateClusterDetailsForV2Params

func NewCreateClusterDetailsForV2Params() *CreateClusterDetailsForV2Params

NewCreateClusterDetailsForV2Params creates a new CreateClusterDetailsForV2Params object with the default values initialized.

func (*CreateClusterDetailsForV2Params) WithBody

WithBody adds the body to the create cluster details for v2 params

func (*CreateClusterDetailsForV2Params) WithID

WithID adds the id to the create cluster details for v2 params

func (*CreateClusterDetailsForV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateClusterDetailsForV2Reader

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

CreateClusterDetailsForV2Reader is a Reader for the CreateClusterDetailsForV2 structure.

func (*CreateClusterDetailsForV2Reader) ReadResponse

func (o *CreateClusterDetailsForV2Reader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type CreateClusterDetailsOK

type CreateClusterDetailsOK struct {
	Payload *models.Cluster
}

CreateClusterDetailsOK handles this case with default header values.

clusters details response

func NewCreateClusterDetailsOK

func NewCreateClusterDetailsOK() *CreateClusterDetailsOK

NewCreateClusterDetailsOK creates a CreateClusterDetailsOK with default headers values

func (*CreateClusterDetailsOK) Error

func (o *CreateClusterDetailsOK) Error() string

type CreateClusterDetailsParams

type CreateClusterDetailsParams struct {

	/*Body*/
	Body *models.Cluster
}

CreateClusterDetailsParams contains all the parameters to send to the API endpoint for the create cluster details operation typically these are written to a http.Request

func NewCreateClusterDetailsParams

func NewCreateClusterDetailsParams() *CreateClusterDetailsParams

NewCreateClusterDetailsParams creates a new CreateClusterDetailsParams object with the default values initialized.

func (*CreateClusterDetailsParams) WithBody

WithBody adds the body to the create cluster details params

func (*CreateClusterDetailsParams) WriteToRequest

func (o *CreateClusterDetailsParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateClusterDetailsReader

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

CreateClusterDetailsReader is a Reader for the CreateClusterDetails structure.

func (*CreateClusterDetailsReader) ReadResponse

func (o *CreateClusterDetailsReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetClusterByIDDefault

type GetClusterByIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetClusterByIDDefault handles this case with default header values.

unexpected error

func NewGetClusterByIDDefault

func NewGetClusterByIDDefault(code int) *GetClusterByIDDefault

NewGetClusterByIDDefault creates a GetClusterByIDDefault with default headers values

func (*GetClusterByIDDefault) Code

func (o *GetClusterByIDDefault) Code() int

Code gets the status code for the get cluster by id default response

func (*GetClusterByIDDefault) Error

func (o *GetClusterByIDDefault) Error() string

type GetClusterByIDOK

type GetClusterByIDOK struct {
	Payload *models.Cluster
}

GetClusterByIDOK handles this case with default header values.

clusters details response

func NewGetClusterByIDOK

func NewGetClusterByIDOK() *GetClusterByIDOK

NewGetClusterByIDOK creates a GetClusterByIDOK with default headers values

func (*GetClusterByIDOK) Error

func (o *GetClusterByIDOK) Error() string

type GetClusterByIDParams

type GetClusterByIDParams struct {

	/*ID*/
	ID string
}

GetClusterByIDParams contains all the parameters to send to the API endpoint for the get cluster by id operation typically these are written to a http.Request

func NewGetClusterByIDParams

func NewGetClusterByIDParams() *GetClusterByIDParams

NewGetClusterByIDParams creates a new GetClusterByIDParams object with the default values initialized.

func (*GetClusterByIDParams) WithID

WithID adds the id to the get cluster by id params

func (*GetClusterByIDParams) WriteToRequest

func (o *GetClusterByIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetClusterByIDReader

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

GetClusterByIDReader is a Reader for the GetClusterByID structure.

func (*GetClusterByIDReader) ReadResponse

func (o *GetClusterByIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetClustersByAgeDefault

type GetClustersByAgeDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetClustersByAgeDefault handles this case with default header values.

unexpected error

func NewGetClustersByAgeDefault

func NewGetClustersByAgeDefault(code int) *GetClustersByAgeDefault

NewGetClustersByAgeDefault creates a GetClustersByAgeDefault with default headers values

func (*GetClustersByAgeDefault) Code

func (o *GetClustersByAgeDefault) Code() int

Code gets the status code for the get clusters by age default response

func (*GetClustersByAgeDefault) Error

func (o *GetClustersByAgeDefault) Error() string

type GetClustersByAgeOK

type GetClustersByAgeOK struct {
	Payload GetClustersByAgeOKBodyBody
}

GetClustersByAgeOK handles this case with default header values.

clusters details response

func NewGetClustersByAgeOK

func NewGetClustersByAgeOK() *GetClustersByAgeOK

NewGetClustersByAgeOK creates a GetClustersByAgeOK with default headers values

func (*GetClustersByAgeOK) Error

func (o *GetClustersByAgeOK) Error() string

type GetClustersByAgeOKBodyBody

type GetClustersByAgeOKBodyBody struct {

	/* data

	Required: true
	*/
	Data []*models.Cluster `json:"data"`
}

GetClustersByAgeOKBodyBody get clusters by age o k body body

swagger:model GetClustersByAgeOKBodyBody

func (*GetClustersByAgeOKBodyBody) Validate

func (o *GetClustersByAgeOKBodyBody) Validate(formats strfmt.Registry) error

Validate validates this get clusters by age o k body body

type GetClustersByAgeParams

type GetClustersByAgeParams struct {

	/*CheckedInAfter*/
	CheckedInAfter *strfmt.DateTime
	/*CheckedInBefore*/
	CheckedInBefore *strfmt.DateTime
	/*CreatedAfter*/
	CreatedAfter *strfmt.DateTime
	/*CreatedBefore*/
	CreatedBefore *strfmt.DateTime
}

GetClustersByAgeParams contains all the parameters to send to the API endpoint for the get clusters by age operation typically these are written to a http.Request

func NewGetClustersByAgeParams

func NewGetClustersByAgeParams() *GetClustersByAgeParams

NewGetClustersByAgeParams creates a new GetClustersByAgeParams object with the default values initialized.

func (*GetClustersByAgeParams) WithCheckedInAfter

func (o *GetClustersByAgeParams) WithCheckedInAfter(checkedInAfter *strfmt.DateTime) *GetClustersByAgeParams

WithCheckedInAfter adds the checkedInAfter to the get clusters by age params

func (*GetClustersByAgeParams) WithCheckedInBefore

func (o *GetClustersByAgeParams) WithCheckedInBefore(checkedInBefore *strfmt.DateTime) *GetClustersByAgeParams

WithCheckedInBefore adds the checkedInBefore to the get clusters by age params

func (*GetClustersByAgeParams) WithCreatedAfter

func (o *GetClustersByAgeParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetClustersByAgeParams

WithCreatedAfter adds the createdAfter to the get clusters by age params

func (*GetClustersByAgeParams) WithCreatedBefore

func (o *GetClustersByAgeParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetClustersByAgeParams

WithCreatedBefore adds the createdBefore to the get clusters by age params

func (*GetClustersByAgeParams) WriteToRequest

func (o *GetClustersByAgeParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetClustersByAgeReader

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

GetClustersByAgeReader is a Reader for the GetClustersByAge structure.

func (*GetClustersByAgeReader) ReadResponse

func (o *GetClustersByAgeReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetClustersCountDefault

type GetClustersCountDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetClustersCountDefault handles this case with default header values.

unexpected error

func NewGetClustersCountDefault

func NewGetClustersCountDefault(code int) *GetClustersCountDefault

NewGetClustersCountDefault creates a GetClustersCountDefault with default headers values

func (*GetClustersCountDefault) Code

func (o *GetClustersCountDefault) Code() int

Code gets the status code for the get clusters count default response

func (*GetClustersCountDefault) Error

func (o *GetClustersCountDefault) Error() string

type GetClustersCountOK

type GetClustersCountOK struct {
	Payload int64
}

GetClustersCountOK handles this case with default header values.

clusters count response

func NewGetClustersCountOK

func NewGetClustersCountOK() *GetClustersCountOK

NewGetClustersCountOK creates a GetClustersCountOK with default headers values

func (*GetClustersCountOK) Error

func (o *GetClustersCountOK) Error() string

type GetClustersCountParams

type GetClustersCountParams struct {
}

GetClustersCountParams contains all the parameters to send to the API endpoint for the get clusters count operation typically these are written to a http.Request

func NewGetClustersCountParams

func NewGetClustersCountParams() *GetClustersCountParams

NewGetClustersCountParams creates a new GetClustersCountParams object with the default values initialized.

func (*GetClustersCountParams) WriteToRequest

func (o *GetClustersCountParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetClustersCountReader

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

GetClustersCountReader is a Reader for the GetClustersCount structure.

func (*GetClustersCountReader) ReadResponse

func (o *GetClustersCountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetComponentByNameDefault

type GetComponentByNameDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetComponentByNameDefault handles this case with default header values.

unexpected error

func NewGetComponentByNameDefault

func NewGetComponentByNameDefault(code int) *GetComponentByNameDefault

NewGetComponentByNameDefault creates a GetComponentByNameDefault with default headers values

func (*GetComponentByNameDefault) Code

func (o *GetComponentByNameDefault) Code() int

Code gets the status code for the get component by name default response

func (*GetComponentByNameDefault) Error

func (o *GetComponentByNameDefault) Error() string

type GetComponentByNameOK

type GetComponentByNameOK struct {
	Payload GetComponentByNameOKBodyBody
}

GetComponentByNameOK handles this case with default header values.

component releases response

func NewGetComponentByNameOK

func NewGetComponentByNameOK() *GetComponentByNameOK

NewGetComponentByNameOK creates a GetComponentByNameOK with default headers values

func (*GetComponentByNameOK) Error

func (o *GetComponentByNameOK) Error() string

type GetComponentByNameOKBodyBody

type GetComponentByNameOKBodyBody struct {

	/* data

	Required: true
	*/
	Data []*models.ComponentVersion `json:"data"`
}

GetComponentByNameOKBodyBody get component by name o k body body

swagger:model GetComponentByNameOKBodyBody

func (*GetComponentByNameOKBodyBody) Validate

func (o *GetComponentByNameOKBodyBody) Validate(formats strfmt.Registry) error

Validate validates this get component by name o k body body

type GetComponentByNameParams

type GetComponentByNameParams struct {

	/*Component
	  A component is a single deis component, e.g., deis-router

	*/
	Component string
	/*Train
	  A train is a release cadence type, e.g., "beta" or "stable"

	*/
	Train string
}

GetComponentByNameParams contains all the parameters to send to the API endpoint for the get component by name operation typically these are written to a http.Request

func NewGetComponentByNameParams

func NewGetComponentByNameParams() *GetComponentByNameParams

NewGetComponentByNameParams creates a new GetComponentByNameParams object with the default values initialized.

func (*GetComponentByNameParams) WithComponent

func (o *GetComponentByNameParams) WithComponent(component string) *GetComponentByNameParams

WithComponent adds the component to the get component by name params

func (*GetComponentByNameParams) WithTrain

WithTrain adds the train to the get component by name params

func (*GetComponentByNameParams) WriteToRequest

func (o *GetComponentByNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetComponentByNameReader

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

GetComponentByNameReader is a Reader for the GetComponentByName structure.

func (*GetComponentByNameReader) ReadResponse

func (o *GetComponentByNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetComponentByReleaseDefault

type GetComponentByReleaseDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetComponentByReleaseDefault handles this case with default header values.

unexpected error

func NewGetComponentByReleaseDefault

func NewGetComponentByReleaseDefault(code int) *GetComponentByReleaseDefault

NewGetComponentByReleaseDefault creates a GetComponentByReleaseDefault with default headers values

func (*GetComponentByReleaseDefault) Code

Code gets the status code for the get component by release default response

func (*GetComponentByReleaseDefault) Error

type GetComponentByReleaseOK

type GetComponentByReleaseOK struct {
	Payload *models.ComponentVersion
}

GetComponentByReleaseOK handles this case with default header values.

component release response

func NewGetComponentByReleaseOK

func NewGetComponentByReleaseOK() *GetComponentByReleaseOK

NewGetComponentByReleaseOK creates a GetComponentByReleaseOK with default headers values

func (*GetComponentByReleaseOK) Error

func (o *GetComponentByReleaseOK) Error() string

type GetComponentByReleaseParams

type GetComponentByReleaseParams struct {

	/*Component
	  A component is a single deis component, e.g., deis-router

	*/
	Component string
	/*Release
	  The release version of the deis component, eg., 2.0.0-beta2

	*/
	Release string
	/*Train
	  A train is a release cadence type, e.g., "beta" or "stable"

	*/
	Train string
}

GetComponentByReleaseParams contains all the parameters to send to the API endpoint for the get component by release operation typically these are written to a http.Request

func NewGetComponentByReleaseParams

func NewGetComponentByReleaseParams() *GetComponentByReleaseParams

NewGetComponentByReleaseParams creates a new GetComponentByReleaseParams object with the default values initialized.

func (*GetComponentByReleaseParams) WithComponent

func (o *GetComponentByReleaseParams) WithComponent(component string) *GetComponentByReleaseParams

WithComponent adds the component to the get component by release params

func (*GetComponentByReleaseParams) WithRelease

WithRelease adds the release to the get component by release params

func (*GetComponentByReleaseParams) WithTrain

WithTrain adds the train to the get component by release params

func (*GetComponentByReleaseParams) WriteToRequest

func (o *GetComponentByReleaseParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetComponentByReleaseReader

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

GetComponentByReleaseReader is a Reader for the GetComponentByRelease structure.

func (*GetComponentByReleaseReader) ReadResponse

func (o *GetComponentByReleaseReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetComponentsByLatestReleaseBody

type GetComponentsByLatestReleaseBody struct {

	/* data
	 */
	Data []*models.ComponentVersion `json:"data,omitempty"`
}

GetComponentsByLatestReleaseBody get components by latest release body

swagger:model GetComponentsByLatestReleaseBody

func (*GetComponentsByLatestReleaseBody) Validate

Validate validates this get components by latest release body

type GetComponentsByLatestReleaseDefault

type GetComponentsByLatestReleaseDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetComponentsByLatestReleaseDefault handles this case with default header values.

unexpected error

func NewGetComponentsByLatestReleaseDefault

func NewGetComponentsByLatestReleaseDefault(code int) *GetComponentsByLatestReleaseDefault

NewGetComponentsByLatestReleaseDefault creates a GetComponentsByLatestReleaseDefault with default headers values

func (*GetComponentsByLatestReleaseDefault) Code

Code gets the status code for the get components by latest release default response

func (*GetComponentsByLatestReleaseDefault) Error

type GetComponentsByLatestReleaseForV2Body

type GetComponentsByLatestReleaseForV2Body struct {

	/* data
	 */
	Data []*models.ComponentVersion `json:"data,omitempty"`
}

GetComponentsByLatestReleaseForV2Body get components by latest release for v2 body

swagger:model GetComponentsByLatestReleaseForV2Body

func (*GetComponentsByLatestReleaseForV2Body) Validate

Validate validates this get components by latest release for v2 body

type GetComponentsByLatestReleaseForV2Default

type GetComponentsByLatestReleaseForV2Default struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetComponentsByLatestReleaseForV2Default handles this case with default header values.

unexpected error

func NewGetComponentsByLatestReleaseForV2Default

func NewGetComponentsByLatestReleaseForV2Default(code int) *GetComponentsByLatestReleaseForV2Default

NewGetComponentsByLatestReleaseForV2Default creates a GetComponentsByLatestReleaseForV2Default with default headers values

func (*GetComponentsByLatestReleaseForV2Default) Code

Code gets the status code for the get components by latest release for v2 default response

func (*GetComponentsByLatestReleaseForV2Default) Error

type GetComponentsByLatestReleaseForV2OK

type GetComponentsByLatestReleaseForV2OK struct {
	Payload GetComponentsByLatestReleaseForV2OKBodyBody
}

GetComponentsByLatestReleaseForV2OK handles this case with default header values.

component releases response

func NewGetComponentsByLatestReleaseForV2OK

func NewGetComponentsByLatestReleaseForV2OK() *GetComponentsByLatestReleaseForV2OK

NewGetComponentsByLatestReleaseForV2OK creates a GetComponentsByLatestReleaseForV2OK with default headers values

func (*GetComponentsByLatestReleaseForV2OK) Error

type GetComponentsByLatestReleaseForV2OKBodyBody

type GetComponentsByLatestReleaseForV2OKBodyBody struct {

	/* data

	Required: true
	*/
	Data []*models.ComponentVersion `json:"data"`
}

GetComponentsByLatestReleaseForV2OKBodyBody get components by latest release for v2 o k body body

swagger:model GetComponentsByLatestReleaseForV2OKBodyBody

func (*GetComponentsByLatestReleaseForV2OKBodyBody) Validate

Validate validates this get components by latest release for v2 o k body body

type GetComponentsByLatestReleaseForV2Params

type GetComponentsByLatestReleaseForV2Params struct {

	/*Body*/
	Body GetComponentsByLatestReleaseForV2Body
}

GetComponentsByLatestReleaseForV2Params contains all the parameters to send to the API endpoint for the get components by latest release for v2 operation typically these are written to a http.Request

func NewGetComponentsByLatestReleaseForV2Params

func NewGetComponentsByLatestReleaseForV2Params() *GetComponentsByLatestReleaseForV2Params

NewGetComponentsByLatestReleaseForV2Params creates a new GetComponentsByLatestReleaseForV2Params object with the default values initialized.

func (*GetComponentsByLatestReleaseForV2Params) WithBody

WithBody adds the body to the get components by latest release for v2 params

func (*GetComponentsByLatestReleaseForV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetComponentsByLatestReleaseForV2Reader

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

GetComponentsByLatestReleaseForV2Reader is a Reader for the GetComponentsByLatestReleaseForV2 structure.

func (*GetComponentsByLatestReleaseForV2Reader) ReadResponse

func (o *GetComponentsByLatestReleaseForV2Reader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetComponentsByLatestReleaseOK

type GetComponentsByLatestReleaseOK struct {
	Payload GetComponentsByLatestReleaseOKBodyBody
}

GetComponentsByLatestReleaseOK handles this case with default header values.

component releases response

func NewGetComponentsByLatestReleaseOK

func NewGetComponentsByLatestReleaseOK() *GetComponentsByLatestReleaseOK

NewGetComponentsByLatestReleaseOK creates a GetComponentsByLatestReleaseOK with default headers values

func (*GetComponentsByLatestReleaseOK) Error

type GetComponentsByLatestReleaseOKBodyBody

type GetComponentsByLatestReleaseOKBodyBody struct {

	/* data

	Required: true
	*/
	Data []*models.ComponentVersion `json:"data"`
}

GetComponentsByLatestReleaseOKBodyBody get components by latest release o k body body

swagger:model GetComponentsByLatestReleaseOKBodyBody

func (*GetComponentsByLatestReleaseOKBodyBody) Validate

Validate validates this get components by latest release o k body body

type GetComponentsByLatestReleaseParams

type GetComponentsByLatestReleaseParams struct {

	/*Body*/
	Body GetComponentsByLatestReleaseBody
}

GetComponentsByLatestReleaseParams contains all the parameters to send to the API endpoint for the get components by latest release operation typically these are written to a http.Request

func NewGetComponentsByLatestReleaseParams

func NewGetComponentsByLatestReleaseParams() *GetComponentsByLatestReleaseParams

NewGetComponentsByLatestReleaseParams creates a new GetComponentsByLatestReleaseParams object with the default values initialized.

func (*GetComponentsByLatestReleaseParams) WithBody

WithBody adds the body to the get components by latest release params

func (*GetComponentsByLatestReleaseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetComponentsByLatestReleaseReader

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

GetComponentsByLatestReleaseReader is a Reader for the GetComponentsByLatestRelease structure.

func (*GetComponentsByLatestReleaseReader) ReadResponse

func (o *GetComponentsByLatestReleaseReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetDoctorInfoDefault

type GetDoctorInfoDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetDoctorInfoDefault handles this case with default header values.

unexpected error

func NewGetDoctorInfoDefault

func NewGetDoctorInfoDefault(code int) *GetDoctorInfoDefault

NewGetDoctorInfoDefault creates a GetDoctorInfoDefault with default headers values

func (*GetDoctorInfoDefault) Code

func (o *GetDoctorInfoDefault) Code() int

Code gets the status code for the get doctor info default response

func (*GetDoctorInfoDefault) Error

func (o *GetDoctorInfoDefault) Error() string

type GetDoctorInfoOK

type GetDoctorInfoOK struct {
	Payload *models.DoctorInfo
}

GetDoctorInfoOK handles this case with default header values.

doctor get response

func NewGetDoctorInfoOK

func NewGetDoctorInfoOK() *GetDoctorInfoOK

NewGetDoctorInfoOK creates a GetDoctorInfoOK with default headers values

func (*GetDoctorInfoOK) Error

func (o *GetDoctorInfoOK) Error() string

type GetDoctorInfoParams

type GetDoctorInfoParams struct {

	/*UUID
	  A universal Id to represent a sepcific request or report

	*/
	UUID string
}

GetDoctorInfoParams contains all the parameters to send to the API endpoint for the get doctor info operation typically these are written to a http.Request

func NewGetDoctorInfoParams

func NewGetDoctorInfoParams() *GetDoctorInfoParams

NewGetDoctorInfoParams creates a new GetDoctorInfoParams object with the default values initialized.

func (*GetDoctorInfoParams) WithUUID

func (o *GetDoctorInfoParams) WithUUID(uuid string) *GetDoctorInfoParams

WithUUID adds the uuid to the get doctor info params

func (*GetDoctorInfoParams) WriteToRequest

func (o *GetDoctorInfoParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDoctorInfoReader

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

GetDoctorInfoReader is a Reader for the GetDoctorInfo structure.

func (*GetDoctorInfoReader) ReadResponse

func (o *GetDoctorInfoReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PingDefault

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

PingDefault handles this case with default header values.

unexpected error

func NewPingDefault

func NewPingDefault(code int) *PingDefault

NewPingDefault creates a PingDefault with default headers values

func (*PingDefault) Code

func (o *PingDefault) Code() int

Code gets the status code for the ping default response

func (*PingDefault) Error

func (o *PingDefault) Error() string

type PingOK

type PingOK struct {
}

PingOK handles this case with default header values.

server ping success

func NewPingOK

func NewPingOK() *PingOK

NewPingOK creates a PingOK with default headers values

func (*PingOK) Error

func (o *PingOK) Error() string

type PingParams

type PingParams struct {
}

PingParams contains all the parameters to send to the API endpoint for the ping operation typically these are written to a http.Request

func NewPingParams

func NewPingParams() *PingParams

NewPingParams creates a new PingParams object with the default values initialized.

func (*PingParams) WriteToRequest

func (o *PingParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PingReader

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

PingReader is a Reader for the Ping structure.

func (*PingReader) ReadResponse

func (o *PingReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PublishComponentReleaseDefault

type PublishComponentReleaseDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PublishComponentReleaseDefault handles this case with default header values.

unexpected error

func NewPublishComponentReleaseDefault

func NewPublishComponentReleaseDefault(code int) *PublishComponentReleaseDefault

NewPublishComponentReleaseDefault creates a PublishComponentReleaseDefault with default headers values

func (*PublishComponentReleaseDefault) Code

Code gets the status code for the publish component release default response

func (*PublishComponentReleaseDefault) Error

type PublishComponentReleaseOK

type PublishComponentReleaseOK struct {
	Payload *models.ComponentVersion
}

PublishComponentReleaseOK handles this case with default header values.

publish component release response

func NewPublishComponentReleaseOK

func NewPublishComponentReleaseOK() *PublishComponentReleaseOK

NewPublishComponentReleaseOK creates a PublishComponentReleaseOK with default headers values

func (*PublishComponentReleaseOK) Error

func (o *PublishComponentReleaseOK) Error() string

type PublishComponentReleaseParams

type PublishComponentReleaseParams struct {

	/*Body*/
	Body *models.ComponentVersion
	/*Component
	  A component is a single deis component, e.g., deis-router

	*/
	Component string
	/*Release
	  The release version of the deis component, eg., 2.0.0-beta2

	*/
	Release string
	/*Train
	  A train is a release cadence type, e.g., "beta" or "stable"

	*/
	Train string
}

PublishComponentReleaseParams contains all the parameters to send to the API endpoint for the publish component release operation typically these are written to a http.Request

func NewPublishComponentReleaseParams

func NewPublishComponentReleaseParams() *PublishComponentReleaseParams

NewPublishComponentReleaseParams creates a new PublishComponentReleaseParams object with the default values initialized.

func (*PublishComponentReleaseParams) WithBody

WithBody adds the body to the publish component release params

func (*PublishComponentReleaseParams) WithComponent

WithComponent adds the component to the publish component release params

func (*PublishComponentReleaseParams) WithRelease

WithRelease adds the release to the publish component release params

func (*PublishComponentReleaseParams) WithTrain

WithTrain adds the train to the publish component release params

func (*PublishComponentReleaseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublishComponentReleaseReader

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

PublishComponentReleaseReader is a Reader for the PublishComponentRelease structure.

func (*PublishComponentReleaseReader) ReadResponse

func (o *PublishComponentReleaseReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PublishDoctorInfoDefault

type PublishDoctorInfoDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PublishDoctorInfoDefault handles this case with default header values.

unexpected error

func NewPublishDoctorInfoDefault

func NewPublishDoctorInfoDefault(code int) *PublishDoctorInfoDefault

NewPublishDoctorInfoDefault creates a PublishDoctorInfoDefault with default headers values

func (*PublishDoctorInfoDefault) Code

func (o *PublishDoctorInfoDefault) Code() int

Code gets the status code for the publish doctor info default response

func (*PublishDoctorInfoDefault) Error

func (o *PublishDoctorInfoDefault) Error() string

type PublishDoctorInfoOK

type PublishDoctorInfoOK struct {
}

PublishDoctorInfoOK handles this case with default header values.

publish doctorInfo response

func NewPublishDoctorInfoOK

func NewPublishDoctorInfoOK() *PublishDoctorInfoOK

NewPublishDoctorInfoOK creates a PublishDoctorInfoOK with default headers values

func (*PublishDoctorInfoOK) Error

func (o *PublishDoctorInfoOK) Error() string

type PublishDoctorInfoParams

type PublishDoctorInfoParams struct {

	/*Body*/
	Body *models.DoctorInfo
	/*UUID
	  A universal Id to represent a sepcific request or report

	*/
	UUID string
}

PublishDoctorInfoParams contains all the parameters to send to the API endpoint for the publish doctor info operation typically these are written to a http.Request

func NewPublishDoctorInfoParams

func NewPublishDoctorInfoParams() *PublishDoctorInfoParams

NewPublishDoctorInfoParams creates a new PublishDoctorInfoParams object with the default values initialized.

func (*PublishDoctorInfoParams) WithBody

WithBody adds the body to the publish doctor info params

func (*PublishDoctorInfoParams) WithUUID

WithUUID adds the uuid to the publish doctor info params

func (*PublishDoctorInfoParams) WriteToRequest

func (o *PublishDoctorInfoParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PublishDoctorInfoReader

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

PublishDoctorInfoReader is a Reader for the PublishDoctorInfo structure.

func (*PublishDoctorInfoReader) ReadResponse

func (o *PublishDoctorInfoReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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