Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateClusterDetails(params *CreateClusterDetailsParams) (*CreateClusterDetailsOK, 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) PublishComponentRelease(params *PublishComponentReleaseParams) (*PublishComponentReleaseOK, error)
- func (a *Client) SetTransport(transport client.Transport)
- type CreateClusterDetailsDefault
- 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 GetComponentsByLatestReleaseOK
- type GetComponentsByLatestReleaseOKBodyBody
- type GetComponentsByLatestReleaseParams
- type GetComponentsByLatestReleaseReader
- 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
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) 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) PublishComponentRelease ¶
func (a *Client) PublishComponentRelease(params *PublishComponentReleaseParams) (*PublishComponentReleaseOK, error)
PublishComponentRelease publishes a new release for the component
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 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 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 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.
Source Files ¶
- 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_parameters.go
- get_components_by_latest_release_responses.go
- operations_client.go
- publish_component_release_parameters.go
- publish_component_release_responses.go