Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateGrafanaDashboard(params *CreateGrafanaDashboardParams, opts ...ClientOption) (*CreateGrafanaDashboardOK, error)
- func (a *Client) DeleteGrafanaDashboard(params *DeleteGrafanaDashboardParams, opts ...ClientOption) (*DeleteGrafanaDashboardOK, error)
- func (a *Client) ListGrafanaDashboards(params *ListGrafanaDashboardsParams, opts ...ClientOption) (*ListGrafanaDashboardsOK, error)
- func (a *Client) ReadGrafanaDashboard(params *ReadGrafanaDashboardParams, opts ...ClientOption) (*ReadGrafanaDashboardOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGrafanaDashboard(params *UpdateGrafanaDashboardParams, opts ...ClientOption) (*UpdateGrafanaDashboardOK, error)
- type ClientOption
- type ClientService
- type CreateGrafanaDashboardBadRequest
- func (o *CreateGrafanaDashboardBadRequest) Code() int
- func (o *CreateGrafanaDashboardBadRequest) Error() string
- func (o *CreateGrafanaDashboardBadRequest) GetPayload() *models.APIError
- func (o *CreateGrafanaDashboardBadRequest) IsClientError() bool
- func (o *CreateGrafanaDashboardBadRequest) IsCode(code int) bool
- func (o *CreateGrafanaDashboardBadRequest) IsRedirect() bool
- func (o *CreateGrafanaDashboardBadRequest) IsServerError() bool
- func (o *CreateGrafanaDashboardBadRequest) IsSuccess() bool
- func (o *CreateGrafanaDashboardBadRequest) String() string
- type CreateGrafanaDashboardConflict
- func (o *CreateGrafanaDashboardConflict) Code() int
- func (o *CreateGrafanaDashboardConflict) Error() string
- func (o *CreateGrafanaDashboardConflict) GetPayload() *models.APIError
- func (o *CreateGrafanaDashboardConflict) IsClientError() bool
- func (o *CreateGrafanaDashboardConflict) IsCode(code int) bool
- func (o *CreateGrafanaDashboardConflict) IsRedirect() bool
- func (o *CreateGrafanaDashboardConflict) IsServerError() bool
- func (o *CreateGrafanaDashboardConflict) IsSuccess() bool
- func (o *CreateGrafanaDashboardConflict) String() string
- type CreateGrafanaDashboardDefault
- func (o *CreateGrafanaDashboardDefault) Code() int
- func (o *CreateGrafanaDashboardDefault) Error() string
- func (o *CreateGrafanaDashboardDefault) GetPayload() models.GenericError
- func (o *CreateGrafanaDashboardDefault) IsClientError() bool
- func (o *CreateGrafanaDashboardDefault) IsCode(code int) bool
- func (o *CreateGrafanaDashboardDefault) IsRedirect() bool
- func (o *CreateGrafanaDashboardDefault) IsServerError() bool
- func (o *CreateGrafanaDashboardDefault) IsSuccess() bool
- func (o *CreateGrafanaDashboardDefault) String() string
- type CreateGrafanaDashboardInternalServerError
- func (o *CreateGrafanaDashboardInternalServerError) Code() int
- func (o *CreateGrafanaDashboardInternalServerError) Error() string
- func (o *CreateGrafanaDashboardInternalServerError) GetPayload() *models.APIError
- func (o *CreateGrafanaDashboardInternalServerError) IsClientError() bool
- func (o *CreateGrafanaDashboardInternalServerError) IsCode(code int) bool
- func (o *CreateGrafanaDashboardInternalServerError) IsRedirect() bool
- func (o *CreateGrafanaDashboardInternalServerError) IsServerError() bool
- func (o *CreateGrafanaDashboardInternalServerError) IsSuccess() bool
- func (o *CreateGrafanaDashboardInternalServerError) String() string
- type CreateGrafanaDashboardOK
- func (o *CreateGrafanaDashboardOK) Code() int
- func (o *CreateGrafanaDashboardOK) Error() string
- func (o *CreateGrafanaDashboardOK) GetPayload() *models.Configv1CreateGrafanaDashboardResponse
- func (o *CreateGrafanaDashboardOK) IsClientError() bool
- func (o *CreateGrafanaDashboardOK) IsCode(code int) bool
- func (o *CreateGrafanaDashboardOK) IsRedirect() bool
- func (o *CreateGrafanaDashboardOK) IsServerError() bool
- func (o *CreateGrafanaDashboardOK) IsSuccess() bool
- func (o *CreateGrafanaDashboardOK) String() string
- type CreateGrafanaDashboardParams
- func NewCreateGrafanaDashboardParams() *CreateGrafanaDashboardParams
- func NewCreateGrafanaDashboardParamsWithContext(ctx context.Context) *CreateGrafanaDashboardParams
- func NewCreateGrafanaDashboardParamsWithHTTPClient(client *http.Client) *CreateGrafanaDashboardParams
- func NewCreateGrafanaDashboardParamsWithTimeout(timeout time.Duration) *CreateGrafanaDashboardParams
- func (o *CreateGrafanaDashboardParams) SetBody(body *models.Configv1CreateGrafanaDashboardRequest)
- func (o *CreateGrafanaDashboardParams) SetContext(ctx context.Context)
- func (o *CreateGrafanaDashboardParams) SetDefaults()
- func (o *CreateGrafanaDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreateGrafanaDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreateGrafanaDashboardParams) WithBody(body *models.Configv1CreateGrafanaDashboardRequest) *CreateGrafanaDashboardParams
- func (o *CreateGrafanaDashboardParams) WithContext(ctx context.Context) *CreateGrafanaDashboardParams
- func (o *CreateGrafanaDashboardParams) WithDefaults() *CreateGrafanaDashboardParams
- func (o *CreateGrafanaDashboardParams) WithHTTPClient(client *http.Client) *CreateGrafanaDashboardParams
- func (o *CreateGrafanaDashboardParams) WithTimeout(timeout time.Duration) *CreateGrafanaDashboardParams
- func (o *CreateGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGrafanaDashboardReader
- type DeleteGrafanaDashboardBadRequest
- func (o *DeleteGrafanaDashboardBadRequest) Code() int
- func (o *DeleteGrafanaDashboardBadRequest) Error() string
- func (o *DeleteGrafanaDashboardBadRequest) GetPayload() *models.APIError
- func (o *DeleteGrafanaDashboardBadRequest) IsClientError() bool
- func (o *DeleteGrafanaDashboardBadRequest) IsCode(code int) bool
- func (o *DeleteGrafanaDashboardBadRequest) IsRedirect() bool
- func (o *DeleteGrafanaDashboardBadRequest) IsServerError() bool
- func (o *DeleteGrafanaDashboardBadRequest) IsSuccess() bool
- func (o *DeleteGrafanaDashboardBadRequest) String() string
- type DeleteGrafanaDashboardDefault
- func (o *DeleteGrafanaDashboardDefault) Code() int
- func (o *DeleteGrafanaDashboardDefault) Error() string
- func (o *DeleteGrafanaDashboardDefault) GetPayload() models.GenericError
- func (o *DeleteGrafanaDashboardDefault) IsClientError() bool
- func (o *DeleteGrafanaDashboardDefault) IsCode(code int) bool
- func (o *DeleteGrafanaDashboardDefault) IsRedirect() bool
- func (o *DeleteGrafanaDashboardDefault) IsServerError() bool
- func (o *DeleteGrafanaDashboardDefault) IsSuccess() bool
- func (o *DeleteGrafanaDashboardDefault) String() string
- type DeleteGrafanaDashboardInternalServerError
- func (o *DeleteGrafanaDashboardInternalServerError) Code() int
- func (o *DeleteGrafanaDashboardInternalServerError) Error() string
- func (o *DeleteGrafanaDashboardInternalServerError) GetPayload() *models.APIError
- func (o *DeleteGrafanaDashboardInternalServerError) IsClientError() bool
- func (o *DeleteGrafanaDashboardInternalServerError) IsCode(code int) bool
- func (o *DeleteGrafanaDashboardInternalServerError) IsRedirect() bool
- func (o *DeleteGrafanaDashboardInternalServerError) IsServerError() bool
- func (o *DeleteGrafanaDashboardInternalServerError) IsSuccess() bool
- func (o *DeleteGrafanaDashboardInternalServerError) String() string
- type DeleteGrafanaDashboardNotFound
- func (o *DeleteGrafanaDashboardNotFound) Code() int
- func (o *DeleteGrafanaDashboardNotFound) Error() string
- func (o *DeleteGrafanaDashboardNotFound) GetPayload() *models.APIError
- func (o *DeleteGrafanaDashboardNotFound) IsClientError() bool
- func (o *DeleteGrafanaDashboardNotFound) IsCode(code int) bool
- func (o *DeleteGrafanaDashboardNotFound) IsRedirect() bool
- func (o *DeleteGrafanaDashboardNotFound) IsServerError() bool
- func (o *DeleteGrafanaDashboardNotFound) IsSuccess() bool
- func (o *DeleteGrafanaDashboardNotFound) String() string
- type DeleteGrafanaDashboardOK
- func (o *DeleteGrafanaDashboardOK) Code() int
- func (o *DeleteGrafanaDashboardOK) Error() string
- func (o *DeleteGrafanaDashboardOK) GetPayload() models.Configv1DeleteGrafanaDashboardResponse
- func (o *DeleteGrafanaDashboardOK) IsClientError() bool
- func (o *DeleteGrafanaDashboardOK) IsCode(code int) bool
- func (o *DeleteGrafanaDashboardOK) IsRedirect() bool
- func (o *DeleteGrafanaDashboardOK) IsServerError() bool
- func (o *DeleteGrafanaDashboardOK) IsSuccess() bool
- func (o *DeleteGrafanaDashboardOK) String() string
- type DeleteGrafanaDashboardParams
- func NewDeleteGrafanaDashboardParams() *DeleteGrafanaDashboardParams
- func NewDeleteGrafanaDashboardParamsWithContext(ctx context.Context) *DeleteGrafanaDashboardParams
- func NewDeleteGrafanaDashboardParamsWithHTTPClient(client *http.Client) *DeleteGrafanaDashboardParams
- func NewDeleteGrafanaDashboardParamsWithTimeout(timeout time.Duration) *DeleteGrafanaDashboardParams
- func (o *DeleteGrafanaDashboardParams) SetContext(ctx context.Context)
- func (o *DeleteGrafanaDashboardParams) SetDefaults()
- func (o *DeleteGrafanaDashboardParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGrafanaDashboardParams) SetSlug(slug string)
- func (o *DeleteGrafanaDashboardParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGrafanaDashboardParams) WithContext(ctx context.Context) *DeleteGrafanaDashboardParams
- func (o *DeleteGrafanaDashboardParams) WithDefaults() *DeleteGrafanaDashboardParams
- func (o *DeleteGrafanaDashboardParams) WithHTTPClient(client *http.Client) *DeleteGrafanaDashboardParams
- func (o *DeleteGrafanaDashboardParams) WithSlug(slug string) *DeleteGrafanaDashboardParams
- func (o *DeleteGrafanaDashboardParams) WithTimeout(timeout time.Duration) *DeleteGrafanaDashboardParams
- func (o *DeleteGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGrafanaDashboardReader
- type ListGrafanaDashboardsDefault
- func (o *ListGrafanaDashboardsDefault) Code() int
- func (o *ListGrafanaDashboardsDefault) Error() string
- func (o *ListGrafanaDashboardsDefault) GetPayload() models.GenericError
- func (o *ListGrafanaDashboardsDefault) IsClientError() bool
- func (o *ListGrafanaDashboardsDefault) IsCode(code int) bool
- func (o *ListGrafanaDashboardsDefault) IsRedirect() bool
- func (o *ListGrafanaDashboardsDefault) IsServerError() bool
- func (o *ListGrafanaDashboardsDefault) IsSuccess() bool
- func (o *ListGrafanaDashboardsDefault) String() string
- type ListGrafanaDashboardsInternalServerError
- func (o *ListGrafanaDashboardsInternalServerError) Code() int
- func (o *ListGrafanaDashboardsInternalServerError) Error() string
- func (o *ListGrafanaDashboardsInternalServerError) GetPayload() *models.APIError
- func (o *ListGrafanaDashboardsInternalServerError) IsClientError() bool
- func (o *ListGrafanaDashboardsInternalServerError) IsCode(code int) bool
- func (o *ListGrafanaDashboardsInternalServerError) IsRedirect() bool
- func (o *ListGrafanaDashboardsInternalServerError) IsServerError() bool
- func (o *ListGrafanaDashboardsInternalServerError) IsSuccess() bool
- func (o *ListGrafanaDashboardsInternalServerError) String() string
- type ListGrafanaDashboardsOK
- func (o *ListGrafanaDashboardsOK) Code() int
- func (o *ListGrafanaDashboardsOK) Error() string
- func (o *ListGrafanaDashboardsOK) GetPayload() *models.Configv1ListGrafanaDashboardsResponse
- func (o *ListGrafanaDashboardsOK) IsClientError() bool
- func (o *ListGrafanaDashboardsOK) IsCode(code int) bool
- func (o *ListGrafanaDashboardsOK) IsRedirect() bool
- func (o *ListGrafanaDashboardsOK) IsServerError() bool
- func (o *ListGrafanaDashboardsOK) IsSuccess() bool
- func (o *ListGrafanaDashboardsOK) String() string
- type ListGrafanaDashboardsParams
- func NewListGrafanaDashboardsParams() *ListGrafanaDashboardsParams
- func NewListGrafanaDashboardsParamsWithContext(ctx context.Context) *ListGrafanaDashboardsParams
- func NewListGrafanaDashboardsParamsWithHTTPClient(client *http.Client) *ListGrafanaDashboardsParams
- func NewListGrafanaDashboardsParamsWithTimeout(timeout time.Duration) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) SetBucketSlugs(bucketSlugs []string)
- func (o *ListGrafanaDashboardsParams) SetCollectionSlugs(collectionSlugs []string)
- func (o *ListGrafanaDashboardsParams) SetContext(ctx context.Context)
- func (o *ListGrafanaDashboardsParams) SetDefaults()
- func (o *ListGrafanaDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *ListGrafanaDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)
- func (o *ListGrafanaDashboardsParams) SetNames(names []string)
- func (o *ListGrafanaDashboardsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListGrafanaDashboardsParams) SetPageToken(pageToken *string)
- func (o *ListGrafanaDashboardsParams) SetSlugs(slugs []string)
- func (o *ListGrafanaDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *ListGrafanaDashboardsParams) WithBucketSlugs(bucketSlugs []string) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithContext(ctx context.Context) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithDefaults() *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithHTTPClient(client *http.Client) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithNames(names []string) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithPageToken(pageToken *string) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithSlugs(slugs []string) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WithTimeout(timeout time.Duration) *ListGrafanaDashboardsParams
- func (o *ListGrafanaDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGrafanaDashboardsReader
- type ReadGrafanaDashboardDefault
- func (o *ReadGrafanaDashboardDefault) Code() int
- func (o *ReadGrafanaDashboardDefault) Error() string
- func (o *ReadGrafanaDashboardDefault) GetPayload() models.GenericError
- func (o *ReadGrafanaDashboardDefault) IsClientError() bool
- func (o *ReadGrafanaDashboardDefault) IsCode(code int) bool
- func (o *ReadGrafanaDashboardDefault) IsRedirect() bool
- func (o *ReadGrafanaDashboardDefault) IsServerError() bool
- func (o *ReadGrafanaDashboardDefault) IsSuccess() bool
- func (o *ReadGrafanaDashboardDefault) String() string
- type ReadGrafanaDashboardInternalServerError
- func (o *ReadGrafanaDashboardInternalServerError) Code() int
- func (o *ReadGrafanaDashboardInternalServerError) Error() string
- func (o *ReadGrafanaDashboardInternalServerError) GetPayload() *models.APIError
- func (o *ReadGrafanaDashboardInternalServerError) IsClientError() bool
- func (o *ReadGrafanaDashboardInternalServerError) IsCode(code int) bool
- func (o *ReadGrafanaDashboardInternalServerError) IsRedirect() bool
- func (o *ReadGrafanaDashboardInternalServerError) IsServerError() bool
- func (o *ReadGrafanaDashboardInternalServerError) IsSuccess() bool
- func (o *ReadGrafanaDashboardInternalServerError) String() string
- type ReadGrafanaDashboardNotFound
- func (o *ReadGrafanaDashboardNotFound) Code() int
- func (o *ReadGrafanaDashboardNotFound) Error() string
- func (o *ReadGrafanaDashboardNotFound) GetPayload() *models.APIError
- func (o *ReadGrafanaDashboardNotFound) IsClientError() bool
- func (o *ReadGrafanaDashboardNotFound) IsCode(code int) bool
- func (o *ReadGrafanaDashboardNotFound) IsRedirect() bool
- func (o *ReadGrafanaDashboardNotFound) IsServerError() bool
- func (o *ReadGrafanaDashboardNotFound) IsSuccess() bool
- func (o *ReadGrafanaDashboardNotFound) String() string
- type ReadGrafanaDashboardOK
- func (o *ReadGrafanaDashboardOK) Code() int
- func (o *ReadGrafanaDashboardOK) Error() string
- func (o *ReadGrafanaDashboardOK) GetPayload() *models.Configv1ReadGrafanaDashboardResponse
- func (o *ReadGrafanaDashboardOK) IsClientError() bool
- func (o *ReadGrafanaDashboardOK) IsCode(code int) bool
- func (o *ReadGrafanaDashboardOK) IsRedirect() bool
- func (o *ReadGrafanaDashboardOK) IsServerError() bool
- func (o *ReadGrafanaDashboardOK) IsSuccess() bool
- func (o *ReadGrafanaDashboardOK) String() string
- type ReadGrafanaDashboardParams
- func NewReadGrafanaDashboardParams() *ReadGrafanaDashboardParams
- func NewReadGrafanaDashboardParamsWithContext(ctx context.Context) *ReadGrafanaDashboardParams
- func NewReadGrafanaDashboardParamsWithHTTPClient(client *http.Client) *ReadGrafanaDashboardParams
- func NewReadGrafanaDashboardParamsWithTimeout(timeout time.Duration) *ReadGrafanaDashboardParams
- func (o *ReadGrafanaDashboardParams) SetContext(ctx context.Context)
- func (o *ReadGrafanaDashboardParams) SetDefaults()
- func (o *ReadGrafanaDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ReadGrafanaDashboardParams) SetSlug(slug string)
- func (o *ReadGrafanaDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ReadGrafanaDashboardParams) WithContext(ctx context.Context) *ReadGrafanaDashboardParams
- func (o *ReadGrafanaDashboardParams) WithDefaults() *ReadGrafanaDashboardParams
- func (o *ReadGrafanaDashboardParams) WithHTTPClient(client *http.Client) *ReadGrafanaDashboardParams
- func (o *ReadGrafanaDashboardParams) WithSlug(slug string) *ReadGrafanaDashboardParams
- func (o *ReadGrafanaDashboardParams) WithTimeout(timeout time.Duration) *ReadGrafanaDashboardParams
- func (o *ReadGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadGrafanaDashboardReader
- type UpdateGrafanaDashboardBadRequest
- func (o *UpdateGrafanaDashboardBadRequest) Code() int
- func (o *UpdateGrafanaDashboardBadRequest) Error() string
- func (o *UpdateGrafanaDashboardBadRequest) GetPayload() *models.APIError
- func (o *UpdateGrafanaDashboardBadRequest) IsClientError() bool
- func (o *UpdateGrafanaDashboardBadRequest) IsCode(code int) bool
- func (o *UpdateGrafanaDashboardBadRequest) IsRedirect() bool
- func (o *UpdateGrafanaDashboardBadRequest) IsServerError() bool
- func (o *UpdateGrafanaDashboardBadRequest) IsSuccess() bool
- func (o *UpdateGrafanaDashboardBadRequest) String() string
- type UpdateGrafanaDashboardConflict
- func (o *UpdateGrafanaDashboardConflict) Code() int
- func (o *UpdateGrafanaDashboardConflict) Error() string
- func (o *UpdateGrafanaDashboardConflict) GetPayload() *models.APIError
- func (o *UpdateGrafanaDashboardConflict) IsClientError() bool
- func (o *UpdateGrafanaDashboardConflict) IsCode(code int) bool
- func (o *UpdateGrafanaDashboardConflict) IsRedirect() bool
- func (o *UpdateGrafanaDashboardConflict) IsServerError() bool
- func (o *UpdateGrafanaDashboardConflict) IsSuccess() bool
- func (o *UpdateGrafanaDashboardConflict) String() string
- type UpdateGrafanaDashboardDefault
- func (o *UpdateGrafanaDashboardDefault) Code() int
- func (o *UpdateGrafanaDashboardDefault) Error() string
- func (o *UpdateGrafanaDashboardDefault) GetPayload() models.GenericError
- func (o *UpdateGrafanaDashboardDefault) IsClientError() bool
- func (o *UpdateGrafanaDashboardDefault) IsCode(code int) bool
- func (o *UpdateGrafanaDashboardDefault) IsRedirect() bool
- func (o *UpdateGrafanaDashboardDefault) IsServerError() bool
- func (o *UpdateGrafanaDashboardDefault) IsSuccess() bool
- func (o *UpdateGrafanaDashboardDefault) String() string
- type UpdateGrafanaDashboardInternalServerError
- func (o *UpdateGrafanaDashboardInternalServerError) Code() int
- func (o *UpdateGrafanaDashboardInternalServerError) Error() string
- func (o *UpdateGrafanaDashboardInternalServerError) GetPayload() *models.APIError
- func (o *UpdateGrafanaDashboardInternalServerError) IsClientError() bool
- func (o *UpdateGrafanaDashboardInternalServerError) IsCode(code int) bool
- func (o *UpdateGrafanaDashboardInternalServerError) IsRedirect() bool
- func (o *UpdateGrafanaDashboardInternalServerError) IsServerError() bool
- func (o *UpdateGrafanaDashboardInternalServerError) IsSuccess() bool
- func (o *UpdateGrafanaDashboardInternalServerError) String() string
- type UpdateGrafanaDashboardNotFound
- func (o *UpdateGrafanaDashboardNotFound) Code() int
- func (o *UpdateGrafanaDashboardNotFound) Error() string
- func (o *UpdateGrafanaDashboardNotFound) GetPayload() *models.APIError
- func (o *UpdateGrafanaDashboardNotFound) IsClientError() bool
- func (o *UpdateGrafanaDashboardNotFound) IsCode(code int) bool
- func (o *UpdateGrafanaDashboardNotFound) IsRedirect() bool
- func (o *UpdateGrafanaDashboardNotFound) IsServerError() bool
- func (o *UpdateGrafanaDashboardNotFound) IsSuccess() bool
- func (o *UpdateGrafanaDashboardNotFound) String() string
- type UpdateGrafanaDashboardOK
- func (o *UpdateGrafanaDashboardOK) Code() int
- func (o *UpdateGrafanaDashboardOK) Error() string
- func (o *UpdateGrafanaDashboardOK) GetPayload() *models.Configv1UpdateGrafanaDashboardResponse
- func (o *UpdateGrafanaDashboardOK) IsClientError() bool
- func (o *UpdateGrafanaDashboardOK) IsCode(code int) bool
- func (o *UpdateGrafanaDashboardOK) IsRedirect() bool
- func (o *UpdateGrafanaDashboardOK) IsServerError() bool
- func (o *UpdateGrafanaDashboardOK) IsSuccess() bool
- func (o *UpdateGrafanaDashboardOK) String() string
- type UpdateGrafanaDashboardParams
- func NewUpdateGrafanaDashboardParams() *UpdateGrafanaDashboardParams
- func NewUpdateGrafanaDashboardParamsWithContext(ctx context.Context) *UpdateGrafanaDashboardParams
- func NewUpdateGrafanaDashboardParamsWithHTTPClient(client *http.Client) *UpdateGrafanaDashboardParams
- func NewUpdateGrafanaDashboardParamsWithTimeout(timeout time.Duration) *UpdateGrafanaDashboardParams
- func (o *UpdateGrafanaDashboardParams) SetBody(body *models.ConfigV1UpdateGrafanaDashboardBody)
- func (o *UpdateGrafanaDashboardParams) SetContext(ctx context.Context)
- func (o *UpdateGrafanaDashboardParams) SetDefaults()
- func (o *UpdateGrafanaDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGrafanaDashboardParams) SetSlug(slug string)
- func (o *UpdateGrafanaDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGrafanaDashboardParams) WithBody(body *models.ConfigV1UpdateGrafanaDashboardBody) *UpdateGrafanaDashboardParams
- func (o *UpdateGrafanaDashboardParams) WithContext(ctx context.Context) *UpdateGrafanaDashboardParams
- func (o *UpdateGrafanaDashboardParams) WithDefaults() *UpdateGrafanaDashboardParams
- func (o *UpdateGrafanaDashboardParams) WithHTTPClient(client *http.Client) *UpdateGrafanaDashboardParams
- func (o *UpdateGrafanaDashboardParams) WithSlug(slug string) *UpdateGrafanaDashboardParams
- func (o *UpdateGrafanaDashboardParams) WithTimeout(timeout time.Duration) *UpdateGrafanaDashboardParams
- func (o *UpdateGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGrafanaDashboardReader
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 grafana dashboard API
func (*Client) CreateGrafanaDashboard ¶
func (a *Client) CreateGrafanaDashboard(params *CreateGrafanaDashboardParams, opts ...ClientOption) (*CreateGrafanaDashboardOK, error)
CreateGrafanaDashboard create grafana dashboard API
func (*Client) DeleteGrafanaDashboard ¶
func (a *Client) DeleteGrafanaDashboard(params *DeleteGrafanaDashboardParams, opts ...ClientOption) (*DeleteGrafanaDashboardOK, error)
DeleteGrafanaDashboard delete grafana dashboard API
func (*Client) ListGrafanaDashboards ¶
func (a *Client) ListGrafanaDashboards(params *ListGrafanaDashboardsParams, opts ...ClientOption) (*ListGrafanaDashboardsOK, error)
ListGrafanaDashboards list grafana dashboards API
func (*Client) ReadGrafanaDashboard ¶
func (a *Client) ReadGrafanaDashboard(params *ReadGrafanaDashboardParams, opts ...ClientOption) (*ReadGrafanaDashboardOK, error)
ReadGrafanaDashboard read grafana dashboard API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGrafanaDashboard ¶
func (a *Client) UpdateGrafanaDashboard(params *UpdateGrafanaDashboardParams, opts ...ClientOption) (*UpdateGrafanaDashboardOK, error)
UpdateGrafanaDashboard update grafana dashboard API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateGrafanaDashboard(params *CreateGrafanaDashboardParams, opts ...ClientOption) (*CreateGrafanaDashboardOK, error) DeleteGrafanaDashboard(params *DeleteGrafanaDashboardParams, opts ...ClientOption) (*DeleteGrafanaDashboardOK, error) ListGrafanaDashboards(params *ListGrafanaDashboardsParams, opts ...ClientOption) (*ListGrafanaDashboardsOK, error) ReadGrafanaDashboard(params *ReadGrafanaDashboardParams, opts ...ClientOption) (*ReadGrafanaDashboardOK, error) UpdateGrafanaDashboard(params *UpdateGrafanaDashboardParams, opts ...ClientOption) (*UpdateGrafanaDashboardOK, 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 grafana dashboard API client.
type CreateGrafanaDashboardBadRequest ¶
CreateGrafanaDashboardBadRequest describes a response with status code 400, with default header values.
Cannot create the GrafanaDashboard because the request is invalid.
func NewCreateGrafanaDashboardBadRequest ¶
func NewCreateGrafanaDashboardBadRequest() *CreateGrafanaDashboardBadRequest
NewCreateGrafanaDashboardBadRequest creates a CreateGrafanaDashboardBadRequest with default headers values
func (*CreateGrafanaDashboardBadRequest) Code ¶
func (o *CreateGrafanaDashboardBadRequest) Code() int
Code gets the status code for the create grafana dashboard bad request response
func (*CreateGrafanaDashboardBadRequest) Error ¶
func (o *CreateGrafanaDashboardBadRequest) Error() string
func (*CreateGrafanaDashboardBadRequest) GetPayload ¶
func (o *CreateGrafanaDashboardBadRequest) GetPayload() *models.APIError
func (*CreateGrafanaDashboardBadRequest) IsClientError ¶
func (o *CreateGrafanaDashboardBadRequest) IsClientError() bool
IsClientError returns true when this create grafana dashboard bad request response has a 4xx status code
func (*CreateGrafanaDashboardBadRequest) IsCode ¶
func (o *CreateGrafanaDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this create grafana dashboard bad request response a status code equal to that given
func (*CreateGrafanaDashboardBadRequest) IsRedirect ¶
func (o *CreateGrafanaDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this create grafana dashboard bad request response has a 3xx status code
func (*CreateGrafanaDashboardBadRequest) IsServerError ¶
func (o *CreateGrafanaDashboardBadRequest) IsServerError() bool
IsServerError returns true when this create grafana dashboard bad request response has a 5xx status code
func (*CreateGrafanaDashboardBadRequest) IsSuccess ¶
func (o *CreateGrafanaDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this create grafana dashboard bad request response has a 2xx status code
func (*CreateGrafanaDashboardBadRequest) String ¶
func (o *CreateGrafanaDashboardBadRequest) String() string
type CreateGrafanaDashboardConflict ¶
CreateGrafanaDashboardConflict describes a response with status code 409, with default header values.
Cannot create the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.
func NewCreateGrafanaDashboardConflict ¶
func NewCreateGrafanaDashboardConflict() *CreateGrafanaDashboardConflict
NewCreateGrafanaDashboardConflict creates a CreateGrafanaDashboardConflict with default headers values
func (*CreateGrafanaDashboardConflict) Code ¶
func (o *CreateGrafanaDashboardConflict) Code() int
Code gets the status code for the create grafana dashboard conflict response
func (*CreateGrafanaDashboardConflict) Error ¶
func (o *CreateGrafanaDashboardConflict) Error() string
func (*CreateGrafanaDashboardConflict) GetPayload ¶
func (o *CreateGrafanaDashboardConflict) GetPayload() *models.APIError
func (*CreateGrafanaDashboardConflict) IsClientError ¶
func (o *CreateGrafanaDashboardConflict) IsClientError() bool
IsClientError returns true when this create grafana dashboard conflict response has a 4xx status code
func (*CreateGrafanaDashboardConflict) IsCode ¶
func (o *CreateGrafanaDashboardConflict) IsCode(code int) bool
IsCode returns true when this create grafana dashboard conflict response a status code equal to that given
func (*CreateGrafanaDashboardConflict) IsRedirect ¶
func (o *CreateGrafanaDashboardConflict) IsRedirect() bool
IsRedirect returns true when this create grafana dashboard conflict response has a 3xx status code
func (*CreateGrafanaDashboardConflict) IsServerError ¶
func (o *CreateGrafanaDashboardConflict) IsServerError() bool
IsServerError returns true when this create grafana dashboard conflict response has a 5xx status code
func (*CreateGrafanaDashboardConflict) IsSuccess ¶
func (o *CreateGrafanaDashboardConflict) IsSuccess() bool
IsSuccess returns true when this create grafana dashboard conflict response has a 2xx status code
func (*CreateGrafanaDashboardConflict) String ¶
func (o *CreateGrafanaDashboardConflict) String() string
type CreateGrafanaDashboardDefault ¶
type CreateGrafanaDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateGrafanaDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateGrafanaDashboardDefault ¶
func NewCreateGrafanaDashboardDefault(code int) *CreateGrafanaDashboardDefault
NewCreateGrafanaDashboardDefault creates a CreateGrafanaDashboardDefault with default headers values
func (*CreateGrafanaDashboardDefault) Code ¶
func (o *CreateGrafanaDashboardDefault) Code() int
Code gets the status code for the create grafana dashboard default response
func (*CreateGrafanaDashboardDefault) Error ¶
func (o *CreateGrafanaDashboardDefault) Error() string
func (*CreateGrafanaDashboardDefault) GetPayload ¶
func (o *CreateGrafanaDashboardDefault) GetPayload() models.GenericError
func (*CreateGrafanaDashboardDefault) IsClientError ¶
func (o *CreateGrafanaDashboardDefault) IsClientError() bool
IsClientError returns true when this create grafana dashboard default response has a 4xx status code
func (*CreateGrafanaDashboardDefault) IsCode ¶
func (o *CreateGrafanaDashboardDefault) IsCode(code int) bool
IsCode returns true when this create grafana dashboard default response a status code equal to that given
func (*CreateGrafanaDashboardDefault) IsRedirect ¶
func (o *CreateGrafanaDashboardDefault) IsRedirect() bool
IsRedirect returns true when this create grafana dashboard default response has a 3xx status code
func (*CreateGrafanaDashboardDefault) IsServerError ¶
func (o *CreateGrafanaDashboardDefault) IsServerError() bool
IsServerError returns true when this create grafana dashboard default response has a 5xx status code
func (*CreateGrafanaDashboardDefault) IsSuccess ¶
func (o *CreateGrafanaDashboardDefault) IsSuccess() bool
IsSuccess returns true when this create grafana dashboard default response has a 2xx status code
func (*CreateGrafanaDashboardDefault) String ¶
func (o *CreateGrafanaDashboardDefault) String() string
type CreateGrafanaDashboardInternalServerError ¶
CreateGrafanaDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateGrafanaDashboardInternalServerError ¶
func NewCreateGrafanaDashboardInternalServerError() *CreateGrafanaDashboardInternalServerError
NewCreateGrafanaDashboardInternalServerError creates a CreateGrafanaDashboardInternalServerError with default headers values
func (*CreateGrafanaDashboardInternalServerError) Code ¶
func (o *CreateGrafanaDashboardInternalServerError) Code() int
Code gets the status code for the create grafana dashboard internal server error response
func (*CreateGrafanaDashboardInternalServerError) Error ¶
func (o *CreateGrafanaDashboardInternalServerError) Error() string
func (*CreateGrafanaDashboardInternalServerError) GetPayload ¶
func (o *CreateGrafanaDashboardInternalServerError) GetPayload() *models.APIError
func (*CreateGrafanaDashboardInternalServerError) IsClientError ¶
func (o *CreateGrafanaDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this create grafana dashboard internal server error response has a 4xx status code
func (*CreateGrafanaDashboardInternalServerError) IsCode ¶
func (o *CreateGrafanaDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this create grafana dashboard internal server error response a status code equal to that given
func (*CreateGrafanaDashboardInternalServerError) IsRedirect ¶
func (o *CreateGrafanaDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this create grafana dashboard internal server error response has a 3xx status code
func (*CreateGrafanaDashboardInternalServerError) IsServerError ¶
func (o *CreateGrafanaDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this create grafana dashboard internal server error response has a 5xx status code
func (*CreateGrafanaDashboardInternalServerError) IsSuccess ¶
func (o *CreateGrafanaDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this create grafana dashboard internal server error response has a 2xx status code
func (*CreateGrafanaDashboardInternalServerError) String ¶
func (o *CreateGrafanaDashboardInternalServerError) String() string
type CreateGrafanaDashboardOK ¶
type CreateGrafanaDashboardOK struct {
Payload *models.Configv1CreateGrafanaDashboardResponse
}
CreateGrafanaDashboardOK describes a response with status code 200, with default header values.
A successful response containing the created GrafanaDashboard.
func NewCreateGrafanaDashboardOK ¶
func NewCreateGrafanaDashboardOK() *CreateGrafanaDashboardOK
NewCreateGrafanaDashboardOK creates a CreateGrafanaDashboardOK with default headers values
func (*CreateGrafanaDashboardOK) Code ¶
func (o *CreateGrafanaDashboardOK) Code() int
Code gets the status code for the create grafana dashboard o k response
func (*CreateGrafanaDashboardOK) Error ¶
func (o *CreateGrafanaDashboardOK) Error() string
func (*CreateGrafanaDashboardOK) GetPayload ¶
func (o *CreateGrafanaDashboardOK) GetPayload() *models.Configv1CreateGrafanaDashboardResponse
func (*CreateGrafanaDashboardOK) IsClientError ¶
func (o *CreateGrafanaDashboardOK) IsClientError() bool
IsClientError returns true when this create grafana dashboard o k response has a 4xx status code
func (*CreateGrafanaDashboardOK) IsCode ¶
func (o *CreateGrafanaDashboardOK) IsCode(code int) bool
IsCode returns true when this create grafana dashboard o k response a status code equal to that given
func (*CreateGrafanaDashboardOK) IsRedirect ¶
func (o *CreateGrafanaDashboardOK) IsRedirect() bool
IsRedirect returns true when this create grafana dashboard o k response has a 3xx status code
func (*CreateGrafanaDashboardOK) IsServerError ¶
func (o *CreateGrafanaDashboardOK) IsServerError() bool
IsServerError returns true when this create grafana dashboard o k response has a 5xx status code
func (*CreateGrafanaDashboardOK) IsSuccess ¶
func (o *CreateGrafanaDashboardOK) IsSuccess() bool
IsSuccess returns true when this create grafana dashboard o k response has a 2xx status code
func (*CreateGrafanaDashboardOK) String ¶
func (o *CreateGrafanaDashboardOK) String() string
type CreateGrafanaDashboardParams ¶
type CreateGrafanaDashboardParams struct { // Body. Body *models.Configv1CreateGrafanaDashboardRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateGrafanaDashboardParams contains all the parameters to send to the API endpoint
for the create grafana dashboard operation. Typically these are written to a http.Request.
func NewCreateGrafanaDashboardParams ¶
func NewCreateGrafanaDashboardParams() *CreateGrafanaDashboardParams
NewCreateGrafanaDashboardParams creates a new CreateGrafanaDashboardParams 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 NewCreateGrafanaDashboardParamsWithContext ¶
func NewCreateGrafanaDashboardParamsWithContext(ctx context.Context) *CreateGrafanaDashboardParams
NewCreateGrafanaDashboardParamsWithContext creates a new CreateGrafanaDashboardParams object with the ability to set a context for a request.
func NewCreateGrafanaDashboardParamsWithHTTPClient ¶
func NewCreateGrafanaDashboardParamsWithHTTPClient(client *http.Client) *CreateGrafanaDashboardParams
NewCreateGrafanaDashboardParamsWithHTTPClient creates a new CreateGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGrafanaDashboardParamsWithTimeout ¶
func NewCreateGrafanaDashboardParamsWithTimeout(timeout time.Duration) *CreateGrafanaDashboardParams
NewCreateGrafanaDashboardParamsWithTimeout creates a new CreateGrafanaDashboardParams object with the ability to set a timeout on a request.
func (*CreateGrafanaDashboardParams) SetBody ¶
func (o *CreateGrafanaDashboardParams) SetBody(body *models.Configv1CreateGrafanaDashboardRequest)
SetBody adds the body to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) SetContext ¶
func (o *CreateGrafanaDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) SetDefaults ¶
func (o *CreateGrafanaDashboardParams) SetDefaults()
SetDefaults hydrates default values in the create grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGrafanaDashboardParams) SetHTTPClient ¶
func (o *CreateGrafanaDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) SetTimeout ¶
func (o *CreateGrafanaDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) WithBody ¶
func (o *CreateGrafanaDashboardParams) WithBody(body *models.Configv1CreateGrafanaDashboardRequest) *CreateGrafanaDashboardParams
WithBody adds the body to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) WithContext ¶
func (o *CreateGrafanaDashboardParams) WithContext(ctx context.Context) *CreateGrafanaDashboardParams
WithContext adds the context to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) WithDefaults ¶
func (o *CreateGrafanaDashboardParams) WithDefaults() *CreateGrafanaDashboardParams
WithDefaults hydrates default values in the create grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGrafanaDashboardParams) WithHTTPClient ¶
func (o *CreateGrafanaDashboardParams) WithHTTPClient(client *http.Client) *CreateGrafanaDashboardParams
WithHTTPClient adds the HTTPClient to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) WithTimeout ¶
func (o *CreateGrafanaDashboardParams) WithTimeout(timeout time.Duration) *CreateGrafanaDashboardParams
WithTimeout adds the timeout to the create grafana dashboard params
func (*CreateGrafanaDashboardParams) WriteToRequest ¶
func (o *CreateGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGrafanaDashboardReader ¶
type CreateGrafanaDashboardReader struct {
// contains filtered or unexported fields
}
CreateGrafanaDashboardReader is a Reader for the CreateGrafanaDashboard structure.
func (*CreateGrafanaDashboardReader) ReadResponse ¶
func (o *CreateGrafanaDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGrafanaDashboardBadRequest ¶
DeleteGrafanaDashboardBadRequest describes a response with status code 400, with default header values.
Cannot delete the GrafanaDashboard because it is in use.
func NewDeleteGrafanaDashboardBadRequest ¶
func NewDeleteGrafanaDashboardBadRequest() *DeleteGrafanaDashboardBadRequest
NewDeleteGrafanaDashboardBadRequest creates a DeleteGrafanaDashboardBadRequest with default headers values
func (*DeleteGrafanaDashboardBadRequest) Code ¶
func (o *DeleteGrafanaDashboardBadRequest) Code() int
Code gets the status code for the delete grafana dashboard bad request response
func (*DeleteGrafanaDashboardBadRequest) Error ¶
func (o *DeleteGrafanaDashboardBadRequest) Error() string
func (*DeleteGrafanaDashboardBadRequest) GetPayload ¶
func (o *DeleteGrafanaDashboardBadRequest) GetPayload() *models.APIError
func (*DeleteGrafanaDashboardBadRequest) IsClientError ¶
func (o *DeleteGrafanaDashboardBadRequest) IsClientError() bool
IsClientError returns true when this delete grafana dashboard bad request response has a 4xx status code
func (*DeleteGrafanaDashboardBadRequest) IsCode ¶
func (o *DeleteGrafanaDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this delete grafana dashboard bad request response a status code equal to that given
func (*DeleteGrafanaDashboardBadRequest) IsRedirect ¶
func (o *DeleteGrafanaDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this delete grafana dashboard bad request response has a 3xx status code
func (*DeleteGrafanaDashboardBadRequest) IsServerError ¶
func (o *DeleteGrafanaDashboardBadRequest) IsServerError() bool
IsServerError returns true when this delete grafana dashboard bad request response has a 5xx status code
func (*DeleteGrafanaDashboardBadRequest) IsSuccess ¶
func (o *DeleteGrafanaDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this delete grafana dashboard bad request response has a 2xx status code
func (*DeleteGrafanaDashboardBadRequest) String ¶
func (o *DeleteGrafanaDashboardBadRequest) String() string
type DeleteGrafanaDashboardDefault ¶
type DeleteGrafanaDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteGrafanaDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteGrafanaDashboardDefault ¶
func NewDeleteGrafanaDashboardDefault(code int) *DeleteGrafanaDashboardDefault
NewDeleteGrafanaDashboardDefault creates a DeleteGrafanaDashboardDefault with default headers values
func (*DeleteGrafanaDashboardDefault) Code ¶
func (o *DeleteGrafanaDashboardDefault) Code() int
Code gets the status code for the delete grafana dashboard default response
func (*DeleteGrafanaDashboardDefault) Error ¶
func (o *DeleteGrafanaDashboardDefault) Error() string
func (*DeleteGrafanaDashboardDefault) GetPayload ¶
func (o *DeleteGrafanaDashboardDefault) GetPayload() models.GenericError
func (*DeleteGrafanaDashboardDefault) IsClientError ¶
func (o *DeleteGrafanaDashboardDefault) IsClientError() bool
IsClientError returns true when this delete grafana dashboard default response has a 4xx status code
func (*DeleteGrafanaDashboardDefault) IsCode ¶
func (o *DeleteGrafanaDashboardDefault) IsCode(code int) bool
IsCode returns true when this delete grafana dashboard default response a status code equal to that given
func (*DeleteGrafanaDashboardDefault) IsRedirect ¶
func (o *DeleteGrafanaDashboardDefault) IsRedirect() bool
IsRedirect returns true when this delete grafana dashboard default response has a 3xx status code
func (*DeleteGrafanaDashboardDefault) IsServerError ¶
func (o *DeleteGrafanaDashboardDefault) IsServerError() bool
IsServerError returns true when this delete grafana dashboard default response has a 5xx status code
func (*DeleteGrafanaDashboardDefault) IsSuccess ¶
func (o *DeleteGrafanaDashboardDefault) IsSuccess() bool
IsSuccess returns true when this delete grafana dashboard default response has a 2xx status code
func (*DeleteGrafanaDashboardDefault) String ¶
func (o *DeleteGrafanaDashboardDefault) String() string
type DeleteGrafanaDashboardInternalServerError ¶
DeleteGrafanaDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteGrafanaDashboardInternalServerError ¶
func NewDeleteGrafanaDashboardInternalServerError() *DeleteGrafanaDashboardInternalServerError
NewDeleteGrafanaDashboardInternalServerError creates a DeleteGrafanaDashboardInternalServerError with default headers values
func (*DeleteGrafanaDashboardInternalServerError) Code ¶
func (o *DeleteGrafanaDashboardInternalServerError) Code() int
Code gets the status code for the delete grafana dashboard internal server error response
func (*DeleteGrafanaDashboardInternalServerError) Error ¶
func (o *DeleteGrafanaDashboardInternalServerError) Error() string
func (*DeleteGrafanaDashboardInternalServerError) GetPayload ¶
func (o *DeleteGrafanaDashboardInternalServerError) GetPayload() *models.APIError
func (*DeleteGrafanaDashboardInternalServerError) IsClientError ¶
func (o *DeleteGrafanaDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this delete grafana dashboard internal server error response has a 4xx status code
func (*DeleteGrafanaDashboardInternalServerError) IsCode ¶
func (o *DeleteGrafanaDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this delete grafana dashboard internal server error response a status code equal to that given
func (*DeleteGrafanaDashboardInternalServerError) IsRedirect ¶
func (o *DeleteGrafanaDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete grafana dashboard internal server error response has a 3xx status code
func (*DeleteGrafanaDashboardInternalServerError) IsServerError ¶
func (o *DeleteGrafanaDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this delete grafana dashboard internal server error response has a 5xx status code
func (*DeleteGrafanaDashboardInternalServerError) IsSuccess ¶
func (o *DeleteGrafanaDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete grafana dashboard internal server error response has a 2xx status code
func (*DeleteGrafanaDashboardInternalServerError) String ¶
func (o *DeleteGrafanaDashboardInternalServerError) String() string
type DeleteGrafanaDashboardNotFound ¶
DeleteGrafanaDashboardNotFound describes a response with status code 404, with default header values.
Cannot delete the GrafanaDashboard because the slug does not exist.
func NewDeleteGrafanaDashboardNotFound ¶
func NewDeleteGrafanaDashboardNotFound() *DeleteGrafanaDashboardNotFound
NewDeleteGrafanaDashboardNotFound creates a DeleteGrafanaDashboardNotFound with default headers values
func (*DeleteGrafanaDashboardNotFound) Code ¶
func (o *DeleteGrafanaDashboardNotFound) Code() int
Code gets the status code for the delete grafana dashboard not found response
func (*DeleteGrafanaDashboardNotFound) Error ¶
func (o *DeleteGrafanaDashboardNotFound) Error() string
func (*DeleteGrafanaDashboardNotFound) GetPayload ¶
func (o *DeleteGrafanaDashboardNotFound) GetPayload() *models.APIError
func (*DeleteGrafanaDashboardNotFound) IsClientError ¶
func (o *DeleteGrafanaDashboardNotFound) IsClientError() bool
IsClientError returns true when this delete grafana dashboard not found response has a 4xx status code
func (*DeleteGrafanaDashboardNotFound) IsCode ¶
func (o *DeleteGrafanaDashboardNotFound) IsCode(code int) bool
IsCode returns true when this delete grafana dashboard not found response a status code equal to that given
func (*DeleteGrafanaDashboardNotFound) IsRedirect ¶
func (o *DeleteGrafanaDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this delete grafana dashboard not found response has a 3xx status code
func (*DeleteGrafanaDashboardNotFound) IsServerError ¶
func (o *DeleteGrafanaDashboardNotFound) IsServerError() bool
IsServerError returns true when this delete grafana dashboard not found response has a 5xx status code
func (*DeleteGrafanaDashboardNotFound) IsSuccess ¶
func (o *DeleteGrafanaDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this delete grafana dashboard not found response has a 2xx status code
func (*DeleteGrafanaDashboardNotFound) String ¶
func (o *DeleteGrafanaDashboardNotFound) String() string
type DeleteGrafanaDashboardOK ¶
type DeleteGrafanaDashboardOK struct {
Payload models.Configv1DeleteGrafanaDashboardResponse
}
DeleteGrafanaDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteGrafanaDashboardOK ¶
func NewDeleteGrafanaDashboardOK() *DeleteGrafanaDashboardOK
NewDeleteGrafanaDashboardOK creates a DeleteGrafanaDashboardOK with default headers values
func (*DeleteGrafanaDashboardOK) Code ¶
func (o *DeleteGrafanaDashboardOK) Code() int
Code gets the status code for the delete grafana dashboard o k response
func (*DeleteGrafanaDashboardOK) Error ¶
func (o *DeleteGrafanaDashboardOK) Error() string
func (*DeleteGrafanaDashboardOK) GetPayload ¶
func (o *DeleteGrafanaDashboardOK) GetPayload() models.Configv1DeleteGrafanaDashboardResponse
func (*DeleteGrafanaDashboardOK) IsClientError ¶
func (o *DeleteGrafanaDashboardOK) IsClientError() bool
IsClientError returns true when this delete grafana dashboard o k response has a 4xx status code
func (*DeleteGrafanaDashboardOK) IsCode ¶
func (o *DeleteGrafanaDashboardOK) IsCode(code int) bool
IsCode returns true when this delete grafana dashboard o k response a status code equal to that given
func (*DeleteGrafanaDashboardOK) IsRedirect ¶
func (o *DeleteGrafanaDashboardOK) IsRedirect() bool
IsRedirect returns true when this delete grafana dashboard o k response has a 3xx status code
func (*DeleteGrafanaDashboardOK) IsServerError ¶
func (o *DeleteGrafanaDashboardOK) IsServerError() bool
IsServerError returns true when this delete grafana dashboard o k response has a 5xx status code
func (*DeleteGrafanaDashboardOK) IsSuccess ¶
func (o *DeleteGrafanaDashboardOK) IsSuccess() bool
IsSuccess returns true when this delete grafana dashboard o k response has a 2xx status code
func (*DeleteGrafanaDashboardOK) String ¶
func (o *DeleteGrafanaDashboardOK) String() string
type DeleteGrafanaDashboardParams ¶
type DeleteGrafanaDashboardParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteGrafanaDashboardParams contains all the parameters to send to the API endpoint
for the delete grafana dashboard operation. Typically these are written to a http.Request.
func NewDeleteGrafanaDashboardParams ¶
func NewDeleteGrafanaDashboardParams() *DeleteGrafanaDashboardParams
NewDeleteGrafanaDashboardParams creates a new DeleteGrafanaDashboardParams 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 NewDeleteGrafanaDashboardParamsWithContext ¶
func NewDeleteGrafanaDashboardParamsWithContext(ctx context.Context) *DeleteGrafanaDashboardParams
NewDeleteGrafanaDashboardParamsWithContext creates a new DeleteGrafanaDashboardParams object with the ability to set a context for a request.
func NewDeleteGrafanaDashboardParamsWithHTTPClient ¶
func NewDeleteGrafanaDashboardParamsWithHTTPClient(client *http.Client) *DeleteGrafanaDashboardParams
NewDeleteGrafanaDashboardParamsWithHTTPClient creates a new DeleteGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGrafanaDashboardParamsWithTimeout ¶
func NewDeleteGrafanaDashboardParamsWithTimeout(timeout time.Duration) *DeleteGrafanaDashboardParams
NewDeleteGrafanaDashboardParamsWithTimeout creates a new DeleteGrafanaDashboardParams object with the ability to set a timeout on a request.
func (*DeleteGrafanaDashboardParams) SetContext ¶
func (o *DeleteGrafanaDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) SetDefaults ¶
func (o *DeleteGrafanaDashboardParams) SetDefaults()
SetDefaults hydrates default values in the delete grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGrafanaDashboardParams) SetHTTPClient ¶
func (o *DeleteGrafanaDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) SetSlug ¶
func (o *DeleteGrafanaDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) SetTimeout ¶
func (o *DeleteGrafanaDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) WithContext ¶
func (o *DeleteGrafanaDashboardParams) WithContext(ctx context.Context) *DeleteGrafanaDashboardParams
WithContext adds the context to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) WithDefaults ¶
func (o *DeleteGrafanaDashboardParams) WithDefaults() *DeleteGrafanaDashboardParams
WithDefaults hydrates default values in the delete grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGrafanaDashboardParams) WithHTTPClient ¶
func (o *DeleteGrafanaDashboardParams) WithHTTPClient(client *http.Client) *DeleteGrafanaDashboardParams
WithHTTPClient adds the HTTPClient to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) WithSlug ¶
func (o *DeleteGrafanaDashboardParams) WithSlug(slug string) *DeleteGrafanaDashboardParams
WithSlug adds the slug to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) WithTimeout ¶
func (o *DeleteGrafanaDashboardParams) WithTimeout(timeout time.Duration) *DeleteGrafanaDashboardParams
WithTimeout adds the timeout to the delete grafana dashboard params
func (*DeleteGrafanaDashboardParams) WriteToRequest ¶
func (o *DeleteGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGrafanaDashboardReader ¶
type DeleteGrafanaDashboardReader struct {
// contains filtered or unexported fields
}
DeleteGrafanaDashboardReader is a Reader for the DeleteGrafanaDashboard structure.
func (*DeleteGrafanaDashboardReader) ReadResponse ¶
func (o *DeleteGrafanaDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGrafanaDashboardsDefault ¶
type ListGrafanaDashboardsDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListGrafanaDashboardsDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListGrafanaDashboardsDefault ¶
func NewListGrafanaDashboardsDefault(code int) *ListGrafanaDashboardsDefault
NewListGrafanaDashboardsDefault creates a ListGrafanaDashboardsDefault with default headers values
func (*ListGrafanaDashboardsDefault) Code ¶
func (o *ListGrafanaDashboardsDefault) Code() int
Code gets the status code for the list grafana dashboards default response
func (*ListGrafanaDashboardsDefault) Error ¶
func (o *ListGrafanaDashboardsDefault) Error() string
func (*ListGrafanaDashboardsDefault) GetPayload ¶
func (o *ListGrafanaDashboardsDefault) GetPayload() models.GenericError
func (*ListGrafanaDashboardsDefault) IsClientError ¶
func (o *ListGrafanaDashboardsDefault) IsClientError() bool
IsClientError returns true when this list grafana dashboards default response has a 4xx status code
func (*ListGrafanaDashboardsDefault) IsCode ¶
func (o *ListGrafanaDashboardsDefault) IsCode(code int) bool
IsCode returns true when this list grafana dashboards default response a status code equal to that given
func (*ListGrafanaDashboardsDefault) IsRedirect ¶
func (o *ListGrafanaDashboardsDefault) IsRedirect() bool
IsRedirect returns true when this list grafana dashboards default response has a 3xx status code
func (*ListGrafanaDashboardsDefault) IsServerError ¶
func (o *ListGrafanaDashboardsDefault) IsServerError() bool
IsServerError returns true when this list grafana dashboards default response has a 5xx status code
func (*ListGrafanaDashboardsDefault) IsSuccess ¶
func (o *ListGrafanaDashboardsDefault) IsSuccess() bool
IsSuccess returns true when this list grafana dashboards default response has a 2xx status code
func (*ListGrafanaDashboardsDefault) String ¶
func (o *ListGrafanaDashboardsDefault) String() string
type ListGrafanaDashboardsInternalServerError ¶
ListGrafanaDashboardsInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListGrafanaDashboardsInternalServerError ¶
func NewListGrafanaDashboardsInternalServerError() *ListGrafanaDashboardsInternalServerError
NewListGrafanaDashboardsInternalServerError creates a ListGrafanaDashboardsInternalServerError with default headers values
func (*ListGrafanaDashboardsInternalServerError) Code ¶
func (o *ListGrafanaDashboardsInternalServerError) Code() int
Code gets the status code for the list grafana dashboards internal server error response
func (*ListGrafanaDashboardsInternalServerError) Error ¶
func (o *ListGrafanaDashboardsInternalServerError) Error() string
func (*ListGrafanaDashboardsInternalServerError) GetPayload ¶
func (o *ListGrafanaDashboardsInternalServerError) GetPayload() *models.APIError
func (*ListGrafanaDashboardsInternalServerError) IsClientError ¶
func (o *ListGrafanaDashboardsInternalServerError) IsClientError() bool
IsClientError returns true when this list grafana dashboards internal server error response has a 4xx status code
func (*ListGrafanaDashboardsInternalServerError) IsCode ¶
func (o *ListGrafanaDashboardsInternalServerError) IsCode(code int) bool
IsCode returns true when this list grafana dashboards internal server error response a status code equal to that given
func (*ListGrafanaDashboardsInternalServerError) IsRedirect ¶
func (o *ListGrafanaDashboardsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list grafana dashboards internal server error response has a 3xx status code
func (*ListGrafanaDashboardsInternalServerError) IsServerError ¶
func (o *ListGrafanaDashboardsInternalServerError) IsServerError() bool
IsServerError returns true when this list grafana dashboards internal server error response has a 5xx status code
func (*ListGrafanaDashboardsInternalServerError) IsSuccess ¶
func (o *ListGrafanaDashboardsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list grafana dashboards internal server error response has a 2xx status code
func (*ListGrafanaDashboardsInternalServerError) String ¶
func (o *ListGrafanaDashboardsInternalServerError) String() string
type ListGrafanaDashboardsOK ¶
type ListGrafanaDashboardsOK struct {
Payload *models.Configv1ListGrafanaDashboardsResponse
}
ListGrafanaDashboardsOK describes a response with status code 200, with default header values.
A successful response.
func NewListGrafanaDashboardsOK ¶
func NewListGrafanaDashboardsOK() *ListGrafanaDashboardsOK
NewListGrafanaDashboardsOK creates a ListGrafanaDashboardsOK with default headers values
func (*ListGrafanaDashboardsOK) Code ¶
func (o *ListGrafanaDashboardsOK) Code() int
Code gets the status code for the list grafana dashboards o k response
func (*ListGrafanaDashboardsOK) Error ¶
func (o *ListGrafanaDashboardsOK) Error() string
func (*ListGrafanaDashboardsOK) GetPayload ¶
func (o *ListGrafanaDashboardsOK) GetPayload() *models.Configv1ListGrafanaDashboardsResponse
func (*ListGrafanaDashboardsOK) IsClientError ¶
func (o *ListGrafanaDashboardsOK) IsClientError() bool
IsClientError returns true when this list grafana dashboards o k response has a 4xx status code
func (*ListGrafanaDashboardsOK) IsCode ¶
func (o *ListGrafanaDashboardsOK) IsCode(code int) bool
IsCode returns true when this list grafana dashboards o k response a status code equal to that given
func (*ListGrafanaDashboardsOK) IsRedirect ¶
func (o *ListGrafanaDashboardsOK) IsRedirect() bool
IsRedirect returns true when this list grafana dashboards o k response has a 3xx status code
func (*ListGrafanaDashboardsOK) IsServerError ¶
func (o *ListGrafanaDashboardsOK) IsServerError() bool
IsServerError returns true when this list grafana dashboards o k response has a 5xx status code
func (*ListGrafanaDashboardsOK) IsSuccess ¶
func (o *ListGrafanaDashboardsOK) IsSuccess() bool
IsSuccess returns true when this list grafana dashboards o k response has a 2xx status code
func (*ListGrafanaDashboardsOK) String ¶
func (o *ListGrafanaDashboardsOK) String() string
type ListGrafanaDashboardsParams ¶
type ListGrafanaDashboardsParams struct { /* BucketSlugs. Filters results by bucket_slug, where any GrafanaDashboard with a matching bucket_slug in the given list (and matches all other filters) is returned. */ BucketSlugs []string /* CollectionSlugs. Filters results by collection_slug, where any GrafanaDashboard with a matching collection_slug in the given list (and matches all other filters) is returned. */ CollectionSlugs []string /* IncludeDashboardJSON. Optional flag to populate the dashboard_json of the returned dashboards. By default, dashboard_json will be left empty. */ IncludeDashboardJSON *bool /* Names. Filters results by name, where any GrafanaDashboard with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any GrafanaDashboard with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListGrafanaDashboardsParams contains all the parameters to send to the API endpoint
for the list grafana dashboards operation. Typically these are written to a http.Request.
func NewListGrafanaDashboardsParams ¶
func NewListGrafanaDashboardsParams() *ListGrafanaDashboardsParams
NewListGrafanaDashboardsParams creates a new ListGrafanaDashboardsParams 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 NewListGrafanaDashboardsParamsWithContext ¶
func NewListGrafanaDashboardsParamsWithContext(ctx context.Context) *ListGrafanaDashboardsParams
NewListGrafanaDashboardsParamsWithContext creates a new ListGrafanaDashboardsParams object with the ability to set a context for a request.
func NewListGrafanaDashboardsParamsWithHTTPClient ¶
func NewListGrafanaDashboardsParamsWithHTTPClient(client *http.Client) *ListGrafanaDashboardsParams
NewListGrafanaDashboardsParamsWithHTTPClient creates a new ListGrafanaDashboardsParams object with the ability to set a custom HTTPClient for a request.
func NewListGrafanaDashboardsParamsWithTimeout ¶
func NewListGrafanaDashboardsParamsWithTimeout(timeout time.Duration) *ListGrafanaDashboardsParams
NewListGrafanaDashboardsParamsWithTimeout creates a new ListGrafanaDashboardsParams object with the ability to set a timeout on a request.
func (*ListGrafanaDashboardsParams) SetBucketSlugs ¶
func (o *ListGrafanaDashboardsParams) SetBucketSlugs(bucketSlugs []string)
SetBucketSlugs adds the bucketSlugs to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetCollectionSlugs ¶
func (o *ListGrafanaDashboardsParams) SetCollectionSlugs(collectionSlugs []string)
SetCollectionSlugs adds the collectionSlugs to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetContext ¶
func (o *ListGrafanaDashboardsParams) SetContext(ctx context.Context)
SetContext adds the context to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetDefaults ¶
func (o *ListGrafanaDashboardsParams) SetDefaults()
SetDefaults hydrates default values in the list grafana dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListGrafanaDashboardsParams) SetHTTPClient ¶
func (o *ListGrafanaDashboardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetIncludeDashboardJSON ¶
func (o *ListGrafanaDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)
SetIncludeDashboardJSON adds the includeDashboardJson to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetNames ¶
func (o *ListGrafanaDashboardsParams) SetNames(names []string)
SetNames adds the names to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetPageMaxSize ¶
func (o *ListGrafanaDashboardsParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetPageToken ¶
func (o *ListGrafanaDashboardsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetSlugs ¶
func (o *ListGrafanaDashboardsParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) SetTimeout ¶
func (o *ListGrafanaDashboardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithBucketSlugs ¶
func (o *ListGrafanaDashboardsParams) WithBucketSlugs(bucketSlugs []string) *ListGrafanaDashboardsParams
WithBucketSlugs adds the bucketSlugs to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithCollectionSlugs ¶
func (o *ListGrafanaDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListGrafanaDashboardsParams
WithCollectionSlugs adds the collectionSlugs to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithContext ¶
func (o *ListGrafanaDashboardsParams) WithContext(ctx context.Context) *ListGrafanaDashboardsParams
WithContext adds the context to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithDefaults ¶
func (o *ListGrafanaDashboardsParams) WithDefaults() *ListGrafanaDashboardsParams
WithDefaults hydrates default values in the list grafana dashboards params (not the query body).
All values with no default are reset to their zero value.
func (*ListGrafanaDashboardsParams) WithHTTPClient ¶
func (o *ListGrafanaDashboardsParams) WithHTTPClient(client *http.Client) *ListGrafanaDashboardsParams
WithHTTPClient adds the HTTPClient to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithIncludeDashboardJSON ¶
func (o *ListGrafanaDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListGrafanaDashboardsParams
WithIncludeDashboardJSON adds the includeDashboardJSON to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithNames ¶
func (o *ListGrafanaDashboardsParams) WithNames(names []string) *ListGrafanaDashboardsParams
WithNames adds the names to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithPageMaxSize ¶
func (o *ListGrafanaDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListGrafanaDashboardsParams
WithPageMaxSize adds the pageMaxSize to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithPageToken ¶
func (o *ListGrafanaDashboardsParams) WithPageToken(pageToken *string) *ListGrafanaDashboardsParams
WithPageToken adds the pageToken to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithSlugs ¶
func (o *ListGrafanaDashboardsParams) WithSlugs(slugs []string) *ListGrafanaDashboardsParams
WithSlugs adds the slugs to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WithTimeout ¶
func (o *ListGrafanaDashboardsParams) WithTimeout(timeout time.Duration) *ListGrafanaDashboardsParams
WithTimeout adds the timeout to the list grafana dashboards params
func (*ListGrafanaDashboardsParams) WriteToRequest ¶
func (o *ListGrafanaDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGrafanaDashboardsReader ¶
type ListGrafanaDashboardsReader struct {
// contains filtered or unexported fields
}
ListGrafanaDashboardsReader is a Reader for the ListGrafanaDashboards structure.
func (*ListGrafanaDashboardsReader) ReadResponse ¶
func (o *ListGrafanaDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadGrafanaDashboardDefault ¶
type ReadGrafanaDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadGrafanaDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadGrafanaDashboardDefault ¶
func NewReadGrafanaDashboardDefault(code int) *ReadGrafanaDashboardDefault
NewReadGrafanaDashboardDefault creates a ReadGrafanaDashboardDefault with default headers values
func (*ReadGrafanaDashboardDefault) Code ¶
func (o *ReadGrafanaDashboardDefault) Code() int
Code gets the status code for the read grafana dashboard default response
func (*ReadGrafanaDashboardDefault) Error ¶
func (o *ReadGrafanaDashboardDefault) Error() string
func (*ReadGrafanaDashboardDefault) GetPayload ¶
func (o *ReadGrafanaDashboardDefault) GetPayload() models.GenericError
func (*ReadGrafanaDashboardDefault) IsClientError ¶
func (o *ReadGrafanaDashboardDefault) IsClientError() bool
IsClientError returns true when this read grafana dashboard default response has a 4xx status code
func (*ReadGrafanaDashboardDefault) IsCode ¶
func (o *ReadGrafanaDashboardDefault) IsCode(code int) bool
IsCode returns true when this read grafana dashboard default response a status code equal to that given
func (*ReadGrafanaDashboardDefault) IsRedirect ¶
func (o *ReadGrafanaDashboardDefault) IsRedirect() bool
IsRedirect returns true when this read grafana dashboard default response has a 3xx status code
func (*ReadGrafanaDashboardDefault) IsServerError ¶
func (o *ReadGrafanaDashboardDefault) IsServerError() bool
IsServerError returns true when this read grafana dashboard default response has a 5xx status code
func (*ReadGrafanaDashboardDefault) IsSuccess ¶
func (o *ReadGrafanaDashboardDefault) IsSuccess() bool
IsSuccess returns true when this read grafana dashboard default response has a 2xx status code
func (*ReadGrafanaDashboardDefault) String ¶
func (o *ReadGrafanaDashboardDefault) String() string
type ReadGrafanaDashboardInternalServerError ¶
ReadGrafanaDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadGrafanaDashboardInternalServerError ¶
func NewReadGrafanaDashboardInternalServerError() *ReadGrafanaDashboardInternalServerError
NewReadGrafanaDashboardInternalServerError creates a ReadGrafanaDashboardInternalServerError with default headers values
func (*ReadGrafanaDashboardInternalServerError) Code ¶
func (o *ReadGrafanaDashboardInternalServerError) Code() int
Code gets the status code for the read grafana dashboard internal server error response
func (*ReadGrafanaDashboardInternalServerError) Error ¶
func (o *ReadGrafanaDashboardInternalServerError) Error() string
func (*ReadGrafanaDashboardInternalServerError) GetPayload ¶
func (o *ReadGrafanaDashboardInternalServerError) GetPayload() *models.APIError
func (*ReadGrafanaDashboardInternalServerError) IsClientError ¶
func (o *ReadGrafanaDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this read grafana dashboard internal server error response has a 4xx status code
func (*ReadGrafanaDashboardInternalServerError) IsCode ¶
func (o *ReadGrafanaDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this read grafana dashboard internal server error response a status code equal to that given
func (*ReadGrafanaDashboardInternalServerError) IsRedirect ¶
func (o *ReadGrafanaDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this read grafana dashboard internal server error response has a 3xx status code
func (*ReadGrafanaDashboardInternalServerError) IsServerError ¶
func (o *ReadGrafanaDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this read grafana dashboard internal server error response has a 5xx status code
func (*ReadGrafanaDashboardInternalServerError) IsSuccess ¶
func (o *ReadGrafanaDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this read grafana dashboard internal server error response has a 2xx status code
func (*ReadGrafanaDashboardInternalServerError) String ¶
func (o *ReadGrafanaDashboardInternalServerError) String() string
type ReadGrafanaDashboardNotFound ¶
ReadGrafanaDashboardNotFound describes a response with status code 404, with default header values.
Cannot read the GrafanaDashboard because the slug does not exist.
func NewReadGrafanaDashboardNotFound ¶
func NewReadGrafanaDashboardNotFound() *ReadGrafanaDashboardNotFound
NewReadGrafanaDashboardNotFound creates a ReadGrafanaDashboardNotFound with default headers values
func (*ReadGrafanaDashboardNotFound) Code ¶
func (o *ReadGrafanaDashboardNotFound) Code() int
Code gets the status code for the read grafana dashboard not found response
func (*ReadGrafanaDashboardNotFound) Error ¶
func (o *ReadGrafanaDashboardNotFound) Error() string
func (*ReadGrafanaDashboardNotFound) GetPayload ¶
func (o *ReadGrafanaDashboardNotFound) GetPayload() *models.APIError
func (*ReadGrafanaDashboardNotFound) IsClientError ¶
func (o *ReadGrafanaDashboardNotFound) IsClientError() bool
IsClientError returns true when this read grafana dashboard not found response has a 4xx status code
func (*ReadGrafanaDashboardNotFound) IsCode ¶
func (o *ReadGrafanaDashboardNotFound) IsCode(code int) bool
IsCode returns true when this read grafana dashboard not found response a status code equal to that given
func (*ReadGrafanaDashboardNotFound) IsRedirect ¶
func (o *ReadGrafanaDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this read grafana dashboard not found response has a 3xx status code
func (*ReadGrafanaDashboardNotFound) IsServerError ¶
func (o *ReadGrafanaDashboardNotFound) IsServerError() bool
IsServerError returns true when this read grafana dashboard not found response has a 5xx status code
func (*ReadGrafanaDashboardNotFound) IsSuccess ¶
func (o *ReadGrafanaDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this read grafana dashboard not found response has a 2xx status code
func (*ReadGrafanaDashboardNotFound) String ¶
func (o *ReadGrafanaDashboardNotFound) String() string
type ReadGrafanaDashboardOK ¶
type ReadGrafanaDashboardOK struct {
Payload *models.Configv1ReadGrafanaDashboardResponse
}
ReadGrafanaDashboardOK describes a response with status code 200, with default header values.
A successful response.
func NewReadGrafanaDashboardOK ¶
func NewReadGrafanaDashboardOK() *ReadGrafanaDashboardOK
NewReadGrafanaDashboardOK creates a ReadGrafanaDashboardOK with default headers values
func (*ReadGrafanaDashboardOK) Code ¶
func (o *ReadGrafanaDashboardOK) Code() int
Code gets the status code for the read grafana dashboard o k response
func (*ReadGrafanaDashboardOK) Error ¶
func (o *ReadGrafanaDashboardOK) Error() string
func (*ReadGrafanaDashboardOK) GetPayload ¶
func (o *ReadGrafanaDashboardOK) GetPayload() *models.Configv1ReadGrafanaDashboardResponse
func (*ReadGrafanaDashboardOK) IsClientError ¶
func (o *ReadGrafanaDashboardOK) IsClientError() bool
IsClientError returns true when this read grafana dashboard o k response has a 4xx status code
func (*ReadGrafanaDashboardOK) IsCode ¶
func (o *ReadGrafanaDashboardOK) IsCode(code int) bool
IsCode returns true when this read grafana dashboard o k response a status code equal to that given
func (*ReadGrafanaDashboardOK) IsRedirect ¶
func (o *ReadGrafanaDashboardOK) IsRedirect() bool
IsRedirect returns true when this read grafana dashboard o k response has a 3xx status code
func (*ReadGrafanaDashboardOK) IsServerError ¶
func (o *ReadGrafanaDashboardOK) IsServerError() bool
IsServerError returns true when this read grafana dashboard o k response has a 5xx status code
func (*ReadGrafanaDashboardOK) IsSuccess ¶
func (o *ReadGrafanaDashboardOK) IsSuccess() bool
IsSuccess returns true when this read grafana dashboard o k response has a 2xx status code
func (*ReadGrafanaDashboardOK) String ¶
func (o *ReadGrafanaDashboardOK) String() string
type ReadGrafanaDashboardParams ¶
type ReadGrafanaDashboardParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadGrafanaDashboardParams contains all the parameters to send to the API endpoint
for the read grafana dashboard operation. Typically these are written to a http.Request.
func NewReadGrafanaDashboardParams ¶
func NewReadGrafanaDashboardParams() *ReadGrafanaDashboardParams
NewReadGrafanaDashboardParams creates a new ReadGrafanaDashboardParams 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 NewReadGrafanaDashboardParamsWithContext ¶
func NewReadGrafanaDashboardParamsWithContext(ctx context.Context) *ReadGrafanaDashboardParams
NewReadGrafanaDashboardParamsWithContext creates a new ReadGrafanaDashboardParams object with the ability to set a context for a request.
func NewReadGrafanaDashboardParamsWithHTTPClient ¶
func NewReadGrafanaDashboardParamsWithHTTPClient(client *http.Client) *ReadGrafanaDashboardParams
NewReadGrafanaDashboardParamsWithHTTPClient creates a new ReadGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewReadGrafanaDashboardParamsWithTimeout ¶
func NewReadGrafanaDashboardParamsWithTimeout(timeout time.Duration) *ReadGrafanaDashboardParams
NewReadGrafanaDashboardParamsWithTimeout creates a new ReadGrafanaDashboardParams object with the ability to set a timeout on a request.
func (*ReadGrafanaDashboardParams) SetContext ¶
func (o *ReadGrafanaDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) SetDefaults ¶
func (o *ReadGrafanaDashboardParams) SetDefaults()
SetDefaults hydrates default values in the read grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ReadGrafanaDashboardParams) SetHTTPClient ¶
func (o *ReadGrafanaDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) SetSlug ¶
func (o *ReadGrafanaDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) SetTimeout ¶
func (o *ReadGrafanaDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) WithContext ¶
func (o *ReadGrafanaDashboardParams) WithContext(ctx context.Context) *ReadGrafanaDashboardParams
WithContext adds the context to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) WithDefaults ¶
func (o *ReadGrafanaDashboardParams) WithDefaults() *ReadGrafanaDashboardParams
WithDefaults hydrates default values in the read grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*ReadGrafanaDashboardParams) WithHTTPClient ¶
func (o *ReadGrafanaDashboardParams) WithHTTPClient(client *http.Client) *ReadGrafanaDashboardParams
WithHTTPClient adds the HTTPClient to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) WithSlug ¶
func (o *ReadGrafanaDashboardParams) WithSlug(slug string) *ReadGrafanaDashboardParams
WithSlug adds the slug to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) WithTimeout ¶
func (o *ReadGrafanaDashboardParams) WithTimeout(timeout time.Duration) *ReadGrafanaDashboardParams
WithTimeout adds the timeout to the read grafana dashboard params
func (*ReadGrafanaDashboardParams) WriteToRequest ¶
func (o *ReadGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadGrafanaDashboardReader ¶
type ReadGrafanaDashboardReader struct {
// contains filtered or unexported fields
}
ReadGrafanaDashboardReader is a Reader for the ReadGrafanaDashboard structure.
func (*ReadGrafanaDashboardReader) ReadResponse ¶
func (o *ReadGrafanaDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGrafanaDashboardBadRequest ¶
UpdateGrafanaDashboardBadRequest describes a response with status code 400, with default header values.
Cannot update the GrafanaDashboard because the request is invalid.
func NewUpdateGrafanaDashboardBadRequest ¶
func NewUpdateGrafanaDashboardBadRequest() *UpdateGrafanaDashboardBadRequest
NewUpdateGrafanaDashboardBadRequest creates a UpdateGrafanaDashboardBadRequest with default headers values
func (*UpdateGrafanaDashboardBadRequest) Code ¶
func (o *UpdateGrafanaDashboardBadRequest) Code() int
Code gets the status code for the update grafana dashboard bad request response
func (*UpdateGrafanaDashboardBadRequest) Error ¶
func (o *UpdateGrafanaDashboardBadRequest) Error() string
func (*UpdateGrafanaDashboardBadRequest) GetPayload ¶
func (o *UpdateGrafanaDashboardBadRequest) GetPayload() *models.APIError
func (*UpdateGrafanaDashboardBadRequest) IsClientError ¶
func (o *UpdateGrafanaDashboardBadRequest) IsClientError() bool
IsClientError returns true when this update grafana dashboard bad request response has a 4xx status code
func (*UpdateGrafanaDashboardBadRequest) IsCode ¶
func (o *UpdateGrafanaDashboardBadRequest) IsCode(code int) bool
IsCode returns true when this update grafana dashboard bad request response a status code equal to that given
func (*UpdateGrafanaDashboardBadRequest) IsRedirect ¶
func (o *UpdateGrafanaDashboardBadRequest) IsRedirect() bool
IsRedirect returns true when this update grafana dashboard bad request response has a 3xx status code
func (*UpdateGrafanaDashboardBadRequest) IsServerError ¶
func (o *UpdateGrafanaDashboardBadRequest) IsServerError() bool
IsServerError returns true when this update grafana dashboard bad request response has a 5xx status code
func (*UpdateGrafanaDashboardBadRequest) IsSuccess ¶
func (o *UpdateGrafanaDashboardBadRequest) IsSuccess() bool
IsSuccess returns true when this update grafana dashboard bad request response has a 2xx status code
func (*UpdateGrafanaDashboardBadRequest) String ¶
func (o *UpdateGrafanaDashboardBadRequest) String() string
type UpdateGrafanaDashboardConflict ¶
UpdateGrafanaDashboardConflict describes a response with status code 409, with default header values.
Cannot update the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.
func NewUpdateGrafanaDashboardConflict ¶
func NewUpdateGrafanaDashboardConflict() *UpdateGrafanaDashboardConflict
NewUpdateGrafanaDashboardConflict creates a UpdateGrafanaDashboardConflict with default headers values
func (*UpdateGrafanaDashboardConflict) Code ¶
func (o *UpdateGrafanaDashboardConflict) Code() int
Code gets the status code for the update grafana dashboard conflict response
func (*UpdateGrafanaDashboardConflict) Error ¶
func (o *UpdateGrafanaDashboardConflict) Error() string
func (*UpdateGrafanaDashboardConflict) GetPayload ¶
func (o *UpdateGrafanaDashboardConflict) GetPayload() *models.APIError
func (*UpdateGrafanaDashboardConflict) IsClientError ¶
func (o *UpdateGrafanaDashboardConflict) IsClientError() bool
IsClientError returns true when this update grafana dashboard conflict response has a 4xx status code
func (*UpdateGrafanaDashboardConflict) IsCode ¶
func (o *UpdateGrafanaDashboardConflict) IsCode(code int) bool
IsCode returns true when this update grafana dashboard conflict response a status code equal to that given
func (*UpdateGrafanaDashboardConflict) IsRedirect ¶
func (o *UpdateGrafanaDashboardConflict) IsRedirect() bool
IsRedirect returns true when this update grafana dashboard conflict response has a 3xx status code
func (*UpdateGrafanaDashboardConflict) IsServerError ¶
func (o *UpdateGrafanaDashboardConflict) IsServerError() bool
IsServerError returns true when this update grafana dashboard conflict response has a 5xx status code
func (*UpdateGrafanaDashboardConflict) IsSuccess ¶
func (o *UpdateGrafanaDashboardConflict) IsSuccess() bool
IsSuccess returns true when this update grafana dashboard conflict response has a 2xx status code
func (*UpdateGrafanaDashboardConflict) String ¶
func (o *UpdateGrafanaDashboardConflict) String() string
type UpdateGrafanaDashboardDefault ¶
type UpdateGrafanaDashboardDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateGrafanaDashboardDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateGrafanaDashboardDefault ¶
func NewUpdateGrafanaDashboardDefault(code int) *UpdateGrafanaDashboardDefault
NewUpdateGrafanaDashboardDefault creates a UpdateGrafanaDashboardDefault with default headers values
func (*UpdateGrafanaDashboardDefault) Code ¶
func (o *UpdateGrafanaDashboardDefault) Code() int
Code gets the status code for the update grafana dashboard default response
func (*UpdateGrafanaDashboardDefault) Error ¶
func (o *UpdateGrafanaDashboardDefault) Error() string
func (*UpdateGrafanaDashboardDefault) GetPayload ¶
func (o *UpdateGrafanaDashboardDefault) GetPayload() models.GenericError
func (*UpdateGrafanaDashboardDefault) IsClientError ¶
func (o *UpdateGrafanaDashboardDefault) IsClientError() bool
IsClientError returns true when this update grafana dashboard default response has a 4xx status code
func (*UpdateGrafanaDashboardDefault) IsCode ¶
func (o *UpdateGrafanaDashboardDefault) IsCode(code int) bool
IsCode returns true when this update grafana dashboard default response a status code equal to that given
func (*UpdateGrafanaDashboardDefault) IsRedirect ¶
func (o *UpdateGrafanaDashboardDefault) IsRedirect() bool
IsRedirect returns true when this update grafana dashboard default response has a 3xx status code
func (*UpdateGrafanaDashboardDefault) IsServerError ¶
func (o *UpdateGrafanaDashboardDefault) IsServerError() bool
IsServerError returns true when this update grafana dashboard default response has a 5xx status code
func (*UpdateGrafanaDashboardDefault) IsSuccess ¶
func (o *UpdateGrafanaDashboardDefault) IsSuccess() bool
IsSuccess returns true when this update grafana dashboard default response has a 2xx status code
func (*UpdateGrafanaDashboardDefault) String ¶
func (o *UpdateGrafanaDashboardDefault) String() string
type UpdateGrafanaDashboardInternalServerError ¶
UpdateGrafanaDashboardInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateGrafanaDashboardInternalServerError ¶
func NewUpdateGrafanaDashboardInternalServerError() *UpdateGrafanaDashboardInternalServerError
NewUpdateGrafanaDashboardInternalServerError creates a UpdateGrafanaDashboardInternalServerError with default headers values
func (*UpdateGrafanaDashboardInternalServerError) Code ¶
func (o *UpdateGrafanaDashboardInternalServerError) Code() int
Code gets the status code for the update grafana dashboard internal server error response
func (*UpdateGrafanaDashboardInternalServerError) Error ¶
func (o *UpdateGrafanaDashboardInternalServerError) Error() string
func (*UpdateGrafanaDashboardInternalServerError) GetPayload ¶
func (o *UpdateGrafanaDashboardInternalServerError) GetPayload() *models.APIError
func (*UpdateGrafanaDashboardInternalServerError) IsClientError ¶
func (o *UpdateGrafanaDashboardInternalServerError) IsClientError() bool
IsClientError returns true when this update grafana dashboard internal server error response has a 4xx status code
func (*UpdateGrafanaDashboardInternalServerError) IsCode ¶
func (o *UpdateGrafanaDashboardInternalServerError) IsCode(code int) bool
IsCode returns true when this update grafana dashboard internal server error response a status code equal to that given
func (*UpdateGrafanaDashboardInternalServerError) IsRedirect ¶
func (o *UpdateGrafanaDashboardInternalServerError) IsRedirect() bool
IsRedirect returns true when this update grafana dashboard internal server error response has a 3xx status code
func (*UpdateGrafanaDashboardInternalServerError) IsServerError ¶
func (o *UpdateGrafanaDashboardInternalServerError) IsServerError() bool
IsServerError returns true when this update grafana dashboard internal server error response has a 5xx status code
func (*UpdateGrafanaDashboardInternalServerError) IsSuccess ¶
func (o *UpdateGrafanaDashboardInternalServerError) IsSuccess() bool
IsSuccess returns true when this update grafana dashboard internal server error response has a 2xx status code
func (*UpdateGrafanaDashboardInternalServerError) String ¶
func (o *UpdateGrafanaDashboardInternalServerError) String() string
type UpdateGrafanaDashboardNotFound ¶
UpdateGrafanaDashboardNotFound describes a response with status code 404, with default header values.
Cannot update the GrafanaDashboard because the slug does not exist.
func NewUpdateGrafanaDashboardNotFound ¶
func NewUpdateGrafanaDashboardNotFound() *UpdateGrafanaDashboardNotFound
NewUpdateGrafanaDashboardNotFound creates a UpdateGrafanaDashboardNotFound with default headers values
func (*UpdateGrafanaDashboardNotFound) Code ¶
func (o *UpdateGrafanaDashboardNotFound) Code() int
Code gets the status code for the update grafana dashboard not found response
func (*UpdateGrafanaDashboardNotFound) Error ¶
func (o *UpdateGrafanaDashboardNotFound) Error() string
func (*UpdateGrafanaDashboardNotFound) GetPayload ¶
func (o *UpdateGrafanaDashboardNotFound) GetPayload() *models.APIError
func (*UpdateGrafanaDashboardNotFound) IsClientError ¶
func (o *UpdateGrafanaDashboardNotFound) IsClientError() bool
IsClientError returns true when this update grafana dashboard not found response has a 4xx status code
func (*UpdateGrafanaDashboardNotFound) IsCode ¶
func (o *UpdateGrafanaDashboardNotFound) IsCode(code int) bool
IsCode returns true when this update grafana dashboard not found response a status code equal to that given
func (*UpdateGrafanaDashboardNotFound) IsRedirect ¶
func (o *UpdateGrafanaDashboardNotFound) IsRedirect() bool
IsRedirect returns true when this update grafana dashboard not found response has a 3xx status code
func (*UpdateGrafanaDashboardNotFound) IsServerError ¶
func (o *UpdateGrafanaDashboardNotFound) IsServerError() bool
IsServerError returns true when this update grafana dashboard not found response has a 5xx status code
func (*UpdateGrafanaDashboardNotFound) IsSuccess ¶
func (o *UpdateGrafanaDashboardNotFound) IsSuccess() bool
IsSuccess returns true when this update grafana dashboard not found response has a 2xx status code
func (*UpdateGrafanaDashboardNotFound) String ¶
func (o *UpdateGrafanaDashboardNotFound) String() string
type UpdateGrafanaDashboardOK ¶
type UpdateGrafanaDashboardOK struct {
Payload *models.Configv1UpdateGrafanaDashboardResponse
}
UpdateGrafanaDashboardOK describes a response with status code 200, with default header values.
A successful response containing the updated GrafanaDashboard.
func NewUpdateGrafanaDashboardOK ¶
func NewUpdateGrafanaDashboardOK() *UpdateGrafanaDashboardOK
NewUpdateGrafanaDashboardOK creates a UpdateGrafanaDashboardOK with default headers values
func (*UpdateGrafanaDashboardOK) Code ¶
func (o *UpdateGrafanaDashboardOK) Code() int
Code gets the status code for the update grafana dashboard o k response
func (*UpdateGrafanaDashboardOK) Error ¶
func (o *UpdateGrafanaDashboardOK) Error() string
func (*UpdateGrafanaDashboardOK) GetPayload ¶
func (o *UpdateGrafanaDashboardOK) GetPayload() *models.Configv1UpdateGrafanaDashboardResponse
func (*UpdateGrafanaDashboardOK) IsClientError ¶
func (o *UpdateGrafanaDashboardOK) IsClientError() bool
IsClientError returns true when this update grafana dashboard o k response has a 4xx status code
func (*UpdateGrafanaDashboardOK) IsCode ¶
func (o *UpdateGrafanaDashboardOK) IsCode(code int) bool
IsCode returns true when this update grafana dashboard o k response a status code equal to that given
func (*UpdateGrafanaDashboardOK) IsRedirect ¶
func (o *UpdateGrafanaDashboardOK) IsRedirect() bool
IsRedirect returns true when this update grafana dashboard o k response has a 3xx status code
func (*UpdateGrafanaDashboardOK) IsServerError ¶
func (o *UpdateGrafanaDashboardOK) IsServerError() bool
IsServerError returns true when this update grafana dashboard o k response has a 5xx status code
func (*UpdateGrafanaDashboardOK) IsSuccess ¶
func (o *UpdateGrafanaDashboardOK) IsSuccess() bool
IsSuccess returns true when this update grafana dashboard o k response has a 2xx status code
func (*UpdateGrafanaDashboardOK) String ¶
func (o *UpdateGrafanaDashboardOK) String() string
type UpdateGrafanaDashboardParams ¶
type UpdateGrafanaDashboardParams struct { // Body. Body *models.ConfigV1UpdateGrafanaDashboardBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGrafanaDashboardParams contains all the parameters to send to the API endpoint
for the update grafana dashboard operation. Typically these are written to a http.Request.
func NewUpdateGrafanaDashboardParams ¶
func NewUpdateGrafanaDashboardParams() *UpdateGrafanaDashboardParams
NewUpdateGrafanaDashboardParams creates a new UpdateGrafanaDashboardParams 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 NewUpdateGrafanaDashboardParamsWithContext ¶
func NewUpdateGrafanaDashboardParamsWithContext(ctx context.Context) *UpdateGrafanaDashboardParams
NewUpdateGrafanaDashboardParamsWithContext creates a new UpdateGrafanaDashboardParams object with the ability to set a context for a request.
func NewUpdateGrafanaDashboardParamsWithHTTPClient ¶
func NewUpdateGrafanaDashboardParamsWithHTTPClient(client *http.Client) *UpdateGrafanaDashboardParams
NewUpdateGrafanaDashboardParamsWithHTTPClient creates a new UpdateGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGrafanaDashboardParamsWithTimeout ¶
func NewUpdateGrafanaDashboardParamsWithTimeout(timeout time.Duration) *UpdateGrafanaDashboardParams
NewUpdateGrafanaDashboardParamsWithTimeout creates a new UpdateGrafanaDashboardParams object with the ability to set a timeout on a request.
func (*UpdateGrafanaDashboardParams) SetBody ¶
func (o *UpdateGrafanaDashboardParams) SetBody(body *models.ConfigV1UpdateGrafanaDashboardBody)
SetBody adds the body to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) SetContext ¶
func (o *UpdateGrafanaDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) SetDefaults ¶
func (o *UpdateGrafanaDashboardParams) SetDefaults()
SetDefaults hydrates default values in the update grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGrafanaDashboardParams) SetHTTPClient ¶
func (o *UpdateGrafanaDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) SetSlug ¶
func (o *UpdateGrafanaDashboardParams) SetSlug(slug string)
SetSlug adds the slug to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) SetTimeout ¶
func (o *UpdateGrafanaDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) WithBody ¶
func (o *UpdateGrafanaDashboardParams) WithBody(body *models.ConfigV1UpdateGrafanaDashboardBody) *UpdateGrafanaDashboardParams
WithBody adds the body to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) WithContext ¶
func (o *UpdateGrafanaDashboardParams) WithContext(ctx context.Context) *UpdateGrafanaDashboardParams
WithContext adds the context to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) WithDefaults ¶
func (o *UpdateGrafanaDashboardParams) WithDefaults() *UpdateGrafanaDashboardParams
WithDefaults hydrates default values in the update grafana dashboard params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGrafanaDashboardParams) WithHTTPClient ¶
func (o *UpdateGrafanaDashboardParams) WithHTTPClient(client *http.Client) *UpdateGrafanaDashboardParams
WithHTTPClient adds the HTTPClient to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) WithSlug ¶
func (o *UpdateGrafanaDashboardParams) WithSlug(slug string) *UpdateGrafanaDashboardParams
WithSlug adds the slug to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) WithTimeout ¶
func (o *UpdateGrafanaDashboardParams) WithTimeout(timeout time.Duration) *UpdateGrafanaDashboardParams
WithTimeout adds the timeout to the update grafana dashboard params
func (*UpdateGrafanaDashboardParams) WriteToRequest ¶
func (o *UpdateGrafanaDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGrafanaDashboardReader ¶
type UpdateGrafanaDashboardReader struct {
// contains filtered or unexported fields
}
UpdateGrafanaDashboardReader is a Reader for the UpdateGrafanaDashboard structure.
func (*UpdateGrafanaDashboardReader) ReadResponse ¶
func (o *UpdateGrafanaDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_grafana_dashboard_parameters.go
- create_grafana_dashboard_responses.go
- delete_grafana_dashboard_parameters.go
- delete_grafana_dashboard_responses.go
- grafana_dashboard_client.go
- list_grafana_dashboards_parameters.go
- list_grafana_dashboards_responses.go
- read_grafana_dashboard_parameters.go
- read_grafana_dashboard_responses.go
- update_grafana_dashboard_parameters.go
- update_grafana_dashboard_responses.go