Documentation
¶
Index ¶
- type Client
- func (a *Client) GetSeedSettings(params *GetSeedSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSeedSettingsOK, error)
- func (a *Client) ListSeedNames(params *ListSeedNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSeedNamesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSeedSettingsDefault
- type GetSeedSettingsForbidden
- type GetSeedSettingsOK
- type GetSeedSettingsParams
- func NewGetSeedSettingsParams() *GetSeedSettingsParams
- func NewGetSeedSettingsParamsWithContext(ctx context.Context) *GetSeedSettingsParams
- func NewGetSeedSettingsParamsWithHTTPClient(client *http.Client) *GetSeedSettingsParams
- func NewGetSeedSettingsParamsWithTimeout(timeout time.Duration) *GetSeedSettingsParams
- func (o *GetSeedSettingsParams) SetContext(ctx context.Context)
- func (o *GetSeedSettingsParams) SetDefaults()
- func (o *GetSeedSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetSeedSettingsParams) SetName(seedName string)
- func (o *GetSeedSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetSeedSettingsParams) WithContext(ctx context.Context) *GetSeedSettingsParams
- func (o *GetSeedSettingsParams) WithDefaults() *GetSeedSettingsParams
- func (o *GetSeedSettingsParams) WithHTTPClient(client *http.Client) *GetSeedSettingsParams
- func (o *GetSeedSettingsParams) WithName(seedName string) *GetSeedSettingsParams
- func (o *GetSeedSettingsParams) WithTimeout(timeout time.Duration) *GetSeedSettingsParams
- func (o *GetSeedSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSeedSettingsReader
- type GetSeedSettingsUnauthorized
- type ListSeedNamesDefault
- type ListSeedNamesOK
- type ListSeedNamesParams
- func (o *ListSeedNamesParams) SetContext(ctx context.Context)
- func (o *ListSeedNamesParams) SetDefaults()
- 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) WithDefaults() *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) GetSeedSettings ¶ added in v2.18.0
func (a *Client) GetSeedSettings(params *GetSeedSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSeedSettingsOK, error)
GetSeedSettings gets the seed settings
func (*Client) ListSeedNames ¶
func (a *Client) ListSeedNames(params *ListSeedNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption ¶ added in v2.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetSeedSettings(params *GetSeedSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSeedSettingsOK, error) ListSeedNames(params *ListSeedNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 GetSeedSettingsDefault ¶ added in v2.18.0
type GetSeedSettingsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetSeedSettingsDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetSeedSettingsDefault ¶ added in v2.18.0
func NewGetSeedSettingsDefault(code int) *GetSeedSettingsDefault
NewGetSeedSettingsDefault creates a GetSeedSettingsDefault with default headers values
func (*GetSeedSettingsDefault) Code ¶ added in v2.18.0
func (o *GetSeedSettingsDefault) Code() int
Code gets the status code for the get seed settings default response
func (*GetSeedSettingsDefault) Error ¶ added in v2.18.0
func (o *GetSeedSettingsDefault) Error() string
func (*GetSeedSettingsDefault) GetPayload ¶ added in v2.18.0
func (o *GetSeedSettingsDefault) GetPayload() *models.ErrorResponse
type GetSeedSettingsForbidden ¶ added in v2.18.0
type GetSeedSettingsForbidden struct { }
GetSeedSettingsForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetSeedSettingsForbidden ¶ added in v2.18.0
func NewGetSeedSettingsForbidden() *GetSeedSettingsForbidden
NewGetSeedSettingsForbidden creates a GetSeedSettingsForbidden with default headers values
func (*GetSeedSettingsForbidden) Error ¶ added in v2.18.0
func (o *GetSeedSettingsForbidden) Error() string
type GetSeedSettingsOK ¶ added in v2.18.0
type GetSeedSettingsOK struct {
Payload *models.SeedSettings
}
GetSeedSettingsOK describes a response with status code 200, with default header values.
SeedSettings
func NewGetSeedSettingsOK ¶ added in v2.18.0
func NewGetSeedSettingsOK() *GetSeedSettingsOK
NewGetSeedSettingsOK creates a GetSeedSettingsOK with default headers values
func (*GetSeedSettingsOK) Error ¶ added in v2.18.0
func (o *GetSeedSettingsOK) Error() string
func (*GetSeedSettingsOK) GetPayload ¶ added in v2.18.0
func (o *GetSeedSettingsOK) GetPayload() *models.SeedSettings
type GetSeedSettingsParams ¶ added in v2.18.0
type GetSeedSettingsParams struct { // SeedName. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSeedSettingsParams contains all the parameters to send to the API endpoint
for the get seed settings operation. Typically these are written to a http.Request.
func NewGetSeedSettingsParams ¶ added in v2.18.0
func NewGetSeedSettingsParams() *GetSeedSettingsParams
NewGetSeedSettingsParams creates a new GetSeedSettingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSeedSettingsParamsWithContext ¶ added in v2.18.0
func NewGetSeedSettingsParamsWithContext(ctx context.Context) *GetSeedSettingsParams
NewGetSeedSettingsParamsWithContext creates a new GetSeedSettingsParams object with the ability to set a context for a request.
func NewGetSeedSettingsParamsWithHTTPClient ¶ added in v2.18.0
func NewGetSeedSettingsParamsWithHTTPClient(client *http.Client) *GetSeedSettingsParams
NewGetSeedSettingsParamsWithHTTPClient creates a new GetSeedSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSeedSettingsParamsWithTimeout ¶ added in v2.18.0
func NewGetSeedSettingsParamsWithTimeout(timeout time.Duration) *GetSeedSettingsParams
NewGetSeedSettingsParamsWithTimeout creates a new GetSeedSettingsParams object with the ability to set a timeout on a request.
func (*GetSeedSettingsParams) SetContext ¶ added in v2.18.0
func (o *GetSeedSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get seed settings params
func (*GetSeedSettingsParams) SetDefaults ¶ added in v2.18.0
func (o *GetSeedSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get seed settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetSeedSettingsParams) SetHTTPClient ¶ added in v2.18.0
func (o *GetSeedSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get seed settings params
func (*GetSeedSettingsParams) SetName ¶ added in v2.18.0
func (o *GetSeedSettingsParams) SetName(seedName string)
SetName adds the seedName to the get seed settings params
func (*GetSeedSettingsParams) SetTimeout ¶ added in v2.18.0
func (o *GetSeedSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get seed settings params
func (*GetSeedSettingsParams) WithContext ¶ added in v2.18.0
func (o *GetSeedSettingsParams) WithContext(ctx context.Context) *GetSeedSettingsParams
WithContext adds the context to the get seed settings params
func (*GetSeedSettingsParams) WithDefaults ¶ added in v2.18.0
func (o *GetSeedSettingsParams) WithDefaults() *GetSeedSettingsParams
WithDefaults hydrates default values in the get seed settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetSeedSettingsParams) WithHTTPClient ¶ added in v2.18.0
func (o *GetSeedSettingsParams) WithHTTPClient(client *http.Client) *GetSeedSettingsParams
WithHTTPClient adds the HTTPClient to the get seed settings params
func (*GetSeedSettingsParams) WithName ¶ added in v2.18.0
func (o *GetSeedSettingsParams) WithName(seedName string) *GetSeedSettingsParams
WithName adds the seedName to the get seed settings params
func (*GetSeedSettingsParams) WithTimeout ¶ added in v2.18.0
func (o *GetSeedSettingsParams) WithTimeout(timeout time.Duration) *GetSeedSettingsParams
WithTimeout adds the timeout to the get seed settings params
func (*GetSeedSettingsParams) WriteToRequest ¶ added in v2.18.0
func (o *GetSeedSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSeedSettingsReader ¶ added in v2.18.0
type GetSeedSettingsReader struct {
// contains filtered or unexported fields
}
GetSeedSettingsReader is a Reader for the GetSeedSettings structure.
func (*GetSeedSettingsReader) ReadResponse ¶ added in v2.18.0
func (o *GetSeedSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSeedSettingsUnauthorized ¶ added in v2.18.0
type GetSeedSettingsUnauthorized struct { }
GetSeedSettingsUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetSeedSettingsUnauthorized ¶ added in v2.18.0
func NewGetSeedSettingsUnauthorized() *GetSeedSettingsUnauthorized
NewGetSeedSettingsUnauthorized creates a GetSeedSettingsUnauthorized with default headers values
func (*GetSeedSettingsUnauthorized) Error ¶ added in v2.18.0
func (o *GetSeedSettingsUnauthorized) Error() string
type ListSeedNamesDefault ¶
type ListSeedNamesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListSeedNamesDefault describes a response with status code -1, 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 describes a response with status code 200, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListSeedNamesParamsWithContext ¶
func NewListSeedNamesParamsWithContext(ctx context.Context) *ListSeedNamesParams
NewListSeedNamesParamsWithContext creates a new ListSeedNamesParams object with 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 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 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) SetDefaults ¶ added in v2.18.0
func (o *ListSeedNamesParams) SetDefaults()
SetDefaults hydrates default values in the list seed names params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v2.18.0
func (o *ListSeedNamesParams) WithDefaults() *ListSeedNamesParams
WithDefaults hydrates default values in the list seed names params (not the query body).
All values with no default are reset to their zero value.
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.