Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateClusterDetails(params *CreateClusterDetailsParams) (*CreateClusterDetailsOK, error)
- func (a *Client) CreateClusterDetailsForV2(params *CreateClusterDetailsForV2Params) (*CreateClusterDetailsForV2OK, error)
- func (a *Client) GetClusterByID(params *GetClusterByIDParams) (*GetClusterByIDOK, error)
- func (a *Client) GetClustersByAge(params *GetClustersByAgeParams) (*GetClustersByAgeOK, error)
- func (a *Client) GetClustersCount(params *GetClustersCountParams) (*GetClustersCountOK, error)
- func (a *Client) GetComponentByName(params *GetComponentByNameParams) (*GetComponentByNameOK, error)
- func (a *Client) GetComponentByRelease(params *GetComponentByReleaseParams) (*GetComponentByReleaseOK, error)
- func (a *Client) GetComponentsByLatestRelease(params *GetComponentsByLatestReleaseParams) (*GetComponentsByLatestReleaseOK, error)
- func (a *Client) GetComponentsByLatestReleaseForV2(params *GetComponentsByLatestReleaseForV2Params) (*GetComponentsByLatestReleaseForV2OK, error)
- func (a *Client) GetDoctorInfo(params *GetDoctorInfoParams, authInfo client.AuthInfoWriter) (*GetDoctorInfoOK, error)
- func (a *Client) Ping(params *PingParams) (*PingOK, error)
- func (a *Client) PublishComponentRelease(params *PublishComponentReleaseParams) (*PublishComponentReleaseOK, error)
- func (a *Client) PublishDoctorInfo(params *PublishDoctorInfoParams) (*PublishDoctorInfoOK, error)
- func (a *Client) SetTransport(transport client.Transport)
- type CreateClusterDetailsDefault
- type CreateClusterDetailsForV2Default
- type CreateClusterDetailsForV2OK
- type CreateClusterDetailsForV2Params
- func (o *CreateClusterDetailsForV2Params) WithBody(body *models.Cluster) *CreateClusterDetailsForV2Params
- func (o *CreateClusterDetailsForV2Params) WithID(id string) *CreateClusterDetailsForV2Params
- func (o *CreateClusterDetailsForV2Params) WriteToRequest(r client.Request, reg strfmt.Registry) error
- type CreateClusterDetailsForV2Reader
- type CreateClusterDetailsOK
- type CreateClusterDetailsParams
- type CreateClusterDetailsReader
- type GetClusterByIDDefault
- type GetClusterByIDOK
- type GetClusterByIDParams
- type GetClusterByIDReader
- type GetClustersByAgeDefault
- type GetClustersByAgeOK
- type GetClustersByAgeOKBodyBody
- type GetClustersByAgeParams
- func (o *GetClustersByAgeParams) WithCheckedInAfter(checkedInAfter *strfmt.DateTime) *GetClustersByAgeParams
- func (o *GetClustersByAgeParams) WithCheckedInBefore(checkedInBefore *strfmt.DateTime) *GetClustersByAgeParams
- func (o *GetClustersByAgeParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetClustersByAgeParams
- func (o *GetClustersByAgeParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetClustersByAgeParams
- func (o *GetClustersByAgeParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
- type GetClustersByAgeReader
- type GetClustersCountDefault
- type GetClustersCountOK
- type GetClustersCountParams
- type GetClustersCountReader
- type GetComponentByNameDefault
- type GetComponentByNameOK
- type GetComponentByNameOKBodyBody
- type GetComponentByNameParams
- type GetComponentByNameReader
- type GetComponentByReleaseDefault
- type GetComponentByReleaseOK
- type GetComponentByReleaseParams
- func (o *GetComponentByReleaseParams) WithComponent(component string) *GetComponentByReleaseParams
- func (o *GetComponentByReleaseParams) WithRelease(release string) *GetComponentByReleaseParams
- func (o *GetComponentByReleaseParams) WithTrain(train string) *GetComponentByReleaseParams
- func (o *GetComponentByReleaseParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
- type GetComponentByReleaseReader
- type GetComponentsByLatestReleaseBody
- type GetComponentsByLatestReleaseDefault
- type GetComponentsByLatestReleaseForV2Body
- type GetComponentsByLatestReleaseForV2Default
- type GetComponentsByLatestReleaseForV2OK
- type GetComponentsByLatestReleaseForV2OKBodyBody
- type GetComponentsByLatestReleaseForV2Params
- type GetComponentsByLatestReleaseForV2Reader
- type GetComponentsByLatestReleaseOK
- type GetComponentsByLatestReleaseOKBodyBody
- type GetComponentsByLatestReleaseParams
- type GetComponentsByLatestReleaseReader
- type GetDoctorInfoDefault
- type GetDoctorInfoOK
- type GetDoctorInfoParams
- type GetDoctorInfoReader
- type PingDefault
- type PingOK
- type PingParams
- type PingReader
- type PublishComponentReleaseDefault
- type PublishComponentReleaseOK
- type PublishComponentReleaseParams
- func (o *PublishComponentReleaseParams) WithBody(body *models.ComponentVersion) *PublishComponentReleaseParams
- func (o *PublishComponentReleaseParams) WithComponent(component string) *PublishComponentReleaseParams
- func (o *PublishComponentReleaseParams) WithRelease(release string) *PublishComponentReleaseParams
- func (o *PublishComponentReleaseParams) WithTrain(train string) *PublishComponentReleaseParams
- func (o *PublishComponentReleaseParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
- type PublishComponentReleaseReader
- type PublishDoctorInfoDefault
- type PublishDoctorInfoOK
- type PublishDoctorInfoParams
- type PublishDoctorInfoReader
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) 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 ¶
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 ¶
func (o *CreateClusterDetailsDefault) Error() string
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 ¶
func (o *CreateClusterDetailsForV2Default) Code() int
Code gets the status code for the create cluster details for v2 default response
func (*CreateClusterDetailsForV2Default) Error ¶
func (o *CreateClusterDetailsForV2Default) Error() string
type CreateClusterDetailsForV2OK ¶
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 ¶
func (o *CreateClusterDetailsForV2OK) Error() string
type CreateClusterDetailsForV2Params ¶
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 ¶
func (o *CreateClusterDetailsForV2Params) WithBody(body *models.Cluster) *CreateClusterDetailsForV2Params
WithBody adds the body to the create cluster details for v2 params
func (*CreateClusterDetailsForV2Params) WithID ¶
func (o *CreateClusterDetailsForV2Params) WithID(id string) *CreateClusterDetailsForV2Params
WithID adds the id to the create cluster details for v2 params
func (*CreateClusterDetailsForV2Params) WriteToRequest ¶
func (o *CreateClusterDetailsForV2Params) WriteToRequest(r client.Request, reg strfmt.Registry) error
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 ¶
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 ¶
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 ¶
func (o *CreateClusterDetailsParams) WithBody(body *models.Cluster) *CreateClusterDetailsParams
WithBody adds the body to the create cluster details params
func (*CreateClusterDetailsParams) WriteToRequest ¶
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 ¶
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 ¶
func (o *GetClusterByIDParams) WithID(id string) *GetClusterByIDParams
WithID adds the id to the get cluster by id params
func (*GetClusterByIDParams) WriteToRequest ¶
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
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 ¶
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 ¶
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
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 ¶
func (o *GetComponentByNameParams) WithTrain(train string) *GetComponentByNameParams
WithTrain adds the train to the get component by name params
func (*GetComponentByNameParams) WriteToRequest ¶
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 ¶
func (o *GetComponentByReleaseDefault) Code() int
Code gets the status code for the get component by release default response
func (*GetComponentByReleaseDefault) Error ¶
func (o *GetComponentByReleaseDefault) Error() string
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 ¶
func (o *GetComponentByReleaseParams) WithRelease(release string) *GetComponentByReleaseParams
WithRelease adds the release to the get component by release params
func (*GetComponentByReleaseParams) WithTrain ¶
func (o *GetComponentByReleaseParams) WithTrain(train string) *GetComponentByReleaseParams
WithTrain adds the train to the get component by release params
func (*GetComponentByReleaseParams) WriteToRequest ¶
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
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 ¶
func (o *GetComponentsByLatestReleaseDefault) Code() int
Code gets the status code for the get components by latest release default response
func (*GetComponentsByLatestReleaseDefault) Error ¶
func (o *GetComponentsByLatestReleaseDefault) Error() string
type GetComponentsByLatestReleaseForV2Body ¶
type GetComponentsByLatestReleaseForV2Body struct { /* data */ Data []*models.ComponentVersion `json:"data,omitempty"` }
GetComponentsByLatestReleaseForV2Body get components by latest release for v2 body
swagger:model GetComponentsByLatestReleaseForV2Body
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 ¶
func (o *GetComponentsByLatestReleaseForV2Default) Code() int
Code gets the status code for the get components by latest release for v2 default response
func (*GetComponentsByLatestReleaseForV2Default) Error ¶
func (o *GetComponentsByLatestReleaseForV2Default) Error() string
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 ¶
func (o *GetComponentsByLatestReleaseForV2OK) Error() string
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
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 ¶
func (o *GetComponentsByLatestReleaseForV2Params) WithBody(body GetComponentsByLatestReleaseForV2Body) *GetComponentsByLatestReleaseForV2Params
WithBody adds the body to the get components by latest release for v2 params
func (*GetComponentsByLatestReleaseForV2Params) WriteToRequest ¶
func (o *GetComponentsByLatestReleaseForV2Params) WriteToRequest(r client.Request, reg strfmt.Registry) error
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 ¶
func (o *GetComponentsByLatestReleaseOK) Error() string
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
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 ¶
func (o *GetComponentsByLatestReleaseParams) WithBody(body GetComponentsByLatestReleaseBody) *GetComponentsByLatestReleaseParams
WithBody adds the body to the get components by latest release params
func (*GetComponentsByLatestReleaseParams) WriteToRequest ¶
func (o *GetComponentsByLatestReleaseParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
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 ¶
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
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 ¶
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 ¶
func (o *PublishComponentReleaseDefault) Code() int
Code gets the status code for the publish component release default response
func (*PublishComponentReleaseDefault) Error ¶
func (o *PublishComponentReleaseDefault) Error() string
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 ¶
func (o *PublishComponentReleaseParams) WithBody(body *models.ComponentVersion) *PublishComponentReleaseParams
WithBody adds the body to the publish component release params
func (*PublishComponentReleaseParams) WithComponent ¶
func (o *PublishComponentReleaseParams) WithComponent(component string) *PublishComponentReleaseParams
WithComponent adds the component to the publish component release params
func (*PublishComponentReleaseParams) WithRelease ¶
func (o *PublishComponentReleaseParams) WithRelease(release string) *PublishComponentReleaseParams
WithRelease adds the release to the publish component release params
func (*PublishComponentReleaseParams) WithTrain ¶
func (o *PublishComponentReleaseParams) WithTrain(train string) *PublishComponentReleaseParams
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 ¶
func (o *PublishDoctorInfoParams) WithBody(body *models.DoctorInfo) *PublishDoctorInfoParams
WithBody adds the body to the publish doctor info params
func (*PublishDoctorInfoParams) WithUUID ¶
func (o *PublishDoctorInfoParams) WithUUID(uuid string) *PublishDoctorInfoParams
WithUUID adds the uuid to the publish doctor info params
func (*PublishDoctorInfoParams) WriteToRequest ¶
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.
Source Files ¶
- create_cluster_details_for_v2_parameters.go
- create_cluster_details_for_v2_responses.go
- create_cluster_details_parameters.go
- create_cluster_details_responses.go
- get_cluster_by_id_parameters.go
- get_cluster_by_id_responses.go
- get_clusters_by_age_parameters.go
- get_clusters_by_age_responses.go
- get_clusters_count_parameters.go
- get_clusters_count_responses.go
- get_component_by_name_parameters.go
- get_component_by_name_responses.go
- get_component_by_release_parameters.go
- get_component_by_release_responses.go
- get_components_by_latest_release_for_v2_parameters.go
- get_components_by_latest_release_for_v2_responses.go
- get_components_by_latest_release_parameters.go
- get_components_by_latest_release_responses.go
- get_doctor_info_parameters.go
- get_doctor_info_responses.go
- operations_client.go
- ping_parameters.go
- ping_responses.go
- publish_component_release_parameters.go
- publish_component_release_responses.go
- publish_doctor_info_parameters.go
- publish_doctor_info_responses.go