Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDashboardOK, *CreateDashboardNoContent, error)
- func (a *Client) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDashboardOK, *DeleteDashboardNoContent, error)
- func (a *Client) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDashboardOK, *GetDashboardNoContent, error)
- func (a *Client) ListDashboardNames(params *ListDashboardNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDashboardNamesOK, *ListDashboardNamesNoContent, error)
- func (a *Client) ListDashboards(params *ListDashboardsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDashboardsOK, *ListDashboardsNoContent, error)
- func (a *Client) PatchDashboard(params *PatchDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchDashboardOK, *PatchDashboardNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDashboardOK, *UpdateDashboardNoContent, error)
- type ClientOption
- type ClientService
- type CreateDashboardDefault
- type CreateDashboardForbidden
- type CreateDashboardNoContent
- type CreateDashboardNotFound
- type CreateDashboardOK
- type CreateDashboardParams
- func NewCreateDashboardParams() *CreateDashboardParams
- func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams
- func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams
- func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) SetBody(body *service_model.V1Dashboard)
- func (o *CreateDashboardParams) SetContext(ctx context.Context)
- func (o *CreateDashboardParams) SetDefaults()
- func (o *CreateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreateDashboardParams) SetOwner(owner string)
- func (o *CreateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreateDashboardParams) WithBody(body *service_model.V1Dashboard) *CreateDashboardParams
- func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
- func (o *CreateDashboardParams) WithDefaults() *CreateDashboardParams
- func (o *CreateDashboardParams) WithHTTPClient(client *http.Client) *CreateDashboardParams
- func (o *CreateDashboardParams) WithOwner(owner string) *CreateDashboardParams
- func (o *CreateDashboardParams) WithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDashboardReader
- type DeleteDashboardDefault
- type DeleteDashboardForbidden
- type DeleteDashboardNoContent
- type DeleteDashboardNotFound
- type DeleteDashboardOK
- type DeleteDashboardParams
- func NewDeleteDashboardParams() *DeleteDashboardParams
- func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) SetContext(ctx context.Context)
- func (o *DeleteDashboardParams) SetDefaults()
- func (o *DeleteDashboardParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDashboardParams) SetOwner(owner string)
- func (o *DeleteDashboardParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDashboardParams) SetUUID(uuid string)
- func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithDefaults() *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithHTTPClient(client *http.Client) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithOwner(owner string) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithUUID(uuid string) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDashboardReader
- type GetDashboardDefault
- type GetDashboardForbidden
- type GetDashboardNoContent
- type GetDashboardNotFound
- type GetDashboardOK
- type GetDashboardParams
- func (o *GetDashboardParams) SetContext(ctx context.Context)
- func (o *GetDashboardParams) SetDefaults()
- func (o *GetDashboardParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardParams) SetOwner(owner string)
- func (o *GetDashboardParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardParams) SetUUID(uuid string)
- func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
- func (o *GetDashboardParams) WithDefaults() *GetDashboardParams
- func (o *GetDashboardParams) WithHTTPClient(client *http.Client) *GetDashboardParams
- func (o *GetDashboardParams) WithOwner(owner string) *GetDashboardParams
- func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams
- func (o *GetDashboardParams) WithUUID(uuid string) *GetDashboardParams
- func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardReader
- type ListDashboardNamesDefault
- type ListDashboardNamesForbidden
- type ListDashboardNamesNoContent
- type ListDashboardNamesNotFound
- type ListDashboardNamesOK
- type ListDashboardNamesParams
- func NewListDashboardNamesParams() *ListDashboardNamesParams
- func NewListDashboardNamesParamsWithContext(ctx context.Context) *ListDashboardNamesParams
- func NewListDashboardNamesParamsWithHTTPClient(client *http.Client) *ListDashboardNamesParams
- func NewListDashboardNamesParamsWithTimeout(timeout time.Duration) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) SetContext(ctx context.Context)
- func (o *ListDashboardNamesParams) SetDefaults()
- func (o *ListDashboardNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListDashboardNamesParams) SetLimit(limit *int32)
- func (o *ListDashboardNamesParams) SetNoPage(noPage *bool)
- func (o *ListDashboardNamesParams) SetOffset(offset *int32)
- func (o *ListDashboardNamesParams) SetOwner(owner string)
- func (o *ListDashboardNamesParams) SetQuery(query *string)
- func (o *ListDashboardNamesParams) SetSort(sort *string)
- func (o *ListDashboardNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListDashboardNamesParams) WithContext(ctx context.Context) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithDefaults() *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithHTTPClient(client *http.Client) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithLimit(limit *int32) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithNoPage(noPage *bool) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithOffset(offset *int32) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithOwner(owner string) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithQuery(query *string) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithSort(sort *string) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WithTimeout(timeout time.Duration) *ListDashboardNamesParams
- func (o *ListDashboardNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDashboardNamesReader
- type ListDashboardsDefault
- type ListDashboardsForbidden
- type ListDashboardsNoContent
- type ListDashboardsNotFound
- type ListDashboardsOK
- type ListDashboardsParams
- func NewListDashboardsParams() *ListDashboardsParams
- func NewListDashboardsParamsWithContext(ctx context.Context) *ListDashboardsParams
- func NewListDashboardsParamsWithHTTPClient(client *http.Client) *ListDashboardsParams
- func NewListDashboardsParamsWithTimeout(timeout time.Duration) *ListDashboardsParams
- func (o *ListDashboardsParams) SetContext(ctx context.Context)
- func (o *ListDashboardsParams) SetDefaults()
- func (o *ListDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *ListDashboardsParams) SetLimit(limit *int32)
- func (o *ListDashboardsParams) SetNoPage(noPage *bool)
- func (o *ListDashboardsParams) SetOffset(offset *int32)
- func (o *ListDashboardsParams) SetOwner(owner string)
- func (o *ListDashboardsParams) SetQuery(query *string)
- func (o *ListDashboardsParams) SetSort(sort *string)
- func (o *ListDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *ListDashboardsParams) WithContext(ctx context.Context) *ListDashboardsParams
- func (o *ListDashboardsParams) WithDefaults() *ListDashboardsParams
- func (o *ListDashboardsParams) WithHTTPClient(client *http.Client) *ListDashboardsParams
- func (o *ListDashboardsParams) WithLimit(limit *int32) *ListDashboardsParams
- func (o *ListDashboardsParams) WithNoPage(noPage *bool) *ListDashboardsParams
- func (o *ListDashboardsParams) WithOffset(offset *int32) *ListDashboardsParams
- func (o *ListDashboardsParams) WithOwner(owner string) *ListDashboardsParams
- func (o *ListDashboardsParams) WithQuery(query *string) *ListDashboardsParams
- func (o *ListDashboardsParams) WithSort(sort *string) *ListDashboardsParams
- func (o *ListDashboardsParams) WithTimeout(timeout time.Duration) *ListDashboardsParams
- func (o *ListDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDashboardsReader
- type PatchDashboardDefault
- type PatchDashboardForbidden
- type PatchDashboardNoContent
- type PatchDashboardNotFound
- type PatchDashboardOK
- type PatchDashboardParams
- func NewPatchDashboardParams() *PatchDashboardParams
- func NewPatchDashboardParamsWithContext(ctx context.Context) *PatchDashboardParams
- func NewPatchDashboardParamsWithHTTPClient(client *http.Client) *PatchDashboardParams
- func NewPatchDashboardParamsWithTimeout(timeout time.Duration) *PatchDashboardParams
- func (o *PatchDashboardParams) SetBody(body *service_model.V1Dashboard)
- func (o *PatchDashboardParams) SetContext(ctx context.Context)
- func (o *PatchDashboardParams) SetDashboardUUID(dashboardUUID string)
- func (o *PatchDashboardParams) SetDefaults()
- func (o *PatchDashboardParams) SetHTTPClient(client *http.Client)
- func (o *PatchDashboardParams) SetOwner(owner string)
- func (o *PatchDashboardParams) SetTimeout(timeout time.Duration)
- func (o *PatchDashboardParams) WithBody(body *service_model.V1Dashboard) *PatchDashboardParams
- func (o *PatchDashboardParams) WithContext(ctx context.Context) *PatchDashboardParams
- func (o *PatchDashboardParams) WithDashboardUUID(dashboardUUID string) *PatchDashboardParams
- func (o *PatchDashboardParams) WithDefaults() *PatchDashboardParams
- func (o *PatchDashboardParams) WithHTTPClient(client *http.Client) *PatchDashboardParams
- func (o *PatchDashboardParams) WithOwner(owner string) *PatchDashboardParams
- func (o *PatchDashboardParams) WithTimeout(timeout time.Duration) *PatchDashboardParams
- func (o *PatchDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchDashboardReader
- type UpdateDashboardDefault
- type UpdateDashboardForbidden
- type UpdateDashboardNoContent
- type UpdateDashboardNotFound
- type UpdateDashboardOK
- type UpdateDashboardParams
- func NewUpdateDashboardParams() *UpdateDashboardParams
- func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) SetBody(body *service_model.V1Dashboard)
- func (o *UpdateDashboardParams) SetContext(ctx context.Context)
- func (o *UpdateDashboardParams) SetDashboardUUID(dashboardUUID string)
- func (o *UpdateDashboardParams) SetDefaults()
- func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDashboardParams) SetOwner(owner string)
- func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDashboardParams) WithBody(body *service_model.V1Dashboard) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithDashboardUUID(dashboardUUID string) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithDefaults() *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithHTTPClient(client *http.Client) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithOwner(owner string) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDashboardReader
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 dashboards v1 API
func (*Client) CreateDashboard ¶
func (a *Client) CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDashboardOK, *CreateDashboardNoContent, error)
CreateDashboard creates dashboard
func (*Client) DeleteDashboard ¶
func (a *Client) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardOK, *DeleteDashboardNoContent, error)
DeleteDashboard deletes dashboard
func (*Client) GetDashboard ¶
func (a *Client) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardOK, *GetDashboardNoContent, error)
GetDashboard gets dashboard
func (*Client) ListDashboardNames ¶
func (a *Client) ListDashboardNames(params *ListDashboardNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDashboardNamesOK, *ListDashboardNamesNoContent, error)
ListDashboardNames lists dashboard names
func (*Client) ListDashboards ¶
func (a *Client) ListDashboards(params *ListDashboardsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDashboardsOK, *ListDashboardsNoContent, error)
ListDashboards lists dashboards
func (*Client) PatchDashboard ¶
func (a *Client) PatchDashboard(params *PatchDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchDashboardOK, *PatchDashboardNoContent, error)
PatchDashboard patches dashboard
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDashboard ¶
func (a *Client) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDashboardOK, *UpdateDashboardNoContent, error)
UpdateDashboard updates dashboard
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDashboardOK, *CreateDashboardNoContent, error) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDashboardOK, *DeleteDashboardNoContent, error) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDashboardOK, *GetDashboardNoContent, error) ListDashboardNames(params *ListDashboardNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDashboardNamesOK, *ListDashboardNamesNoContent, error) ListDashboards(params *ListDashboardsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDashboardsOK, *ListDashboardsNoContent, error) PatchDashboard(params *PatchDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchDashboardOK, *PatchDashboardNoContent, error) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDashboardOK, *UpdateDashboardNoContent, 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 dashboards v1 API client.
type CreateDashboardDefault ¶
type CreateDashboardDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
CreateDashboardDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateDashboardDefault ¶
func NewCreateDashboardDefault(code int) *CreateDashboardDefault
NewCreateDashboardDefault creates a CreateDashboardDefault with default headers values
func (*CreateDashboardDefault) Code ¶
func (o *CreateDashboardDefault) Code() int
Code gets the status code for the create dashboard default response
func (*CreateDashboardDefault) Error ¶
func (o *CreateDashboardDefault) Error() string
func (*CreateDashboardDefault) GetPayload ¶
func (o *CreateDashboardDefault) GetPayload() *service_model.RuntimeError
type CreateDashboardForbidden ¶
type CreateDashboardForbidden struct {
Payload interface{}
}
CreateDashboardForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewCreateDashboardForbidden ¶
func NewCreateDashboardForbidden() *CreateDashboardForbidden
NewCreateDashboardForbidden creates a CreateDashboardForbidden with default headers values
func (*CreateDashboardForbidden) Error ¶
func (o *CreateDashboardForbidden) Error() string
func (*CreateDashboardForbidden) GetPayload ¶
func (o *CreateDashboardForbidden) GetPayload() interface{}
type CreateDashboardNoContent ¶
type CreateDashboardNoContent struct {
Payload interface{}
}
CreateDashboardNoContent describes a response with status code 204, with default header values.
No content.
func NewCreateDashboardNoContent ¶
func NewCreateDashboardNoContent() *CreateDashboardNoContent
NewCreateDashboardNoContent creates a CreateDashboardNoContent with default headers values
func (*CreateDashboardNoContent) Error ¶
func (o *CreateDashboardNoContent) Error() string
func (*CreateDashboardNoContent) GetPayload ¶
func (o *CreateDashboardNoContent) GetPayload() interface{}
type CreateDashboardNotFound ¶
type CreateDashboardNotFound struct {
Payload interface{}
}
CreateDashboardNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewCreateDashboardNotFound ¶
func NewCreateDashboardNotFound() *CreateDashboardNotFound
NewCreateDashboardNotFound creates a CreateDashboardNotFound with default headers values
func (*CreateDashboardNotFound) Error ¶
func (o *CreateDashboardNotFound) Error() string
func (*CreateDashboardNotFound) GetPayload ¶
func (o *CreateDashboardNotFound) GetPayload() interface{}
type CreateDashboardOK ¶
type CreateDashboardOK struct {
Payload *service_model.V1Dashboard
}
CreateDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateDashboardOK ¶
func NewCreateDashboardOK() *CreateDashboardOK
NewCreateDashboardOK creates a CreateDashboardOK with default headers values
func (*CreateDashboardOK) Error ¶
func (o *CreateDashboardOK) Error() string
func (*CreateDashboardOK) GetPayload ¶
func (o *CreateDashboardOK) GetPayload() *service_model.V1Dashboard
type CreateDashboardParams ¶
type CreateDashboardParams struct { /* Body. Dashboard body */ Body *service_model.V1Dashboard /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDashboardParams contains all the parameters to send to the API endpoint
for the create dashboard operation. Typically these are written to a http.Request.
func NewCreateDashboardParams ¶
func NewCreateDashboardParams() *CreateDashboardParams
NewCreateDashboardParams creates a new CreateDashboardParams 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 NewCreateDashboardParamsWithContext ¶
func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams
NewCreateDashboardParamsWithContext creates a new CreateDashboardParams object with the ability to set a context for a request.
func NewCreateDashboardParamsWithHTTPClient ¶
func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams
NewCreateDashboardParamsWithHTTPClient creates a new CreateDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDashboardParamsWithTimeout ¶
func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams
NewCreateDashboardParamsWithTimeout creates a new CreateDashboardParams object with the ability to set a timeout on a request.
func (*CreateDashboardParams) SetBody ¶
func (o *CreateDashboardParams) SetBody(body *service_model.V1Dashboard)
SetBody adds the body to the create dashboard params
func (*CreateDashboardParams) SetContext ¶
func (o *CreateDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the create dashboard params
func (*CreateDashboardParams) SetDefaults ¶
func (o *CreateDashboardParams) SetDefaults()
SetDefaults hydrates default values in the create dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardParams) SetHTTPClient ¶
func (o *CreateDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create dashboard params
func (*CreateDashboardParams) SetOwner ¶
func (o *CreateDashboardParams) SetOwner(owner string)
SetOwner adds the owner to the create dashboard params
func (*CreateDashboardParams) SetTimeout ¶
func (o *CreateDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create dashboard params
func (*CreateDashboardParams) WithBody ¶
func (o *CreateDashboardParams) WithBody(body *service_model.V1Dashboard) *CreateDashboardParams
WithBody adds the body to the create dashboard params
func (*CreateDashboardParams) WithContext ¶
func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
WithContext adds the context to the create dashboard params
func (*CreateDashboardParams) WithDefaults ¶
func (o *CreateDashboardParams) WithDefaults() *CreateDashboardParams
WithDefaults hydrates default values in the create dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDashboardParams) WithHTTPClient ¶
func (o *CreateDashboardParams) WithHTTPClient(client *http.Client) *CreateDashboardParams
WithHTTPClient adds the HTTPClient to the create dashboard params
func (*CreateDashboardParams) WithOwner ¶
func (o *CreateDashboardParams) WithOwner(owner string) *CreateDashboardParams
WithOwner adds the owner to the create dashboard params
func (*CreateDashboardParams) WithTimeout ¶
func (o *CreateDashboardParams) WithTimeout(timeout time.Duration) *CreateDashboardParams
WithTimeout adds the timeout to the create dashboard params
func (*CreateDashboardParams) WriteToRequest ¶
func (o *CreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDashboardReader ¶
type CreateDashboardReader struct {
// contains filtered or unexported fields
}
CreateDashboardReader is a Reader for the CreateDashboard structure.
func (*CreateDashboardReader) ReadResponse ¶
func (o *CreateDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDashboardDefault ¶
type DeleteDashboardDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
DeleteDashboardDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteDashboardDefault ¶
func NewDeleteDashboardDefault(code int) *DeleteDashboardDefault
NewDeleteDashboardDefault creates a DeleteDashboardDefault with default headers values
func (*DeleteDashboardDefault) Code ¶
func (o *DeleteDashboardDefault) Code() int
Code gets the status code for the delete dashboard default response
func (*DeleteDashboardDefault) Error ¶
func (o *DeleteDashboardDefault) Error() string
func (*DeleteDashboardDefault) GetPayload ¶
func (o *DeleteDashboardDefault) GetPayload() *service_model.RuntimeError
type DeleteDashboardForbidden ¶
type DeleteDashboardForbidden struct {
Payload interface{}
}
DeleteDashboardForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewDeleteDashboardForbidden ¶
func NewDeleteDashboardForbidden() *DeleteDashboardForbidden
NewDeleteDashboardForbidden creates a DeleteDashboardForbidden with default headers values
func (*DeleteDashboardForbidden) Error ¶
func (o *DeleteDashboardForbidden) Error() string
func (*DeleteDashboardForbidden) GetPayload ¶
func (o *DeleteDashboardForbidden) GetPayload() interface{}
type DeleteDashboardNoContent ¶
type DeleteDashboardNoContent struct {
Payload interface{}
}
DeleteDashboardNoContent describes a response with status code 204, with default header values.
No content.
func NewDeleteDashboardNoContent ¶
func NewDeleteDashboardNoContent() *DeleteDashboardNoContent
NewDeleteDashboardNoContent creates a DeleteDashboardNoContent with default headers values
func (*DeleteDashboardNoContent) Error ¶
func (o *DeleteDashboardNoContent) Error() string
func (*DeleteDashboardNoContent) GetPayload ¶
func (o *DeleteDashboardNoContent) GetPayload() interface{}
type DeleteDashboardNotFound ¶
type DeleteDashboardNotFound struct {
Payload interface{}
}
DeleteDashboardNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewDeleteDashboardNotFound ¶
func NewDeleteDashboardNotFound() *DeleteDashboardNotFound
NewDeleteDashboardNotFound creates a DeleteDashboardNotFound with default headers values
func (*DeleteDashboardNotFound) Error ¶
func (o *DeleteDashboardNotFound) Error() string
func (*DeleteDashboardNotFound) GetPayload ¶
func (o *DeleteDashboardNotFound) GetPayload() interface{}
type DeleteDashboardOK ¶
type DeleteDashboardOK struct { }
DeleteDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteDashboardOK ¶
func NewDeleteDashboardOK() *DeleteDashboardOK
NewDeleteDashboardOK creates a DeleteDashboardOK with default headers values
func (*DeleteDashboardOK) Error ¶
func (o *DeleteDashboardOK) Error() string
type DeleteDashboardParams ¶
type DeleteDashboardParams struct { /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDashboardParams contains all the parameters to send to the API endpoint
for the delete dashboard operation. Typically these are written to a http.Request.
func NewDeleteDashboardParams ¶
func NewDeleteDashboardParams() *DeleteDashboardParams
NewDeleteDashboardParams creates a new DeleteDashboardParams 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 NewDeleteDashboardParamsWithContext ¶
func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams
NewDeleteDashboardParamsWithContext creates a new DeleteDashboardParams object with the ability to set a context for a request.
func NewDeleteDashboardParamsWithHTTPClient ¶
func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams
NewDeleteDashboardParamsWithHTTPClient creates a new DeleteDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDashboardParamsWithTimeout ¶
func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams
NewDeleteDashboardParamsWithTimeout creates a new DeleteDashboardParams object with the ability to set a timeout on a request.
func (*DeleteDashboardParams) SetContext ¶
func (o *DeleteDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the delete dashboard params
func (*DeleteDashboardParams) SetDefaults ¶
func (o *DeleteDashboardParams) SetDefaults()
SetDefaults hydrates default values in the delete dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardParams) SetHTTPClient ¶
func (o *DeleteDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete dashboard params
func (*DeleteDashboardParams) SetOwner ¶
func (o *DeleteDashboardParams) SetOwner(owner string)
SetOwner adds the owner to the delete dashboard params
func (*DeleteDashboardParams) SetTimeout ¶
func (o *DeleteDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete dashboard params
func (*DeleteDashboardParams) SetUUID ¶
func (o *DeleteDashboardParams) SetUUID(uuid string)
SetUUID adds the uuid to the delete dashboard params
func (*DeleteDashboardParams) WithContext ¶
func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
WithContext adds the context to the delete dashboard params
func (*DeleteDashboardParams) WithDefaults ¶
func (o *DeleteDashboardParams) WithDefaults() *DeleteDashboardParams
WithDefaults hydrates default values in the delete dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDashboardParams) WithHTTPClient ¶
func (o *DeleteDashboardParams) WithHTTPClient(client *http.Client) *DeleteDashboardParams
WithHTTPClient adds the HTTPClient to the delete dashboard params
func (*DeleteDashboardParams) WithOwner ¶
func (o *DeleteDashboardParams) WithOwner(owner string) *DeleteDashboardParams
WithOwner adds the owner to the delete dashboard params
func (*DeleteDashboardParams) WithTimeout ¶
func (o *DeleteDashboardParams) WithTimeout(timeout time.Duration) *DeleteDashboardParams
WithTimeout adds the timeout to the delete dashboard params
func (*DeleteDashboardParams) WithUUID ¶
func (o *DeleteDashboardParams) WithUUID(uuid string) *DeleteDashboardParams
WithUUID adds the uuid to the delete dashboard params
func (*DeleteDashboardParams) WriteToRequest ¶
func (o *DeleteDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDashboardReader ¶
type DeleteDashboardReader struct {
// contains filtered or unexported fields
}
DeleteDashboardReader is a Reader for the DeleteDashboard structure.
func (*DeleteDashboardReader) ReadResponse ¶
func (o *DeleteDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDashboardDefault ¶
type GetDashboardDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetDashboardDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetDashboardDefault ¶
func NewGetDashboardDefault(code int) *GetDashboardDefault
NewGetDashboardDefault creates a GetDashboardDefault with default headers values
func (*GetDashboardDefault) Code ¶
func (o *GetDashboardDefault) Code() int
Code gets the status code for the get dashboard default response
func (*GetDashboardDefault) Error ¶
func (o *GetDashboardDefault) Error() string
func (*GetDashboardDefault) GetPayload ¶
func (o *GetDashboardDefault) GetPayload() *service_model.RuntimeError
type GetDashboardForbidden ¶
type GetDashboardForbidden struct {
Payload interface{}
}
GetDashboardForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetDashboardForbidden ¶
func NewGetDashboardForbidden() *GetDashboardForbidden
NewGetDashboardForbidden creates a GetDashboardForbidden with default headers values
func (*GetDashboardForbidden) Error ¶
func (o *GetDashboardForbidden) Error() string
func (*GetDashboardForbidden) GetPayload ¶
func (o *GetDashboardForbidden) GetPayload() interface{}
type GetDashboardNoContent ¶
type GetDashboardNoContent struct {
Payload interface{}
}
GetDashboardNoContent describes a response with status code 204, with default header values.
No content.
func NewGetDashboardNoContent ¶
func NewGetDashboardNoContent() *GetDashboardNoContent
NewGetDashboardNoContent creates a GetDashboardNoContent with default headers values
func (*GetDashboardNoContent) Error ¶
func (o *GetDashboardNoContent) Error() string
func (*GetDashboardNoContent) GetPayload ¶
func (o *GetDashboardNoContent) GetPayload() interface{}
type GetDashboardNotFound ¶
type GetDashboardNotFound struct {
Payload interface{}
}
GetDashboardNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetDashboardNotFound ¶
func NewGetDashboardNotFound() *GetDashboardNotFound
NewGetDashboardNotFound creates a GetDashboardNotFound with default headers values
func (*GetDashboardNotFound) Error ¶
func (o *GetDashboardNotFound) Error() string
func (*GetDashboardNotFound) GetPayload ¶
func (o *GetDashboardNotFound) GetPayload() interface{}
type GetDashboardOK ¶
type GetDashboardOK struct {
Payload *service_model.V1Dashboard
}
GetDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewGetDashboardOK ¶
func NewGetDashboardOK() *GetDashboardOK
NewGetDashboardOK creates a GetDashboardOK with default headers values
func (*GetDashboardOK) Error ¶
func (o *GetDashboardOK) Error() string
func (*GetDashboardOK) GetPayload ¶
func (o *GetDashboardOK) GetPayload() *service_model.V1Dashboard
type GetDashboardParams ¶
type GetDashboardParams struct { /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardParams contains all the parameters to send to the API endpoint
for the get dashboard operation. Typically these are written to a http.Request.
func NewGetDashboardParams ¶
func NewGetDashboardParams() *GetDashboardParams
NewGetDashboardParams creates a new GetDashboardParams 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 NewGetDashboardParamsWithContext ¶
func NewGetDashboardParamsWithContext(ctx context.Context) *GetDashboardParams
NewGetDashboardParamsWithContext creates a new GetDashboardParams object with the ability to set a context for a request.
func NewGetDashboardParamsWithHTTPClient ¶
func NewGetDashboardParamsWithHTTPClient(client *http.Client) *GetDashboardParams
NewGetDashboardParamsWithHTTPClient creates a new GetDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewGetDashboardParamsWithTimeout ¶
func NewGetDashboardParamsWithTimeout(timeout time.Duration) *GetDashboardParams
NewGetDashboardParamsWithTimeout creates a new GetDashboardParams object with the ability to set a timeout on a request.
func (*GetDashboardParams) SetContext ¶
func (o *GetDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard params
func (*GetDashboardParams) SetDefaults ¶
func (o *GetDashboardParams) SetDefaults()
SetDefaults hydrates default values in the get dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardParams) SetHTTPClient ¶
func (o *GetDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard params
func (*GetDashboardParams) SetOwner ¶
func (o *GetDashboardParams) SetOwner(owner string)
SetOwner adds the owner to the get dashboard params
func (*GetDashboardParams) SetTimeout ¶
func (o *GetDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard params
func (*GetDashboardParams) SetUUID ¶
func (o *GetDashboardParams) SetUUID(uuid string)
SetUUID adds the uuid to the get dashboard params
func (*GetDashboardParams) WithContext ¶
func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
WithContext adds the context to the get dashboard params
func (*GetDashboardParams) WithDefaults ¶
func (o *GetDashboardParams) WithDefaults() *GetDashboardParams
WithDefaults hydrates default values in the get dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*GetDashboardParams) WithHTTPClient ¶
func (o *GetDashboardParams) WithHTTPClient(client *http.Client) *GetDashboardParams
WithHTTPClient adds the HTTPClient to the get dashboard params
func (*GetDashboardParams) WithOwner ¶
func (o *GetDashboardParams) WithOwner(owner string) *GetDashboardParams
WithOwner adds the owner to the get dashboard params
func (*GetDashboardParams) WithTimeout ¶
func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams
WithTimeout adds the timeout to the get dashboard params
func (*GetDashboardParams) WithUUID ¶
func (o *GetDashboardParams) WithUUID(uuid string) *GetDashboardParams
WithUUID adds the uuid to the get dashboard params
func (*GetDashboardParams) WriteToRequest ¶
func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardReader ¶
type GetDashboardReader struct {
// contains filtered or unexported fields
}
GetDashboardReader is a Reader for the GetDashboard structure.
func (*GetDashboardReader) ReadResponse ¶
func (o *GetDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDashboardNamesDefault ¶
type ListDashboardNamesDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListDashboardNamesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListDashboardNamesDefault ¶
func NewListDashboardNamesDefault(code int) *ListDashboardNamesDefault
NewListDashboardNamesDefault creates a ListDashboardNamesDefault with default headers values
func (*ListDashboardNamesDefault) Code ¶
func (o *ListDashboardNamesDefault) Code() int
Code gets the status code for the list dashboard names default response
func (*ListDashboardNamesDefault) Error ¶
func (o *ListDashboardNamesDefault) Error() string
func (*ListDashboardNamesDefault) GetPayload ¶
func (o *ListDashboardNamesDefault) GetPayload() *service_model.RuntimeError
type ListDashboardNamesForbidden ¶
type ListDashboardNamesForbidden struct {
Payload interface{}
}
ListDashboardNamesForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListDashboardNamesForbidden ¶
func NewListDashboardNamesForbidden() *ListDashboardNamesForbidden
NewListDashboardNamesForbidden creates a ListDashboardNamesForbidden with default headers values
func (*ListDashboardNamesForbidden) Error ¶
func (o *ListDashboardNamesForbidden) Error() string
func (*ListDashboardNamesForbidden) GetPayload ¶
func (o *ListDashboardNamesForbidden) GetPayload() interface{}
type ListDashboardNamesNoContent ¶
type ListDashboardNamesNoContent struct {
Payload interface{}
}
ListDashboardNamesNoContent describes a response with status code 204, with default header values.
No content.
func NewListDashboardNamesNoContent ¶
func NewListDashboardNamesNoContent() *ListDashboardNamesNoContent
NewListDashboardNamesNoContent creates a ListDashboardNamesNoContent with default headers values
func (*ListDashboardNamesNoContent) Error ¶
func (o *ListDashboardNamesNoContent) Error() string
func (*ListDashboardNamesNoContent) GetPayload ¶
func (o *ListDashboardNamesNoContent) GetPayload() interface{}
type ListDashboardNamesNotFound ¶
type ListDashboardNamesNotFound struct {
Payload interface{}
}
ListDashboardNamesNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListDashboardNamesNotFound ¶
func NewListDashboardNamesNotFound() *ListDashboardNamesNotFound
NewListDashboardNamesNotFound creates a ListDashboardNamesNotFound with default headers values
func (*ListDashboardNamesNotFound) Error ¶
func (o *ListDashboardNamesNotFound) Error() string
func (*ListDashboardNamesNotFound) GetPayload ¶
func (o *ListDashboardNamesNotFound) GetPayload() interface{}
type ListDashboardNamesOK ¶
type ListDashboardNamesOK struct {
Payload *service_model.V1ListDashboardsResponse
}
ListDashboardNamesOK describes a response with status code 200, with default header values.
A successful response.
func NewListDashboardNamesOK ¶
func NewListDashboardNamesOK() *ListDashboardNamesOK
NewListDashboardNamesOK creates a ListDashboardNamesOK with default headers values
func (*ListDashboardNamesOK) Error ¶
func (o *ListDashboardNamesOK) Error() string
func (*ListDashboardNamesOK) GetPayload ¶
func (o *ListDashboardNamesOK) GetPayload() *service_model.V1ListDashboardsResponse
type ListDashboardNamesParams ¶
type ListDashboardNamesParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDashboardNamesParams contains all the parameters to send to the API endpoint
for the list dashboard names operation. Typically these are written to a http.Request.
func NewListDashboardNamesParams ¶
func NewListDashboardNamesParams() *ListDashboardNamesParams
NewListDashboardNamesParams creates a new ListDashboardNamesParams 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 NewListDashboardNamesParamsWithContext ¶
func NewListDashboardNamesParamsWithContext(ctx context.Context) *ListDashboardNamesParams
NewListDashboardNamesParamsWithContext creates a new ListDashboardNamesParams object with the ability to set a context for a request.
func NewListDashboardNamesParamsWithHTTPClient ¶
func NewListDashboardNamesParamsWithHTTPClient(client *http.Client) *ListDashboardNamesParams
NewListDashboardNamesParamsWithHTTPClient creates a new ListDashboardNamesParams object with the ability to set a custom HTTPClient for a request.
func NewListDashboardNamesParamsWithTimeout ¶
func NewListDashboardNamesParamsWithTimeout(timeout time.Duration) *ListDashboardNamesParams
NewListDashboardNamesParamsWithTimeout creates a new ListDashboardNamesParams object with the ability to set a timeout on a request.
func (*ListDashboardNamesParams) SetContext ¶
func (o *ListDashboardNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the list dashboard names params
func (*ListDashboardNamesParams) SetDefaults ¶
func (o *ListDashboardNamesParams) SetDefaults()
SetDefaults hydrates default values in the list dashboard names params (not the query body).
All values with no default are reset to their zero value.
func (*ListDashboardNamesParams) SetHTTPClient ¶
func (o *ListDashboardNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list dashboard names params
func (*ListDashboardNamesParams) SetLimit ¶
func (o *ListDashboardNamesParams) SetLimit(limit *int32)
SetLimit adds the limit to the list dashboard names params
func (*ListDashboardNamesParams) SetNoPage ¶
func (o *ListDashboardNamesParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list dashboard names params
func (*ListDashboardNamesParams) SetOffset ¶
func (o *ListDashboardNamesParams) SetOffset(offset *int32)
SetOffset adds the offset to the list dashboard names params
func (*ListDashboardNamesParams) SetOwner ¶
func (o *ListDashboardNamesParams) SetOwner(owner string)
SetOwner adds the owner to the list dashboard names params
func (*ListDashboardNamesParams) SetQuery ¶
func (o *ListDashboardNamesParams) SetQuery(query *string)
SetQuery adds the query to the list dashboard names params
func (*ListDashboardNamesParams) SetSort ¶
func (o *ListDashboardNamesParams) SetSort(sort *string)
SetSort adds the sort to the list dashboard names params
func (*ListDashboardNamesParams) SetTimeout ¶
func (o *ListDashboardNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list dashboard names params
func (*ListDashboardNamesParams) WithContext ¶
func (o *ListDashboardNamesParams) WithContext(ctx context.Context) *ListDashboardNamesParams
WithContext adds the context to the list dashboard names params
func (*ListDashboardNamesParams) WithDefaults ¶
func (o *ListDashboardNamesParams) WithDefaults() *ListDashboardNamesParams
WithDefaults hydrates default values in the list dashboard names params (not the query body).
All values with no default are reset to their zero value.
func (*ListDashboardNamesParams) WithHTTPClient ¶
func (o *ListDashboardNamesParams) WithHTTPClient(client *http.Client) *ListDashboardNamesParams
WithHTTPClient adds the HTTPClient to the list dashboard names params
func (*ListDashboardNamesParams) WithLimit ¶
func (o *ListDashboardNamesParams) WithLimit(limit *int32) *ListDashboardNamesParams
WithLimit adds the limit to the list dashboard names params
func (*ListDashboardNamesParams) WithNoPage ¶
func (o *ListDashboardNamesParams) WithNoPage(noPage *bool) *ListDashboardNamesParams
WithNoPage adds the noPage to the list dashboard names params
func (*ListDashboardNamesParams) WithOffset ¶
func (o *ListDashboardNamesParams) WithOffset(offset *int32) *ListDashboardNamesParams
WithOffset adds the offset to the list dashboard names params
func (*ListDashboardNamesParams) WithOwner ¶
func (o *ListDashboardNamesParams) WithOwner(owner string) *ListDashboardNamesParams
WithOwner adds the owner to the list dashboard names params
func (*ListDashboardNamesParams) WithQuery ¶
func (o *ListDashboardNamesParams) WithQuery(query *string) *ListDashboardNamesParams
WithQuery adds the query to the list dashboard names params
func (*ListDashboardNamesParams) WithSort ¶
func (o *ListDashboardNamesParams) WithSort(sort *string) *ListDashboardNamesParams
WithSort adds the sort to the list dashboard names params
func (*ListDashboardNamesParams) WithTimeout ¶
func (o *ListDashboardNamesParams) WithTimeout(timeout time.Duration) *ListDashboardNamesParams
WithTimeout adds the timeout to the list dashboard names params
func (*ListDashboardNamesParams) WriteToRequest ¶
func (o *ListDashboardNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDashboardNamesReader ¶
type ListDashboardNamesReader struct {
// contains filtered or unexported fields
}
ListDashboardNamesReader is a Reader for the ListDashboardNames structure.
func (*ListDashboardNamesReader) ReadResponse ¶
func (o *ListDashboardNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDashboardsDefault ¶
type ListDashboardsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListDashboardsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListDashboardsDefault ¶
func NewListDashboardsDefault(code int) *ListDashboardsDefault
NewListDashboardsDefault creates a ListDashboardsDefault with default headers values
func (*ListDashboardsDefault) Code ¶
func (o *ListDashboardsDefault) Code() int
Code gets the status code for the list dashboards default response
func (*ListDashboardsDefault) Error ¶
func (o *ListDashboardsDefault) Error() string
func (*ListDashboardsDefault) GetPayload ¶
func (o *ListDashboardsDefault) GetPayload() *service_model.RuntimeError
type ListDashboardsForbidden ¶
type ListDashboardsForbidden struct {
Payload interface{}
}
ListDashboardsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListDashboardsForbidden ¶
func NewListDashboardsForbidden() *ListDashboardsForbidden
NewListDashboardsForbidden creates a ListDashboardsForbidden with default headers values
func (*ListDashboardsForbidden) Error ¶
func (o *ListDashboardsForbidden) Error() string
func (*ListDashboardsForbidden) GetPayload ¶
func (o *ListDashboardsForbidden) GetPayload() interface{}
type ListDashboardsNoContent ¶
type ListDashboardsNoContent struct {
Payload interface{}
}
ListDashboardsNoContent describes a response with status code 204, with default header values.
No content.
func NewListDashboardsNoContent ¶
func NewListDashboardsNoContent() *ListDashboardsNoContent
NewListDashboardsNoContent creates a ListDashboardsNoContent with default headers values
func (*ListDashboardsNoContent) Error ¶
func (o *ListDashboardsNoContent) Error() string
func (*ListDashboardsNoContent) GetPayload ¶
func (o *ListDashboardsNoContent) GetPayload() interface{}
type ListDashboardsNotFound ¶
type ListDashboardsNotFound struct {
Payload interface{}
}
ListDashboardsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListDashboardsNotFound ¶
func NewListDashboardsNotFound() *ListDashboardsNotFound
NewListDashboardsNotFound creates a ListDashboardsNotFound with default headers values
func (*ListDashboardsNotFound) Error ¶
func (o *ListDashboardsNotFound) Error() string
func (*ListDashboardsNotFound) GetPayload ¶
func (o *ListDashboardsNotFound) GetPayload() interface{}
type ListDashboardsOK ¶
type ListDashboardsOK struct {
Payload *service_model.V1ListDashboardsResponse
}
ListDashboardsOK describes a response with status code 200, with default header values.
A successful response.
func NewListDashboardsOK ¶
func NewListDashboardsOK() *ListDashboardsOK
NewListDashboardsOK creates a ListDashboardsOK with default headers values
func (*ListDashboardsOK) Error ¶
func (o *ListDashboardsOK) Error() string
func (*ListDashboardsOK) GetPayload ¶
func (o *ListDashboardsOK) GetPayload() *service_model.V1ListDashboardsResponse
type ListDashboardsParams ¶
type ListDashboardsParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDashboardsParams contains all the parameters to send to the API endpoint
for the list dashboards operation. Typically these are written to a http.Request.
func NewListDashboardsParams ¶
func NewListDashboardsParams() *ListDashboardsParams
NewListDashboardsParams creates a new ListDashboardsParams 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 NewListDashboardsParamsWithContext ¶
func NewListDashboardsParamsWithContext(ctx context.Context) *ListDashboardsParams
NewListDashboardsParamsWithContext creates a new ListDashboardsParams object with the ability to set a context for a request.
func NewListDashboardsParamsWithHTTPClient ¶
func NewListDashboardsParamsWithHTTPClient(client *http.Client) *ListDashboardsParams
NewListDashboardsParamsWithHTTPClient creates a new ListDashboardsParams object with the ability to set a custom HTTPClient for a request.
func NewListDashboardsParamsWithTimeout ¶
func NewListDashboardsParamsWithTimeout(timeout time.Duration) *ListDashboardsParams
NewListDashboardsParamsWithTimeout creates a new ListDashboardsParams object with the ability to set a timeout on a request.
func (*ListDashboardsParams) SetContext ¶
func (o *ListDashboardsParams) SetContext(ctx context.Context)
SetContext adds the context to the list dashboards params
func (*ListDashboardsParams) SetDefaults ¶
func (o *ListDashboardsParams) SetDefaults()
SetDefaults hydrates default values in the list dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListDashboardsParams) SetHTTPClient ¶
func (o *ListDashboardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list dashboards params
func (*ListDashboardsParams) SetLimit ¶
func (o *ListDashboardsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list dashboards params
func (*ListDashboardsParams) SetNoPage ¶
func (o *ListDashboardsParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list dashboards params
func (*ListDashboardsParams) SetOffset ¶
func (o *ListDashboardsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list dashboards params
func (*ListDashboardsParams) SetOwner ¶
func (o *ListDashboardsParams) SetOwner(owner string)
SetOwner adds the owner to the list dashboards params
func (*ListDashboardsParams) SetQuery ¶
func (o *ListDashboardsParams) SetQuery(query *string)
SetQuery adds the query to the list dashboards params
func (*ListDashboardsParams) SetSort ¶
func (o *ListDashboardsParams) SetSort(sort *string)
SetSort adds the sort to the list dashboards params
func (*ListDashboardsParams) SetTimeout ¶
func (o *ListDashboardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list dashboards params
func (*ListDashboardsParams) WithContext ¶
func (o *ListDashboardsParams) WithContext(ctx context.Context) *ListDashboardsParams
WithContext adds the context to the list dashboards params
func (*ListDashboardsParams) WithDefaults ¶
func (o *ListDashboardsParams) WithDefaults() *ListDashboardsParams
WithDefaults hydrates default values in the list dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListDashboardsParams) WithHTTPClient ¶
func (o *ListDashboardsParams) WithHTTPClient(client *http.Client) *ListDashboardsParams
WithHTTPClient adds the HTTPClient to the list dashboards params
func (*ListDashboardsParams) WithLimit ¶
func (o *ListDashboardsParams) WithLimit(limit *int32) *ListDashboardsParams
WithLimit adds the limit to the list dashboards params
func (*ListDashboardsParams) WithNoPage ¶
func (o *ListDashboardsParams) WithNoPage(noPage *bool) *ListDashboardsParams
WithNoPage adds the noPage to the list dashboards params
func (*ListDashboardsParams) WithOffset ¶
func (o *ListDashboardsParams) WithOffset(offset *int32) *ListDashboardsParams
WithOffset adds the offset to the list dashboards params
func (*ListDashboardsParams) WithOwner ¶
func (o *ListDashboardsParams) WithOwner(owner string) *ListDashboardsParams
WithOwner adds the owner to the list dashboards params
func (*ListDashboardsParams) WithQuery ¶
func (o *ListDashboardsParams) WithQuery(query *string) *ListDashboardsParams
WithQuery adds the query to the list dashboards params
func (*ListDashboardsParams) WithSort ¶
func (o *ListDashboardsParams) WithSort(sort *string) *ListDashboardsParams
WithSort adds the sort to the list dashboards params
func (*ListDashboardsParams) WithTimeout ¶
func (o *ListDashboardsParams) WithTimeout(timeout time.Duration) *ListDashboardsParams
WithTimeout adds the timeout to the list dashboards params
func (*ListDashboardsParams) WriteToRequest ¶
func (o *ListDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDashboardsReader ¶
type ListDashboardsReader struct {
// contains filtered or unexported fields
}
ListDashboardsReader is a Reader for the ListDashboards structure.
func (*ListDashboardsReader) ReadResponse ¶
func (o *ListDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchDashboardDefault ¶
type PatchDashboardDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
PatchDashboardDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPatchDashboardDefault ¶
func NewPatchDashboardDefault(code int) *PatchDashboardDefault
NewPatchDashboardDefault creates a PatchDashboardDefault with default headers values
func (*PatchDashboardDefault) Code ¶
func (o *PatchDashboardDefault) Code() int
Code gets the status code for the patch dashboard default response
func (*PatchDashboardDefault) Error ¶
func (o *PatchDashboardDefault) Error() string
func (*PatchDashboardDefault) GetPayload ¶
func (o *PatchDashboardDefault) GetPayload() *service_model.RuntimeError
type PatchDashboardForbidden ¶
type PatchDashboardForbidden struct {
Payload interface{}
}
PatchDashboardForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewPatchDashboardForbidden ¶
func NewPatchDashboardForbidden() *PatchDashboardForbidden
NewPatchDashboardForbidden creates a PatchDashboardForbidden with default headers values
func (*PatchDashboardForbidden) Error ¶
func (o *PatchDashboardForbidden) Error() string
func (*PatchDashboardForbidden) GetPayload ¶
func (o *PatchDashboardForbidden) GetPayload() interface{}
type PatchDashboardNoContent ¶
type PatchDashboardNoContent struct {
Payload interface{}
}
PatchDashboardNoContent describes a response with status code 204, with default header values.
No content.
func NewPatchDashboardNoContent ¶
func NewPatchDashboardNoContent() *PatchDashboardNoContent
NewPatchDashboardNoContent creates a PatchDashboardNoContent with default headers values
func (*PatchDashboardNoContent) Error ¶
func (o *PatchDashboardNoContent) Error() string
func (*PatchDashboardNoContent) GetPayload ¶
func (o *PatchDashboardNoContent) GetPayload() interface{}
type PatchDashboardNotFound ¶
type PatchDashboardNotFound struct {
Payload interface{}
}
PatchDashboardNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewPatchDashboardNotFound ¶
func NewPatchDashboardNotFound() *PatchDashboardNotFound
NewPatchDashboardNotFound creates a PatchDashboardNotFound with default headers values
func (*PatchDashboardNotFound) Error ¶
func (o *PatchDashboardNotFound) Error() string
func (*PatchDashboardNotFound) GetPayload ¶
func (o *PatchDashboardNotFound) GetPayload() interface{}
type PatchDashboardOK ¶
type PatchDashboardOK struct {
Payload *service_model.V1Dashboard
}
PatchDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewPatchDashboardOK ¶
func NewPatchDashboardOK() *PatchDashboardOK
NewPatchDashboardOK creates a PatchDashboardOK with default headers values
func (*PatchDashboardOK) Error ¶
func (o *PatchDashboardOK) Error() string
func (*PatchDashboardOK) GetPayload ¶
func (o *PatchDashboardOK) GetPayload() *service_model.V1Dashboard
type PatchDashboardParams ¶
type PatchDashboardParams struct { /* Body. Dashboard body */ Body *service_model.V1Dashboard /* DashboardUUID. UUID */ DashboardUUID string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchDashboardParams contains all the parameters to send to the API endpoint
for the patch dashboard operation. Typically these are written to a http.Request.
func NewPatchDashboardParams ¶
func NewPatchDashboardParams() *PatchDashboardParams
NewPatchDashboardParams creates a new PatchDashboardParams 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 NewPatchDashboardParamsWithContext ¶
func NewPatchDashboardParamsWithContext(ctx context.Context) *PatchDashboardParams
NewPatchDashboardParamsWithContext creates a new PatchDashboardParams object with the ability to set a context for a request.
func NewPatchDashboardParamsWithHTTPClient ¶
func NewPatchDashboardParamsWithHTTPClient(client *http.Client) *PatchDashboardParams
NewPatchDashboardParamsWithHTTPClient creates a new PatchDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewPatchDashboardParamsWithTimeout ¶
func NewPatchDashboardParamsWithTimeout(timeout time.Duration) *PatchDashboardParams
NewPatchDashboardParamsWithTimeout creates a new PatchDashboardParams object with the ability to set a timeout on a request.
func (*PatchDashboardParams) SetBody ¶
func (o *PatchDashboardParams) SetBody(body *service_model.V1Dashboard)
SetBody adds the body to the patch dashboard params
func (*PatchDashboardParams) SetContext ¶
func (o *PatchDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the patch dashboard params
func (*PatchDashboardParams) SetDashboardUUID ¶
func (o *PatchDashboardParams) SetDashboardUUID(dashboardUUID string)
SetDashboardUUID adds the dashboardUuid to the patch dashboard params
func (*PatchDashboardParams) SetDefaults ¶
func (o *PatchDashboardParams) SetDefaults()
SetDefaults hydrates default values in the patch dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*PatchDashboardParams) SetHTTPClient ¶
func (o *PatchDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch dashboard params
func (*PatchDashboardParams) SetOwner ¶
func (o *PatchDashboardParams) SetOwner(owner string)
SetOwner adds the owner to the patch dashboard params
func (*PatchDashboardParams) SetTimeout ¶
func (o *PatchDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch dashboard params
func (*PatchDashboardParams) WithBody ¶
func (o *PatchDashboardParams) WithBody(body *service_model.V1Dashboard) *PatchDashboardParams
WithBody adds the body to the patch dashboard params
func (*PatchDashboardParams) WithContext ¶
func (o *PatchDashboardParams) WithContext(ctx context.Context) *PatchDashboardParams
WithContext adds the context to the patch dashboard params
func (*PatchDashboardParams) WithDashboardUUID ¶
func (o *PatchDashboardParams) WithDashboardUUID(dashboardUUID string) *PatchDashboardParams
WithDashboardUUID adds the dashboardUUID to the patch dashboard params
func (*PatchDashboardParams) WithDefaults ¶
func (o *PatchDashboardParams) WithDefaults() *PatchDashboardParams
WithDefaults hydrates default values in the patch dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*PatchDashboardParams) WithHTTPClient ¶
func (o *PatchDashboardParams) WithHTTPClient(client *http.Client) *PatchDashboardParams
WithHTTPClient adds the HTTPClient to the patch dashboard params
func (*PatchDashboardParams) WithOwner ¶
func (o *PatchDashboardParams) WithOwner(owner string) *PatchDashboardParams
WithOwner adds the owner to the patch dashboard params
func (*PatchDashboardParams) WithTimeout ¶
func (o *PatchDashboardParams) WithTimeout(timeout time.Duration) *PatchDashboardParams
WithTimeout adds the timeout to the patch dashboard params
func (*PatchDashboardParams) WriteToRequest ¶
func (o *PatchDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchDashboardReader ¶
type PatchDashboardReader struct {
// contains filtered or unexported fields
}
PatchDashboardReader is a Reader for the PatchDashboard structure.
func (*PatchDashboardReader) ReadResponse ¶
func (o *PatchDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDashboardDefault ¶
type UpdateDashboardDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdateDashboardDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateDashboardDefault ¶
func NewUpdateDashboardDefault(code int) *UpdateDashboardDefault
NewUpdateDashboardDefault creates a UpdateDashboardDefault with default headers values
func (*UpdateDashboardDefault) Code ¶
func (o *UpdateDashboardDefault) Code() int
Code gets the status code for the update dashboard default response
func (*UpdateDashboardDefault) Error ¶
func (o *UpdateDashboardDefault) Error() string
func (*UpdateDashboardDefault) GetPayload ¶
func (o *UpdateDashboardDefault) GetPayload() *service_model.RuntimeError
type UpdateDashboardForbidden ¶
type UpdateDashboardForbidden struct {
Payload interface{}
}
UpdateDashboardForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdateDashboardForbidden ¶
func NewUpdateDashboardForbidden() *UpdateDashboardForbidden
NewUpdateDashboardForbidden creates a UpdateDashboardForbidden with default headers values
func (*UpdateDashboardForbidden) Error ¶
func (o *UpdateDashboardForbidden) Error() string
func (*UpdateDashboardForbidden) GetPayload ¶
func (o *UpdateDashboardForbidden) GetPayload() interface{}
type UpdateDashboardNoContent ¶
type UpdateDashboardNoContent struct {
Payload interface{}
}
UpdateDashboardNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdateDashboardNoContent ¶
func NewUpdateDashboardNoContent() *UpdateDashboardNoContent
NewUpdateDashboardNoContent creates a UpdateDashboardNoContent with default headers values
func (*UpdateDashboardNoContent) Error ¶
func (o *UpdateDashboardNoContent) Error() string
func (*UpdateDashboardNoContent) GetPayload ¶
func (o *UpdateDashboardNoContent) GetPayload() interface{}
type UpdateDashboardNotFound ¶
type UpdateDashboardNotFound struct {
Payload interface{}
}
UpdateDashboardNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdateDashboardNotFound ¶
func NewUpdateDashboardNotFound() *UpdateDashboardNotFound
NewUpdateDashboardNotFound creates a UpdateDashboardNotFound with default headers values
func (*UpdateDashboardNotFound) Error ¶
func (o *UpdateDashboardNotFound) Error() string
func (*UpdateDashboardNotFound) GetPayload ¶
func (o *UpdateDashboardNotFound) GetPayload() interface{}
type UpdateDashboardOK ¶
type UpdateDashboardOK struct {
Payload *service_model.V1Dashboard
}
UpdateDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateDashboardOK ¶
func NewUpdateDashboardOK() *UpdateDashboardOK
NewUpdateDashboardOK creates a UpdateDashboardOK with default headers values
func (*UpdateDashboardOK) Error ¶
func (o *UpdateDashboardOK) Error() string
func (*UpdateDashboardOK) GetPayload ¶
func (o *UpdateDashboardOK) GetPayload() *service_model.V1Dashboard
type UpdateDashboardParams ¶
type UpdateDashboardParams struct { /* Body. Dashboard body */ Body *service_model.V1Dashboard /* DashboardUUID. UUID */ DashboardUUID string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDashboardParams contains all the parameters to send to the API endpoint
for the update dashboard operation. Typically these are written to a http.Request.
func NewUpdateDashboardParams ¶
func NewUpdateDashboardParams() *UpdateDashboardParams
NewUpdateDashboardParams creates a new UpdateDashboardParams 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 NewUpdateDashboardParamsWithContext ¶
func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams
NewUpdateDashboardParamsWithContext creates a new UpdateDashboardParams object with the ability to set a context for a request.
func NewUpdateDashboardParamsWithHTTPClient ¶
func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams
NewUpdateDashboardParamsWithHTTPClient creates a new UpdateDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDashboardParamsWithTimeout ¶
func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams
NewUpdateDashboardParamsWithTimeout creates a new UpdateDashboardParams object with the ability to set a timeout on a request.
func (*UpdateDashboardParams) SetBody ¶
func (o *UpdateDashboardParams) SetBody(body *service_model.V1Dashboard)
SetBody adds the body to the update dashboard params
func (*UpdateDashboardParams) SetContext ¶
func (o *UpdateDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the update dashboard params
func (*UpdateDashboardParams) SetDashboardUUID ¶
func (o *UpdateDashboardParams) SetDashboardUUID(dashboardUUID string)
SetDashboardUUID adds the dashboardUuid to the update dashboard params
func (*UpdateDashboardParams) SetDefaults ¶
func (o *UpdateDashboardParams) SetDefaults()
SetDefaults hydrates default values in the update dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardParams) SetHTTPClient ¶
func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update dashboard params
func (*UpdateDashboardParams) SetOwner ¶
func (o *UpdateDashboardParams) SetOwner(owner string)
SetOwner adds the owner to the update dashboard params
func (*UpdateDashboardParams) SetTimeout ¶
func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update dashboard params
func (*UpdateDashboardParams) WithBody ¶
func (o *UpdateDashboardParams) WithBody(body *service_model.V1Dashboard) *UpdateDashboardParams
WithBody adds the body to the update dashboard params
func (*UpdateDashboardParams) WithContext ¶
func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
WithContext adds the context to the update dashboard params
func (*UpdateDashboardParams) WithDashboardUUID ¶
func (o *UpdateDashboardParams) WithDashboardUUID(dashboardUUID string) *UpdateDashboardParams
WithDashboardUUID adds the dashboardUUID to the update dashboard params
func (*UpdateDashboardParams) WithDefaults ¶
func (o *UpdateDashboardParams) WithDefaults() *UpdateDashboardParams
WithDefaults hydrates default values in the update dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDashboardParams) WithHTTPClient ¶
func (o *UpdateDashboardParams) WithHTTPClient(client *http.Client) *UpdateDashboardParams
WithHTTPClient adds the HTTPClient to the update dashboard params
func (*UpdateDashboardParams) WithOwner ¶
func (o *UpdateDashboardParams) WithOwner(owner string) *UpdateDashboardParams
WithOwner adds the owner to the update dashboard params
func (*UpdateDashboardParams) WithTimeout ¶
func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams
WithTimeout adds the timeout to the update dashboard params
func (*UpdateDashboardParams) WriteToRequest ¶
func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDashboardReader ¶
type UpdateDashboardReader struct {
// contains filtered or unexported fields
}
UpdateDashboardReader is a Reader for the UpdateDashboard structure.
func (*UpdateDashboardReader) ReadResponse ¶
func (o *UpdateDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_dashboard_parameters.go
- create_dashboard_responses.go
- dashboards_v1_client.go
- delete_dashboard_parameters.go
- delete_dashboard_responses.go
- get_dashboard_parameters.go
- get_dashboard_responses.go
- list_dashboard_names_parameters.go
- list_dashboard_names_responses.go
- list_dashboards_parameters.go
- list_dashboards_responses.go
- patch_dashboard_parameters.go
- patch_dashboard_responses.go
- update_dashboard_parameters.go
- update_dashboard_responses.go