Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- type Client
- func (a *Client) EdgeConfigCreate(params *EdgeConfigCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeConfigCreateNoContent, error)
- func (a *Client) EdgeConfigDelete(params *EdgeConfigDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeConfigDeleteNoContent, error)
- func (a *Client) EdgeConfigFiles(params *EdgeConfigFilesParams, opts ...ClientOption) (*EdgeConfigFilesOK, error)
- func (a *Client) EdgeConfigInspect(params *EdgeConfigInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeConfigInspectOK, error)
- func (a *Client) EdgeConfigList(params *EdgeConfigListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeConfigListOK, error)
- func (a *Client) EdgeConfigState(params *EdgeConfigStateParams, opts ...ClientOption) (*EdgeConfigStateNoContent, error)
- func (a *Client) EdgeConfigUpdate(params *EdgeConfigUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeConfigUpdateNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type EdgeConfigCreateBadRequest
- func (o *EdgeConfigCreateBadRequest) Code() int
- func (o *EdgeConfigCreateBadRequest) Error() string
- func (o *EdgeConfigCreateBadRequest) IsClientError() bool
- func (o *EdgeConfigCreateBadRequest) IsCode(code int) bool
- func (o *EdgeConfigCreateBadRequest) IsRedirect() bool
- func (o *EdgeConfigCreateBadRequest) IsServerError() bool
- func (o *EdgeConfigCreateBadRequest) IsSuccess() bool
- func (o *EdgeConfigCreateBadRequest) String() string
- type EdgeConfigCreateNoContent
- func (o *EdgeConfigCreateNoContent) Code() int
- func (o *EdgeConfigCreateNoContent) Error() string
- func (o *EdgeConfigCreateNoContent) IsClientError() bool
- func (o *EdgeConfigCreateNoContent) IsCode(code int) bool
- func (o *EdgeConfigCreateNoContent) IsRedirect() bool
- func (o *EdgeConfigCreateNoContent) IsServerError() bool
- func (o *EdgeConfigCreateNoContent) IsSuccess() bool
- func (o *EdgeConfigCreateNoContent) String() string
- type EdgeConfigCreateParams
- func NewEdgeConfigCreateParams() *EdgeConfigCreateParams
- func NewEdgeConfigCreateParamsWithContext(ctx context.Context) *EdgeConfigCreateParams
- func NewEdgeConfigCreateParamsWithHTTPClient(client *http.Client) *EdgeConfigCreateParams
- func NewEdgeConfigCreateParamsWithTimeout(timeout time.Duration) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) SetBaseDir(baseDir *string)
- func (o *EdgeConfigCreateParams) SetCategory(category *string)
- func (o *EdgeConfigCreateParams) SetContext(ctx context.Context)
- func (o *EdgeConfigCreateParams) SetDefaults()
- func (o *EdgeConfigCreateParams) SetEdgeGroupIDs(edgeGroupIDs []int64)
- func (o *EdgeConfigCreateParams) SetFile(file runtime.NamedReadCloser)
- func (o *EdgeConfigCreateParams) SetHTTPClient(client *http.Client)
- func (o *EdgeConfigCreateParams) SetName(name *string)
- func (o *EdgeConfigCreateParams) SetTimeout(timeout time.Duration)
- func (o *EdgeConfigCreateParams) SetType(typeVar *string)
- func (o *EdgeConfigCreateParams) WithBaseDir(baseDir *string) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithCategory(category *string) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithContext(ctx context.Context) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithDefaults() *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithEdgeGroupIDs(edgeGroupIDs []int64) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithFile(file runtime.NamedReadCloser) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithHTTPClient(client *http.Client) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithName(name *string) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithTimeout(timeout time.Duration) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WithType(typeVar *string) *EdgeConfigCreateParams
- func (o *EdgeConfigCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeConfigCreateReader
- type EdgeConfigDeleteBadRequest
- func (o *EdgeConfigDeleteBadRequest) Code() int
- func (o *EdgeConfigDeleteBadRequest) Error() string
- func (o *EdgeConfigDeleteBadRequest) IsClientError() bool
- func (o *EdgeConfigDeleteBadRequest) IsCode(code int) bool
- func (o *EdgeConfigDeleteBadRequest) IsRedirect() bool
- func (o *EdgeConfigDeleteBadRequest) IsServerError() bool
- func (o *EdgeConfigDeleteBadRequest) IsSuccess() bool
- func (o *EdgeConfigDeleteBadRequest) String() string
- type EdgeConfigDeleteInternalServerError
- func (o *EdgeConfigDeleteInternalServerError) Code() int
- func (o *EdgeConfigDeleteInternalServerError) Error() string
- func (o *EdgeConfigDeleteInternalServerError) IsClientError() bool
- func (o *EdgeConfigDeleteInternalServerError) IsCode(code int) bool
- func (o *EdgeConfigDeleteInternalServerError) IsRedirect() bool
- func (o *EdgeConfigDeleteInternalServerError) IsServerError() bool
- func (o *EdgeConfigDeleteInternalServerError) IsSuccess() bool
- func (o *EdgeConfigDeleteInternalServerError) String() string
- type EdgeConfigDeleteNoContent
- func (o *EdgeConfigDeleteNoContent) Code() int
- func (o *EdgeConfigDeleteNoContent) Error() string
- func (o *EdgeConfigDeleteNoContent) IsClientError() bool
- func (o *EdgeConfigDeleteNoContent) IsCode(code int) bool
- func (o *EdgeConfigDeleteNoContent) IsRedirect() bool
- func (o *EdgeConfigDeleteNoContent) IsServerError() bool
- func (o *EdgeConfigDeleteNoContent) IsSuccess() bool
- func (o *EdgeConfigDeleteNoContent) String() string
- type EdgeConfigDeleteNotFound
- func (o *EdgeConfigDeleteNotFound) Code() int
- func (o *EdgeConfigDeleteNotFound) Error() string
- func (o *EdgeConfigDeleteNotFound) IsClientError() bool
- func (o *EdgeConfigDeleteNotFound) IsCode(code int) bool
- func (o *EdgeConfigDeleteNotFound) IsRedirect() bool
- func (o *EdgeConfigDeleteNotFound) IsServerError() bool
- func (o *EdgeConfigDeleteNotFound) IsSuccess() bool
- func (o *EdgeConfigDeleteNotFound) String() string
- type EdgeConfigDeleteParams
- func NewEdgeConfigDeleteParams() *EdgeConfigDeleteParams
- func NewEdgeConfigDeleteParamsWithContext(ctx context.Context) *EdgeConfigDeleteParams
- func NewEdgeConfigDeleteParamsWithHTTPClient(client *http.Client) *EdgeConfigDeleteParams
- func NewEdgeConfigDeleteParamsWithTimeout(timeout time.Duration) *EdgeConfigDeleteParams
- func (o *EdgeConfigDeleteParams) SetContext(ctx context.Context)
- func (o *EdgeConfigDeleteParams) SetDefaults()
- func (o *EdgeConfigDeleteParams) SetHTTPClient(client *http.Client)
- func (o *EdgeConfigDeleteParams) SetID(id int64)
- func (o *EdgeConfigDeleteParams) SetTimeout(timeout time.Duration)
- func (o *EdgeConfigDeleteParams) WithContext(ctx context.Context) *EdgeConfigDeleteParams
- func (o *EdgeConfigDeleteParams) WithDefaults() *EdgeConfigDeleteParams
- func (o *EdgeConfigDeleteParams) WithHTTPClient(client *http.Client) *EdgeConfigDeleteParams
- func (o *EdgeConfigDeleteParams) WithID(id int64) *EdgeConfigDeleteParams
- func (o *EdgeConfigDeleteParams) WithTimeout(timeout time.Duration) *EdgeConfigDeleteParams
- func (o *EdgeConfigDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeConfigDeleteReader
- type EdgeConfigFilesBadRequest
- func (o *EdgeConfigFilesBadRequest) Code() int
- func (o *EdgeConfigFilesBadRequest) Error() string
- func (o *EdgeConfigFilesBadRequest) IsClientError() bool
- func (o *EdgeConfigFilesBadRequest) IsCode(code int) bool
- func (o *EdgeConfigFilesBadRequest) IsRedirect() bool
- func (o *EdgeConfigFilesBadRequest) IsServerError() bool
- func (o *EdgeConfigFilesBadRequest) IsSuccess() bool
- func (o *EdgeConfigFilesBadRequest) String() string
- type EdgeConfigFilesForbidden
- func (o *EdgeConfigFilesForbidden) Code() int
- func (o *EdgeConfigFilesForbidden) Error() string
- func (o *EdgeConfigFilesForbidden) IsClientError() bool
- func (o *EdgeConfigFilesForbidden) IsCode(code int) bool
- func (o *EdgeConfigFilesForbidden) IsRedirect() bool
- func (o *EdgeConfigFilesForbidden) IsServerError() bool
- func (o *EdgeConfigFilesForbidden) IsSuccess() bool
- func (o *EdgeConfigFilesForbidden) String() string
- type EdgeConfigFilesInternalServerError
- func (o *EdgeConfigFilesInternalServerError) Code() int
- func (o *EdgeConfigFilesInternalServerError) Error() string
- func (o *EdgeConfigFilesInternalServerError) IsClientError() bool
- func (o *EdgeConfigFilesInternalServerError) IsCode(code int) bool
- func (o *EdgeConfigFilesInternalServerError) IsRedirect() bool
- func (o *EdgeConfigFilesInternalServerError) IsServerError() bool
- func (o *EdgeConfigFilesInternalServerError) IsSuccess() bool
- func (o *EdgeConfigFilesInternalServerError) String() string
- type EdgeConfigFilesNotFound
- func (o *EdgeConfigFilesNotFound) Code() int
- func (o *EdgeConfigFilesNotFound) Error() string
- func (o *EdgeConfigFilesNotFound) IsClientError() bool
- func (o *EdgeConfigFilesNotFound) IsCode(code int) bool
- func (o *EdgeConfigFilesNotFound) IsRedirect() bool
- func (o *EdgeConfigFilesNotFound) IsServerError() bool
- func (o *EdgeConfigFilesNotFound) IsSuccess() bool
- func (o *EdgeConfigFilesNotFound) String() string
- type EdgeConfigFilesOK
- func (o *EdgeConfigFilesOK) Code() int
- func (o *EdgeConfigFilesOK) Error() string
- func (o *EdgeConfigFilesOK) GetPayload() string
- func (o *EdgeConfigFilesOK) IsClientError() bool
- func (o *EdgeConfigFilesOK) IsCode(code int) bool
- func (o *EdgeConfigFilesOK) IsRedirect() bool
- func (o *EdgeConfigFilesOK) IsServerError() bool
- func (o *EdgeConfigFilesOK) IsSuccess() bool
- func (o *EdgeConfigFilesOK) String() string
- type EdgeConfigFilesParams
- func NewEdgeConfigFilesParams() *EdgeConfigFilesParams
- func NewEdgeConfigFilesParamsWithContext(ctx context.Context) *EdgeConfigFilesParams
- func NewEdgeConfigFilesParamsWithHTTPClient(client *http.Client) *EdgeConfigFilesParams
- func NewEdgeConfigFilesParamsWithTimeout(timeout time.Duration) *EdgeConfigFilesParams
- func (o *EdgeConfigFilesParams) SetContext(ctx context.Context)
- func (o *EdgeConfigFilesParams) SetDefaults()
- func (o *EdgeConfigFilesParams) SetHTTPClient(client *http.Client)
- func (o *EdgeConfigFilesParams) SetID(id int64)
- func (o *EdgeConfigFilesParams) SetTimeout(timeout time.Duration)
- func (o *EdgeConfigFilesParams) WithContext(ctx context.Context) *EdgeConfigFilesParams
- func (o *EdgeConfigFilesParams) WithDefaults() *EdgeConfigFilesParams
- func (o *EdgeConfigFilesParams) WithHTTPClient(client *http.Client) *EdgeConfigFilesParams
- func (o *EdgeConfigFilesParams) WithID(id int64) *EdgeConfigFilesParams
- func (o *EdgeConfigFilesParams) WithTimeout(timeout time.Duration) *EdgeConfigFilesParams
- func (o *EdgeConfigFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeConfigFilesReader
- type EdgeConfigInspectBadRequest
- func (o *EdgeConfigInspectBadRequest) Code() int
- func (o *EdgeConfigInspectBadRequest) Error() string
- func (o *EdgeConfigInspectBadRequest) IsClientError() bool
- func (o *EdgeConfigInspectBadRequest) IsCode(code int) bool
- func (o *EdgeConfigInspectBadRequest) IsRedirect() bool
- func (o *EdgeConfigInspectBadRequest) IsServerError() bool
- func (o *EdgeConfigInspectBadRequest) IsSuccess() bool
- func (o *EdgeConfigInspectBadRequest) String() string
- type EdgeConfigInspectInternalServerError
- func (o *EdgeConfigInspectInternalServerError) Code() int
- func (o *EdgeConfigInspectInternalServerError) Error() string
- func (o *EdgeConfigInspectInternalServerError) IsClientError() bool
- func (o *EdgeConfigInspectInternalServerError) IsCode(code int) bool
- func (o *EdgeConfigInspectInternalServerError) IsRedirect() bool
- func (o *EdgeConfigInspectInternalServerError) IsServerError() bool
- func (o *EdgeConfigInspectInternalServerError) IsSuccess() bool
- func (o *EdgeConfigInspectInternalServerError) String() string
- type EdgeConfigInspectNotFound
- func (o *EdgeConfigInspectNotFound) Code() int
- func (o *EdgeConfigInspectNotFound) Error() string
- func (o *EdgeConfigInspectNotFound) IsClientError() bool
- func (o *EdgeConfigInspectNotFound) IsCode(code int) bool
- func (o *EdgeConfigInspectNotFound) IsRedirect() bool
- func (o *EdgeConfigInspectNotFound) IsServerError() bool
- func (o *EdgeConfigInspectNotFound) IsSuccess() bool
- func (o *EdgeConfigInspectNotFound) String() string
- type EdgeConfigInspectOK
- func (o *EdgeConfigInspectOK) Code() int
- func (o *EdgeConfigInspectOK) Error() string
- func (o *EdgeConfigInspectOK) GetPayload() *models.PortainereeEdgeConfig
- func (o *EdgeConfigInspectOK) IsClientError() bool
- func (o *EdgeConfigInspectOK) IsCode(code int) bool
- func (o *EdgeConfigInspectOK) IsRedirect() bool
- func (o *EdgeConfigInspectOK) IsServerError() bool
- func (o *EdgeConfigInspectOK) IsSuccess() bool
- func (o *EdgeConfigInspectOK) String() string
- type EdgeConfigInspectParams
- func NewEdgeConfigInspectParams() *EdgeConfigInspectParams
- func NewEdgeConfigInspectParamsWithContext(ctx context.Context) *EdgeConfigInspectParams
- func NewEdgeConfigInspectParamsWithHTTPClient(client *http.Client) *EdgeConfigInspectParams
- func NewEdgeConfigInspectParamsWithTimeout(timeout time.Duration) *EdgeConfigInspectParams
- func (o *EdgeConfigInspectParams) SetContext(ctx context.Context)
- func (o *EdgeConfigInspectParams) SetDefaults()
- func (o *EdgeConfigInspectParams) SetHTTPClient(client *http.Client)
- func (o *EdgeConfigInspectParams) SetID(id int64)
- func (o *EdgeConfigInspectParams) SetTimeout(timeout time.Duration)
- func (o *EdgeConfigInspectParams) WithContext(ctx context.Context) *EdgeConfigInspectParams
- func (o *EdgeConfigInspectParams) WithDefaults() *EdgeConfigInspectParams
- func (o *EdgeConfigInspectParams) WithHTTPClient(client *http.Client) *EdgeConfigInspectParams
- func (o *EdgeConfigInspectParams) WithID(id int64) *EdgeConfigInspectParams
- func (o *EdgeConfigInspectParams) WithTimeout(timeout time.Duration) *EdgeConfigInspectParams
- func (o *EdgeConfigInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeConfigInspectReader
- type EdgeConfigListInternalServerError
- func (o *EdgeConfigListInternalServerError) Code() int
- func (o *EdgeConfigListInternalServerError) Error() string
- func (o *EdgeConfigListInternalServerError) IsClientError() bool
- func (o *EdgeConfigListInternalServerError) IsCode(code int) bool
- func (o *EdgeConfigListInternalServerError) IsRedirect() bool
- func (o *EdgeConfigListInternalServerError) IsServerError() bool
- func (o *EdgeConfigListInternalServerError) IsSuccess() bool
- func (o *EdgeConfigListInternalServerError) String() string
- type EdgeConfigListOK
- func (o *EdgeConfigListOK) Code() int
- func (o *EdgeConfigListOK) Error() string
- func (o *EdgeConfigListOK) GetPayload() []*models.PortainereeEdgeConfig
- func (o *EdgeConfigListOK) IsClientError() bool
- func (o *EdgeConfigListOK) IsCode(code int) bool
- func (o *EdgeConfigListOK) IsRedirect() bool
- func (o *EdgeConfigListOK) IsServerError() bool
- func (o *EdgeConfigListOK) IsSuccess() bool
- func (o *EdgeConfigListOK) String() string
- type EdgeConfigListParams
- func NewEdgeConfigListParams() *EdgeConfigListParams
- func NewEdgeConfigListParamsWithContext(ctx context.Context) *EdgeConfigListParams
- func NewEdgeConfigListParamsWithHTTPClient(client *http.Client) *EdgeConfigListParams
- func NewEdgeConfigListParamsWithTimeout(timeout time.Duration) *EdgeConfigListParams
- func (o *EdgeConfigListParams) SetBody(body *models.EdgeconfigsEdgeConfigCreatePayload)
- func (o *EdgeConfigListParams) SetContext(ctx context.Context)
- func (o *EdgeConfigListParams) SetDefaults()
- func (o *EdgeConfigListParams) SetHTTPClient(client *http.Client)
- func (o *EdgeConfigListParams) SetTimeout(timeout time.Duration)
- func (o *EdgeConfigListParams) WithBody(body *models.EdgeconfigsEdgeConfigCreatePayload) *EdgeConfigListParams
- func (o *EdgeConfigListParams) WithContext(ctx context.Context) *EdgeConfigListParams
- func (o *EdgeConfigListParams) WithDefaults() *EdgeConfigListParams
- func (o *EdgeConfigListParams) WithHTTPClient(client *http.Client) *EdgeConfigListParams
- func (o *EdgeConfigListParams) WithTimeout(timeout time.Duration) *EdgeConfigListParams
- func (o *EdgeConfigListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeConfigListReader
- type EdgeConfigStateBadRequest
- func (o *EdgeConfigStateBadRequest) Code() int
- func (o *EdgeConfigStateBadRequest) Error() string
- func (o *EdgeConfigStateBadRequest) IsClientError() bool
- func (o *EdgeConfigStateBadRequest) IsCode(code int) bool
- func (o *EdgeConfigStateBadRequest) IsRedirect() bool
- func (o *EdgeConfigStateBadRequest) IsServerError() bool
- func (o *EdgeConfigStateBadRequest) IsSuccess() bool
- func (o *EdgeConfigStateBadRequest) String() string
- type EdgeConfigStateForbidden
- func (o *EdgeConfigStateForbidden) Code() int
- func (o *EdgeConfigStateForbidden) Error() string
- func (o *EdgeConfigStateForbidden) IsClientError() bool
- func (o *EdgeConfigStateForbidden) IsCode(code int) bool
- func (o *EdgeConfigStateForbidden) IsRedirect() bool
- func (o *EdgeConfigStateForbidden) IsServerError() bool
- func (o *EdgeConfigStateForbidden) IsSuccess() bool
- func (o *EdgeConfigStateForbidden) String() string
- type EdgeConfigStateInternalServerError
- func (o *EdgeConfigStateInternalServerError) Code() int
- func (o *EdgeConfigStateInternalServerError) Error() string
- func (o *EdgeConfigStateInternalServerError) IsClientError() bool
- func (o *EdgeConfigStateInternalServerError) IsCode(code int) bool
- func (o *EdgeConfigStateInternalServerError) IsRedirect() bool
- func (o *EdgeConfigStateInternalServerError) IsServerError() bool
- func (o *EdgeConfigStateInternalServerError) IsSuccess() bool
- func (o *EdgeConfigStateInternalServerError) String() string
- type EdgeConfigStateNoContent
- func (o *EdgeConfigStateNoContent) Code() int
- func (o *EdgeConfigStateNoContent) Error() string
- func (o *EdgeConfigStateNoContent) IsClientError() bool
- func (o *EdgeConfigStateNoContent) IsCode(code int) bool
- func (o *EdgeConfigStateNoContent) IsRedirect() bool
- func (o *EdgeConfigStateNoContent) IsServerError() bool
- func (o *EdgeConfigStateNoContent) IsSuccess() bool
- func (o *EdgeConfigStateNoContent) String() string
- type EdgeConfigStateNotFound
- func (o *EdgeConfigStateNotFound) Code() int
- func (o *EdgeConfigStateNotFound) Error() string
- func (o *EdgeConfigStateNotFound) IsClientError() bool
- func (o *EdgeConfigStateNotFound) IsCode(code int) bool
- func (o *EdgeConfigStateNotFound) IsRedirect() bool
- func (o *EdgeConfigStateNotFound) IsServerError() bool
- func (o *EdgeConfigStateNotFound) IsSuccess() bool
- func (o *EdgeConfigStateNotFound) String() string
- type EdgeConfigStateParams
- func NewEdgeConfigStateParams() *EdgeConfigStateParams
- func NewEdgeConfigStateParamsWithContext(ctx context.Context) *EdgeConfigStateParams
- func NewEdgeConfigStateParamsWithHTTPClient(client *http.Client) *EdgeConfigStateParams
- func NewEdgeConfigStateParamsWithTimeout(timeout time.Duration) *EdgeConfigStateParams
- func (o *EdgeConfigStateParams) SetContext(ctx context.Context)
- func (o *EdgeConfigStateParams) SetDefaults()
- func (o *EdgeConfigStateParams) SetHTTPClient(client *http.Client)
- func (o *EdgeConfigStateParams) SetID(id int64)
- func (o *EdgeConfigStateParams) SetState(state int64)
- func (o *EdgeConfigStateParams) SetTimeout(timeout time.Duration)
- func (o *EdgeConfigStateParams) WithContext(ctx context.Context) *EdgeConfigStateParams
- func (o *EdgeConfigStateParams) WithDefaults() *EdgeConfigStateParams
- func (o *EdgeConfigStateParams) WithHTTPClient(client *http.Client) *EdgeConfigStateParams
- func (o *EdgeConfigStateParams) WithID(id int64) *EdgeConfigStateParams
- func (o *EdgeConfigStateParams) WithState(state int64) *EdgeConfigStateParams
- func (o *EdgeConfigStateParams) WithTimeout(timeout time.Duration) *EdgeConfigStateParams
- func (o *EdgeConfigStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeConfigStateReader
- type EdgeConfigUpdateBadRequest
- func (o *EdgeConfigUpdateBadRequest) Code() int
- func (o *EdgeConfigUpdateBadRequest) Error() string
- func (o *EdgeConfigUpdateBadRequest) IsClientError() bool
- func (o *EdgeConfigUpdateBadRequest) IsCode(code int) bool
- func (o *EdgeConfigUpdateBadRequest) IsRedirect() bool
- func (o *EdgeConfigUpdateBadRequest) IsServerError() bool
- func (o *EdgeConfigUpdateBadRequest) IsSuccess() bool
- func (o *EdgeConfigUpdateBadRequest) String() string
- type EdgeConfigUpdateNoContent
- func (o *EdgeConfigUpdateNoContent) Code() int
- func (o *EdgeConfigUpdateNoContent) Error() string
- func (o *EdgeConfigUpdateNoContent) IsClientError() bool
- func (o *EdgeConfigUpdateNoContent) IsCode(code int) bool
- func (o *EdgeConfigUpdateNoContent) IsRedirect() bool
- func (o *EdgeConfigUpdateNoContent) IsServerError() bool
- func (o *EdgeConfigUpdateNoContent) IsSuccess() bool
- func (o *EdgeConfigUpdateNoContent) String() string
- type EdgeConfigUpdateParams
- func NewEdgeConfigUpdateParams() *EdgeConfigUpdateParams
- func NewEdgeConfigUpdateParamsWithContext(ctx context.Context) *EdgeConfigUpdateParams
- func NewEdgeConfigUpdateParamsWithHTTPClient(client *http.Client) *EdgeConfigUpdateParams
- func NewEdgeConfigUpdateParamsWithTimeout(timeout time.Duration) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) SetContext(ctx context.Context)
- func (o *EdgeConfigUpdateParams) SetDefaults()
- func (o *EdgeConfigUpdateParams) SetEdgeGroupIDs(edgeGroupIDs []int64)
- func (o *EdgeConfigUpdateParams) SetFile(file runtime.NamedReadCloser)
- func (o *EdgeConfigUpdateParams) SetHTTPClient(client *http.Client)
- func (o *EdgeConfigUpdateParams) SetID(id int64)
- func (o *EdgeConfigUpdateParams) SetTimeout(timeout time.Duration)
- func (o *EdgeConfigUpdateParams) SetType(typeVar *string)
- func (o *EdgeConfigUpdateParams) WithContext(ctx context.Context) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WithDefaults() *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WithEdgeGroupIDs(edgeGroupIDs []int64) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WithFile(file runtime.NamedReadCloser) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WithHTTPClient(client *http.Client) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WithID(id int64) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WithTimeout(timeout time.Duration) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WithType(typeVar *string) *EdgeConfigUpdateParams
- func (o *EdgeConfigUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeConfigUpdateReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeMultipartFormData ¶
func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for edge configs API
func (*Client) EdgeConfigCreate ¶
func (a *Client) EdgeConfigCreate(params *EdgeConfigCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigCreateNoContent, error)
EdgeConfigCreate creates an edge configuration Create an Edge Configuration.
**Access policy**: authenticated
func (*Client) EdgeConfigDelete ¶
func (a *Client) EdgeConfigDelete(params *EdgeConfigDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigDeleteNoContent, error)
EdgeConfigDelete deletes an edge configuration Delete an Edge configuration.
**Access policy**: authenticated
func (*Client) EdgeConfigFiles ¶
func (a *Client) EdgeConfigFiles(params *EdgeConfigFilesParams, opts ...ClientOption) (*EdgeConfigFilesOK, error)
EdgeConfigFiles gets the files for an edge configuration
Used by the standard edge agent to retrieve the files for an Edge configuration.
func (*Client) EdgeConfigInspect ¶
func (a *Client) EdgeConfigInspect(params *EdgeConfigInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigInspectOK, error)
EdgeConfigInspect inspects an edge configuration Retrieve details about an Edge configuration.
**Access policy**: authenticated
func (*Client) EdgeConfigList ¶
func (a *Client) EdgeConfigList(params *EdgeConfigListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigListOK, error)
EdgeConfigList lists available edge configurations
**Access policy**: authenticated
func (*Client) EdgeConfigState ¶
func (a *Client) EdgeConfigState(params *EdgeConfigStateParams, opts ...ClientOption) (*EdgeConfigStateNoContent, error)
EdgeConfigState updates the state of an edge configuration
Used by the standard edge agent to update the state of an Edge configuration.
func (*Client) EdgeConfigUpdate ¶
func (a *Client) EdgeConfigUpdate(params *EdgeConfigUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigUpdateNoContent, error)
EdgeConfigUpdate updates an edge configuration Update an Edge Configuration.
**Access policy**: authenticated
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 may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
EdgeConfigCreate(params *EdgeConfigCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigCreateNoContent, error)
EdgeConfigDelete(params *EdgeConfigDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigDeleteNoContent, error)
EdgeConfigFiles(params *EdgeConfigFilesParams, opts ...ClientOption) (*EdgeConfigFilesOK, error)
EdgeConfigInspect(params *EdgeConfigInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigInspectOK, error)
EdgeConfigList(params *EdgeConfigListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigListOK, error)
EdgeConfigState(params *EdgeConfigStateParams, opts ...ClientOption) (*EdgeConfigStateNoContent, error)
EdgeConfigUpdate(params *EdgeConfigUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeConfigUpdateNoContent, 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 edge configs API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new edge configs API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new edge configs API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type EdgeConfigCreateBadRequest ¶
type EdgeConfigCreateBadRequest struct {
}
EdgeConfigCreateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEdgeConfigCreateBadRequest ¶
func NewEdgeConfigCreateBadRequest() *EdgeConfigCreateBadRequest
NewEdgeConfigCreateBadRequest creates a EdgeConfigCreateBadRequest with default headers values
func (*EdgeConfigCreateBadRequest) Code ¶
func (o *EdgeConfigCreateBadRequest) Code() int
Code gets the status code for the edge config create bad request response
func (*EdgeConfigCreateBadRequest) Error ¶
func (o *EdgeConfigCreateBadRequest) Error() string
func (*EdgeConfigCreateBadRequest) IsClientError ¶
func (o *EdgeConfigCreateBadRequest) IsClientError() bool
IsClientError returns true when this edge config create bad request response has a 4xx status code
func (*EdgeConfigCreateBadRequest) IsCode ¶
func (o *EdgeConfigCreateBadRequest) IsCode(code int) bool
IsCode returns true when this edge config create bad request response a status code equal to that given
func (*EdgeConfigCreateBadRequest) IsRedirect ¶
func (o *EdgeConfigCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this edge config create bad request response has a 3xx status code
func (*EdgeConfigCreateBadRequest) IsServerError ¶
func (o *EdgeConfigCreateBadRequest) IsServerError() bool
IsServerError returns true when this edge config create bad request response has a 5xx status code
func (*EdgeConfigCreateBadRequest) IsSuccess ¶
func (o *EdgeConfigCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this edge config create bad request response has a 2xx status code
func (*EdgeConfigCreateBadRequest) String ¶
func (o *EdgeConfigCreateBadRequest) String() string
type EdgeConfigCreateNoContent ¶
type EdgeConfigCreateNoContent struct {
}
EdgeConfigCreateNoContent describes a response with status code 204, with default header values.
No Content
func NewEdgeConfigCreateNoContent ¶
func NewEdgeConfigCreateNoContent() *EdgeConfigCreateNoContent
NewEdgeConfigCreateNoContent creates a EdgeConfigCreateNoContent with default headers values
func (*EdgeConfigCreateNoContent) Code ¶
func (o *EdgeConfigCreateNoContent) Code() int
Code gets the status code for the edge config create no content response
func (*EdgeConfigCreateNoContent) Error ¶
func (o *EdgeConfigCreateNoContent) Error() string
func (*EdgeConfigCreateNoContent) IsClientError ¶
func (o *EdgeConfigCreateNoContent) IsClientError() bool
IsClientError returns true when this edge config create no content response has a 4xx status code
func (*EdgeConfigCreateNoContent) IsCode ¶
func (o *EdgeConfigCreateNoContent) IsCode(code int) bool
IsCode returns true when this edge config create no content response a status code equal to that given
func (*EdgeConfigCreateNoContent) IsRedirect ¶
func (o *EdgeConfigCreateNoContent) IsRedirect() bool
IsRedirect returns true when this edge config create no content response has a 3xx status code
func (*EdgeConfigCreateNoContent) IsServerError ¶
func (o *EdgeConfigCreateNoContent) IsServerError() bool
IsServerError returns true when this edge config create no content response has a 5xx status code
func (*EdgeConfigCreateNoContent) IsSuccess ¶
func (o *EdgeConfigCreateNoContent) IsSuccess() bool
IsSuccess returns true when this edge config create no content response has a 2xx status code
func (*EdgeConfigCreateNoContent) String ¶
func (o *EdgeConfigCreateNoContent) String() string
type EdgeConfigCreateParams ¶
type EdgeConfigCreateParams struct {
/* File.
File
*/
File runtime.NamedReadCloser
// BaseDir.
BaseDir *string
// Category.
Category *string
// EdgeGroupIDs.
EdgeGroupIDs []int64
// Name.
Name *string
// Type.
Type *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeConfigCreateParams contains all the parameters to send to the API endpoint
for the edge config create operation. Typically these are written to a http.Request.
func NewEdgeConfigCreateParams ¶
func NewEdgeConfigCreateParams() *EdgeConfigCreateParams
NewEdgeConfigCreateParams creates a new EdgeConfigCreateParams 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 NewEdgeConfigCreateParamsWithContext ¶
func NewEdgeConfigCreateParamsWithContext(ctx context.Context) *EdgeConfigCreateParams
NewEdgeConfigCreateParamsWithContext creates a new EdgeConfigCreateParams object with the ability to set a context for a request.
func NewEdgeConfigCreateParamsWithHTTPClient ¶
func NewEdgeConfigCreateParamsWithHTTPClient(client *http.Client) *EdgeConfigCreateParams
NewEdgeConfigCreateParamsWithHTTPClient creates a new EdgeConfigCreateParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeConfigCreateParamsWithTimeout ¶
func NewEdgeConfigCreateParamsWithTimeout(timeout time.Duration) *EdgeConfigCreateParams
NewEdgeConfigCreateParamsWithTimeout creates a new EdgeConfigCreateParams object with the ability to set a timeout on a request.
func (*EdgeConfigCreateParams) SetBaseDir ¶
func (o *EdgeConfigCreateParams) SetBaseDir(baseDir *string)
SetBaseDir adds the baseDir to the edge config create params
func (*EdgeConfigCreateParams) SetCategory ¶
func (o *EdgeConfigCreateParams) SetCategory(category *string)
SetCategory adds the category to the edge config create params
func (*EdgeConfigCreateParams) SetContext ¶
func (o *EdgeConfigCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the edge config create params
func (*EdgeConfigCreateParams) SetDefaults ¶
func (o *EdgeConfigCreateParams) SetDefaults()
SetDefaults hydrates default values in the edge config create params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigCreateParams) SetEdgeGroupIDs ¶
func (o *EdgeConfigCreateParams) SetEdgeGroupIDs(edgeGroupIDs []int64)
SetEdgeGroupIDs adds the edgeGroupIDs to the edge config create params
func (*EdgeConfigCreateParams) SetFile ¶
func (o *EdgeConfigCreateParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the edge config create params
func (*EdgeConfigCreateParams) SetHTTPClient ¶
func (o *EdgeConfigCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge config create params
func (*EdgeConfigCreateParams) SetName ¶
func (o *EdgeConfigCreateParams) SetName(name *string)
SetName adds the name to the edge config create params
func (*EdgeConfigCreateParams) SetTimeout ¶
func (o *EdgeConfigCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge config create params
func (*EdgeConfigCreateParams) SetType ¶
func (o *EdgeConfigCreateParams) SetType(typeVar *string)
SetType adds the type to the edge config create params
func (*EdgeConfigCreateParams) WithBaseDir ¶
func (o *EdgeConfigCreateParams) WithBaseDir(baseDir *string) *EdgeConfigCreateParams
WithBaseDir adds the baseDir to the edge config create params
func (*EdgeConfigCreateParams) WithCategory ¶
func (o *EdgeConfigCreateParams) WithCategory(category *string) *EdgeConfigCreateParams
WithCategory adds the category to the edge config create params
func (*EdgeConfigCreateParams) WithContext ¶
func (o *EdgeConfigCreateParams) WithContext(ctx context.Context) *EdgeConfigCreateParams
WithContext adds the context to the edge config create params
func (*EdgeConfigCreateParams) WithDefaults ¶
func (o *EdgeConfigCreateParams) WithDefaults() *EdgeConfigCreateParams
WithDefaults hydrates default values in the edge config create params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigCreateParams) WithEdgeGroupIDs ¶
func (o *EdgeConfigCreateParams) WithEdgeGroupIDs(edgeGroupIDs []int64) *EdgeConfigCreateParams
WithEdgeGroupIDs adds the edgeGroupIDs to the edge config create params
func (*EdgeConfigCreateParams) WithFile ¶
func (o *EdgeConfigCreateParams) WithFile(file runtime.NamedReadCloser) *EdgeConfigCreateParams
WithFile adds the file to the edge config create params
func (*EdgeConfigCreateParams) WithHTTPClient ¶
func (o *EdgeConfigCreateParams) WithHTTPClient(client *http.Client) *EdgeConfigCreateParams
WithHTTPClient adds the HTTPClient to the edge config create params
func (*EdgeConfigCreateParams) WithName ¶
func (o *EdgeConfigCreateParams) WithName(name *string) *EdgeConfigCreateParams
WithName adds the name to the edge config create params
func (*EdgeConfigCreateParams) WithTimeout ¶
func (o *EdgeConfigCreateParams) WithTimeout(timeout time.Duration) *EdgeConfigCreateParams
WithTimeout adds the timeout to the edge config create params
func (*EdgeConfigCreateParams) WithType ¶
func (o *EdgeConfigCreateParams) WithType(typeVar *string) *EdgeConfigCreateParams
WithType adds the typeVar to the edge config create params
func (*EdgeConfigCreateParams) WriteToRequest ¶
func (o *EdgeConfigCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeConfigCreateReader ¶
type EdgeConfigCreateReader struct {
// contains filtered or unexported fields
}
EdgeConfigCreateReader is a Reader for the EdgeConfigCreate structure.
func (*EdgeConfigCreateReader) ReadResponse ¶
func (o *EdgeConfigCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeConfigDeleteBadRequest ¶
type EdgeConfigDeleteBadRequest struct {
}
EdgeConfigDeleteBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEdgeConfigDeleteBadRequest ¶
func NewEdgeConfigDeleteBadRequest() *EdgeConfigDeleteBadRequest
NewEdgeConfigDeleteBadRequest creates a EdgeConfigDeleteBadRequest with default headers values
func (*EdgeConfigDeleteBadRequest) Code ¶
func (o *EdgeConfigDeleteBadRequest) Code() int
Code gets the status code for the edge config delete bad request response
func (*EdgeConfigDeleteBadRequest) Error ¶
func (o *EdgeConfigDeleteBadRequest) Error() string
func (*EdgeConfigDeleteBadRequest) IsClientError ¶
func (o *EdgeConfigDeleteBadRequest) IsClientError() bool
IsClientError returns true when this edge config delete bad request response has a 4xx status code
func (*EdgeConfigDeleteBadRequest) IsCode ¶
func (o *EdgeConfigDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this edge config delete bad request response a status code equal to that given
func (*EdgeConfigDeleteBadRequest) IsRedirect ¶
func (o *EdgeConfigDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this edge config delete bad request response has a 3xx status code
func (*EdgeConfigDeleteBadRequest) IsServerError ¶
func (o *EdgeConfigDeleteBadRequest) IsServerError() bool
IsServerError returns true when this edge config delete bad request response has a 5xx status code
func (*EdgeConfigDeleteBadRequest) IsSuccess ¶
func (o *EdgeConfigDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this edge config delete bad request response has a 2xx status code
func (*EdgeConfigDeleteBadRequest) String ¶
func (o *EdgeConfigDeleteBadRequest) String() string
type EdgeConfigDeleteInternalServerError ¶
type EdgeConfigDeleteInternalServerError struct {
}
EdgeConfigDeleteInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEdgeConfigDeleteInternalServerError ¶
func NewEdgeConfigDeleteInternalServerError() *EdgeConfigDeleteInternalServerError
NewEdgeConfigDeleteInternalServerError creates a EdgeConfigDeleteInternalServerError with default headers values
func (*EdgeConfigDeleteInternalServerError) Code ¶
func (o *EdgeConfigDeleteInternalServerError) Code() int
Code gets the status code for the edge config delete internal server error response
func (*EdgeConfigDeleteInternalServerError) Error ¶
func (o *EdgeConfigDeleteInternalServerError) Error() string
func (*EdgeConfigDeleteInternalServerError) IsClientError ¶
func (o *EdgeConfigDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this edge config delete internal server error response has a 4xx status code
func (*EdgeConfigDeleteInternalServerError) IsCode ¶
func (o *EdgeConfigDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this edge config delete internal server error response a status code equal to that given
func (*EdgeConfigDeleteInternalServerError) IsRedirect ¶
func (o *EdgeConfigDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge config delete internal server error response has a 3xx status code
func (*EdgeConfigDeleteInternalServerError) IsServerError ¶
func (o *EdgeConfigDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this edge config delete internal server error response has a 5xx status code
func (*EdgeConfigDeleteInternalServerError) IsSuccess ¶
func (o *EdgeConfigDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge config delete internal server error response has a 2xx status code
func (*EdgeConfigDeleteInternalServerError) String ¶
func (o *EdgeConfigDeleteInternalServerError) String() string
type EdgeConfigDeleteNoContent ¶
type EdgeConfigDeleteNoContent struct {
}
EdgeConfigDeleteNoContent describes a response with status code 204, with default header values.
Success
func NewEdgeConfigDeleteNoContent ¶
func NewEdgeConfigDeleteNoContent() *EdgeConfigDeleteNoContent
NewEdgeConfigDeleteNoContent creates a EdgeConfigDeleteNoContent with default headers values
func (*EdgeConfigDeleteNoContent) Code ¶
func (o *EdgeConfigDeleteNoContent) Code() int
Code gets the status code for the edge config delete no content response
func (*EdgeConfigDeleteNoContent) Error ¶
func (o *EdgeConfigDeleteNoContent) Error() string
func (*EdgeConfigDeleteNoContent) IsClientError ¶
func (o *EdgeConfigDeleteNoContent) IsClientError() bool
IsClientError returns true when this edge config delete no content response has a 4xx status code
func (*EdgeConfigDeleteNoContent) IsCode ¶
func (o *EdgeConfigDeleteNoContent) IsCode(code int) bool
IsCode returns true when this edge config delete no content response a status code equal to that given
func (*EdgeConfigDeleteNoContent) IsRedirect ¶
func (o *EdgeConfigDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this edge config delete no content response has a 3xx status code
func (*EdgeConfigDeleteNoContent) IsServerError ¶
func (o *EdgeConfigDeleteNoContent) IsServerError() bool
IsServerError returns true when this edge config delete no content response has a 5xx status code
func (*EdgeConfigDeleteNoContent) IsSuccess ¶
func (o *EdgeConfigDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this edge config delete no content response has a 2xx status code
func (*EdgeConfigDeleteNoContent) String ¶
func (o *EdgeConfigDeleteNoContent) String() string
type EdgeConfigDeleteNotFound ¶
type EdgeConfigDeleteNotFound struct {
}
EdgeConfigDeleteNotFound describes a response with status code 404, with default header values.
Edge configuration not found
func NewEdgeConfigDeleteNotFound ¶
func NewEdgeConfigDeleteNotFound() *EdgeConfigDeleteNotFound
NewEdgeConfigDeleteNotFound creates a EdgeConfigDeleteNotFound with default headers values
func (*EdgeConfigDeleteNotFound) Code ¶
func (o *EdgeConfigDeleteNotFound) Code() int
Code gets the status code for the edge config delete not found response
func (*EdgeConfigDeleteNotFound) Error ¶
func (o *EdgeConfigDeleteNotFound) Error() string
func (*EdgeConfigDeleteNotFound) IsClientError ¶
func (o *EdgeConfigDeleteNotFound) IsClientError() bool
IsClientError returns true when this edge config delete not found response has a 4xx status code
func (*EdgeConfigDeleteNotFound) IsCode ¶
func (o *EdgeConfigDeleteNotFound) IsCode(code int) bool
IsCode returns true when this edge config delete not found response a status code equal to that given
func (*EdgeConfigDeleteNotFound) IsRedirect ¶
func (o *EdgeConfigDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this edge config delete not found response has a 3xx status code
func (*EdgeConfigDeleteNotFound) IsServerError ¶
func (o *EdgeConfigDeleteNotFound) IsServerError() bool
IsServerError returns true when this edge config delete not found response has a 5xx status code
func (*EdgeConfigDeleteNotFound) IsSuccess ¶
func (o *EdgeConfigDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this edge config delete not found response has a 2xx status code
func (*EdgeConfigDeleteNotFound) String ¶
func (o *EdgeConfigDeleteNotFound) String() string
type EdgeConfigDeleteParams ¶
type EdgeConfigDeleteParams struct {
/* ID.
Edge configuration identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeConfigDeleteParams contains all the parameters to send to the API endpoint
for the edge config delete operation. Typically these are written to a http.Request.
func NewEdgeConfigDeleteParams ¶
func NewEdgeConfigDeleteParams() *EdgeConfigDeleteParams
NewEdgeConfigDeleteParams creates a new EdgeConfigDeleteParams 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 NewEdgeConfigDeleteParamsWithContext ¶
func NewEdgeConfigDeleteParamsWithContext(ctx context.Context) *EdgeConfigDeleteParams
NewEdgeConfigDeleteParamsWithContext creates a new EdgeConfigDeleteParams object with the ability to set a context for a request.
func NewEdgeConfigDeleteParamsWithHTTPClient ¶
func NewEdgeConfigDeleteParamsWithHTTPClient(client *http.Client) *EdgeConfigDeleteParams
NewEdgeConfigDeleteParamsWithHTTPClient creates a new EdgeConfigDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeConfigDeleteParamsWithTimeout ¶
func NewEdgeConfigDeleteParamsWithTimeout(timeout time.Duration) *EdgeConfigDeleteParams
NewEdgeConfigDeleteParamsWithTimeout creates a new EdgeConfigDeleteParams object with the ability to set a timeout on a request.
func (*EdgeConfigDeleteParams) SetContext ¶
func (o *EdgeConfigDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the edge config delete params
func (*EdgeConfigDeleteParams) SetDefaults ¶
func (o *EdgeConfigDeleteParams) SetDefaults()
SetDefaults hydrates default values in the edge config delete params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigDeleteParams) SetHTTPClient ¶
func (o *EdgeConfigDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge config delete params
func (*EdgeConfigDeleteParams) SetID ¶
func (o *EdgeConfigDeleteParams) SetID(id int64)
SetID adds the id to the edge config delete params
func (*EdgeConfigDeleteParams) SetTimeout ¶
func (o *EdgeConfigDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge config delete params
func (*EdgeConfigDeleteParams) WithContext ¶
func (o *EdgeConfigDeleteParams) WithContext(ctx context.Context) *EdgeConfigDeleteParams
WithContext adds the context to the edge config delete params
func (*EdgeConfigDeleteParams) WithDefaults ¶
func (o *EdgeConfigDeleteParams) WithDefaults() *EdgeConfigDeleteParams
WithDefaults hydrates default values in the edge config delete params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigDeleteParams) WithHTTPClient ¶
func (o *EdgeConfigDeleteParams) WithHTTPClient(client *http.Client) *EdgeConfigDeleteParams
WithHTTPClient adds the HTTPClient to the edge config delete params
func (*EdgeConfigDeleteParams) WithID ¶
func (o *EdgeConfigDeleteParams) WithID(id int64) *EdgeConfigDeleteParams
WithID adds the id to the edge config delete params
func (*EdgeConfigDeleteParams) WithTimeout ¶
func (o *EdgeConfigDeleteParams) WithTimeout(timeout time.Duration) *EdgeConfigDeleteParams
WithTimeout adds the timeout to the edge config delete params
func (*EdgeConfigDeleteParams) WriteToRequest ¶
func (o *EdgeConfigDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeConfigDeleteReader ¶
type EdgeConfigDeleteReader struct {
// contains filtered or unexported fields
}
EdgeConfigDeleteReader is a Reader for the EdgeConfigDelete structure.
func (*EdgeConfigDeleteReader) ReadResponse ¶
func (o *EdgeConfigDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeConfigFilesBadRequest ¶
type EdgeConfigFilesBadRequest struct {
}
EdgeConfigFilesBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEdgeConfigFilesBadRequest ¶
func NewEdgeConfigFilesBadRequest() *EdgeConfigFilesBadRequest
NewEdgeConfigFilesBadRequest creates a EdgeConfigFilesBadRequest with default headers values
func (*EdgeConfigFilesBadRequest) Code ¶
func (o *EdgeConfigFilesBadRequest) Code() int
Code gets the status code for the edge config files bad request response
func (*EdgeConfigFilesBadRequest) Error ¶
func (o *EdgeConfigFilesBadRequest) Error() string
func (*EdgeConfigFilesBadRequest) IsClientError ¶
func (o *EdgeConfigFilesBadRequest) IsClientError() bool
IsClientError returns true when this edge config files bad request response has a 4xx status code
func (*EdgeConfigFilesBadRequest) IsCode ¶
func (o *EdgeConfigFilesBadRequest) IsCode(code int) bool
IsCode returns true when this edge config files bad request response a status code equal to that given
func (*EdgeConfigFilesBadRequest) IsRedirect ¶
func (o *EdgeConfigFilesBadRequest) IsRedirect() bool
IsRedirect returns true when this edge config files bad request response has a 3xx status code
func (*EdgeConfigFilesBadRequest) IsServerError ¶
func (o *EdgeConfigFilesBadRequest) IsServerError() bool
IsServerError returns true when this edge config files bad request response has a 5xx status code
func (*EdgeConfigFilesBadRequest) IsSuccess ¶
func (o *EdgeConfigFilesBadRequest) IsSuccess() bool
IsSuccess returns true when this edge config files bad request response has a 2xx status code
func (*EdgeConfigFilesBadRequest) String ¶
func (o *EdgeConfigFilesBadRequest) String() string
type EdgeConfigFilesForbidden ¶
type EdgeConfigFilesForbidden struct {
}
EdgeConfigFilesForbidden describes a response with status code 403, with default header values.
Permission denied to access environment
func NewEdgeConfigFilesForbidden ¶
func NewEdgeConfigFilesForbidden() *EdgeConfigFilesForbidden
NewEdgeConfigFilesForbidden creates a EdgeConfigFilesForbidden with default headers values
func (*EdgeConfigFilesForbidden) Code ¶
func (o *EdgeConfigFilesForbidden) Code() int
Code gets the status code for the edge config files forbidden response
func (*EdgeConfigFilesForbidden) Error ¶
func (o *EdgeConfigFilesForbidden) Error() string
func (*EdgeConfigFilesForbidden) IsClientError ¶
func (o *EdgeConfigFilesForbidden) IsClientError() bool
IsClientError returns true when this edge config files forbidden response has a 4xx status code
func (*EdgeConfigFilesForbidden) IsCode ¶
func (o *EdgeConfigFilesForbidden) IsCode(code int) bool
IsCode returns true when this edge config files forbidden response a status code equal to that given
func (*EdgeConfigFilesForbidden) IsRedirect ¶
func (o *EdgeConfigFilesForbidden) IsRedirect() bool
IsRedirect returns true when this edge config files forbidden response has a 3xx status code
func (*EdgeConfigFilesForbidden) IsServerError ¶
func (o *EdgeConfigFilesForbidden) IsServerError() bool
IsServerError returns true when this edge config files forbidden response has a 5xx status code
func (*EdgeConfigFilesForbidden) IsSuccess ¶
func (o *EdgeConfigFilesForbidden) IsSuccess() bool
IsSuccess returns true when this edge config files forbidden response has a 2xx status code
func (*EdgeConfigFilesForbidden) String ¶
func (o *EdgeConfigFilesForbidden) String() string
type EdgeConfigFilesInternalServerError ¶
type EdgeConfigFilesInternalServerError struct {
}
EdgeConfigFilesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEdgeConfigFilesInternalServerError ¶
func NewEdgeConfigFilesInternalServerError() *EdgeConfigFilesInternalServerError
NewEdgeConfigFilesInternalServerError creates a EdgeConfigFilesInternalServerError with default headers values
func (*EdgeConfigFilesInternalServerError) Code ¶
func (o *EdgeConfigFilesInternalServerError) Code() int
Code gets the status code for the edge config files internal server error response
func (*EdgeConfigFilesInternalServerError) Error ¶
func (o *EdgeConfigFilesInternalServerError) Error() string
func (*EdgeConfigFilesInternalServerError) IsClientError ¶
func (o *EdgeConfigFilesInternalServerError) IsClientError() bool
IsClientError returns true when this edge config files internal server error response has a 4xx status code
func (*EdgeConfigFilesInternalServerError) IsCode ¶
func (o *EdgeConfigFilesInternalServerError) IsCode(code int) bool
IsCode returns true when this edge config files internal server error response a status code equal to that given
func (*EdgeConfigFilesInternalServerError) IsRedirect ¶
func (o *EdgeConfigFilesInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge config files internal server error response has a 3xx status code
func (*EdgeConfigFilesInternalServerError) IsServerError ¶
func (o *EdgeConfigFilesInternalServerError) IsServerError() bool
IsServerError returns true when this edge config files internal server error response has a 5xx status code
func (*EdgeConfigFilesInternalServerError) IsSuccess ¶
func (o *EdgeConfigFilesInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge config files internal server error response has a 2xx status code
func (*EdgeConfigFilesInternalServerError) String ¶
func (o *EdgeConfigFilesInternalServerError) String() string
type EdgeConfigFilesNotFound ¶
type EdgeConfigFilesNotFound struct {
}
EdgeConfigFilesNotFound describes a response with status code 404, with default header values.
Edge configuration not found
func NewEdgeConfigFilesNotFound ¶
func NewEdgeConfigFilesNotFound() *EdgeConfigFilesNotFound
NewEdgeConfigFilesNotFound creates a EdgeConfigFilesNotFound with default headers values
func (*EdgeConfigFilesNotFound) Code ¶
func (o *EdgeConfigFilesNotFound) Code() int
Code gets the status code for the edge config files not found response
func (*EdgeConfigFilesNotFound) Error ¶
func (o *EdgeConfigFilesNotFound) Error() string
func (*EdgeConfigFilesNotFound) IsClientError ¶
func (o *EdgeConfigFilesNotFound) IsClientError() bool
IsClientError returns true when this edge config files not found response has a 4xx status code
func (*EdgeConfigFilesNotFound) IsCode ¶
func (o *EdgeConfigFilesNotFound) IsCode(code int) bool
IsCode returns true when this edge config files not found response a status code equal to that given
func (*EdgeConfigFilesNotFound) IsRedirect ¶
func (o *EdgeConfigFilesNotFound) IsRedirect() bool
IsRedirect returns true when this edge config files not found response has a 3xx status code
func (*EdgeConfigFilesNotFound) IsServerError ¶
func (o *EdgeConfigFilesNotFound) IsServerError() bool
IsServerError returns true when this edge config files not found response has a 5xx status code
func (*EdgeConfigFilesNotFound) IsSuccess ¶
func (o *EdgeConfigFilesNotFound) IsSuccess() bool
IsSuccess returns true when this edge config files not found response has a 2xx status code
func (*EdgeConfigFilesNotFound) String ¶
func (o *EdgeConfigFilesNotFound) String() string
type EdgeConfigFilesOK ¶
type EdgeConfigFilesOK struct {
Payload string
}
EdgeConfigFilesOK describes a response with status code 200, with default header values.
Success
func NewEdgeConfigFilesOK ¶
func NewEdgeConfigFilesOK() *EdgeConfigFilesOK
NewEdgeConfigFilesOK creates a EdgeConfigFilesOK with default headers values
func (*EdgeConfigFilesOK) Code ¶
func (o *EdgeConfigFilesOK) Code() int
Code gets the status code for the edge config files o k response
func (*EdgeConfigFilesOK) Error ¶
func (o *EdgeConfigFilesOK) Error() string
func (*EdgeConfigFilesOK) GetPayload ¶
func (o *EdgeConfigFilesOK) GetPayload() string
func (*EdgeConfigFilesOK) IsClientError ¶
func (o *EdgeConfigFilesOK) IsClientError() bool
IsClientError returns true when this edge config files o k response has a 4xx status code
func (*EdgeConfigFilesOK) IsCode ¶
func (o *EdgeConfigFilesOK) IsCode(code int) bool
IsCode returns true when this edge config files o k response a status code equal to that given
func (*EdgeConfigFilesOK) IsRedirect ¶
func (o *EdgeConfigFilesOK) IsRedirect() bool
IsRedirect returns true when this edge config files o k response has a 3xx status code
func (*EdgeConfigFilesOK) IsServerError ¶
func (o *EdgeConfigFilesOK) IsServerError() bool
IsServerError returns true when this edge config files o k response has a 5xx status code
func (*EdgeConfigFilesOK) IsSuccess ¶
func (o *EdgeConfigFilesOK) IsSuccess() bool
IsSuccess returns true when this edge config files o k response has a 2xx status code
func (*EdgeConfigFilesOK) String ¶
func (o *EdgeConfigFilesOK) String() string
type EdgeConfigFilesParams ¶
type EdgeConfigFilesParams struct {
/* ID.
Edge configuration identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeConfigFilesParams contains all the parameters to send to the API endpoint
for the edge config files operation. Typically these are written to a http.Request.
func NewEdgeConfigFilesParams ¶
func NewEdgeConfigFilesParams() *EdgeConfigFilesParams
NewEdgeConfigFilesParams creates a new EdgeConfigFilesParams 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 NewEdgeConfigFilesParamsWithContext ¶
func NewEdgeConfigFilesParamsWithContext(ctx context.Context) *EdgeConfigFilesParams
NewEdgeConfigFilesParamsWithContext creates a new EdgeConfigFilesParams object with the ability to set a context for a request.
func NewEdgeConfigFilesParamsWithHTTPClient ¶
func NewEdgeConfigFilesParamsWithHTTPClient(client *http.Client) *EdgeConfigFilesParams
NewEdgeConfigFilesParamsWithHTTPClient creates a new EdgeConfigFilesParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeConfigFilesParamsWithTimeout ¶
func NewEdgeConfigFilesParamsWithTimeout(timeout time.Duration) *EdgeConfigFilesParams
NewEdgeConfigFilesParamsWithTimeout creates a new EdgeConfigFilesParams object with the ability to set a timeout on a request.
func (*EdgeConfigFilesParams) SetContext ¶
func (o *EdgeConfigFilesParams) SetContext(ctx context.Context)
SetContext adds the context to the edge config files params
func (*EdgeConfigFilesParams) SetDefaults ¶
func (o *EdgeConfigFilesParams) SetDefaults()
SetDefaults hydrates default values in the edge config files params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigFilesParams) SetHTTPClient ¶
func (o *EdgeConfigFilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge config files params
func (*EdgeConfigFilesParams) SetID ¶
func (o *EdgeConfigFilesParams) SetID(id int64)
SetID adds the id to the edge config files params
func (*EdgeConfigFilesParams) SetTimeout ¶
func (o *EdgeConfigFilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge config files params
func (*EdgeConfigFilesParams) WithContext ¶
func (o *EdgeConfigFilesParams) WithContext(ctx context.Context) *EdgeConfigFilesParams
WithContext adds the context to the edge config files params
func (*EdgeConfigFilesParams) WithDefaults ¶
func (o *EdgeConfigFilesParams) WithDefaults() *EdgeConfigFilesParams
WithDefaults hydrates default values in the edge config files params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigFilesParams) WithHTTPClient ¶
func (o *EdgeConfigFilesParams) WithHTTPClient(client *http.Client) *EdgeConfigFilesParams
WithHTTPClient adds the HTTPClient to the edge config files params
func (*EdgeConfigFilesParams) WithID ¶
func (o *EdgeConfigFilesParams) WithID(id int64) *EdgeConfigFilesParams
WithID adds the id to the edge config files params
func (*EdgeConfigFilesParams) WithTimeout ¶
func (o *EdgeConfigFilesParams) WithTimeout(timeout time.Duration) *EdgeConfigFilesParams
WithTimeout adds the timeout to the edge config files params
func (*EdgeConfigFilesParams) WriteToRequest ¶
func (o *EdgeConfigFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeConfigFilesReader ¶
type EdgeConfigFilesReader struct {
// contains filtered or unexported fields
}
EdgeConfigFilesReader is a Reader for the EdgeConfigFiles structure.
func (*EdgeConfigFilesReader) ReadResponse ¶
func (o *EdgeConfigFilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeConfigInspectBadRequest ¶
type EdgeConfigInspectBadRequest struct {
}
EdgeConfigInspectBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEdgeConfigInspectBadRequest ¶
func NewEdgeConfigInspectBadRequest() *EdgeConfigInspectBadRequest
NewEdgeConfigInspectBadRequest creates a EdgeConfigInspectBadRequest with default headers values
func (*EdgeConfigInspectBadRequest) Code ¶
func (o *EdgeConfigInspectBadRequest) Code() int
Code gets the status code for the edge config inspect bad request response
func (*EdgeConfigInspectBadRequest) Error ¶
func (o *EdgeConfigInspectBadRequest) Error() string
func (*EdgeConfigInspectBadRequest) IsClientError ¶
func (o *EdgeConfigInspectBadRequest) IsClientError() bool
IsClientError returns true when this edge config inspect bad request response has a 4xx status code
func (*EdgeConfigInspectBadRequest) IsCode ¶
func (o *EdgeConfigInspectBadRequest) IsCode(code int) bool
IsCode returns true when this edge config inspect bad request response a status code equal to that given
func (*EdgeConfigInspectBadRequest) IsRedirect ¶
func (o *EdgeConfigInspectBadRequest) IsRedirect() bool
IsRedirect returns true when this edge config inspect bad request response has a 3xx status code
func (*EdgeConfigInspectBadRequest) IsServerError ¶
func (o *EdgeConfigInspectBadRequest) IsServerError() bool
IsServerError returns true when this edge config inspect bad request response has a 5xx status code
func (*EdgeConfigInspectBadRequest) IsSuccess ¶
func (o *EdgeConfigInspectBadRequest) IsSuccess() bool
IsSuccess returns true when this edge config inspect bad request response has a 2xx status code
func (*EdgeConfigInspectBadRequest) String ¶
func (o *EdgeConfigInspectBadRequest) String() string
type EdgeConfigInspectInternalServerError ¶
type EdgeConfigInspectInternalServerError struct {
}
EdgeConfigInspectInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEdgeConfigInspectInternalServerError ¶
func NewEdgeConfigInspectInternalServerError() *EdgeConfigInspectInternalServerError
NewEdgeConfigInspectInternalServerError creates a EdgeConfigInspectInternalServerError with default headers values
func (*EdgeConfigInspectInternalServerError) Code ¶
func (o *EdgeConfigInspectInternalServerError) Code() int
Code gets the status code for the edge config inspect internal server error response
func (*EdgeConfigInspectInternalServerError) Error ¶
func (o *EdgeConfigInspectInternalServerError) Error() string
func (*EdgeConfigInspectInternalServerError) IsClientError ¶
func (o *EdgeConfigInspectInternalServerError) IsClientError() bool
IsClientError returns true when this edge config inspect internal server error response has a 4xx status code
func (*EdgeConfigInspectInternalServerError) IsCode ¶
func (o *EdgeConfigInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this edge config inspect internal server error response a status code equal to that given
func (*EdgeConfigInspectInternalServerError) IsRedirect ¶
func (o *EdgeConfigInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge config inspect internal server error response has a 3xx status code
func (*EdgeConfigInspectInternalServerError) IsServerError ¶
func (o *EdgeConfigInspectInternalServerError) IsServerError() bool
IsServerError returns true when this edge config inspect internal server error response has a 5xx status code
func (*EdgeConfigInspectInternalServerError) IsSuccess ¶
func (o *EdgeConfigInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge config inspect internal server error response has a 2xx status code
func (*EdgeConfigInspectInternalServerError) String ¶
func (o *EdgeConfigInspectInternalServerError) String() string
type EdgeConfigInspectNotFound ¶
type EdgeConfigInspectNotFound struct {
}
EdgeConfigInspectNotFound describes a response with status code 404, with default header values.
Edge configuration not found
func NewEdgeConfigInspectNotFound ¶
func NewEdgeConfigInspectNotFound() *EdgeConfigInspectNotFound
NewEdgeConfigInspectNotFound creates a EdgeConfigInspectNotFound with default headers values
func (*EdgeConfigInspectNotFound) Code ¶
func (o *EdgeConfigInspectNotFound) Code() int
Code gets the status code for the edge config inspect not found response
func (*EdgeConfigInspectNotFound) Error ¶
func (o *EdgeConfigInspectNotFound) Error() string
func (*EdgeConfigInspectNotFound) IsClientError ¶
func (o *EdgeConfigInspectNotFound) IsClientError() bool
IsClientError returns true when this edge config inspect not found response has a 4xx status code
func (*EdgeConfigInspectNotFound) IsCode ¶
func (o *EdgeConfigInspectNotFound) IsCode(code int) bool
IsCode returns true when this edge config inspect not found response a status code equal to that given
func (*EdgeConfigInspectNotFound) IsRedirect ¶
func (o *EdgeConfigInspectNotFound) IsRedirect() bool
IsRedirect returns true when this edge config inspect not found response has a 3xx status code
func (*EdgeConfigInspectNotFound) IsServerError ¶
func (o *EdgeConfigInspectNotFound) IsServerError() bool
IsServerError returns true when this edge config inspect not found response has a 5xx status code
func (*EdgeConfigInspectNotFound) IsSuccess ¶
func (o *EdgeConfigInspectNotFound) IsSuccess() bool
IsSuccess returns true when this edge config inspect not found response has a 2xx status code
func (*EdgeConfigInspectNotFound) String ¶
func (o *EdgeConfigInspectNotFound) String() string
type EdgeConfigInspectOK ¶
type EdgeConfigInspectOK struct {
Payload *models.PortainereeEdgeConfig
}
EdgeConfigInspectOK describes a response with status code 200, with default header values.
Success
func NewEdgeConfigInspectOK ¶
func NewEdgeConfigInspectOK() *EdgeConfigInspectOK
NewEdgeConfigInspectOK creates a EdgeConfigInspectOK with default headers values
func (*EdgeConfigInspectOK) Code ¶
func (o *EdgeConfigInspectOK) Code() int
Code gets the status code for the edge config inspect o k response
func (*EdgeConfigInspectOK) Error ¶
func (o *EdgeConfigInspectOK) Error() string
func (*EdgeConfigInspectOK) GetPayload ¶
func (o *EdgeConfigInspectOK) GetPayload() *models.PortainereeEdgeConfig
func (*EdgeConfigInspectOK) IsClientError ¶
func (o *EdgeConfigInspectOK) IsClientError() bool
IsClientError returns true when this edge config inspect o k response has a 4xx status code
func (*EdgeConfigInspectOK) IsCode ¶
func (o *EdgeConfigInspectOK) IsCode(code int) bool
IsCode returns true when this edge config inspect o k response a status code equal to that given
func (*EdgeConfigInspectOK) IsRedirect ¶
func (o *EdgeConfigInspectOK) IsRedirect() bool
IsRedirect returns true when this edge config inspect o k response has a 3xx status code
func (*EdgeConfigInspectOK) IsServerError ¶
func (o *EdgeConfigInspectOK) IsServerError() bool
IsServerError returns true when this edge config inspect o k response has a 5xx status code
func (*EdgeConfigInspectOK) IsSuccess ¶
func (o *EdgeConfigInspectOK) IsSuccess() bool
IsSuccess returns true when this edge config inspect o k response has a 2xx status code
func (*EdgeConfigInspectOK) String ¶
func (o *EdgeConfigInspectOK) String() string
type EdgeConfigInspectParams ¶
type EdgeConfigInspectParams struct {
/* ID.
Edge configuration identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeConfigInspectParams contains all the parameters to send to the API endpoint
for the edge config inspect operation. Typically these are written to a http.Request.
func NewEdgeConfigInspectParams ¶
func NewEdgeConfigInspectParams() *EdgeConfigInspectParams
NewEdgeConfigInspectParams creates a new EdgeConfigInspectParams 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 NewEdgeConfigInspectParamsWithContext ¶
func NewEdgeConfigInspectParamsWithContext(ctx context.Context) *EdgeConfigInspectParams
NewEdgeConfigInspectParamsWithContext creates a new EdgeConfigInspectParams object with the ability to set a context for a request.
func NewEdgeConfigInspectParamsWithHTTPClient ¶
func NewEdgeConfigInspectParamsWithHTTPClient(client *http.Client) *EdgeConfigInspectParams
NewEdgeConfigInspectParamsWithHTTPClient creates a new EdgeConfigInspectParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeConfigInspectParamsWithTimeout ¶
func NewEdgeConfigInspectParamsWithTimeout(timeout time.Duration) *EdgeConfigInspectParams
NewEdgeConfigInspectParamsWithTimeout creates a new EdgeConfigInspectParams object with the ability to set a timeout on a request.
func (*EdgeConfigInspectParams) SetContext ¶
func (o *EdgeConfigInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the edge config inspect params
func (*EdgeConfigInspectParams) SetDefaults ¶
func (o *EdgeConfigInspectParams) SetDefaults()
SetDefaults hydrates default values in the edge config inspect params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigInspectParams) SetHTTPClient ¶
func (o *EdgeConfigInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge config inspect params
func (*EdgeConfigInspectParams) SetID ¶
func (o *EdgeConfigInspectParams) SetID(id int64)
SetID adds the id to the edge config inspect params
func (*EdgeConfigInspectParams) SetTimeout ¶
func (o *EdgeConfigInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge config inspect params
func (*EdgeConfigInspectParams) WithContext ¶
func (o *EdgeConfigInspectParams) WithContext(ctx context.Context) *EdgeConfigInspectParams
WithContext adds the context to the edge config inspect params
func (*EdgeConfigInspectParams) WithDefaults ¶
func (o *EdgeConfigInspectParams) WithDefaults() *EdgeConfigInspectParams
WithDefaults hydrates default values in the edge config inspect params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigInspectParams) WithHTTPClient ¶
func (o *EdgeConfigInspectParams) WithHTTPClient(client *http.Client) *EdgeConfigInspectParams
WithHTTPClient adds the HTTPClient to the edge config inspect params
func (*EdgeConfigInspectParams) WithID ¶
func (o *EdgeConfigInspectParams) WithID(id int64) *EdgeConfigInspectParams
WithID adds the id to the edge config inspect params
func (*EdgeConfigInspectParams) WithTimeout ¶
func (o *EdgeConfigInspectParams) WithTimeout(timeout time.Duration) *EdgeConfigInspectParams
WithTimeout adds the timeout to the edge config inspect params
func (*EdgeConfigInspectParams) WriteToRequest ¶
func (o *EdgeConfigInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeConfigInspectReader ¶
type EdgeConfigInspectReader struct {
// contains filtered or unexported fields
}
EdgeConfigInspectReader is a Reader for the EdgeConfigInspect structure.
func (*EdgeConfigInspectReader) ReadResponse ¶
func (o *EdgeConfigInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeConfigListInternalServerError ¶
type EdgeConfigListInternalServerError struct {
}
EdgeConfigListInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEdgeConfigListInternalServerError ¶
func NewEdgeConfigListInternalServerError() *EdgeConfigListInternalServerError
NewEdgeConfigListInternalServerError creates a EdgeConfigListInternalServerError with default headers values
func (*EdgeConfigListInternalServerError) Code ¶
func (o *EdgeConfigListInternalServerError) Code() int
Code gets the status code for the edge config list internal server error response
func (*EdgeConfigListInternalServerError) Error ¶
func (o *EdgeConfigListInternalServerError) Error() string
func (*EdgeConfigListInternalServerError) IsClientError ¶
func (o *EdgeConfigListInternalServerError) IsClientError() bool
IsClientError returns true when this edge config list internal server error response has a 4xx status code
func (*EdgeConfigListInternalServerError) IsCode ¶
func (o *EdgeConfigListInternalServerError) IsCode(code int) bool
IsCode returns true when this edge config list internal server error response a status code equal to that given
func (*EdgeConfigListInternalServerError) IsRedirect ¶
func (o *EdgeConfigListInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge config list internal server error response has a 3xx status code
func (*EdgeConfigListInternalServerError) IsServerError ¶
func (o *EdgeConfigListInternalServerError) IsServerError() bool
IsServerError returns true when this edge config list internal server error response has a 5xx status code
func (*EdgeConfigListInternalServerError) IsSuccess ¶
func (o *EdgeConfigListInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge config list internal server error response has a 2xx status code
func (*EdgeConfigListInternalServerError) String ¶
func (o *EdgeConfigListInternalServerError) String() string
type EdgeConfigListOK ¶
type EdgeConfigListOK struct {
Payload []*models.PortainereeEdgeConfig
}
EdgeConfigListOK describes a response with status code 200, with default header values.
Success
func NewEdgeConfigListOK ¶
func NewEdgeConfigListOK() *EdgeConfigListOK
NewEdgeConfigListOK creates a EdgeConfigListOK with default headers values
func (*EdgeConfigListOK) Code ¶
func (o *EdgeConfigListOK) Code() int
Code gets the status code for the edge config list o k response
func (*EdgeConfigListOK) Error ¶
func (o *EdgeConfigListOK) Error() string
func (*EdgeConfigListOK) GetPayload ¶
func (o *EdgeConfigListOK) GetPayload() []*models.PortainereeEdgeConfig
func (*EdgeConfigListOK) IsClientError ¶
func (o *EdgeConfigListOK) IsClientError() bool
IsClientError returns true when this edge config list o k response has a 4xx status code
func (*EdgeConfigListOK) IsCode ¶
func (o *EdgeConfigListOK) IsCode(code int) bool
IsCode returns true when this edge config list o k response a status code equal to that given
func (*EdgeConfigListOK) IsRedirect ¶
func (o *EdgeConfigListOK) IsRedirect() bool
IsRedirect returns true when this edge config list o k response has a 3xx status code
func (*EdgeConfigListOK) IsServerError ¶
func (o *EdgeConfigListOK) IsServerError() bool
IsServerError returns true when this edge config list o k response has a 5xx status code
func (*EdgeConfigListOK) IsSuccess ¶
func (o *EdgeConfigListOK) IsSuccess() bool
IsSuccess returns true when this edge config list o k response has a 2xx status code
func (*EdgeConfigListOK) String ¶
func (o *EdgeConfigListOK) String() string
type EdgeConfigListParams ¶
type EdgeConfigListParams struct {
/* Body.
body
*/
Body *models.EdgeconfigsEdgeConfigCreatePayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeConfigListParams contains all the parameters to send to the API endpoint
for the edge config list operation. Typically these are written to a http.Request.
func NewEdgeConfigListParams ¶
func NewEdgeConfigListParams() *EdgeConfigListParams
NewEdgeConfigListParams creates a new EdgeConfigListParams 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 NewEdgeConfigListParamsWithContext ¶
func NewEdgeConfigListParamsWithContext(ctx context.Context) *EdgeConfigListParams
NewEdgeConfigListParamsWithContext creates a new EdgeConfigListParams object with the ability to set a context for a request.
func NewEdgeConfigListParamsWithHTTPClient ¶
func NewEdgeConfigListParamsWithHTTPClient(client *http.Client) *EdgeConfigListParams
NewEdgeConfigListParamsWithHTTPClient creates a new EdgeConfigListParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeConfigListParamsWithTimeout ¶
func NewEdgeConfigListParamsWithTimeout(timeout time.Duration) *EdgeConfigListParams
NewEdgeConfigListParamsWithTimeout creates a new EdgeConfigListParams object with the ability to set a timeout on a request.
func (*EdgeConfigListParams) SetBody ¶
func (o *EdgeConfigListParams) SetBody(body *models.EdgeconfigsEdgeConfigCreatePayload)
SetBody adds the body to the edge config list params
func (*EdgeConfigListParams) SetContext ¶
func (o *EdgeConfigListParams) SetContext(ctx context.Context)
SetContext adds the context to the edge config list params
func (*EdgeConfigListParams) SetDefaults ¶
func (o *EdgeConfigListParams) SetDefaults()
SetDefaults hydrates default values in the edge config list params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigListParams) SetHTTPClient ¶
func (o *EdgeConfigListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge config list params
func (*EdgeConfigListParams) SetTimeout ¶
func (o *EdgeConfigListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge config list params
func (*EdgeConfigListParams) WithBody ¶
func (o *EdgeConfigListParams) WithBody(body *models.EdgeconfigsEdgeConfigCreatePayload) *EdgeConfigListParams
WithBody adds the body to the edge config list params
func (*EdgeConfigListParams) WithContext ¶
func (o *EdgeConfigListParams) WithContext(ctx context.Context) *EdgeConfigListParams
WithContext adds the context to the edge config list params
func (*EdgeConfigListParams) WithDefaults ¶
func (o *EdgeConfigListParams) WithDefaults() *EdgeConfigListParams
WithDefaults hydrates default values in the edge config list params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigListParams) WithHTTPClient ¶
func (o *EdgeConfigListParams) WithHTTPClient(client *http.Client) *EdgeConfigListParams
WithHTTPClient adds the HTTPClient to the edge config list params
func (*EdgeConfigListParams) WithTimeout ¶
func (o *EdgeConfigListParams) WithTimeout(timeout time.Duration) *EdgeConfigListParams
WithTimeout adds the timeout to the edge config list params
func (*EdgeConfigListParams) WriteToRequest ¶
func (o *EdgeConfigListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeConfigListReader ¶
type EdgeConfigListReader struct {
// contains filtered or unexported fields
}
EdgeConfigListReader is a Reader for the EdgeConfigList structure.
func (*EdgeConfigListReader) ReadResponse ¶
func (o *EdgeConfigListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeConfigStateBadRequest ¶
type EdgeConfigStateBadRequest struct {
}
EdgeConfigStateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEdgeConfigStateBadRequest ¶
func NewEdgeConfigStateBadRequest() *EdgeConfigStateBadRequest
NewEdgeConfigStateBadRequest creates a EdgeConfigStateBadRequest with default headers values
func (*EdgeConfigStateBadRequest) Code ¶
func (o *EdgeConfigStateBadRequest) Code() int
Code gets the status code for the edge config state bad request response
func (*EdgeConfigStateBadRequest) Error ¶
func (o *EdgeConfigStateBadRequest) Error() string
func (*EdgeConfigStateBadRequest) IsClientError ¶
func (o *EdgeConfigStateBadRequest) IsClientError() bool
IsClientError returns true when this edge config state bad request response has a 4xx status code
func (*EdgeConfigStateBadRequest) IsCode ¶
func (o *EdgeConfigStateBadRequest) IsCode(code int) bool
IsCode returns true when this edge config state bad request response a status code equal to that given
func (*EdgeConfigStateBadRequest) IsRedirect ¶
func (o *EdgeConfigStateBadRequest) IsRedirect() bool
IsRedirect returns true when this edge config state bad request response has a 3xx status code
func (*EdgeConfigStateBadRequest) IsServerError ¶
func (o *EdgeConfigStateBadRequest) IsServerError() bool
IsServerError returns true when this edge config state bad request response has a 5xx status code
func (*EdgeConfigStateBadRequest) IsSuccess ¶
func (o *EdgeConfigStateBadRequest) IsSuccess() bool
IsSuccess returns true when this edge config state bad request response has a 2xx status code
func (*EdgeConfigStateBadRequest) String ¶
func (o *EdgeConfigStateBadRequest) String() string
type EdgeConfigStateForbidden ¶
type EdgeConfigStateForbidden struct {
}
EdgeConfigStateForbidden describes a response with status code 403, with default header values.
Permission denied to access environment
func NewEdgeConfigStateForbidden ¶
func NewEdgeConfigStateForbidden() *EdgeConfigStateForbidden
NewEdgeConfigStateForbidden creates a EdgeConfigStateForbidden with default headers values
func (*EdgeConfigStateForbidden) Code ¶
func (o *EdgeConfigStateForbidden) Code() int
Code gets the status code for the edge config state forbidden response
func (*EdgeConfigStateForbidden) Error ¶
func (o *EdgeConfigStateForbidden) Error() string
func (*EdgeConfigStateForbidden) IsClientError ¶
func (o *EdgeConfigStateForbidden) IsClientError() bool
IsClientError returns true when this edge config state forbidden response has a 4xx status code
func (*EdgeConfigStateForbidden) IsCode ¶
func (o *EdgeConfigStateForbidden) IsCode(code int) bool
IsCode returns true when this edge config state forbidden response a status code equal to that given
func (*EdgeConfigStateForbidden) IsRedirect ¶
func (o *EdgeConfigStateForbidden) IsRedirect() bool
IsRedirect returns true when this edge config state forbidden response has a 3xx status code
func (*EdgeConfigStateForbidden) IsServerError ¶
func (o *EdgeConfigStateForbidden) IsServerError() bool
IsServerError returns true when this edge config state forbidden response has a 5xx status code
func (*EdgeConfigStateForbidden) IsSuccess ¶
func (o *EdgeConfigStateForbidden) IsSuccess() bool
IsSuccess returns true when this edge config state forbidden response has a 2xx status code
func (*EdgeConfigStateForbidden) String ¶
func (o *EdgeConfigStateForbidden) String() string
type EdgeConfigStateInternalServerError ¶
type EdgeConfigStateInternalServerError struct {
}
EdgeConfigStateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEdgeConfigStateInternalServerError ¶
func NewEdgeConfigStateInternalServerError() *EdgeConfigStateInternalServerError
NewEdgeConfigStateInternalServerError creates a EdgeConfigStateInternalServerError with default headers values
func (*EdgeConfigStateInternalServerError) Code ¶
func (o *EdgeConfigStateInternalServerError) Code() int
Code gets the status code for the edge config state internal server error response
func (*EdgeConfigStateInternalServerError) Error ¶
func (o *EdgeConfigStateInternalServerError) Error() string
func (*EdgeConfigStateInternalServerError) IsClientError ¶
func (o *EdgeConfigStateInternalServerError) IsClientError() bool
IsClientError returns true when this edge config state internal server error response has a 4xx status code
func (*EdgeConfigStateInternalServerError) IsCode ¶
func (o *EdgeConfigStateInternalServerError) IsCode(code int) bool
IsCode returns true when this edge config state internal server error response a status code equal to that given
func (*EdgeConfigStateInternalServerError) IsRedirect ¶
func (o *EdgeConfigStateInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge config state internal server error response has a 3xx status code
func (*EdgeConfigStateInternalServerError) IsServerError ¶
func (o *EdgeConfigStateInternalServerError) IsServerError() bool
IsServerError returns true when this edge config state internal server error response has a 5xx status code
func (*EdgeConfigStateInternalServerError) IsSuccess ¶
func (o *EdgeConfigStateInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge config state internal server error response has a 2xx status code
func (*EdgeConfigStateInternalServerError) String ¶
func (o *EdgeConfigStateInternalServerError) String() string
type EdgeConfigStateNoContent ¶
type EdgeConfigStateNoContent struct {
}
EdgeConfigStateNoContent describes a response with status code 204, with default header values.
Success
func NewEdgeConfigStateNoContent ¶
func NewEdgeConfigStateNoContent() *EdgeConfigStateNoContent
NewEdgeConfigStateNoContent creates a EdgeConfigStateNoContent with default headers values
func (*EdgeConfigStateNoContent) Code ¶
func (o *EdgeConfigStateNoContent) Code() int
Code gets the status code for the edge config state no content response
func (*EdgeConfigStateNoContent) Error ¶
func (o *EdgeConfigStateNoContent) Error() string
func (*EdgeConfigStateNoContent) IsClientError ¶
func (o *EdgeConfigStateNoContent) IsClientError() bool
IsClientError returns true when this edge config state no content response has a 4xx status code
func (*EdgeConfigStateNoContent) IsCode ¶
func (o *EdgeConfigStateNoContent) IsCode(code int) bool
IsCode returns true when this edge config state no content response a status code equal to that given
func (*EdgeConfigStateNoContent) IsRedirect ¶
func (o *EdgeConfigStateNoContent) IsRedirect() bool
IsRedirect returns true when this edge config state no content response has a 3xx status code
func (*EdgeConfigStateNoContent) IsServerError ¶
func (o *EdgeConfigStateNoContent) IsServerError() bool
IsServerError returns true when this edge config state no content response has a 5xx status code
func (*EdgeConfigStateNoContent) IsSuccess ¶
func (o *EdgeConfigStateNoContent) IsSuccess() bool
IsSuccess returns true when this edge config state no content response has a 2xx status code
func (*EdgeConfigStateNoContent) String ¶
func (o *EdgeConfigStateNoContent) String() string
type EdgeConfigStateNotFound ¶
type EdgeConfigStateNotFound struct {
}
EdgeConfigStateNotFound describes a response with status code 404, with default header values.
Edge configuration not found
func NewEdgeConfigStateNotFound ¶
func NewEdgeConfigStateNotFound() *EdgeConfigStateNotFound
NewEdgeConfigStateNotFound creates a EdgeConfigStateNotFound with default headers values
func (*EdgeConfigStateNotFound) Code ¶
func (o *EdgeConfigStateNotFound) Code() int
Code gets the status code for the edge config state not found response
func (*EdgeConfigStateNotFound) Error ¶
func (o *EdgeConfigStateNotFound) Error() string
func (*EdgeConfigStateNotFound) IsClientError ¶
func (o *EdgeConfigStateNotFound) IsClientError() bool
IsClientError returns true when this edge config state not found response has a 4xx status code
func (*EdgeConfigStateNotFound) IsCode ¶
func (o *EdgeConfigStateNotFound) IsCode(code int) bool
IsCode returns true when this edge config state not found response a status code equal to that given
func (*EdgeConfigStateNotFound) IsRedirect ¶
func (o *EdgeConfigStateNotFound) IsRedirect() bool
IsRedirect returns true when this edge config state not found response has a 3xx status code
func (*EdgeConfigStateNotFound) IsServerError ¶
func (o *EdgeConfigStateNotFound) IsServerError() bool
IsServerError returns true when this edge config state not found response has a 5xx status code
func (*EdgeConfigStateNotFound) IsSuccess ¶
func (o *EdgeConfigStateNotFound) IsSuccess() bool
IsSuccess returns true when this edge config state not found response has a 2xx status code
func (*EdgeConfigStateNotFound) String ¶
func (o *EdgeConfigStateNotFound) String() string
type EdgeConfigStateParams ¶
type EdgeConfigStateParams struct {
/* ID.
Edge configuration identifier
*/
ID int64
/* State.
Edge configuration state
*/
State int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeConfigStateParams contains all the parameters to send to the API endpoint
for the edge config state operation. Typically these are written to a http.Request.
func NewEdgeConfigStateParams ¶
func NewEdgeConfigStateParams() *EdgeConfigStateParams
NewEdgeConfigStateParams creates a new EdgeConfigStateParams 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 NewEdgeConfigStateParamsWithContext ¶
func NewEdgeConfigStateParamsWithContext(ctx context.Context) *EdgeConfigStateParams
NewEdgeConfigStateParamsWithContext creates a new EdgeConfigStateParams object with the ability to set a context for a request.
func NewEdgeConfigStateParamsWithHTTPClient ¶
func NewEdgeConfigStateParamsWithHTTPClient(client *http.Client) *EdgeConfigStateParams
NewEdgeConfigStateParamsWithHTTPClient creates a new EdgeConfigStateParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeConfigStateParamsWithTimeout ¶
func NewEdgeConfigStateParamsWithTimeout(timeout time.Duration) *EdgeConfigStateParams
NewEdgeConfigStateParamsWithTimeout creates a new EdgeConfigStateParams object with the ability to set a timeout on a request.
func (*EdgeConfigStateParams) SetContext ¶
func (o *EdgeConfigStateParams) SetContext(ctx context.Context)
SetContext adds the context to the edge config state params
func (*EdgeConfigStateParams) SetDefaults ¶
func (o *EdgeConfigStateParams) SetDefaults()
SetDefaults hydrates default values in the edge config state params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigStateParams) SetHTTPClient ¶
func (o *EdgeConfigStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge config state params
func (*EdgeConfigStateParams) SetID ¶
func (o *EdgeConfigStateParams) SetID(id int64)
SetID adds the id to the edge config state params
func (*EdgeConfigStateParams) SetState ¶
func (o *EdgeConfigStateParams) SetState(state int64)
SetState adds the state to the edge config state params
func (*EdgeConfigStateParams) SetTimeout ¶
func (o *EdgeConfigStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge config state params
func (*EdgeConfigStateParams) WithContext ¶
func (o *EdgeConfigStateParams) WithContext(ctx context.Context) *EdgeConfigStateParams
WithContext adds the context to the edge config state params
func (*EdgeConfigStateParams) WithDefaults ¶
func (o *EdgeConfigStateParams) WithDefaults() *EdgeConfigStateParams
WithDefaults hydrates default values in the edge config state params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigStateParams) WithHTTPClient ¶
func (o *EdgeConfigStateParams) WithHTTPClient(client *http.Client) *EdgeConfigStateParams
WithHTTPClient adds the HTTPClient to the edge config state params
func (*EdgeConfigStateParams) WithID ¶
func (o *EdgeConfigStateParams) WithID(id int64) *EdgeConfigStateParams
WithID adds the id to the edge config state params
func (*EdgeConfigStateParams) WithState ¶
func (o *EdgeConfigStateParams) WithState(state int64) *EdgeConfigStateParams
WithState adds the state to the edge config state params
func (*EdgeConfigStateParams) WithTimeout ¶
func (o *EdgeConfigStateParams) WithTimeout(timeout time.Duration) *EdgeConfigStateParams
WithTimeout adds the timeout to the edge config state params
func (*EdgeConfigStateParams) WriteToRequest ¶
func (o *EdgeConfigStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeConfigStateReader ¶
type EdgeConfigStateReader struct {
// contains filtered or unexported fields
}
EdgeConfigStateReader is a Reader for the EdgeConfigState structure.
func (*EdgeConfigStateReader) ReadResponse ¶
func (o *EdgeConfigStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeConfigUpdateBadRequest ¶
type EdgeConfigUpdateBadRequest struct {
}
EdgeConfigUpdateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEdgeConfigUpdateBadRequest ¶
func NewEdgeConfigUpdateBadRequest() *EdgeConfigUpdateBadRequest
NewEdgeConfigUpdateBadRequest creates a EdgeConfigUpdateBadRequest with default headers values
func (*EdgeConfigUpdateBadRequest) Code ¶
func (o *EdgeConfigUpdateBadRequest) Code() int
Code gets the status code for the edge config update bad request response
func (*EdgeConfigUpdateBadRequest) Error ¶
func (o *EdgeConfigUpdateBadRequest) Error() string
func (*EdgeConfigUpdateBadRequest) IsClientError ¶
func (o *EdgeConfigUpdateBadRequest) IsClientError() bool
IsClientError returns true when this edge config update bad request response has a 4xx status code
func (*EdgeConfigUpdateBadRequest) IsCode ¶
func (o *EdgeConfigUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this edge config update bad request response a status code equal to that given
func (*EdgeConfigUpdateBadRequest) IsRedirect ¶
func (o *EdgeConfigUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this edge config update bad request response has a 3xx status code
func (*EdgeConfigUpdateBadRequest) IsServerError ¶
func (o *EdgeConfigUpdateBadRequest) IsServerError() bool
IsServerError returns true when this edge config update bad request response has a 5xx status code
func (*EdgeConfigUpdateBadRequest) IsSuccess ¶
func (o *EdgeConfigUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this edge config update bad request response has a 2xx status code
func (*EdgeConfigUpdateBadRequest) String ¶
func (o *EdgeConfigUpdateBadRequest) String() string
type EdgeConfigUpdateNoContent ¶
type EdgeConfigUpdateNoContent struct {
}
EdgeConfigUpdateNoContent describes a response with status code 204, with default header values.
No Content
func NewEdgeConfigUpdateNoContent ¶
func NewEdgeConfigUpdateNoContent() *EdgeConfigUpdateNoContent
NewEdgeConfigUpdateNoContent creates a EdgeConfigUpdateNoContent with default headers values
func (*EdgeConfigUpdateNoContent) Code ¶
func (o *EdgeConfigUpdateNoContent) Code() int
Code gets the status code for the edge config update no content response
func (*EdgeConfigUpdateNoContent) Error ¶
func (o *EdgeConfigUpdateNoContent) Error() string
func (*EdgeConfigUpdateNoContent) IsClientError ¶
func (o *EdgeConfigUpdateNoContent) IsClientError() bool
IsClientError returns true when this edge config update no content response has a 4xx status code
func (*EdgeConfigUpdateNoContent) IsCode ¶
func (o *EdgeConfigUpdateNoContent) IsCode(code int) bool
IsCode returns true when this edge config update no content response a status code equal to that given
func (*EdgeConfigUpdateNoContent) IsRedirect ¶
func (o *EdgeConfigUpdateNoContent) IsRedirect() bool
IsRedirect returns true when this edge config update no content response has a 3xx status code
func (*EdgeConfigUpdateNoContent) IsServerError ¶
func (o *EdgeConfigUpdateNoContent) IsServerError() bool
IsServerError returns true when this edge config update no content response has a 5xx status code
func (*EdgeConfigUpdateNoContent) IsSuccess ¶
func (o *EdgeConfigUpdateNoContent) IsSuccess() bool
IsSuccess returns true when this edge config update no content response has a 2xx status code
func (*EdgeConfigUpdateNoContent) String ¶
func (o *EdgeConfigUpdateNoContent) String() string
type EdgeConfigUpdateParams ¶
type EdgeConfigUpdateParams struct {
/* File.
File
*/
File runtime.NamedReadCloser
// EdgeGroupIDs.
EdgeGroupIDs []int64
/* ID.
Edge configuration identifier
*/
ID int64
// Type.
Type *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeConfigUpdateParams contains all the parameters to send to the API endpoint
for the edge config update operation. Typically these are written to a http.Request.
func NewEdgeConfigUpdateParams ¶
func NewEdgeConfigUpdateParams() *EdgeConfigUpdateParams
NewEdgeConfigUpdateParams creates a new EdgeConfigUpdateParams 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 NewEdgeConfigUpdateParamsWithContext ¶
func NewEdgeConfigUpdateParamsWithContext(ctx context.Context) *EdgeConfigUpdateParams
NewEdgeConfigUpdateParamsWithContext creates a new EdgeConfigUpdateParams object with the ability to set a context for a request.
func NewEdgeConfigUpdateParamsWithHTTPClient ¶
func NewEdgeConfigUpdateParamsWithHTTPClient(client *http.Client) *EdgeConfigUpdateParams
NewEdgeConfigUpdateParamsWithHTTPClient creates a new EdgeConfigUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeConfigUpdateParamsWithTimeout ¶
func NewEdgeConfigUpdateParamsWithTimeout(timeout time.Duration) *EdgeConfigUpdateParams
NewEdgeConfigUpdateParamsWithTimeout creates a new EdgeConfigUpdateParams object with the ability to set a timeout on a request.
func (*EdgeConfigUpdateParams) SetContext ¶
func (o *EdgeConfigUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the edge config update params
func (*EdgeConfigUpdateParams) SetDefaults ¶
func (o *EdgeConfigUpdateParams) SetDefaults()
SetDefaults hydrates default values in the edge config update params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigUpdateParams) SetEdgeGroupIDs ¶
func (o *EdgeConfigUpdateParams) SetEdgeGroupIDs(edgeGroupIDs []int64)
SetEdgeGroupIDs adds the edgeGroupIDs to the edge config update params
func (*EdgeConfigUpdateParams) SetFile ¶
func (o *EdgeConfigUpdateParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the edge config update params
func (*EdgeConfigUpdateParams) SetHTTPClient ¶
func (o *EdgeConfigUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge config update params
func (*EdgeConfigUpdateParams) SetID ¶
func (o *EdgeConfigUpdateParams) SetID(id int64)
SetID adds the id to the edge config update params
func (*EdgeConfigUpdateParams) SetTimeout ¶
func (o *EdgeConfigUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge config update params
func (*EdgeConfigUpdateParams) SetType ¶
func (o *EdgeConfigUpdateParams) SetType(typeVar *string)
SetType adds the type to the edge config update params
func (*EdgeConfigUpdateParams) WithContext ¶
func (o *EdgeConfigUpdateParams) WithContext(ctx context.Context) *EdgeConfigUpdateParams
WithContext adds the context to the edge config update params
func (*EdgeConfigUpdateParams) WithDefaults ¶
func (o *EdgeConfigUpdateParams) WithDefaults() *EdgeConfigUpdateParams
WithDefaults hydrates default values in the edge config update params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeConfigUpdateParams) WithEdgeGroupIDs ¶
func (o *EdgeConfigUpdateParams) WithEdgeGroupIDs(edgeGroupIDs []int64) *EdgeConfigUpdateParams
WithEdgeGroupIDs adds the edgeGroupIDs to the edge config update params
func (*EdgeConfigUpdateParams) WithFile ¶
func (o *EdgeConfigUpdateParams) WithFile(file runtime.NamedReadCloser) *EdgeConfigUpdateParams
WithFile adds the file to the edge config update params
func (*EdgeConfigUpdateParams) WithHTTPClient ¶
func (o *EdgeConfigUpdateParams) WithHTTPClient(client *http.Client) *EdgeConfigUpdateParams
WithHTTPClient adds the HTTPClient to the edge config update params
func (*EdgeConfigUpdateParams) WithID ¶
func (o *EdgeConfigUpdateParams) WithID(id int64) *EdgeConfigUpdateParams
WithID adds the id to the edge config update params
func (*EdgeConfigUpdateParams) WithTimeout ¶
func (o *EdgeConfigUpdateParams) WithTimeout(timeout time.Duration) *EdgeConfigUpdateParams
WithTimeout adds the timeout to the edge config update params
func (*EdgeConfigUpdateParams) WithType ¶
func (o *EdgeConfigUpdateParams) WithType(typeVar *string) *EdgeConfigUpdateParams
WithType adds the typeVar to the edge config update params
func (*EdgeConfigUpdateParams) WriteToRequest ¶
func (o *EdgeConfigUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeConfigUpdateReader ¶
type EdgeConfigUpdateReader struct {
// contains filtered or unexported fields
}
EdgeConfigUpdateReader is a Reader for the EdgeConfigUpdate structure.
func (*EdgeConfigUpdateReader) ReadResponse ¶
func (o *EdgeConfigUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- edge_config_create_parameters.go
- edge_config_create_responses.go
- edge_config_delete_parameters.go
- edge_config_delete_responses.go
- edge_config_files_parameters.go
- edge_config_files_responses.go
- edge_config_inspect_parameters.go
- edge_config_inspect_responses.go
- edge_config_list_parameters.go
- edge_config_list_responses.go
- edge_config_state_parameters.go
- edge_config_state_responses.go
- edge_config_update_parameters.go
- edge_config_update_responses.go
- edge_configs_client.go