seed

package
v0.0.0-...-b339f66 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for seed API

func (*Client) GetSeedSettings

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

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

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

func NewGetSeedSettingsDefault(code int) *GetSeedSettingsDefault

NewGetSeedSettingsDefault creates a GetSeedSettingsDefault with default headers values

func (*GetSeedSettingsDefault) Code

func (o *GetSeedSettingsDefault) Code() int

Code gets the status code for the get seed settings default response

func (*GetSeedSettingsDefault) Error

func (o *GetSeedSettingsDefault) Error() string

func (*GetSeedSettingsDefault) GetPayload

func (o *GetSeedSettingsDefault) GetPayload() *models.ErrorResponse

func (*GetSeedSettingsDefault) IsClientError

func (o *GetSeedSettingsDefault) IsClientError() bool

IsClientError returns true when this get seed settings default response has a 4xx status code

func (*GetSeedSettingsDefault) IsCode

func (o *GetSeedSettingsDefault) IsCode(code int) bool

IsCode returns true when this get seed settings default response a status code equal to that given

func (*GetSeedSettingsDefault) IsRedirect

func (o *GetSeedSettingsDefault) IsRedirect() bool

IsRedirect returns true when this get seed settings default response has a 3xx status code

func (*GetSeedSettingsDefault) IsServerError

func (o *GetSeedSettingsDefault) IsServerError() bool

IsServerError returns true when this get seed settings default response has a 5xx status code

func (*GetSeedSettingsDefault) IsSuccess

func (o *GetSeedSettingsDefault) IsSuccess() bool

IsSuccess returns true when this get seed settings default response has a 2xx status code

func (*GetSeedSettingsDefault) String

func (o *GetSeedSettingsDefault) String() string

type GetSeedSettingsForbidden

type GetSeedSettingsForbidden struct {
}

GetSeedSettingsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewGetSeedSettingsForbidden

func NewGetSeedSettingsForbidden() *GetSeedSettingsForbidden

NewGetSeedSettingsForbidden creates a GetSeedSettingsForbidden with default headers values

func (*GetSeedSettingsForbidden) Error

func (o *GetSeedSettingsForbidden) Error() string

func (*GetSeedSettingsForbidden) IsClientError

func (o *GetSeedSettingsForbidden) IsClientError() bool

IsClientError returns true when this get seed settings forbidden response has a 4xx status code

func (*GetSeedSettingsForbidden) IsCode

func (o *GetSeedSettingsForbidden) IsCode(code int) bool

IsCode returns true when this get seed settings forbidden response a status code equal to that given

func (*GetSeedSettingsForbidden) IsRedirect

func (o *GetSeedSettingsForbidden) IsRedirect() bool

IsRedirect returns true when this get seed settings forbidden response has a 3xx status code

func (*GetSeedSettingsForbidden) IsServerError

func (o *GetSeedSettingsForbidden) IsServerError() bool

IsServerError returns true when this get seed settings forbidden response has a 5xx status code

func (*GetSeedSettingsForbidden) IsSuccess

func (o *GetSeedSettingsForbidden) IsSuccess() bool

IsSuccess returns true when this get seed settings forbidden response has a 2xx status code

func (*GetSeedSettingsForbidden) String

func (o *GetSeedSettingsForbidden) String() string

type GetSeedSettingsOK

type GetSeedSettingsOK struct {
	Payload *models.SeedSettings
}

GetSeedSettingsOK describes a response with status code 200, with default header values.

SeedSettings

func NewGetSeedSettingsOK

func NewGetSeedSettingsOK() *GetSeedSettingsOK

NewGetSeedSettingsOK creates a GetSeedSettingsOK with default headers values

func (*GetSeedSettingsOK) Error

func (o *GetSeedSettingsOK) Error() string

func (*GetSeedSettingsOK) GetPayload

func (o *GetSeedSettingsOK) GetPayload() *models.SeedSettings

func (*GetSeedSettingsOK) IsClientError

func (o *GetSeedSettingsOK) IsClientError() bool

IsClientError returns true when this get seed settings o k response has a 4xx status code

func (*GetSeedSettingsOK) IsCode

func (o *GetSeedSettingsOK) IsCode(code int) bool

IsCode returns true when this get seed settings o k response a status code equal to that given

func (*GetSeedSettingsOK) IsRedirect

func (o *GetSeedSettingsOK) IsRedirect() bool

IsRedirect returns true when this get seed settings o k response has a 3xx status code

func (*GetSeedSettingsOK) IsServerError

func (o *GetSeedSettingsOK) IsServerError() bool

IsServerError returns true when this get seed settings o k response has a 5xx status code

func (*GetSeedSettingsOK) IsSuccess

func (o *GetSeedSettingsOK) IsSuccess() bool

IsSuccess returns true when this get seed settings o k response has a 2xx status code

func (*GetSeedSettingsOK) String

func (o *GetSeedSettingsOK) String() string

type GetSeedSettingsParams

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

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

func NewGetSeedSettingsParamsWithContext(ctx context.Context) *GetSeedSettingsParams

NewGetSeedSettingsParamsWithContext creates a new GetSeedSettingsParams object with the ability to set a context for a request.

func NewGetSeedSettingsParamsWithHTTPClient

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

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

func (o *GetSeedSettingsParams) SetContext(ctx context.Context)

SetContext adds the context to the get seed settings params

func (*GetSeedSettingsParams) SetDefaults

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

func (o *GetSeedSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get seed settings params

func (*GetSeedSettingsParams) SetName

func (o *GetSeedSettingsParams) SetName(seedName string)

SetName adds the seedName to the get seed settings params

func (*GetSeedSettingsParams) SetTimeout

func (o *GetSeedSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get seed settings params

func (*GetSeedSettingsParams) WithContext

WithContext adds the context to the get seed settings params

func (*GetSeedSettingsParams) WithDefaults

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

func (o *GetSeedSettingsParams) WithHTTPClient(client *http.Client) *GetSeedSettingsParams

WithHTTPClient adds the HTTPClient to the get seed settings params

func (*GetSeedSettingsParams) WithName

func (o *GetSeedSettingsParams) WithName(seedName string) *GetSeedSettingsParams

WithName adds the seedName to the get seed settings params

func (*GetSeedSettingsParams) WithTimeout

func (o *GetSeedSettingsParams) WithTimeout(timeout time.Duration) *GetSeedSettingsParams

WithTimeout adds the timeout to the get seed settings params

func (*GetSeedSettingsParams) WriteToRequest

func (o *GetSeedSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSeedSettingsReader

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

GetSeedSettingsReader is a Reader for the GetSeedSettings structure.

func (*GetSeedSettingsReader) ReadResponse

func (o *GetSeedSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSeedSettingsUnauthorized

type GetSeedSettingsUnauthorized struct {
}

GetSeedSettingsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewGetSeedSettingsUnauthorized

func NewGetSeedSettingsUnauthorized() *GetSeedSettingsUnauthorized

NewGetSeedSettingsUnauthorized creates a GetSeedSettingsUnauthorized with default headers values

func (*GetSeedSettingsUnauthorized) Error

func (*GetSeedSettingsUnauthorized) IsClientError

func (o *GetSeedSettingsUnauthorized) IsClientError() bool

IsClientError returns true when this get seed settings unauthorized response has a 4xx status code

func (*GetSeedSettingsUnauthorized) IsCode

func (o *GetSeedSettingsUnauthorized) IsCode(code int) bool

IsCode returns true when this get seed settings unauthorized response a status code equal to that given

func (*GetSeedSettingsUnauthorized) IsRedirect

func (o *GetSeedSettingsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get seed settings unauthorized response has a 3xx status code

func (*GetSeedSettingsUnauthorized) IsServerError

func (o *GetSeedSettingsUnauthorized) IsServerError() bool

IsServerError returns true when this get seed settings unauthorized response has a 5xx status code

func (*GetSeedSettingsUnauthorized) IsSuccess

func (o *GetSeedSettingsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get seed settings unauthorized response has a 2xx status code

func (*GetSeedSettingsUnauthorized) String

func (o *GetSeedSettingsUnauthorized) String() 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

func (*ListSeedNamesDefault) IsClientError

func (o *ListSeedNamesDefault) IsClientError() bool

IsClientError returns true when this list seed names default response has a 4xx status code

func (*ListSeedNamesDefault) IsCode

func (o *ListSeedNamesDefault) IsCode(code int) bool

IsCode returns true when this list seed names default response a status code equal to that given

func (*ListSeedNamesDefault) IsRedirect

func (o *ListSeedNamesDefault) IsRedirect() bool

IsRedirect returns true when this list seed names default response has a 3xx status code

func (*ListSeedNamesDefault) IsServerError

func (o *ListSeedNamesDefault) IsServerError() bool

IsServerError returns true when this list seed names default response has a 5xx status code

func (*ListSeedNamesDefault) IsSuccess

func (o *ListSeedNamesDefault) IsSuccess() bool

IsSuccess returns true when this list seed names default response has a 2xx status code

func (*ListSeedNamesDefault) String

func (o *ListSeedNamesDefault) String() string

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

func (*ListSeedNamesOK) IsClientError

func (o *ListSeedNamesOK) IsClientError() bool

IsClientError returns true when this list seed names o k response has a 4xx status code

func (*ListSeedNamesOK) IsCode

func (o *ListSeedNamesOK) IsCode(code int) bool

IsCode returns true when this list seed names o k response a status code equal to that given

func (*ListSeedNamesOK) IsRedirect

func (o *ListSeedNamesOK) IsRedirect() bool

IsRedirect returns true when this list seed names o k response has a 3xx status code

func (*ListSeedNamesOK) IsServerError

func (o *ListSeedNamesOK) IsServerError() bool

IsServerError returns true when this list seed names o k response has a 5xx status code

func (*ListSeedNamesOK) IsSuccess

func (o *ListSeedNamesOK) IsSuccess() bool

IsSuccess returns true when this list seed names o k response has a 2xx status code

func (*ListSeedNamesOK) String

func (o *ListSeedNamesOK) String() string

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

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

WithContext adds the context to the list seed names params

func (*ListSeedNamesParams) WithDefaults

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.

Jump to

Keyboard shortcuts

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