Documentation
¶
Index ¶
- type Client
- type ClientService
- type ListSeedNamesDefault
- type ListSeedNamesOK
- type ListSeedNamesParams
- func (o *ListSeedNamesParams) SetContext(ctx context.Context)
- func (o *ListSeedNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListSeedNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListSeedNamesParams) WithContext(ctx context.Context) *ListSeedNamesParams
- func (o *ListSeedNamesParams) WithHTTPClient(client *http.Client) *ListSeedNamesParams
- func (o *ListSeedNamesParams) WithTimeout(timeout time.Duration) *ListSeedNamesParams
- func (o *ListSeedNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSeedNamesReader
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 seed API
func (*Client) ListSeedNames ¶
func (a *Client) ListSeedNames(params *ListSeedNamesParams, authInfo runtime.ClientAuthInfoWriter) (*ListSeedNamesOK, error)
ListSeedNames list seed names API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListSeedNames(params *ListSeedNamesParams, authInfo runtime.ClientAuthInfoWriter) (*ListSeedNamesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new seed API client.
type ListSeedNamesDefault ¶
type ListSeedNamesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListSeedNamesDefault handles this case with default header values.
errorResponse
func NewListSeedNamesDefault ¶
func NewListSeedNamesDefault(code int) *ListSeedNamesDefault
NewListSeedNamesDefault creates a ListSeedNamesDefault with default headers values
func (*ListSeedNamesDefault) Code ¶
func (o *ListSeedNamesDefault) Code() int
Code gets the status code for the list seed names default response
func (*ListSeedNamesDefault) Error ¶
func (o *ListSeedNamesDefault) Error() string
func (*ListSeedNamesDefault) GetPayload ¶
func (o *ListSeedNamesDefault) GetPayload() *models.ErrorResponse
type ListSeedNamesOK ¶
type ListSeedNamesOK struct {
Payload models.SeedNamesList
}
ListSeedNamesOK handles this case with default header values.
SeedNamesList
func NewListSeedNamesOK ¶
func NewListSeedNamesOK() *ListSeedNamesOK
NewListSeedNamesOK creates a ListSeedNamesOK with default headers values
func (*ListSeedNamesOK) Error ¶
func (o *ListSeedNamesOK) Error() string
func (*ListSeedNamesOK) GetPayload ¶
func (o *ListSeedNamesOK) GetPayload() models.SeedNamesList
type ListSeedNamesParams ¶
type ListSeedNamesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSeedNamesParams contains all the parameters to send to the API endpoint for the list seed names operation typically these are written to a http.Request
func NewListSeedNamesParams ¶
func NewListSeedNamesParams() *ListSeedNamesParams
NewListSeedNamesParams creates a new ListSeedNamesParams object with the default values initialized.
func NewListSeedNamesParamsWithContext ¶
func NewListSeedNamesParamsWithContext(ctx context.Context) *ListSeedNamesParams
NewListSeedNamesParamsWithContext creates a new ListSeedNamesParams object with the default values initialized, and the ability to set a context for a request
func NewListSeedNamesParamsWithHTTPClient ¶
func NewListSeedNamesParamsWithHTTPClient(client *http.Client) *ListSeedNamesParams
NewListSeedNamesParamsWithHTTPClient creates a new ListSeedNamesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListSeedNamesParamsWithTimeout ¶
func NewListSeedNamesParamsWithTimeout(timeout time.Duration) *ListSeedNamesParams
NewListSeedNamesParamsWithTimeout creates a new ListSeedNamesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListSeedNamesParams) SetContext ¶
func (o *ListSeedNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the list seed names params
func (*ListSeedNamesParams) SetHTTPClient ¶
func (o *ListSeedNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list seed names params
func (*ListSeedNamesParams) SetTimeout ¶
func (o *ListSeedNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list seed names params
func (*ListSeedNamesParams) WithContext ¶
func (o *ListSeedNamesParams) WithContext(ctx context.Context) *ListSeedNamesParams
WithContext adds the context to the list seed names params
func (*ListSeedNamesParams) WithHTTPClient ¶
func (o *ListSeedNamesParams) WithHTTPClient(client *http.Client) *ListSeedNamesParams
WithHTTPClient adds the HTTPClient to the list seed names params
func (*ListSeedNamesParams) WithTimeout ¶
func (o *ListSeedNamesParams) WithTimeout(timeout time.Duration) *ListSeedNamesParams
WithTimeout adds the timeout to the list seed names params
func (*ListSeedNamesParams) WriteToRequest ¶
func (o *ListSeedNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSeedNamesReader ¶
type ListSeedNamesReader struct {
// contains filtered or unexported fields
}
ListSeedNamesReader is a Reader for the ListSeedNames structure.
func (*ListSeedNamesReader) ReadResponse ¶
func (o *ListSeedNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.