admin_provisioning

package
v0.0.0-...-59d2d35 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminProvisioningReloadDashboardsForbidden

type AdminProvisioningReloadDashboardsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewAdminProvisioningReloadDashboardsForbidden

func NewAdminProvisioningReloadDashboardsForbidden() *AdminProvisioningReloadDashboardsForbidden

NewAdminProvisioningReloadDashboardsForbidden creates a AdminProvisioningReloadDashboardsForbidden with default headers values

func (*AdminProvisioningReloadDashboardsForbidden) Code

Code gets the status code for the admin provisioning reload dashboards forbidden response

func (*AdminProvisioningReloadDashboardsForbidden) Error

func (*AdminProvisioningReloadDashboardsForbidden) GetPayload

func (*AdminProvisioningReloadDashboardsForbidden) IsClientError

IsClientError returns true when this admin provisioning reload dashboards forbidden response has a 4xx status code

func (*AdminProvisioningReloadDashboardsForbidden) IsCode

IsCode returns true when this admin provisioning reload dashboards forbidden response a status code equal to that given

func (*AdminProvisioningReloadDashboardsForbidden) IsRedirect

IsRedirect returns true when this admin provisioning reload dashboards forbidden response has a 3xx status code

func (*AdminProvisioningReloadDashboardsForbidden) IsServerError

IsServerError returns true when this admin provisioning reload dashboards forbidden response has a 5xx status code

func (*AdminProvisioningReloadDashboardsForbidden) IsSuccess

IsSuccess returns true when this admin provisioning reload dashboards forbidden response has a 2xx status code

func (*AdminProvisioningReloadDashboardsForbidden) String

type AdminProvisioningReloadDashboardsInternalServerError

type AdminProvisioningReloadDashboardsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

AdminProvisioningReloadDashboardsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewAdminProvisioningReloadDashboardsInternalServerError

func NewAdminProvisioningReloadDashboardsInternalServerError() *AdminProvisioningReloadDashboardsInternalServerError

NewAdminProvisioningReloadDashboardsInternalServerError creates a AdminProvisioningReloadDashboardsInternalServerError with default headers values

func (*AdminProvisioningReloadDashboardsInternalServerError) Code

Code gets the status code for the admin provisioning reload dashboards internal server error response

func (*AdminProvisioningReloadDashboardsInternalServerError) Error

func (*AdminProvisioningReloadDashboardsInternalServerError) GetPayload

func (*AdminProvisioningReloadDashboardsInternalServerError) IsClientError

IsClientError returns true when this admin provisioning reload dashboards internal server error response has a 4xx status code

func (*AdminProvisioningReloadDashboardsInternalServerError) IsCode

IsCode returns true when this admin provisioning reload dashboards internal server error response a status code equal to that given

func (*AdminProvisioningReloadDashboardsInternalServerError) IsRedirect

IsRedirect returns true when this admin provisioning reload dashboards internal server error response has a 3xx status code

func (*AdminProvisioningReloadDashboardsInternalServerError) IsServerError

IsServerError returns true when this admin provisioning reload dashboards internal server error response has a 5xx status code

func (*AdminProvisioningReloadDashboardsInternalServerError) IsSuccess

IsSuccess returns true when this admin provisioning reload dashboards internal server error response has a 2xx status code

func (*AdminProvisioningReloadDashboardsInternalServerError) String

type AdminProvisioningReloadDashboardsOK

type AdminProvisioningReloadDashboardsOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewAdminProvisioningReloadDashboardsOK

func NewAdminProvisioningReloadDashboardsOK() *AdminProvisioningReloadDashboardsOK

NewAdminProvisioningReloadDashboardsOK creates a AdminProvisioningReloadDashboardsOK with default headers values

func (*AdminProvisioningReloadDashboardsOK) Code

Code gets the status code for the admin provisioning reload dashboards Ok response

func (*AdminProvisioningReloadDashboardsOK) Error

func (*AdminProvisioningReloadDashboardsOK) GetPayload

func (*AdminProvisioningReloadDashboardsOK) IsClientError

func (o *AdminProvisioningReloadDashboardsOK) IsClientError() bool

IsClientError returns true when this admin provisioning reload dashboards Ok response has a 4xx status code

func (*AdminProvisioningReloadDashboardsOK) IsCode

IsCode returns true when this admin provisioning reload dashboards Ok response a status code equal to that given

func (*AdminProvisioningReloadDashboardsOK) IsRedirect

func (o *AdminProvisioningReloadDashboardsOK) IsRedirect() bool

IsRedirect returns true when this admin provisioning reload dashboards Ok response has a 3xx status code

func (*AdminProvisioningReloadDashboardsOK) IsServerError

func (o *AdminProvisioningReloadDashboardsOK) IsServerError() bool

IsServerError returns true when this admin provisioning reload dashboards Ok response has a 5xx status code

func (*AdminProvisioningReloadDashboardsOK) IsSuccess

IsSuccess returns true when this admin provisioning reload dashboards Ok response has a 2xx status code

func (*AdminProvisioningReloadDashboardsOK) String

type AdminProvisioningReloadDashboardsParams

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

AdminProvisioningReloadDashboardsParams contains all the parameters to send to the API endpoint

for the admin provisioning reload dashboards operation.

Typically these are written to a http.Request.

func NewAdminProvisioningReloadDashboardsParams

func NewAdminProvisioningReloadDashboardsParams() *AdminProvisioningReloadDashboardsParams

NewAdminProvisioningReloadDashboardsParams creates a new AdminProvisioningReloadDashboardsParams 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 NewAdminProvisioningReloadDashboardsParamsWithContext

func NewAdminProvisioningReloadDashboardsParamsWithContext(ctx context.Context) *AdminProvisioningReloadDashboardsParams

NewAdminProvisioningReloadDashboardsParamsWithContext creates a new AdminProvisioningReloadDashboardsParams object with the ability to set a context for a request.

func NewAdminProvisioningReloadDashboardsParamsWithHTTPClient

func NewAdminProvisioningReloadDashboardsParamsWithHTTPClient(client *http.Client) *AdminProvisioningReloadDashboardsParams

NewAdminProvisioningReloadDashboardsParamsWithHTTPClient creates a new AdminProvisioningReloadDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewAdminProvisioningReloadDashboardsParamsWithTimeout

func NewAdminProvisioningReloadDashboardsParamsWithTimeout(timeout time.Duration) *AdminProvisioningReloadDashboardsParams

NewAdminProvisioningReloadDashboardsParamsWithTimeout creates a new AdminProvisioningReloadDashboardsParams object with the ability to set a timeout on a request.

func (*AdminProvisioningReloadDashboardsParams) SetContext

SetContext adds the context to the admin provisioning reload dashboards params

func (*AdminProvisioningReloadDashboardsParams) SetDefaults

func (o *AdminProvisioningReloadDashboardsParams) SetDefaults()

SetDefaults hydrates default values in the admin provisioning reload dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*AdminProvisioningReloadDashboardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin provisioning reload dashboards params

func (*AdminProvisioningReloadDashboardsParams) SetTimeout

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

SetTimeout adds the timeout to the admin provisioning reload dashboards params

func (*AdminProvisioningReloadDashboardsParams) WithContext

WithContext adds the context to the admin provisioning reload dashboards params

func (*AdminProvisioningReloadDashboardsParams) WithDefaults

WithDefaults hydrates default values in the admin provisioning reload dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*AdminProvisioningReloadDashboardsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin provisioning reload dashboards params

func (*AdminProvisioningReloadDashboardsParams) WithTimeout

WithTimeout adds the timeout to the admin provisioning reload dashboards params

func (*AdminProvisioningReloadDashboardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProvisioningReloadDashboardsReader

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

AdminProvisioningReloadDashboardsReader is a Reader for the AdminProvisioningReloadDashboards structure.

func (*AdminProvisioningReloadDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProvisioningReloadDashboardsUnauthorized

type AdminProvisioningReloadDashboardsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewAdminProvisioningReloadDashboardsUnauthorized

func NewAdminProvisioningReloadDashboardsUnauthorized() *AdminProvisioningReloadDashboardsUnauthorized

NewAdminProvisioningReloadDashboardsUnauthorized creates a AdminProvisioningReloadDashboardsUnauthorized with default headers values

func (*AdminProvisioningReloadDashboardsUnauthorized) Code

Code gets the status code for the admin provisioning reload dashboards unauthorized response

func (*AdminProvisioningReloadDashboardsUnauthorized) Error

func (*AdminProvisioningReloadDashboardsUnauthorized) GetPayload

func (*AdminProvisioningReloadDashboardsUnauthorized) IsClientError

IsClientError returns true when this admin provisioning reload dashboards unauthorized response has a 4xx status code

func (*AdminProvisioningReloadDashboardsUnauthorized) IsCode

IsCode returns true when this admin provisioning reload dashboards unauthorized response a status code equal to that given

func (*AdminProvisioningReloadDashboardsUnauthorized) IsRedirect

IsRedirect returns true when this admin provisioning reload dashboards unauthorized response has a 3xx status code

func (*AdminProvisioningReloadDashboardsUnauthorized) IsServerError

IsServerError returns true when this admin provisioning reload dashboards unauthorized response has a 5xx status code

func (*AdminProvisioningReloadDashboardsUnauthorized) IsSuccess

IsSuccess returns true when this admin provisioning reload dashboards unauthorized response has a 2xx status code

func (*AdminProvisioningReloadDashboardsUnauthorized) String

type AdminProvisioningReloadDatasourcesForbidden

type AdminProvisioningReloadDatasourcesForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewAdminProvisioningReloadDatasourcesForbidden

func NewAdminProvisioningReloadDatasourcesForbidden() *AdminProvisioningReloadDatasourcesForbidden

NewAdminProvisioningReloadDatasourcesForbidden creates a AdminProvisioningReloadDatasourcesForbidden with default headers values

func (*AdminProvisioningReloadDatasourcesForbidden) Code

Code gets the status code for the admin provisioning reload datasources forbidden response

func (*AdminProvisioningReloadDatasourcesForbidden) Error

func (*AdminProvisioningReloadDatasourcesForbidden) GetPayload

func (*AdminProvisioningReloadDatasourcesForbidden) IsClientError

IsClientError returns true when this admin provisioning reload datasources forbidden response has a 4xx status code

func (*AdminProvisioningReloadDatasourcesForbidden) IsCode

IsCode returns true when this admin provisioning reload datasources forbidden response a status code equal to that given

func (*AdminProvisioningReloadDatasourcesForbidden) IsRedirect

IsRedirect returns true when this admin provisioning reload datasources forbidden response has a 3xx status code

func (*AdminProvisioningReloadDatasourcesForbidden) IsServerError

IsServerError returns true when this admin provisioning reload datasources forbidden response has a 5xx status code

func (*AdminProvisioningReloadDatasourcesForbidden) IsSuccess

IsSuccess returns true when this admin provisioning reload datasources forbidden response has a 2xx status code

func (*AdminProvisioningReloadDatasourcesForbidden) String

type AdminProvisioningReloadDatasourcesInternalServerError

type AdminProvisioningReloadDatasourcesInternalServerError struct {
	Payload *models.ErrorResponseBody
}

AdminProvisioningReloadDatasourcesInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewAdminProvisioningReloadDatasourcesInternalServerError

func NewAdminProvisioningReloadDatasourcesInternalServerError() *AdminProvisioningReloadDatasourcesInternalServerError

NewAdminProvisioningReloadDatasourcesInternalServerError creates a AdminProvisioningReloadDatasourcesInternalServerError with default headers values

func (*AdminProvisioningReloadDatasourcesInternalServerError) Code

Code gets the status code for the admin provisioning reload datasources internal server error response

func (*AdminProvisioningReloadDatasourcesInternalServerError) Error

func (*AdminProvisioningReloadDatasourcesInternalServerError) GetPayload

func (*AdminProvisioningReloadDatasourcesInternalServerError) IsClientError

IsClientError returns true when this admin provisioning reload datasources internal server error response has a 4xx status code

func (*AdminProvisioningReloadDatasourcesInternalServerError) IsCode

IsCode returns true when this admin provisioning reload datasources internal server error response a status code equal to that given

func (*AdminProvisioningReloadDatasourcesInternalServerError) IsRedirect

IsRedirect returns true when this admin provisioning reload datasources internal server error response has a 3xx status code

func (*AdminProvisioningReloadDatasourcesInternalServerError) IsServerError

IsServerError returns true when this admin provisioning reload datasources internal server error response has a 5xx status code

func (*AdminProvisioningReloadDatasourcesInternalServerError) IsSuccess

IsSuccess returns true when this admin provisioning reload datasources internal server error response has a 2xx status code

func (*AdminProvisioningReloadDatasourcesInternalServerError) String

type AdminProvisioningReloadDatasourcesOK

type AdminProvisioningReloadDatasourcesOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewAdminProvisioningReloadDatasourcesOK

func NewAdminProvisioningReloadDatasourcesOK() *AdminProvisioningReloadDatasourcesOK

NewAdminProvisioningReloadDatasourcesOK creates a AdminProvisioningReloadDatasourcesOK with default headers values

func (*AdminProvisioningReloadDatasourcesOK) Code

Code gets the status code for the admin provisioning reload datasources Ok response

func (*AdminProvisioningReloadDatasourcesOK) Error

func (*AdminProvisioningReloadDatasourcesOK) GetPayload

func (*AdminProvisioningReloadDatasourcesOK) IsClientError

func (o *AdminProvisioningReloadDatasourcesOK) IsClientError() bool

IsClientError returns true when this admin provisioning reload datasources Ok response has a 4xx status code

func (*AdminProvisioningReloadDatasourcesOK) IsCode

IsCode returns true when this admin provisioning reload datasources Ok response a status code equal to that given

func (*AdminProvisioningReloadDatasourcesOK) IsRedirect

IsRedirect returns true when this admin provisioning reload datasources Ok response has a 3xx status code

func (*AdminProvisioningReloadDatasourcesOK) IsServerError

func (o *AdminProvisioningReloadDatasourcesOK) IsServerError() bool

IsServerError returns true when this admin provisioning reload datasources Ok response has a 5xx status code

func (*AdminProvisioningReloadDatasourcesOK) IsSuccess

IsSuccess returns true when this admin provisioning reload datasources Ok response has a 2xx status code

func (*AdminProvisioningReloadDatasourcesOK) String

type AdminProvisioningReloadDatasourcesParams

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

AdminProvisioningReloadDatasourcesParams contains all the parameters to send to the API endpoint

for the admin provisioning reload datasources operation.

Typically these are written to a http.Request.

func NewAdminProvisioningReloadDatasourcesParams

func NewAdminProvisioningReloadDatasourcesParams() *AdminProvisioningReloadDatasourcesParams

NewAdminProvisioningReloadDatasourcesParams creates a new AdminProvisioningReloadDatasourcesParams 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 NewAdminProvisioningReloadDatasourcesParamsWithContext

func NewAdminProvisioningReloadDatasourcesParamsWithContext(ctx context.Context) *AdminProvisioningReloadDatasourcesParams

NewAdminProvisioningReloadDatasourcesParamsWithContext creates a new AdminProvisioningReloadDatasourcesParams object with the ability to set a context for a request.

func NewAdminProvisioningReloadDatasourcesParamsWithHTTPClient

func NewAdminProvisioningReloadDatasourcesParamsWithHTTPClient(client *http.Client) *AdminProvisioningReloadDatasourcesParams

NewAdminProvisioningReloadDatasourcesParamsWithHTTPClient creates a new AdminProvisioningReloadDatasourcesParams object with the ability to set a custom HTTPClient for a request.

func NewAdminProvisioningReloadDatasourcesParamsWithTimeout

func NewAdminProvisioningReloadDatasourcesParamsWithTimeout(timeout time.Duration) *AdminProvisioningReloadDatasourcesParams

NewAdminProvisioningReloadDatasourcesParamsWithTimeout creates a new AdminProvisioningReloadDatasourcesParams object with the ability to set a timeout on a request.

func (*AdminProvisioningReloadDatasourcesParams) SetContext

SetContext adds the context to the admin provisioning reload datasources params

func (*AdminProvisioningReloadDatasourcesParams) SetDefaults

SetDefaults hydrates default values in the admin provisioning reload datasources params (not the query body).

All values with no default are reset to their zero value.

func (*AdminProvisioningReloadDatasourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin provisioning reload datasources params

func (*AdminProvisioningReloadDatasourcesParams) SetTimeout

SetTimeout adds the timeout to the admin provisioning reload datasources params

func (*AdminProvisioningReloadDatasourcesParams) WithContext

WithContext adds the context to the admin provisioning reload datasources params

func (*AdminProvisioningReloadDatasourcesParams) WithDefaults

WithDefaults hydrates default values in the admin provisioning reload datasources params (not the query body).

All values with no default are reset to their zero value.

func (*AdminProvisioningReloadDatasourcesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin provisioning reload datasources params

func (*AdminProvisioningReloadDatasourcesParams) WithTimeout

WithTimeout adds the timeout to the admin provisioning reload datasources params

func (*AdminProvisioningReloadDatasourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProvisioningReloadDatasourcesReader

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

AdminProvisioningReloadDatasourcesReader is a Reader for the AdminProvisioningReloadDatasources structure.

func (*AdminProvisioningReloadDatasourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProvisioningReloadDatasourcesUnauthorized

type AdminProvisioningReloadDatasourcesUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewAdminProvisioningReloadDatasourcesUnauthorized

func NewAdminProvisioningReloadDatasourcesUnauthorized() *AdminProvisioningReloadDatasourcesUnauthorized

NewAdminProvisioningReloadDatasourcesUnauthorized creates a AdminProvisioningReloadDatasourcesUnauthorized with default headers values

func (*AdminProvisioningReloadDatasourcesUnauthorized) Code

Code gets the status code for the admin provisioning reload datasources unauthorized response

func (*AdminProvisioningReloadDatasourcesUnauthorized) Error

func (*AdminProvisioningReloadDatasourcesUnauthorized) GetPayload

func (*AdminProvisioningReloadDatasourcesUnauthorized) IsClientError

IsClientError returns true when this admin provisioning reload datasources unauthorized response has a 4xx status code

func (*AdminProvisioningReloadDatasourcesUnauthorized) IsCode

IsCode returns true when this admin provisioning reload datasources unauthorized response a status code equal to that given

func (*AdminProvisioningReloadDatasourcesUnauthorized) IsRedirect

IsRedirect returns true when this admin provisioning reload datasources unauthorized response has a 3xx status code

func (*AdminProvisioningReloadDatasourcesUnauthorized) IsServerError

IsServerError returns true when this admin provisioning reload datasources unauthorized response has a 5xx status code

func (*AdminProvisioningReloadDatasourcesUnauthorized) IsSuccess

IsSuccess returns true when this admin provisioning reload datasources unauthorized response has a 2xx status code

func (*AdminProvisioningReloadDatasourcesUnauthorized) String

type AdminProvisioningReloadPluginsForbidden

type AdminProvisioningReloadPluginsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewAdminProvisioningReloadPluginsForbidden

func NewAdminProvisioningReloadPluginsForbidden() *AdminProvisioningReloadPluginsForbidden

NewAdminProvisioningReloadPluginsForbidden creates a AdminProvisioningReloadPluginsForbidden with default headers values

func (*AdminProvisioningReloadPluginsForbidden) Code

Code gets the status code for the admin provisioning reload plugins forbidden response

func (*AdminProvisioningReloadPluginsForbidden) Error

func (*AdminProvisioningReloadPluginsForbidden) GetPayload

func (*AdminProvisioningReloadPluginsForbidden) IsClientError

func (o *AdminProvisioningReloadPluginsForbidden) IsClientError() bool

IsClientError returns true when this admin provisioning reload plugins forbidden response has a 4xx status code

func (*AdminProvisioningReloadPluginsForbidden) IsCode

IsCode returns true when this admin provisioning reload plugins forbidden response a status code equal to that given

func (*AdminProvisioningReloadPluginsForbidden) IsRedirect

IsRedirect returns true when this admin provisioning reload plugins forbidden response has a 3xx status code

func (*AdminProvisioningReloadPluginsForbidden) IsServerError

func (o *AdminProvisioningReloadPluginsForbidden) IsServerError() bool

IsServerError returns true when this admin provisioning reload plugins forbidden response has a 5xx status code

func (*AdminProvisioningReloadPluginsForbidden) IsSuccess

IsSuccess returns true when this admin provisioning reload plugins forbidden response has a 2xx status code

func (*AdminProvisioningReloadPluginsForbidden) String

type AdminProvisioningReloadPluginsInternalServerError

type AdminProvisioningReloadPluginsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

AdminProvisioningReloadPluginsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewAdminProvisioningReloadPluginsInternalServerError

func NewAdminProvisioningReloadPluginsInternalServerError() *AdminProvisioningReloadPluginsInternalServerError

NewAdminProvisioningReloadPluginsInternalServerError creates a AdminProvisioningReloadPluginsInternalServerError with default headers values

func (*AdminProvisioningReloadPluginsInternalServerError) Code

Code gets the status code for the admin provisioning reload plugins internal server error response

func (*AdminProvisioningReloadPluginsInternalServerError) Error

func (*AdminProvisioningReloadPluginsInternalServerError) GetPayload

func (*AdminProvisioningReloadPluginsInternalServerError) IsClientError

IsClientError returns true when this admin provisioning reload plugins internal server error response has a 4xx status code

func (*AdminProvisioningReloadPluginsInternalServerError) IsCode

IsCode returns true when this admin provisioning reload plugins internal server error response a status code equal to that given

func (*AdminProvisioningReloadPluginsInternalServerError) IsRedirect

IsRedirect returns true when this admin provisioning reload plugins internal server error response has a 3xx status code

func (*AdminProvisioningReloadPluginsInternalServerError) IsServerError

IsServerError returns true when this admin provisioning reload plugins internal server error response has a 5xx status code

func (*AdminProvisioningReloadPluginsInternalServerError) IsSuccess

IsSuccess returns true when this admin provisioning reload plugins internal server error response has a 2xx status code

func (*AdminProvisioningReloadPluginsInternalServerError) String

type AdminProvisioningReloadPluginsOK

type AdminProvisioningReloadPluginsOK struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewAdminProvisioningReloadPluginsOK

func NewAdminProvisioningReloadPluginsOK() *AdminProvisioningReloadPluginsOK

NewAdminProvisioningReloadPluginsOK creates a AdminProvisioningReloadPluginsOK with default headers values

func (*AdminProvisioningReloadPluginsOK) Code

Code gets the status code for the admin provisioning reload plugins Ok response

func (*AdminProvisioningReloadPluginsOK) Error

func (*AdminProvisioningReloadPluginsOK) GetPayload

func (*AdminProvisioningReloadPluginsOK) IsClientError

func (o *AdminProvisioningReloadPluginsOK) IsClientError() bool

IsClientError returns true when this admin provisioning reload plugins Ok response has a 4xx status code

func (*AdminProvisioningReloadPluginsOK) IsCode

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

IsCode returns true when this admin provisioning reload plugins Ok response a status code equal to that given

func (*AdminProvisioningReloadPluginsOK) IsRedirect

func (o *AdminProvisioningReloadPluginsOK) IsRedirect() bool

IsRedirect returns true when this admin provisioning reload plugins Ok response has a 3xx status code

func (*AdminProvisioningReloadPluginsOK) IsServerError

func (o *AdminProvisioningReloadPluginsOK) IsServerError() bool

IsServerError returns true when this admin provisioning reload plugins Ok response has a 5xx status code

func (*AdminProvisioningReloadPluginsOK) IsSuccess

func (o *AdminProvisioningReloadPluginsOK) IsSuccess() bool

IsSuccess returns true when this admin provisioning reload plugins Ok response has a 2xx status code

func (*AdminProvisioningReloadPluginsOK) String

type AdminProvisioningReloadPluginsParams

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

AdminProvisioningReloadPluginsParams contains all the parameters to send to the API endpoint

for the admin provisioning reload plugins operation.

Typically these are written to a http.Request.

func NewAdminProvisioningReloadPluginsParams

func NewAdminProvisioningReloadPluginsParams() *AdminProvisioningReloadPluginsParams

NewAdminProvisioningReloadPluginsParams creates a new AdminProvisioningReloadPluginsParams 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 NewAdminProvisioningReloadPluginsParamsWithContext

func NewAdminProvisioningReloadPluginsParamsWithContext(ctx context.Context) *AdminProvisioningReloadPluginsParams

NewAdminProvisioningReloadPluginsParamsWithContext creates a new AdminProvisioningReloadPluginsParams object with the ability to set a context for a request.

func NewAdminProvisioningReloadPluginsParamsWithHTTPClient

func NewAdminProvisioningReloadPluginsParamsWithHTTPClient(client *http.Client) *AdminProvisioningReloadPluginsParams

NewAdminProvisioningReloadPluginsParamsWithHTTPClient creates a new AdminProvisioningReloadPluginsParams object with the ability to set a custom HTTPClient for a request.

func NewAdminProvisioningReloadPluginsParamsWithTimeout

func NewAdminProvisioningReloadPluginsParamsWithTimeout(timeout time.Duration) *AdminProvisioningReloadPluginsParams

NewAdminProvisioningReloadPluginsParamsWithTimeout creates a new AdminProvisioningReloadPluginsParams object with the ability to set a timeout on a request.

func (*AdminProvisioningReloadPluginsParams) SetContext

SetContext adds the context to the admin provisioning reload plugins params

func (*AdminProvisioningReloadPluginsParams) SetDefaults

func (o *AdminProvisioningReloadPluginsParams) SetDefaults()

SetDefaults hydrates default values in the admin provisioning reload plugins params (not the query body).

All values with no default are reset to their zero value.

func (*AdminProvisioningReloadPluginsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin provisioning reload plugins params

func (*AdminProvisioningReloadPluginsParams) SetTimeout

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

SetTimeout adds the timeout to the admin provisioning reload plugins params

func (*AdminProvisioningReloadPluginsParams) WithContext

WithContext adds the context to the admin provisioning reload plugins params

func (*AdminProvisioningReloadPluginsParams) WithDefaults

WithDefaults hydrates default values in the admin provisioning reload plugins params (not the query body).

All values with no default are reset to their zero value.

func (*AdminProvisioningReloadPluginsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin provisioning reload plugins params

func (*AdminProvisioningReloadPluginsParams) WithTimeout

WithTimeout adds the timeout to the admin provisioning reload plugins params

func (*AdminProvisioningReloadPluginsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminProvisioningReloadPluginsReader

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

AdminProvisioningReloadPluginsReader is a Reader for the AdminProvisioningReloadPlugins structure.

func (*AdminProvisioningReloadPluginsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminProvisioningReloadPluginsUnauthorized

type AdminProvisioningReloadPluginsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewAdminProvisioningReloadPluginsUnauthorized

func NewAdminProvisioningReloadPluginsUnauthorized() *AdminProvisioningReloadPluginsUnauthorized

NewAdminProvisioningReloadPluginsUnauthorized creates a AdminProvisioningReloadPluginsUnauthorized with default headers values

func (*AdminProvisioningReloadPluginsUnauthorized) Code

Code gets the status code for the admin provisioning reload plugins unauthorized response

func (*AdminProvisioningReloadPluginsUnauthorized) Error

func (*AdminProvisioningReloadPluginsUnauthorized) GetPayload

func (*AdminProvisioningReloadPluginsUnauthorized) IsClientError

IsClientError returns true when this admin provisioning reload plugins unauthorized response has a 4xx status code

func (*AdminProvisioningReloadPluginsUnauthorized) IsCode

IsCode returns true when this admin provisioning reload plugins unauthorized response a status code equal to that given

func (*AdminProvisioningReloadPluginsUnauthorized) IsRedirect

IsRedirect returns true when this admin provisioning reload plugins unauthorized response has a 3xx status code

func (*AdminProvisioningReloadPluginsUnauthorized) IsServerError

IsServerError returns true when this admin provisioning reload plugins unauthorized response has a 5xx status code

func (*AdminProvisioningReloadPluginsUnauthorized) IsSuccess

IsSuccess returns true when this admin provisioning reload plugins unauthorized response has a 2xx status code

func (*AdminProvisioningReloadPluginsUnauthorized) String

type Client

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

Client for admin provisioning API

func (*Client) AdminProvisioningReloadDashboards

func (a *Client) AdminProvisioningReloadDashboards(opts ...ClientOption) (*AdminProvisioningReloadDashboardsOK, error)

AdminProvisioningReloadDashboards reloads dashboard provisioning configurations

Reloads the provisioning config files for dashboards again. It won’t return until the new provisioned entities are already stored in the database. In case of dashboards, it will stop polling for changes in dashboard files and then restart it with new configurations after returning. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `provisioning:reload` and scope `provisioners:dashboards`.

func (*Client) AdminProvisioningReloadDashboardsWithParams

func (a *Client) AdminProvisioningReloadDashboardsWithParams(params *AdminProvisioningReloadDashboardsParams, opts ...ClientOption) (*AdminProvisioningReloadDashboardsOK, error)

func (*Client) AdminProvisioningReloadDatasources

func (a *Client) AdminProvisioningReloadDatasources(opts ...ClientOption) (*AdminProvisioningReloadDatasourcesOK, error)

AdminProvisioningReloadDatasources reloads datasource provisioning configurations

Reloads the provisioning config files for datasources again. It won’t return until the new provisioned entities are already stored in the database. In case of dashboards, it will stop polling for changes in dashboard files and then restart it with new configurations after returning. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `provisioning:reload` and scope `provisioners:datasources`.

func (*Client) AdminProvisioningReloadDatasourcesWithParams

func (a *Client) AdminProvisioningReloadDatasourcesWithParams(params *AdminProvisioningReloadDatasourcesParams, opts ...ClientOption) (*AdminProvisioningReloadDatasourcesOK, error)

func (*Client) AdminProvisioningReloadPlugins

func (a *Client) AdminProvisioningReloadPlugins(opts ...ClientOption) (*AdminProvisioningReloadPluginsOK, error)

AdminProvisioningReloadPlugins reloads plugin provisioning configurations

Reloads the provisioning config files for plugins again. It won’t return until the new provisioned entities are already stored in the database. In case of dashboards, it will stop polling for changes in dashboard files and then restart it with new configurations after returning. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `provisioning:reload` and scope `provisioners:plugin`.

func (*Client) AdminProvisioningReloadPluginsWithParams

func (a *Client) AdminProvisioningReloadPluginsWithParams(params *AdminProvisioningReloadPluginsParams, opts ...ClientOption) (*AdminProvisioningReloadPluginsOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	AdminProvisioningReloadDashboards(opts ...ClientOption) (*AdminProvisioningReloadDashboardsOK, error)
	AdminProvisioningReloadDashboardsWithParams(params *AdminProvisioningReloadDashboardsParams, opts ...ClientOption) (*AdminProvisioningReloadDashboardsOK, error)

	AdminProvisioningReloadDatasources(opts ...ClientOption) (*AdminProvisioningReloadDatasourcesOK, error)
	AdminProvisioningReloadDatasourcesWithParams(params *AdminProvisioningReloadDatasourcesParams, opts ...ClientOption) (*AdminProvisioningReloadDatasourcesOK, error)

	AdminProvisioningReloadPlugins(opts ...ClientOption) (*AdminProvisioningReloadPluginsOK, error)
	AdminProvisioningReloadPluginsWithParams(params *AdminProvisioningReloadPluginsParams, opts ...ClientOption) (*AdminProvisioningReloadPluginsOK, 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 admin provisioning API client.

Jump to

Keyboard shortcuts

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