ui

package
v0.10.0-dev Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 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 ui API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new ui API client.

func (*Client) GetUI

func (a *Client) GetUI(params *GetUIParams, writer io.Writer) (*GetUIOK, error)

GetUI gets the kickstart UI

func (*Client) GetUIFile

func (a *Client) GetUIFile(params *GetUIFileParams, writer io.Writer) (*GetUIFileOK, error)

GetUIFile gets the kickstart UI static resource file

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetUIBadRequest

type GetUIBadRequest struct {
	Payload *models.Error
}

GetUIBadRequest handles this case with default header values.

Bad request

func NewGetUIBadRequest

func NewGetUIBadRequest() *GetUIBadRequest

NewGetUIBadRequest creates a GetUIBadRequest with default headers values

func (*GetUIBadRequest) Error

func (o *GetUIBadRequest) Error() string

func (*GetUIBadRequest) GetPayload

func (o *GetUIBadRequest) GetPayload() *models.Error

type GetUIFileBadRequest

type GetUIFileBadRequest struct {
	Payload *models.Error
}

GetUIFileBadRequest handles this case with default header values.

Bad request

func NewGetUIFileBadRequest

func NewGetUIFileBadRequest() *GetUIFileBadRequest

NewGetUIFileBadRequest creates a GetUIFileBadRequest with default headers values

func (*GetUIFileBadRequest) Error

func (o *GetUIFileBadRequest) Error() string

func (*GetUIFileBadRequest) GetPayload

func (o *GetUIFileBadRequest) GetPayload() *models.Error

type GetUIFileInternalServerError

type GetUIFileInternalServerError struct {
	Payload *models.Error
}

GetUIFileInternalServerError handles this case with default header values.

Internal server error

func NewGetUIFileInternalServerError

func NewGetUIFileInternalServerError() *GetUIFileInternalServerError

NewGetUIFileInternalServerError creates a GetUIFileInternalServerError with default headers values

func (*GetUIFileInternalServerError) Error

func (*GetUIFileInternalServerError) GetPayload

func (o *GetUIFileInternalServerError) GetPayload() *models.Error

type GetUIFileOK

type GetUIFileOK struct {
	Payload io.Writer
}

GetUIFileOK handles this case with default header values.

Successful operation

func NewGetUIFileOK

func NewGetUIFileOK(writer io.Writer) *GetUIFileOK

NewGetUIFileOK creates a GetUIFileOK with default headers values

func (*GetUIFileOK) Error

func (o *GetUIFileOK) Error() string

func (*GetUIFileOK) GetPayload

func (o *GetUIFileOK) GetPayload() io.Writer

type GetUIFileParams

type GetUIFileParams struct {

	/*Filename
	  UI file name

	*/
	Filename string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUIFileParams contains all the parameters to send to the API endpoint for the get UI file operation typically these are written to a http.Request

func NewGetUIFileParams

func NewGetUIFileParams() *GetUIFileParams

NewGetUIFileParams creates a new GetUIFileParams object with the default values initialized.

func NewGetUIFileParamsWithContext

func NewGetUIFileParamsWithContext(ctx context.Context) *GetUIFileParams

NewGetUIFileParamsWithContext creates a new GetUIFileParams object with the default values initialized, and the ability to set a context for a request

func NewGetUIFileParamsWithHTTPClient

func NewGetUIFileParamsWithHTTPClient(client *http.Client) *GetUIFileParams

NewGetUIFileParamsWithHTTPClient creates a new GetUIFileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUIFileParamsWithTimeout

func NewGetUIFileParamsWithTimeout(timeout time.Duration) *GetUIFileParams

NewGetUIFileParamsWithTimeout creates a new GetUIFileParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUIFileParams) SetContext

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

SetContext adds the context to the get UI file params

func (*GetUIFileParams) SetFilename

func (o *GetUIFileParams) SetFilename(filename string)

SetFilename adds the filename to the get UI file params

func (*GetUIFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get UI file params

func (*GetUIFileParams) SetTimeout

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

SetTimeout adds the timeout to the get UI file params

func (*GetUIFileParams) WithContext

func (o *GetUIFileParams) WithContext(ctx context.Context) *GetUIFileParams

WithContext adds the context to the get UI file params

func (*GetUIFileParams) WithFilename

func (o *GetUIFileParams) WithFilename(filename string) *GetUIFileParams

WithFilename adds the filename to the get UI file params

func (*GetUIFileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get UI file params

func (*GetUIFileParams) WithTimeout

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

WithTimeout adds the timeout to the get UI file params

func (*GetUIFileParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUIFileReader

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

GetUIFileReader is a Reader for the GetUIFile structure.

func (*GetUIFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUIInternalServerError

type GetUIInternalServerError struct {
	Payload *models.Error
}

GetUIInternalServerError handles this case with default header values.

Internal server error

func NewGetUIInternalServerError

func NewGetUIInternalServerError() *GetUIInternalServerError

NewGetUIInternalServerError creates a GetUIInternalServerError with default headers values

func (*GetUIInternalServerError) Error

func (o *GetUIInternalServerError) Error() string

func (*GetUIInternalServerError) GetPayload

func (o *GetUIInternalServerError) GetPayload() *models.Error

type GetUIOK

type GetUIOK struct {
	Payload io.Writer
}

GetUIOK handles this case with default header values.

Successful operation

func NewGetUIOK

func NewGetUIOK(writer io.Writer) *GetUIOK

NewGetUIOK creates a GetUIOK with default headers values

func (*GetUIOK) Error

func (o *GetUIOK) Error() string

func (*GetUIOK) GetPayload

func (o *GetUIOK) GetPayload() io.Writer

type GetUIParams

type GetUIParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUIParams contains all the parameters to send to the API endpoint for the get UI operation typically these are written to a http.Request

func NewGetUIParams

func NewGetUIParams() *GetUIParams

NewGetUIParams creates a new GetUIParams object with the default values initialized.

func NewGetUIParamsWithContext

func NewGetUIParamsWithContext(ctx context.Context) *GetUIParams

NewGetUIParamsWithContext creates a new GetUIParams object with the default values initialized, and the ability to set a context for a request

func NewGetUIParamsWithHTTPClient

func NewGetUIParamsWithHTTPClient(client *http.Client) *GetUIParams

NewGetUIParamsWithHTTPClient creates a new GetUIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUIParamsWithTimeout

func NewGetUIParamsWithTimeout(timeout time.Duration) *GetUIParams

NewGetUIParamsWithTimeout creates a new GetUIParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUIParams) SetContext

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

SetContext adds the context to the get UI params

func (*GetUIParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get UI params

func (*GetUIParams) SetTimeout

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

SetTimeout adds the timeout to the get UI params

func (*GetUIParams) WithContext

func (o *GetUIParams) WithContext(ctx context.Context) *GetUIParams

WithContext adds the context to the get UI params

func (*GetUIParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get UI params

func (*GetUIParams) WithTimeout

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

WithTimeout adds the timeout to the get UI params

func (*GetUIParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUIReader

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

GetUIReader is a Reader for the GetUI structure.

func (*GetUIReader) ReadResponse

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