Documentation
¶
Index ¶
- type Client
- func (a *Client) EdgeGroupCreate(params *EdgeGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeGroupCreateOK, error)
- func (a *Client) EdgeGroupDelete(params *EdgeGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeGroupDeleteNoContent, error)
- func (a *Client) EdgeGroupInspect(params *EdgeGroupInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeGroupInspectOK, error)
- func (a *Client) EdgeGroupList(params *EdgeGroupListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeGroupListOK, error)
- func (a *Client) EdgeGroupUpdate(params *EdgeGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EdgeGroupUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type EdgeGroupCreateInternalServerError
- func (o *EdgeGroupCreateInternalServerError) Code() int
- func (o *EdgeGroupCreateInternalServerError) Error() string
- func (o *EdgeGroupCreateInternalServerError) IsClientError() bool
- func (o *EdgeGroupCreateInternalServerError) IsCode(code int) bool
- func (o *EdgeGroupCreateInternalServerError) IsRedirect() bool
- func (o *EdgeGroupCreateInternalServerError) IsServerError() bool
- func (o *EdgeGroupCreateInternalServerError) IsSuccess() bool
- func (o *EdgeGroupCreateInternalServerError) String() string
- type EdgeGroupCreateOK
- func (o *EdgeGroupCreateOK) Code() int
- func (o *EdgeGroupCreateOK) Error() string
- func (o *EdgeGroupCreateOK) GetPayload() *models.PortainereeEdgeGroup
- func (o *EdgeGroupCreateOK) IsClientError() bool
- func (o *EdgeGroupCreateOK) IsCode(code int) bool
- func (o *EdgeGroupCreateOK) IsRedirect() bool
- func (o *EdgeGroupCreateOK) IsServerError() bool
- func (o *EdgeGroupCreateOK) IsSuccess() bool
- func (o *EdgeGroupCreateOK) String() string
- type EdgeGroupCreateParams
- func NewEdgeGroupCreateParams() *EdgeGroupCreateParams
- func NewEdgeGroupCreateParamsWithContext(ctx context.Context) *EdgeGroupCreateParams
- func NewEdgeGroupCreateParamsWithHTTPClient(client *http.Client) *EdgeGroupCreateParams
- func NewEdgeGroupCreateParamsWithTimeout(timeout time.Duration) *EdgeGroupCreateParams
- func (o *EdgeGroupCreateParams) SetBody(body *models.EdgegroupsEdgeGroupCreatePayload)
- func (o *EdgeGroupCreateParams) SetContext(ctx context.Context)
- func (o *EdgeGroupCreateParams) SetDefaults()
- func (o *EdgeGroupCreateParams) SetHTTPClient(client *http.Client)
- func (o *EdgeGroupCreateParams) SetTimeout(timeout time.Duration)
- func (o *EdgeGroupCreateParams) WithBody(body *models.EdgegroupsEdgeGroupCreatePayload) *EdgeGroupCreateParams
- func (o *EdgeGroupCreateParams) WithContext(ctx context.Context) *EdgeGroupCreateParams
- func (o *EdgeGroupCreateParams) WithDefaults() *EdgeGroupCreateParams
- func (o *EdgeGroupCreateParams) WithHTTPClient(client *http.Client) *EdgeGroupCreateParams
- func (o *EdgeGroupCreateParams) WithTimeout(timeout time.Duration) *EdgeGroupCreateParams
- func (o *EdgeGroupCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeGroupCreateReader
- type EdgeGroupCreateServiceUnavailable
- func (o *EdgeGroupCreateServiceUnavailable) Code() int
- func (o *EdgeGroupCreateServiceUnavailable) Error() string
- func (o *EdgeGroupCreateServiceUnavailable) IsClientError() bool
- func (o *EdgeGroupCreateServiceUnavailable) IsCode(code int) bool
- func (o *EdgeGroupCreateServiceUnavailable) IsRedirect() bool
- func (o *EdgeGroupCreateServiceUnavailable) IsServerError() bool
- func (o *EdgeGroupCreateServiceUnavailable) IsSuccess() bool
- func (o *EdgeGroupCreateServiceUnavailable) String() string
- type EdgeGroupDeleteConflict
- func (o *EdgeGroupDeleteConflict) Code() int
- func (o *EdgeGroupDeleteConflict) Error() string
- func (o *EdgeGroupDeleteConflict) IsClientError() bool
- func (o *EdgeGroupDeleteConflict) IsCode(code int) bool
- func (o *EdgeGroupDeleteConflict) IsRedirect() bool
- func (o *EdgeGroupDeleteConflict) IsServerError() bool
- func (o *EdgeGroupDeleteConflict) IsSuccess() bool
- func (o *EdgeGroupDeleteConflict) String() string
- type EdgeGroupDeleteInternalServerError
- func (o *EdgeGroupDeleteInternalServerError) Code() int
- func (o *EdgeGroupDeleteInternalServerError) Error() string
- func (o *EdgeGroupDeleteInternalServerError) IsClientError() bool
- func (o *EdgeGroupDeleteInternalServerError) IsCode(code int) bool
- func (o *EdgeGroupDeleteInternalServerError) IsRedirect() bool
- func (o *EdgeGroupDeleteInternalServerError) IsServerError() bool
- func (o *EdgeGroupDeleteInternalServerError) IsSuccess() bool
- func (o *EdgeGroupDeleteInternalServerError) String() string
- type EdgeGroupDeleteNoContent
- func (o *EdgeGroupDeleteNoContent) Code() int
- func (o *EdgeGroupDeleteNoContent) Error() string
- func (o *EdgeGroupDeleteNoContent) IsClientError() bool
- func (o *EdgeGroupDeleteNoContent) IsCode(code int) bool
- func (o *EdgeGroupDeleteNoContent) IsRedirect() bool
- func (o *EdgeGroupDeleteNoContent) IsServerError() bool
- func (o *EdgeGroupDeleteNoContent) IsSuccess() bool
- func (o *EdgeGroupDeleteNoContent) String() string
- type EdgeGroupDeleteParams
- func NewEdgeGroupDeleteParams() *EdgeGroupDeleteParams
- func NewEdgeGroupDeleteParamsWithContext(ctx context.Context) *EdgeGroupDeleteParams
- func NewEdgeGroupDeleteParamsWithHTTPClient(client *http.Client) *EdgeGroupDeleteParams
- func NewEdgeGroupDeleteParamsWithTimeout(timeout time.Duration) *EdgeGroupDeleteParams
- func (o *EdgeGroupDeleteParams) SetContext(ctx context.Context)
- func (o *EdgeGroupDeleteParams) SetDefaults()
- func (o *EdgeGroupDeleteParams) SetHTTPClient(client *http.Client)
- func (o *EdgeGroupDeleteParams) SetID(id int64)
- func (o *EdgeGroupDeleteParams) SetTimeout(timeout time.Duration)
- func (o *EdgeGroupDeleteParams) WithContext(ctx context.Context) *EdgeGroupDeleteParams
- func (o *EdgeGroupDeleteParams) WithDefaults() *EdgeGroupDeleteParams
- func (o *EdgeGroupDeleteParams) WithHTTPClient(client *http.Client) *EdgeGroupDeleteParams
- func (o *EdgeGroupDeleteParams) WithID(id int64) *EdgeGroupDeleteParams
- func (o *EdgeGroupDeleteParams) WithTimeout(timeout time.Duration) *EdgeGroupDeleteParams
- func (o *EdgeGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeGroupDeleteReader
- type EdgeGroupDeleteServiceUnavailable
- func (o *EdgeGroupDeleteServiceUnavailable) Code() int
- func (o *EdgeGroupDeleteServiceUnavailable) Error() string
- func (o *EdgeGroupDeleteServiceUnavailable) IsClientError() bool
- func (o *EdgeGroupDeleteServiceUnavailable) IsCode(code int) bool
- func (o *EdgeGroupDeleteServiceUnavailable) IsRedirect() bool
- func (o *EdgeGroupDeleteServiceUnavailable) IsServerError() bool
- func (o *EdgeGroupDeleteServiceUnavailable) IsSuccess() bool
- func (o *EdgeGroupDeleteServiceUnavailable) String() string
- type EdgeGroupInspectInternalServerError
- func (o *EdgeGroupInspectInternalServerError) Code() int
- func (o *EdgeGroupInspectInternalServerError) Error() string
- func (o *EdgeGroupInspectInternalServerError) IsClientError() bool
- func (o *EdgeGroupInspectInternalServerError) IsCode(code int) bool
- func (o *EdgeGroupInspectInternalServerError) IsRedirect() bool
- func (o *EdgeGroupInspectInternalServerError) IsServerError() bool
- func (o *EdgeGroupInspectInternalServerError) IsSuccess() bool
- func (o *EdgeGroupInspectInternalServerError) String() string
- type EdgeGroupInspectOK
- func (o *EdgeGroupInspectOK) Code() int
- func (o *EdgeGroupInspectOK) Error() string
- func (o *EdgeGroupInspectOK) GetPayload() *models.PortainereeEdgeGroup
- func (o *EdgeGroupInspectOK) IsClientError() bool
- func (o *EdgeGroupInspectOK) IsCode(code int) bool
- func (o *EdgeGroupInspectOK) IsRedirect() bool
- func (o *EdgeGroupInspectOK) IsServerError() bool
- func (o *EdgeGroupInspectOK) IsSuccess() bool
- func (o *EdgeGroupInspectOK) String() string
- type EdgeGroupInspectParams
- func NewEdgeGroupInspectParams() *EdgeGroupInspectParams
- func NewEdgeGroupInspectParamsWithContext(ctx context.Context) *EdgeGroupInspectParams
- func NewEdgeGroupInspectParamsWithHTTPClient(client *http.Client) *EdgeGroupInspectParams
- func NewEdgeGroupInspectParamsWithTimeout(timeout time.Duration) *EdgeGroupInspectParams
- func (o *EdgeGroupInspectParams) SetContext(ctx context.Context)
- func (o *EdgeGroupInspectParams) SetDefaults()
- func (o *EdgeGroupInspectParams) SetHTTPClient(client *http.Client)
- func (o *EdgeGroupInspectParams) SetID(id int64)
- func (o *EdgeGroupInspectParams) SetTimeout(timeout time.Duration)
- func (o *EdgeGroupInspectParams) WithContext(ctx context.Context) *EdgeGroupInspectParams
- func (o *EdgeGroupInspectParams) WithDefaults() *EdgeGroupInspectParams
- func (o *EdgeGroupInspectParams) WithHTTPClient(client *http.Client) *EdgeGroupInspectParams
- func (o *EdgeGroupInspectParams) WithID(id int64) *EdgeGroupInspectParams
- func (o *EdgeGroupInspectParams) WithTimeout(timeout time.Duration) *EdgeGroupInspectParams
- func (o *EdgeGroupInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeGroupInspectReader
- type EdgeGroupInspectServiceUnavailable
- func (o *EdgeGroupInspectServiceUnavailable) Code() int
- func (o *EdgeGroupInspectServiceUnavailable) Error() string
- func (o *EdgeGroupInspectServiceUnavailable) IsClientError() bool
- func (o *EdgeGroupInspectServiceUnavailable) IsCode(code int) bool
- func (o *EdgeGroupInspectServiceUnavailable) IsRedirect() bool
- func (o *EdgeGroupInspectServiceUnavailable) IsServerError() bool
- func (o *EdgeGroupInspectServiceUnavailable) IsSuccess() bool
- func (o *EdgeGroupInspectServiceUnavailable) String() string
- type EdgeGroupListInternalServerError
- func (o *EdgeGroupListInternalServerError) Code() int
- func (o *EdgeGroupListInternalServerError) Error() string
- func (o *EdgeGroupListInternalServerError) IsClientError() bool
- func (o *EdgeGroupListInternalServerError) IsCode(code int) bool
- func (o *EdgeGroupListInternalServerError) IsRedirect() bool
- func (o *EdgeGroupListInternalServerError) IsServerError() bool
- func (o *EdgeGroupListInternalServerError) IsSuccess() bool
- func (o *EdgeGroupListInternalServerError) String() string
- type EdgeGroupListOK
- func (o *EdgeGroupListOK) Code() int
- func (o *EdgeGroupListOK) Error() string
- func (o *EdgeGroupListOK) GetPayload() []*models.EdgegroupsDecoratedEdgeGroup
- func (o *EdgeGroupListOK) IsClientError() bool
- func (o *EdgeGroupListOK) IsCode(code int) bool
- func (o *EdgeGroupListOK) IsRedirect() bool
- func (o *EdgeGroupListOK) IsServerError() bool
- func (o *EdgeGroupListOK) IsSuccess() bool
- func (o *EdgeGroupListOK) String() string
- type EdgeGroupListParams
- func (o *EdgeGroupListParams) SetContext(ctx context.Context)
- func (o *EdgeGroupListParams) SetDefaults()
- func (o *EdgeGroupListParams) SetHTTPClient(client *http.Client)
- func (o *EdgeGroupListParams) SetTimeout(timeout time.Duration)
- func (o *EdgeGroupListParams) WithContext(ctx context.Context) *EdgeGroupListParams
- func (o *EdgeGroupListParams) WithDefaults() *EdgeGroupListParams
- func (o *EdgeGroupListParams) WithHTTPClient(client *http.Client) *EdgeGroupListParams
- func (o *EdgeGroupListParams) WithTimeout(timeout time.Duration) *EdgeGroupListParams
- func (o *EdgeGroupListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeGroupListReader
- type EdgeGroupListServiceUnavailable
- func (o *EdgeGroupListServiceUnavailable) Code() int
- func (o *EdgeGroupListServiceUnavailable) Error() string
- func (o *EdgeGroupListServiceUnavailable) IsClientError() bool
- func (o *EdgeGroupListServiceUnavailable) IsCode(code int) bool
- func (o *EdgeGroupListServiceUnavailable) IsRedirect() bool
- func (o *EdgeGroupListServiceUnavailable) IsServerError() bool
- func (o *EdgeGroupListServiceUnavailable) IsSuccess() bool
- func (o *EdgeGroupListServiceUnavailable) String() string
- type EdgeGroupUpdateInternalServerError
- func (o *EdgeGroupUpdateInternalServerError) Code() int
- func (o *EdgeGroupUpdateInternalServerError) Error() string
- func (o *EdgeGroupUpdateInternalServerError) IsClientError() bool
- func (o *EdgeGroupUpdateInternalServerError) IsCode(code int) bool
- func (o *EdgeGroupUpdateInternalServerError) IsRedirect() bool
- func (o *EdgeGroupUpdateInternalServerError) IsServerError() bool
- func (o *EdgeGroupUpdateInternalServerError) IsSuccess() bool
- func (o *EdgeGroupUpdateInternalServerError) String() string
- type EdgeGroupUpdateOK
- func (o *EdgeGroupUpdateOK) Code() int
- func (o *EdgeGroupUpdateOK) Error() string
- func (o *EdgeGroupUpdateOK) GetPayload() *models.PortainereeEdgeGroup
- func (o *EdgeGroupUpdateOK) IsClientError() bool
- func (o *EdgeGroupUpdateOK) IsCode(code int) bool
- func (o *EdgeGroupUpdateOK) IsRedirect() bool
- func (o *EdgeGroupUpdateOK) IsServerError() bool
- func (o *EdgeGroupUpdateOK) IsSuccess() bool
- func (o *EdgeGroupUpdateOK) String() string
- type EdgeGroupUpdateParams
- func NewEdgeGroupUpdateParams() *EdgeGroupUpdateParams
- func NewEdgeGroupUpdateParamsWithContext(ctx context.Context) *EdgeGroupUpdateParams
- func NewEdgeGroupUpdateParamsWithHTTPClient(client *http.Client) *EdgeGroupUpdateParams
- func NewEdgeGroupUpdateParamsWithTimeout(timeout time.Duration) *EdgeGroupUpdateParams
- func (o *EdgeGroupUpdateParams) SetBody(body *models.EdgegroupsEdgeGroupUpdatePayload)
- func (o *EdgeGroupUpdateParams) SetContext(ctx context.Context)
- func (o *EdgeGroupUpdateParams) SetDefaults()
- func (o *EdgeGroupUpdateParams) SetHTTPClient(client *http.Client)
- func (o *EdgeGroupUpdateParams) SetID(id int64)
- func (o *EdgeGroupUpdateParams) SetTimeout(timeout time.Duration)
- func (o *EdgeGroupUpdateParams) WithBody(body *models.EdgegroupsEdgeGroupUpdatePayload) *EdgeGroupUpdateParams
- func (o *EdgeGroupUpdateParams) WithContext(ctx context.Context) *EdgeGroupUpdateParams
- func (o *EdgeGroupUpdateParams) WithDefaults() *EdgeGroupUpdateParams
- func (o *EdgeGroupUpdateParams) WithHTTPClient(client *http.Client) *EdgeGroupUpdateParams
- func (o *EdgeGroupUpdateParams) WithID(id int64) *EdgeGroupUpdateParams
- func (o *EdgeGroupUpdateParams) WithTimeout(timeout time.Duration) *EdgeGroupUpdateParams
- func (o *EdgeGroupUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeGroupUpdateReader
- type EdgeGroupUpdateServiceUnavailable
- func (o *EdgeGroupUpdateServiceUnavailable) Code() int
- func (o *EdgeGroupUpdateServiceUnavailable) Error() string
- func (o *EdgeGroupUpdateServiceUnavailable) IsClientError() bool
- func (o *EdgeGroupUpdateServiceUnavailable) IsCode(code int) bool
- func (o *EdgeGroupUpdateServiceUnavailable) IsRedirect() bool
- func (o *EdgeGroupUpdateServiceUnavailable) IsServerError() bool
- func (o *EdgeGroupUpdateServiceUnavailable) IsSuccess() bool
- func (o *EdgeGroupUpdateServiceUnavailable) String() string
- type EgeGroupUpdateInternalServerError
- func (o *EgeGroupUpdateInternalServerError) Code() int
- func (o *EgeGroupUpdateInternalServerError) Error() string
- func (o *EgeGroupUpdateInternalServerError) IsClientError() bool
- func (o *EgeGroupUpdateInternalServerError) IsCode(code int) bool
- func (o *EgeGroupUpdateInternalServerError) IsRedirect() bool
- func (o *EgeGroupUpdateInternalServerError) IsServerError() bool
- func (o *EgeGroupUpdateInternalServerError) IsSuccess() bool
- func (o *EgeGroupUpdateInternalServerError) String() string
- type EgeGroupUpdateOK
- func (o *EgeGroupUpdateOK) Code() int
- func (o *EgeGroupUpdateOK) Error() string
- func (o *EgeGroupUpdateOK) GetPayload() *models.PortainereeEdgeGroup
- func (o *EgeGroupUpdateOK) IsClientError() bool
- func (o *EgeGroupUpdateOK) IsCode(code int) bool
- func (o *EgeGroupUpdateOK) IsRedirect() bool
- func (o *EgeGroupUpdateOK) IsServerError() bool
- func (o *EgeGroupUpdateOK) IsSuccess() bool
- func (o *EgeGroupUpdateOK) String() string
- type EgeGroupUpdateParams
- func NewEgeGroupUpdateParams() *EgeGroupUpdateParams
- func NewEgeGroupUpdateParamsWithContext(ctx context.Context) *EgeGroupUpdateParams
- func NewEgeGroupUpdateParamsWithHTTPClient(client *http.Client) *EgeGroupUpdateParams
- func NewEgeGroupUpdateParamsWithTimeout(timeout time.Duration) *EgeGroupUpdateParams
- func (o *EgeGroupUpdateParams) SetBody(body *models.EdgegroupsEdgeGroupUpdatePayload)
- func (o *EgeGroupUpdateParams) SetContext(ctx context.Context)
- func (o *EgeGroupUpdateParams) SetDefaults()
- func (o *EgeGroupUpdateParams) SetHTTPClient(client *http.Client)
- func (o *EgeGroupUpdateParams) SetID(id int64)
- func (o *EgeGroupUpdateParams) SetTimeout(timeout time.Duration)
- func (o *EgeGroupUpdateParams) WithBody(body *models.EdgegroupsEdgeGroupUpdatePayload) *EgeGroupUpdateParams
- func (o *EgeGroupUpdateParams) WithContext(ctx context.Context) *EgeGroupUpdateParams
- func (o *EgeGroupUpdateParams) WithDefaults() *EgeGroupUpdateParams
- func (o *EgeGroupUpdateParams) WithHTTPClient(client *http.Client) *EgeGroupUpdateParams
- func (o *EgeGroupUpdateParams) WithID(id int64) *EgeGroupUpdateParams
- func (o *EgeGroupUpdateParams) WithTimeout(timeout time.Duration) *EgeGroupUpdateParams
- func (o *EgeGroupUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EgeGroupUpdateReader
- type EgeGroupUpdateServiceUnavailable
- func (o *EgeGroupUpdateServiceUnavailable) Code() int
- func (o *EgeGroupUpdateServiceUnavailable) Error() string
- func (o *EgeGroupUpdateServiceUnavailable) IsClientError() bool
- func (o *EgeGroupUpdateServiceUnavailable) IsCode(code int) bool
- func (o *EgeGroupUpdateServiceUnavailable) IsRedirect() bool
- func (o *EgeGroupUpdateServiceUnavailable) IsServerError() bool
- func (o *EgeGroupUpdateServiceUnavailable) IsSuccess() bool
- func (o *EgeGroupUpdateServiceUnavailable) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for edge groups API
func (*Client) EdgeGroupCreate ¶
func (a *Client) EdgeGroupCreate(params *EdgeGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupCreateOK, error)
EdgeGroupCreate creates an edge group
**Access policy**: administrator
func (*Client) EdgeGroupDelete ¶
func (a *Client) EdgeGroupDelete(params *EdgeGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupDeleteNoContent, error)
EdgeGroupDelete deletes an edge group
**Access policy**: administrator
func (*Client) EdgeGroupInspect ¶
func (a *Client) EdgeGroupInspect(params *EdgeGroupInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupInspectOK, error)
EdgeGroupInspect inspects an edge group
**Access policy**: administrator
func (*Client) EdgeGroupList ¶
func (a *Client) EdgeGroupList(params *EdgeGroupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupListOK, error)
EdgeGroupList lists edge groups
**Access policy**: administrator
func (*Client) EdgeGroupUpdate ¶
func (a *Client) EdgeGroupUpdate(params *EdgeGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupUpdateOK, error)
EdgeGroupUpdate updates an edge group
**Access policy**: administrator
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.
type ClientService ¶
type ClientService interface {
EdgeGroupCreate(params *EdgeGroupCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupCreateOK, error)
EdgeGroupDelete(params *EdgeGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupDeleteNoContent, error)
EdgeGroupInspect(params *EdgeGroupInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupInspectOK, error)
EdgeGroupList(params *EdgeGroupListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupListOK, error)
EdgeGroupUpdate(params *EdgeGroupUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EdgeGroupUpdateOK, 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 groups API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new edge groups 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 groups 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 EdgeGroupCreateInternalServerError ¶
type EdgeGroupCreateInternalServerError struct {
}
EdgeGroupCreateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewEdgeGroupCreateInternalServerError ¶
func NewEdgeGroupCreateInternalServerError() *EdgeGroupCreateInternalServerError
NewEdgeGroupCreateInternalServerError creates a EdgeGroupCreateInternalServerError with default headers values
func (*EdgeGroupCreateInternalServerError) Code ¶
func (o *EdgeGroupCreateInternalServerError) Code() int
Code gets the status code for the edge group create internal server error response
func (*EdgeGroupCreateInternalServerError) Error ¶
func (o *EdgeGroupCreateInternalServerError) Error() string
func (*EdgeGroupCreateInternalServerError) IsClientError ¶
func (o *EdgeGroupCreateInternalServerError) IsClientError() bool
IsClientError returns true when this edge group create internal server error response has a 4xx status code
func (*EdgeGroupCreateInternalServerError) IsCode ¶
func (o *EdgeGroupCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this edge group create internal server error response a status code equal to that given
func (*EdgeGroupCreateInternalServerError) IsRedirect ¶
func (o *EdgeGroupCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge group create internal server error response has a 3xx status code
func (*EdgeGroupCreateInternalServerError) IsServerError ¶
func (o *EdgeGroupCreateInternalServerError) IsServerError() bool
IsServerError returns true when this edge group create internal server error response has a 5xx status code
func (*EdgeGroupCreateInternalServerError) IsSuccess ¶
func (o *EdgeGroupCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge group create internal server error response has a 2xx status code
func (*EdgeGroupCreateInternalServerError) String ¶
func (o *EdgeGroupCreateInternalServerError) String() string
type EdgeGroupCreateOK ¶
type EdgeGroupCreateOK struct {
Payload *models.PortainereeEdgeGroup
}
EdgeGroupCreateOK describes a response with status code 200, with default header values.
OK
func NewEdgeGroupCreateOK ¶
func NewEdgeGroupCreateOK() *EdgeGroupCreateOK
NewEdgeGroupCreateOK creates a EdgeGroupCreateOK with default headers values
func (*EdgeGroupCreateOK) Code ¶
func (o *EdgeGroupCreateOK) Code() int
Code gets the status code for the edge group create o k response
func (*EdgeGroupCreateOK) Error ¶
func (o *EdgeGroupCreateOK) Error() string
func (*EdgeGroupCreateOK) GetPayload ¶
func (o *EdgeGroupCreateOK) GetPayload() *models.PortainereeEdgeGroup
func (*EdgeGroupCreateOK) IsClientError ¶
func (o *EdgeGroupCreateOK) IsClientError() bool
IsClientError returns true when this edge group create o k response has a 4xx status code
func (*EdgeGroupCreateOK) IsCode ¶
func (o *EdgeGroupCreateOK) IsCode(code int) bool
IsCode returns true when this edge group create o k response a status code equal to that given
func (*EdgeGroupCreateOK) IsRedirect ¶
func (o *EdgeGroupCreateOK) IsRedirect() bool
IsRedirect returns true when this edge group create o k response has a 3xx status code
func (*EdgeGroupCreateOK) IsServerError ¶
func (o *EdgeGroupCreateOK) IsServerError() bool
IsServerError returns true when this edge group create o k response has a 5xx status code
func (*EdgeGroupCreateOK) IsSuccess ¶
func (o *EdgeGroupCreateOK) IsSuccess() bool
IsSuccess returns true when this edge group create o k response has a 2xx status code
func (*EdgeGroupCreateOK) String ¶
func (o *EdgeGroupCreateOK) String() string
type EdgeGroupCreateParams ¶
type EdgeGroupCreateParams struct {
/* Body.
EdgeGroup data
*/
Body *models.EdgegroupsEdgeGroupCreatePayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeGroupCreateParams contains all the parameters to send to the API endpoint
for the edge group create operation. Typically these are written to a http.Request.
func NewEdgeGroupCreateParams ¶
func NewEdgeGroupCreateParams() *EdgeGroupCreateParams
NewEdgeGroupCreateParams creates a new EdgeGroupCreateParams 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 NewEdgeGroupCreateParamsWithContext ¶
func NewEdgeGroupCreateParamsWithContext(ctx context.Context) *EdgeGroupCreateParams
NewEdgeGroupCreateParamsWithContext creates a new EdgeGroupCreateParams object with the ability to set a context for a request.
func NewEdgeGroupCreateParamsWithHTTPClient ¶
func NewEdgeGroupCreateParamsWithHTTPClient(client *http.Client) *EdgeGroupCreateParams
NewEdgeGroupCreateParamsWithHTTPClient creates a new EdgeGroupCreateParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeGroupCreateParamsWithTimeout ¶
func NewEdgeGroupCreateParamsWithTimeout(timeout time.Duration) *EdgeGroupCreateParams
NewEdgeGroupCreateParamsWithTimeout creates a new EdgeGroupCreateParams object with the ability to set a timeout on a request.
func (*EdgeGroupCreateParams) SetBody ¶
func (o *EdgeGroupCreateParams) SetBody(body *models.EdgegroupsEdgeGroupCreatePayload)
SetBody adds the body to the edge group create params
func (*EdgeGroupCreateParams) SetContext ¶
func (o *EdgeGroupCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the edge group create params
func (*EdgeGroupCreateParams) SetDefaults ¶
func (o *EdgeGroupCreateParams) SetDefaults()
SetDefaults hydrates default values in the edge group create params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupCreateParams) SetHTTPClient ¶
func (o *EdgeGroupCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge group create params
func (*EdgeGroupCreateParams) SetTimeout ¶
func (o *EdgeGroupCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge group create params
func (*EdgeGroupCreateParams) WithBody ¶
func (o *EdgeGroupCreateParams) WithBody(body *models.EdgegroupsEdgeGroupCreatePayload) *EdgeGroupCreateParams
WithBody adds the body to the edge group create params
func (*EdgeGroupCreateParams) WithContext ¶
func (o *EdgeGroupCreateParams) WithContext(ctx context.Context) *EdgeGroupCreateParams
WithContext adds the context to the edge group create params
func (*EdgeGroupCreateParams) WithDefaults ¶
func (o *EdgeGroupCreateParams) WithDefaults() *EdgeGroupCreateParams
WithDefaults hydrates default values in the edge group create params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupCreateParams) WithHTTPClient ¶
func (o *EdgeGroupCreateParams) WithHTTPClient(client *http.Client) *EdgeGroupCreateParams
WithHTTPClient adds the HTTPClient to the edge group create params
func (*EdgeGroupCreateParams) WithTimeout ¶
func (o *EdgeGroupCreateParams) WithTimeout(timeout time.Duration) *EdgeGroupCreateParams
WithTimeout adds the timeout to the edge group create params
func (*EdgeGroupCreateParams) WriteToRequest ¶
func (o *EdgeGroupCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeGroupCreateReader ¶
type EdgeGroupCreateReader struct {
// contains filtered or unexported fields
}
EdgeGroupCreateReader is a Reader for the EdgeGroupCreate structure.
func (*EdgeGroupCreateReader) ReadResponse ¶
func (o *EdgeGroupCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeGroupCreateServiceUnavailable ¶
type EdgeGroupCreateServiceUnavailable struct {
}
EdgeGroupCreateServiceUnavailable describes a response with status code 503, with default header values.
Edge compute features are disabled
func NewEdgeGroupCreateServiceUnavailable ¶
func NewEdgeGroupCreateServiceUnavailable() *EdgeGroupCreateServiceUnavailable
NewEdgeGroupCreateServiceUnavailable creates a EdgeGroupCreateServiceUnavailable with default headers values
func (*EdgeGroupCreateServiceUnavailable) Code ¶
func (o *EdgeGroupCreateServiceUnavailable) Code() int
Code gets the status code for the edge group create service unavailable response
func (*EdgeGroupCreateServiceUnavailable) Error ¶
func (o *EdgeGroupCreateServiceUnavailable) Error() string
func (*EdgeGroupCreateServiceUnavailable) IsClientError ¶
func (o *EdgeGroupCreateServiceUnavailable) IsClientError() bool
IsClientError returns true when this edge group create service unavailable response has a 4xx status code
func (*EdgeGroupCreateServiceUnavailable) IsCode ¶
func (o *EdgeGroupCreateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this edge group create service unavailable response a status code equal to that given
func (*EdgeGroupCreateServiceUnavailable) IsRedirect ¶
func (o *EdgeGroupCreateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this edge group create service unavailable response has a 3xx status code
func (*EdgeGroupCreateServiceUnavailable) IsServerError ¶
func (o *EdgeGroupCreateServiceUnavailable) IsServerError() bool
IsServerError returns true when this edge group create service unavailable response has a 5xx status code
func (*EdgeGroupCreateServiceUnavailable) IsSuccess ¶
func (o *EdgeGroupCreateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this edge group create service unavailable response has a 2xx status code
func (*EdgeGroupCreateServiceUnavailable) String ¶
func (o *EdgeGroupCreateServiceUnavailable) String() string
type EdgeGroupDeleteConflict ¶
type EdgeGroupDeleteConflict struct {
}
EdgeGroupDeleteConflict describes a response with status code 409, with default header values.
Edge group is in use by an Edge stack, Edge job or Edge config
func NewEdgeGroupDeleteConflict ¶
func NewEdgeGroupDeleteConflict() *EdgeGroupDeleteConflict
NewEdgeGroupDeleteConflict creates a EdgeGroupDeleteConflict with default headers values
func (*EdgeGroupDeleteConflict) Code ¶
func (o *EdgeGroupDeleteConflict) Code() int
Code gets the status code for the edge group delete conflict response
func (*EdgeGroupDeleteConflict) Error ¶
func (o *EdgeGroupDeleteConflict) Error() string
func (*EdgeGroupDeleteConflict) IsClientError ¶
func (o *EdgeGroupDeleteConflict) IsClientError() bool
IsClientError returns true when this edge group delete conflict response has a 4xx status code
func (*EdgeGroupDeleteConflict) IsCode ¶
func (o *EdgeGroupDeleteConflict) IsCode(code int) bool
IsCode returns true when this edge group delete conflict response a status code equal to that given
func (*EdgeGroupDeleteConflict) IsRedirect ¶
func (o *EdgeGroupDeleteConflict) IsRedirect() bool
IsRedirect returns true when this edge group delete conflict response has a 3xx status code
func (*EdgeGroupDeleteConflict) IsServerError ¶
func (o *EdgeGroupDeleteConflict) IsServerError() bool
IsServerError returns true when this edge group delete conflict response has a 5xx status code
func (*EdgeGroupDeleteConflict) IsSuccess ¶
func (o *EdgeGroupDeleteConflict) IsSuccess() bool
IsSuccess returns true when this edge group delete conflict response has a 2xx status code
func (*EdgeGroupDeleteConflict) String ¶
func (o *EdgeGroupDeleteConflict) String() string
type EdgeGroupDeleteInternalServerError ¶
type EdgeGroupDeleteInternalServerError struct {
}
EdgeGroupDeleteInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEdgeGroupDeleteInternalServerError ¶
func NewEdgeGroupDeleteInternalServerError() *EdgeGroupDeleteInternalServerError
NewEdgeGroupDeleteInternalServerError creates a EdgeGroupDeleteInternalServerError with default headers values
func (*EdgeGroupDeleteInternalServerError) Code ¶
func (o *EdgeGroupDeleteInternalServerError) Code() int
Code gets the status code for the edge group delete internal server error response
func (*EdgeGroupDeleteInternalServerError) Error ¶
func (o *EdgeGroupDeleteInternalServerError) Error() string
func (*EdgeGroupDeleteInternalServerError) IsClientError ¶
func (o *EdgeGroupDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this edge group delete internal server error response has a 4xx status code
func (*EdgeGroupDeleteInternalServerError) IsCode ¶
func (o *EdgeGroupDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this edge group delete internal server error response a status code equal to that given
func (*EdgeGroupDeleteInternalServerError) IsRedirect ¶
func (o *EdgeGroupDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge group delete internal server error response has a 3xx status code
func (*EdgeGroupDeleteInternalServerError) IsServerError ¶
func (o *EdgeGroupDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this edge group delete internal server error response has a 5xx status code
func (*EdgeGroupDeleteInternalServerError) IsSuccess ¶
func (o *EdgeGroupDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge group delete internal server error response has a 2xx status code
func (*EdgeGroupDeleteInternalServerError) String ¶
func (o *EdgeGroupDeleteInternalServerError) String() string
type EdgeGroupDeleteNoContent ¶
type EdgeGroupDeleteNoContent struct {
}
EdgeGroupDeleteNoContent describes a response with status code 204, with default header values.
No Content
func NewEdgeGroupDeleteNoContent ¶
func NewEdgeGroupDeleteNoContent() *EdgeGroupDeleteNoContent
NewEdgeGroupDeleteNoContent creates a EdgeGroupDeleteNoContent with default headers values
func (*EdgeGroupDeleteNoContent) Code ¶
func (o *EdgeGroupDeleteNoContent) Code() int
Code gets the status code for the edge group delete no content response
func (*EdgeGroupDeleteNoContent) Error ¶
func (o *EdgeGroupDeleteNoContent) Error() string
func (*EdgeGroupDeleteNoContent) IsClientError ¶
func (o *EdgeGroupDeleteNoContent) IsClientError() bool
IsClientError returns true when this edge group delete no content response has a 4xx status code
func (*EdgeGroupDeleteNoContent) IsCode ¶
func (o *EdgeGroupDeleteNoContent) IsCode(code int) bool
IsCode returns true when this edge group delete no content response a status code equal to that given
func (*EdgeGroupDeleteNoContent) IsRedirect ¶
func (o *EdgeGroupDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this edge group delete no content response has a 3xx status code
func (*EdgeGroupDeleteNoContent) IsServerError ¶
func (o *EdgeGroupDeleteNoContent) IsServerError() bool
IsServerError returns true when this edge group delete no content response has a 5xx status code
func (*EdgeGroupDeleteNoContent) IsSuccess ¶
func (o *EdgeGroupDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this edge group delete no content response has a 2xx status code
func (*EdgeGroupDeleteNoContent) String ¶
func (o *EdgeGroupDeleteNoContent) String() string
type EdgeGroupDeleteParams ¶
type EdgeGroupDeleteParams struct {
/* ID.
EdgeGroup Id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeGroupDeleteParams contains all the parameters to send to the API endpoint
for the edge group delete operation. Typically these are written to a http.Request.
func NewEdgeGroupDeleteParams ¶
func NewEdgeGroupDeleteParams() *EdgeGroupDeleteParams
NewEdgeGroupDeleteParams creates a new EdgeGroupDeleteParams 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 NewEdgeGroupDeleteParamsWithContext ¶
func NewEdgeGroupDeleteParamsWithContext(ctx context.Context) *EdgeGroupDeleteParams
NewEdgeGroupDeleteParamsWithContext creates a new EdgeGroupDeleteParams object with the ability to set a context for a request.
func NewEdgeGroupDeleteParamsWithHTTPClient ¶
func NewEdgeGroupDeleteParamsWithHTTPClient(client *http.Client) *EdgeGroupDeleteParams
NewEdgeGroupDeleteParamsWithHTTPClient creates a new EdgeGroupDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeGroupDeleteParamsWithTimeout ¶
func NewEdgeGroupDeleteParamsWithTimeout(timeout time.Duration) *EdgeGroupDeleteParams
NewEdgeGroupDeleteParamsWithTimeout creates a new EdgeGroupDeleteParams object with the ability to set a timeout on a request.
func (*EdgeGroupDeleteParams) SetContext ¶
func (o *EdgeGroupDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the edge group delete params
func (*EdgeGroupDeleteParams) SetDefaults ¶
func (o *EdgeGroupDeleteParams) SetDefaults()
SetDefaults hydrates default values in the edge group delete params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupDeleteParams) SetHTTPClient ¶
func (o *EdgeGroupDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge group delete params
func (*EdgeGroupDeleteParams) SetID ¶
func (o *EdgeGroupDeleteParams) SetID(id int64)
SetID adds the id to the edge group delete params
func (*EdgeGroupDeleteParams) SetTimeout ¶
func (o *EdgeGroupDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge group delete params
func (*EdgeGroupDeleteParams) WithContext ¶
func (o *EdgeGroupDeleteParams) WithContext(ctx context.Context) *EdgeGroupDeleteParams
WithContext adds the context to the edge group delete params
func (*EdgeGroupDeleteParams) WithDefaults ¶
func (o *EdgeGroupDeleteParams) WithDefaults() *EdgeGroupDeleteParams
WithDefaults hydrates default values in the edge group delete params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupDeleteParams) WithHTTPClient ¶
func (o *EdgeGroupDeleteParams) WithHTTPClient(client *http.Client) *EdgeGroupDeleteParams
WithHTTPClient adds the HTTPClient to the edge group delete params
func (*EdgeGroupDeleteParams) WithID ¶
func (o *EdgeGroupDeleteParams) WithID(id int64) *EdgeGroupDeleteParams
WithID adds the id to the edge group delete params
func (*EdgeGroupDeleteParams) WithTimeout ¶
func (o *EdgeGroupDeleteParams) WithTimeout(timeout time.Duration) *EdgeGroupDeleteParams
WithTimeout adds the timeout to the edge group delete params
func (*EdgeGroupDeleteParams) WriteToRequest ¶
func (o *EdgeGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeGroupDeleteReader ¶
type EdgeGroupDeleteReader struct {
// contains filtered or unexported fields
}
EdgeGroupDeleteReader is a Reader for the EdgeGroupDelete structure.
func (*EdgeGroupDeleteReader) ReadResponse ¶
func (o *EdgeGroupDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeGroupDeleteServiceUnavailable ¶
type EdgeGroupDeleteServiceUnavailable struct {
}
EdgeGroupDeleteServiceUnavailable describes a response with status code 503, with default header values.
Edge compute features are disabled
func NewEdgeGroupDeleteServiceUnavailable ¶
func NewEdgeGroupDeleteServiceUnavailable() *EdgeGroupDeleteServiceUnavailable
NewEdgeGroupDeleteServiceUnavailable creates a EdgeGroupDeleteServiceUnavailable with default headers values
func (*EdgeGroupDeleteServiceUnavailable) Code ¶
func (o *EdgeGroupDeleteServiceUnavailable) Code() int
Code gets the status code for the edge group delete service unavailable response
func (*EdgeGroupDeleteServiceUnavailable) Error ¶
func (o *EdgeGroupDeleteServiceUnavailable) Error() string
func (*EdgeGroupDeleteServiceUnavailable) IsClientError ¶
func (o *EdgeGroupDeleteServiceUnavailable) IsClientError() bool
IsClientError returns true when this edge group delete service unavailable response has a 4xx status code
func (*EdgeGroupDeleteServiceUnavailable) IsCode ¶
func (o *EdgeGroupDeleteServiceUnavailable) IsCode(code int) bool
IsCode returns true when this edge group delete service unavailable response a status code equal to that given
func (*EdgeGroupDeleteServiceUnavailable) IsRedirect ¶
func (o *EdgeGroupDeleteServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this edge group delete service unavailable response has a 3xx status code
func (*EdgeGroupDeleteServiceUnavailable) IsServerError ¶
func (o *EdgeGroupDeleteServiceUnavailable) IsServerError() bool
IsServerError returns true when this edge group delete service unavailable response has a 5xx status code
func (*EdgeGroupDeleteServiceUnavailable) IsSuccess ¶
func (o *EdgeGroupDeleteServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this edge group delete service unavailable response has a 2xx status code
func (*EdgeGroupDeleteServiceUnavailable) String ¶
func (o *EdgeGroupDeleteServiceUnavailable) String() string
type EdgeGroupInspectInternalServerError ¶
type EdgeGroupInspectInternalServerError struct {
}
EdgeGroupInspectInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewEdgeGroupInspectInternalServerError ¶
func NewEdgeGroupInspectInternalServerError() *EdgeGroupInspectInternalServerError
NewEdgeGroupInspectInternalServerError creates a EdgeGroupInspectInternalServerError with default headers values
func (*EdgeGroupInspectInternalServerError) Code ¶
func (o *EdgeGroupInspectInternalServerError) Code() int
Code gets the status code for the edge group inspect internal server error response
func (*EdgeGroupInspectInternalServerError) Error ¶
func (o *EdgeGroupInspectInternalServerError) Error() string
func (*EdgeGroupInspectInternalServerError) IsClientError ¶
func (o *EdgeGroupInspectInternalServerError) IsClientError() bool
IsClientError returns true when this edge group inspect internal server error response has a 4xx status code
func (*EdgeGroupInspectInternalServerError) IsCode ¶
func (o *EdgeGroupInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this edge group inspect internal server error response a status code equal to that given
func (*EdgeGroupInspectInternalServerError) IsRedirect ¶
func (o *EdgeGroupInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge group inspect internal server error response has a 3xx status code
func (*EdgeGroupInspectInternalServerError) IsServerError ¶
func (o *EdgeGroupInspectInternalServerError) IsServerError() bool
IsServerError returns true when this edge group inspect internal server error response has a 5xx status code
func (*EdgeGroupInspectInternalServerError) IsSuccess ¶
func (o *EdgeGroupInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge group inspect internal server error response has a 2xx status code
func (*EdgeGroupInspectInternalServerError) String ¶
func (o *EdgeGroupInspectInternalServerError) String() string
type EdgeGroupInspectOK ¶
type EdgeGroupInspectOK struct {
Payload *models.PortainereeEdgeGroup
}
EdgeGroupInspectOK describes a response with status code 200, with default header values.
OK
func NewEdgeGroupInspectOK ¶
func NewEdgeGroupInspectOK() *EdgeGroupInspectOK
NewEdgeGroupInspectOK creates a EdgeGroupInspectOK with default headers values
func (*EdgeGroupInspectOK) Code ¶
func (o *EdgeGroupInspectOK) Code() int
Code gets the status code for the edge group inspect o k response
func (*EdgeGroupInspectOK) Error ¶
func (o *EdgeGroupInspectOK) Error() string
func (*EdgeGroupInspectOK) GetPayload ¶
func (o *EdgeGroupInspectOK) GetPayload() *models.PortainereeEdgeGroup
func (*EdgeGroupInspectOK) IsClientError ¶
func (o *EdgeGroupInspectOK) IsClientError() bool
IsClientError returns true when this edge group inspect o k response has a 4xx status code
func (*EdgeGroupInspectOK) IsCode ¶
func (o *EdgeGroupInspectOK) IsCode(code int) bool
IsCode returns true when this edge group inspect o k response a status code equal to that given
func (*EdgeGroupInspectOK) IsRedirect ¶
func (o *EdgeGroupInspectOK) IsRedirect() bool
IsRedirect returns true when this edge group inspect o k response has a 3xx status code
func (*EdgeGroupInspectOK) IsServerError ¶
func (o *EdgeGroupInspectOK) IsServerError() bool
IsServerError returns true when this edge group inspect o k response has a 5xx status code
func (*EdgeGroupInspectOK) IsSuccess ¶
func (o *EdgeGroupInspectOK) IsSuccess() bool
IsSuccess returns true when this edge group inspect o k response has a 2xx status code
func (*EdgeGroupInspectOK) String ¶
func (o *EdgeGroupInspectOK) String() string
type EdgeGroupInspectParams ¶
type EdgeGroupInspectParams struct {
/* ID.
EdgeGroup Id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeGroupInspectParams contains all the parameters to send to the API endpoint
for the edge group inspect operation. Typically these are written to a http.Request.
func NewEdgeGroupInspectParams ¶
func NewEdgeGroupInspectParams() *EdgeGroupInspectParams
NewEdgeGroupInspectParams creates a new EdgeGroupInspectParams 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 NewEdgeGroupInspectParamsWithContext ¶
func NewEdgeGroupInspectParamsWithContext(ctx context.Context) *EdgeGroupInspectParams
NewEdgeGroupInspectParamsWithContext creates a new EdgeGroupInspectParams object with the ability to set a context for a request.
func NewEdgeGroupInspectParamsWithHTTPClient ¶
func NewEdgeGroupInspectParamsWithHTTPClient(client *http.Client) *EdgeGroupInspectParams
NewEdgeGroupInspectParamsWithHTTPClient creates a new EdgeGroupInspectParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeGroupInspectParamsWithTimeout ¶
func NewEdgeGroupInspectParamsWithTimeout(timeout time.Duration) *EdgeGroupInspectParams
NewEdgeGroupInspectParamsWithTimeout creates a new EdgeGroupInspectParams object with the ability to set a timeout on a request.
func (*EdgeGroupInspectParams) SetContext ¶
func (o *EdgeGroupInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the edge group inspect params
func (*EdgeGroupInspectParams) SetDefaults ¶
func (o *EdgeGroupInspectParams) SetDefaults()
SetDefaults hydrates default values in the edge group inspect params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupInspectParams) SetHTTPClient ¶
func (o *EdgeGroupInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge group inspect params
func (*EdgeGroupInspectParams) SetID ¶
func (o *EdgeGroupInspectParams) SetID(id int64)
SetID adds the id to the edge group inspect params
func (*EdgeGroupInspectParams) SetTimeout ¶
func (o *EdgeGroupInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge group inspect params
func (*EdgeGroupInspectParams) WithContext ¶
func (o *EdgeGroupInspectParams) WithContext(ctx context.Context) *EdgeGroupInspectParams
WithContext adds the context to the edge group inspect params
func (*EdgeGroupInspectParams) WithDefaults ¶
func (o *EdgeGroupInspectParams) WithDefaults() *EdgeGroupInspectParams
WithDefaults hydrates default values in the edge group inspect params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupInspectParams) WithHTTPClient ¶
func (o *EdgeGroupInspectParams) WithHTTPClient(client *http.Client) *EdgeGroupInspectParams
WithHTTPClient adds the HTTPClient to the edge group inspect params
func (*EdgeGroupInspectParams) WithID ¶
func (o *EdgeGroupInspectParams) WithID(id int64) *EdgeGroupInspectParams
WithID adds the id to the edge group inspect params
func (*EdgeGroupInspectParams) WithTimeout ¶
func (o *EdgeGroupInspectParams) WithTimeout(timeout time.Duration) *EdgeGroupInspectParams
WithTimeout adds the timeout to the edge group inspect params
func (*EdgeGroupInspectParams) WriteToRequest ¶
func (o *EdgeGroupInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeGroupInspectReader ¶
type EdgeGroupInspectReader struct {
// contains filtered or unexported fields
}
EdgeGroupInspectReader is a Reader for the EdgeGroupInspect structure.
func (*EdgeGroupInspectReader) ReadResponse ¶
func (o *EdgeGroupInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeGroupInspectServiceUnavailable ¶
type EdgeGroupInspectServiceUnavailable struct {
}
EdgeGroupInspectServiceUnavailable describes a response with status code 503, with default header values.
Edge compute features are disabled
func NewEdgeGroupInspectServiceUnavailable ¶
func NewEdgeGroupInspectServiceUnavailable() *EdgeGroupInspectServiceUnavailable
NewEdgeGroupInspectServiceUnavailable creates a EdgeGroupInspectServiceUnavailable with default headers values
func (*EdgeGroupInspectServiceUnavailable) Code ¶
func (o *EdgeGroupInspectServiceUnavailable) Code() int
Code gets the status code for the edge group inspect service unavailable response
func (*EdgeGroupInspectServiceUnavailable) Error ¶
func (o *EdgeGroupInspectServiceUnavailable) Error() string
func (*EdgeGroupInspectServiceUnavailable) IsClientError ¶
func (o *EdgeGroupInspectServiceUnavailable) IsClientError() bool
IsClientError returns true when this edge group inspect service unavailable response has a 4xx status code
func (*EdgeGroupInspectServiceUnavailable) IsCode ¶
func (o *EdgeGroupInspectServiceUnavailable) IsCode(code int) bool
IsCode returns true when this edge group inspect service unavailable response a status code equal to that given
func (*EdgeGroupInspectServiceUnavailable) IsRedirect ¶
func (o *EdgeGroupInspectServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this edge group inspect service unavailable response has a 3xx status code
func (*EdgeGroupInspectServiceUnavailable) IsServerError ¶
func (o *EdgeGroupInspectServiceUnavailable) IsServerError() bool
IsServerError returns true when this edge group inspect service unavailable response has a 5xx status code
func (*EdgeGroupInspectServiceUnavailable) IsSuccess ¶
func (o *EdgeGroupInspectServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this edge group inspect service unavailable response has a 2xx status code
func (*EdgeGroupInspectServiceUnavailable) String ¶
func (o *EdgeGroupInspectServiceUnavailable) String() string
type EdgeGroupListInternalServerError ¶
type EdgeGroupListInternalServerError struct {
}
EdgeGroupListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewEdgeGroupListInternalServerError ¶
func NewEdgeGroupListInternalServerError() *EdgeGroupListInternalServerError
NewEdgeGroupListInternalServerError creates a EdgeGroupListInternalServerError with default headers values
func (*EdgeGroupListInternalServerError) Code ¶
func (o *EdgeGroupListInternalServerError) Code() int
Code gets the status code for the edge group list internal server error response
func (*EdgeGroupListInternalServerError) Error ¶
func (o *EdgeGroupListInternalServerError) Error() string
func (*EdgeGroupListInternalServerError) IsClientError ¶
func (o *EdgeGroupListInternalServerError) IsClientError() bool
IsClientError returns true when this edge group list internal server error response has a 4xx status code
func (*EdgeGroupListInternalServerError) IsCode ¶
func (o *EdgeGroupListInternalServerError) IsCode(code int) bool
IsCode returns true when this edge group list internal server error response a status code equal to that given
func (*EdgeGroupListInternalServerError) IsRedirect ¶
func (o *EdgeGroupListInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge group list internal server error response has a 3xx status code
func (*EdgeGroupListInternalServerError) IsServerError ¶
func (o *EdgeGroupListInternalServerError) IsServerError() bool
IsServerError returns true when this edge group list internal server error response has a 5xx status code
func (*EdgeGroupListInternalServerError) IsSuccess ¶
func (o *EdgeGroupListInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge group list internal server error response has a 2xx status code
func (*EdgeGroupListInternalServerError) String ¶
func (o *EdgeGroupListInternalServerError) String() string
type EdgeGroupListOK ¶
type EdgeGroupListOK struct {
Payload []*models.EdgegroupsDecoratedEdgeGroup
}
EdgeGroupListOK describes a response with status code 200, with default header values.
EdgeGroups
func NewEdgeGroupListOK ¶
func NewEdgeGroupListOK() *EdgeGroupListOK
NewEdgeGroupListOK creates a EdgeGroupListOK with default headers values
func (*EdgeGroupListOK) Code ¶
func (o *EdgeGroupListOK) Code() int
Code gets the status code for the edge group list o k response
func (*EdgeGroupListOK) Error ¶
func (o *EdgeGroupListOK) Error() string
func (*EdgeGroupListOK) GetPayload ¶
func (o *EdgeGroupListOK) GetPayload() []*models.EdgegroupsDecoratedEdgeGroup
func (*EdgeGroupListOK) IsClientError ¶
func (o *EdgeGroupListOK) IsClientError() bool
IsClientError returns true when this edge group list o k response has a 4xx status code
func (*EdgeGroupListOK) IsCode ¶
func (o *EdgeGroupListOK) IsCode(code int) bool
IsCode returns true when this edge group list o k response a status code equal to that given
func (*EdgeGroupListOK) IsRedirect ¶
func (o *EdgeGroupListOK) IsRedirect() bool
IsRedirect returns true when this edge group list o k response has a 3xx status code
func (*EdgeGroupListOK) IsServerError ¶
func (o *EdgeGroupListOK) IsServerError() bool
IsServerError returns true when this edge group list o k response has a 5xx status code
func (*EdgeGroupListOK) IsSuccess ¶
func (o *EdgeGroupListOK) IsSuccess() bool
IsSuccess returns true when this edge group list o k response has a 2xx status code
func (*EdgeGroupListOK) String ¶
func (o *EdgeGroupListOK) String() string
type EdgeGroupListParams ¶
type EdgeGroupListParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeGroupListParams contains all the parameters to send to the API endpoint
for the edge group list operation. Typically these are written to a http.Request.
func NewEdgeGroupListParams ¶
func NewEdgeGroupListParams() *EdgeGroupListParams
NewEdgeGroupListParams creates a new EdgeGroupListParams 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 NewEdgeGroupListParamsWithContext ¶
func NewEdgeGroupListParamsWithContext(ctx context.Context) *EdgeGroupListParams
NewEdgeGroupListParamsWithContext creates a new EdgeGroupListParams object with the ability to set a context for a request.
func NewEdgeGroupListParamsWithHTTPClient ¶
func NewEdgeGroupListParamsWithHTTPClient(client *http.Client) *EdgeGroupListParams
NewEdgeGroupListParamsWithHTTPClient creates a new EdgeGroupListParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeGroupListParamsWithTimeout ¶
func NewEdgeGroupListParamsWithTimeout(timeout time.Duration) *EdgeGroupListParams
NewEdgeGroupListParamsWithTimeout creates a new EdgeGroupListParams object with the ability to set a timeout on a request.
func (*EdgeGroupListParams) SetContext ¶
func (o *EdgeGroupListParams) SetContext(ctx context.Context)
SetContext adds the context to the edge group list params
func (*EdgeGroupListParams) SetDefaults ¶
func (o *EdgeGroupListParams) SetDefaults()
SetDefaults hydrates default values in the edge group list params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupListParams) SetHTTPClient ¶
func (o *EdgeGroupListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge group list params
func (*EdgeGroupListParams) SetTimeout ¶
func (o *EdgeGroupListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge group list params
func (*EdgeGroupListParams) WithContext ¶
func (o *EdgeGroupListParams) WithContext(ctx context.Context) *EdgeGroupListParams
WithContext adds the context to the edge group list params
func (*EdgeGroupListParams) WithDefaults ¶
func (o *EdgeGroupListParams) WithDefaults() *EdgeGroupListParams
WithDefaults hydrates default values in the edge group list params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupListParams) WithHTTPClient ¶
func (o *EdgeGroupListParams) WithHTTPClient(client *http.Client) *EdgeGroupListParams
WithHTTPClient adds the HTTPClient to the edge group list params
func (*EdgeGroupListParams) WithTimeout ¶
func (o *EdgeGroupListParams) WithTimeout(timeout time.Duration) *EdgeGroupListParams
WithTimeout adds the timeout to the edge group list params
func (*EdgeGroupListParams) WriteToRequest ¶
func (o *EdgeGroupListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeGroupListReader ¶
type EdgeGroupListReader struct {
// contains filtered or unexported fields
}
EdgeGroupListReader is a Reader for the EdgeGroupList structure.
func (*EdgeGroupListReader) ReadResponse ¶
func (o *EdgeGroupListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeGroupListServiceUnavailable ¶
type EdgeGroupListServiceUnavailable struct {
}
EdgeGroupListServiceUnavailable describes a response with status code 503, with default header values.
Edge compute features are disabled
func NewEdgeGroupListServiceUnavailable ¶
func NewEdgeGroupListServiceUnavailable() *EdgeGroupListServiceUnavailable
NewEdgeGroupListServiceUnavailable creates a EdgeGroupListServiceUnavailable with default headers values
func (*EdgeGroupListServiceUnavailable) Code ¶
func (o *EdgeGroupListServiceUnavailable) Code() int
Code gets the status code for the edge group list service unavailable response
func (*EdgeGroupListServiceUnavailable) Error ¶
func (o *EdgeGroupListServiceUnavailable) Error() string
func (*EdgeGroupListServiceUnavailable) IsClientError ¶
func (o *EdgeGroupListServiceUnavailable) IsClientError() bool
IsClientError returns true when this edge group list service unavailable response has a 4xx status code
func (*EdgeGroupListServiceUnavailable) IsCode ¶
func (o *EdgeGroupListServiceUnavailable) IsCode(code int) bool
IsCode returns true when this edge group list service unavailable response a status code equal to that given
func (*EdgeGroupListServiceUnavailable) IsRedirect ¶
func (o *EdgeGroupListServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this edge group list service unavailable response has a 3xx status code
func (*EdgeGroupListServiceUnavailable) IsServerError ¶
func (o *EdgeGroupListServiceUnavailable) IsServerError() bool
IsServerError returns true when this edge group list service unavailable response has a 5xx status code
func (*EdgeGroupListServiceUnavailable) IsSuccess ¶
func (o *EdgeGroupListServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this edge group list service unavailable response has a 2xx status code
func (*EdgeGroupListServiceUnavailable) String ¶
func (o *EdgeGroupListServiceUnavailable) String() string
type EdgeGroupUpdateInternalServerError ¶
type EdgeGroupUpdateInternalServerError struct {
}
EdgeGroupUpdateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewEdgeGroupUpdateInternalServerError ¶
func NewEdgeGroupUpdateInternalServerError() *EdgeGroupUpdateInternalServerError
NewEdgeGroupUpdateInternalServerError creates a EdgeGroupUpdateInternalServerError with default headers values
func (*EdgeGroupUpdateInternalServerError) Code ¶
func (o *EdgeGroupUpdateInternalServerError) Code() int
Code gets the status code for the edge group update internal server error response
func (*EdgeGroupUpdateInternalServerError) Error ¶
func (o *EdgeGroupUpdateInternalServerError) Error() string
func (*EdgeGroupUpdateInternalServerError) IsClientError ¶
func (o *EdgeGroupUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this edge group update internal server error response has a 4xx status code
func (*EdgeGroupUpdateInternalServerError) IsCode ¶
func (o *EdgeGroupUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this edge group update internal server error response a status code equal to that given
func (*EdgeGroupUpdateInternalServerError) IsRedirect ¶
func (o *EdgeGroupUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this edge group update internal server error response has a 3xx status code
func (*EdgeGroupUpdateInternalServerError) IsServerError ¶
func (o *EdgeGroupUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this edge group update internal server error response has a 5xx status code
func (*EdgeGroupUpdateInternalServerError) IsSuccess ¶
func (o *EdgeGroupUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this edge group update internal server error response has a 2xx status code
func (*EdgeGroupUpdateInternalServerError) String ¶
func (o *EdgeGroupUpdateInternalServerError) String() string
type EdgeGroupUpdateOK ¶
type EdgeGroupUpdateOK struct {
Payload *models.PortainereeEdgeGroup
}
EdgeGroupUpdateOK describes a response with status code 200, with default header values.
OK
func NewEdgeGroupUpdateOK ¶
func NewEdgeGroupUpdateOK() *EdgeGroupUpdateOK
NewEdgeGroupUpdateOK creates a EdgeGroupUpdateOK with default headers values
func (*EdgeGroupUpdateOK) Code ¶
func (o *EdgeGroupUpdateOK) Code() int
Code gets the status code for the edge group update o k response
func (*EdgeGroupUpdateOK) Error ¶
func (o *EdgeGroupUpdateOK) Error() string
func (*EdgeGroupUpdateOK) GetPayload ¶
func (o *EdgeGroupUpdateOK) GetPayload() *models.PortainereeEdgeGroup
func (*EdgeGroupUpdateOK) IsClientError ¶
func (o *EdgeGroupUpdateOK) IsClientError() bool
IsClientError returns true when this edge group update o k response has a 4xx status code
func (*EdgeGroupUpdateOK) IsCode ¶
func (o *EdgeGroupUpdateOK) IsCode(code int) bool
IsCode returns true when this edge group update o k response a status code equal to that given
func (*EdgeGroupUpdateOK) IsRedirect ¶
func (o *EdgeGroupUpdateOK) IsRedirect() bool
IsRedirect returns true when this edge group update o k response has a 3xx status code
func (*EdgeGroupUpdateOK) IsServerError ¶
func (o *EdgeGroupUpdateOK) IsServerError() bool
IsServerError returns true when this edge group update o k response has a 5xx status code
func (*EdgeGroupUpdateOK) IsSuccess ¶
func (o *EdgeGroupUpdateOK) IsSuccess() bool
IsSuccess returns true when this edge group update o k response has a 2xx status code
func (*EdgeGroupUpdateOK) String ¶
func (o *EdgeGroupUpdateOK) String() string
type EdgeGroupUpdateParams ¶
type EdgeGroupUpdateParams struct {
/* Body.
EdgeGroup data
*/
Body *models.EdgegroupsEdgeGroupUpdatePayload
/* ID.
EdgeGroup Id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EdgeGroupUpdateParams contains all the parameters to send to the API endpoint
for the edge group update operation. Typically these are written to a http.Request.
func NewEdgeGroupUpdateParams ¶
func NewEdgeGroupUpdateParams() *EdgeGroupUpdateParams
NewEdgeGroupUpdateParams creates a new EdgeGroupUpdateParams 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 NewEdgeGroupUpdateParamsWithContext ¶
func NewEdgeGroupUpdateParamsWithContext(ctx context.Context) *EdgeGroupUpdateParams
NewEdgeGroupUpdateParamsWithContext creates a new EdgeGroupUpdateParams object with the ability to set a context for a request.
func NewEdgeGroupUpdateParamsWithHTTPClient ¶
func NewEdgeGroupUpdateParamsWithHTTPClient(client *http.Client) *EdgeGroupUpdateParams
NewEdgeGroupUpdateParamsWithHTTPClient creates a new EdgeGroupUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewEdgeGroupUpdateParamsWithTimeout ¶
func NewEdgeGroupUpdateParamsWithTimeout(timeout time.Duration) *EdgeGroupUpdateParams
NewEdgeGroupUpdateParamsWithTimeout creates a new EdgeGroupUpdateParams object with the ability to set a timeout on a request.
func (*EdgeGroupUpdateParams) SetBody ¶
func (o *EdgeGroupUpdateParams) SetBody(body *models.EdgegroupsEdgeGroupUpdatePayload)
SetBody adds the body to the edge group update params
func (*EdgeGroupUpdateParams) SetContext ¶
func (o *EdgeGroupUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the edge group update params
func (*EdgeGroupUpdateParams) SetDefaults ¶
func (o *EdgeGroupUpdateParams) SetDefaults()
SetDefaults hydrates default values in the edge group update params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupUpdateParams) SetHTTPClient ¶
func (o *EdgeGroupUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edge group update params
func (*EdgeGroupUpdateParams) SetID ¶
func (o *EdgeGroupUpdateParams) SetID(id int64)
SetID adds the id to the edge group update params
func (*EdgeGroupUpdateParams) SetTimeout ¶
func (o *EdgeGroupUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edge group update params
func (*EdgeGroupUpdateParams) WithBody ¶
func (o *EdgeGroupUpdateParams) WithBody(body *models.EdgegroupsEdgeGroupUpdatePayload) *EdgeGroupUpdateParams
WithBody adds the body to the edge group update params
func (*EdgeGroupUpdateParams) WithContext ¶
func (o *EdgeGroupUpdateParams) WithContext(ctx context.Context) *EdgeGroupUpdateParams
WithContext adds the context to the edge group update params
func (*EdgeGroupUpdateParams) WithDefaults ¶
func (o *EdgeGroupUpdateParams) WithDefaults() *EdgeGroupUpdateParams
WithDefaults hydrates default values in the edge group update params (not the query body).
All values with no default are reset to their zero value.
func (*EdgeGroupUpdateParams) WithHTTPClient ¶
func (o *EdgeGroupUpdateParams) WithHTTPClient(client *http.Client) *EdgeGroupUpdateParams
WithHTTPClient adds the HTTPClient to the edge group update params
func (*EdgeGroupUpdateParams) WithID ¶
func (o *EdgeGroupUpdateParams) WithID(id int64) *EdgeGroupUpdateParams
WithID adds the id to the edge group update params
func (*EdgeGroupUpdateParams) WithTimeout ¶
func (o *EdgeGroupUpdateParams) WithTimeout(timeout time.Duration) *EdgeGroupUpdateParams
WithTimeout adds the timeout to the edge group update params
func (*EdgeGroupUpdateParams) WriteToRequest ¶
func (o *EdgeGroupUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EdgeGroupUpdateReader ¶
type EdgeGroupUpdateReader struct {
// contains filtered or unexported fields
}
EdgeGroupUpdateReader is a Reader for the EdgeGroupUpdate structure.
func (*EdgeGroupUpdateReader) ReadResponse ¶
func (o *EdgeGroupUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EdgeGroupUpdateServiceUnavailable ¶
type EdgeGroupUpdateServiceUnavailable struct {
}
EdgeGroupUpdateServiceUnavailable describes a response with status code 503, with default header values.
Edge compute features are disabled
func NewEdgeGroupUpdateServiceUnavailable ¶
func NewEdgeGroupUpdateServiceUnavailable() *EdgeGroupUpdateServiceUnavailable
NewEdgeGroupUpdateServiceUnavailable creates a EdgeGroupUpdateServiceUnavailable with default headers values
func (*EdgeGroupUpdateServiceUnavailable) Code ¶
func (o *EdgeGroupUpdateServiceUnavailable) Code() int
Code gets the status code for the edge group update service unavailable response
func (*EdgeGroupUpdateServiceUnavailable) Error ¶
func (o *EdgeGroupUpdateServiceUnavailable) Error() string
func (*EdgeGroupUpdateServiceUnavailable) IsClientError ¶
func (o *EdgeGroupUpdateServiceUnavailable) IsClientError() bool
IsClientError returns true when this edge group update service unavailable response has a 4xx status code
func (*EdgeGroupUpdateServiceUnavailable) IsCode ¶
func (o *EdgeGroupUpdateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this edge group update service unavailable response a status code equal to that given
func (*EdgeGroupUpdateServiceUnavailable) IsRedirect ¶
func (o *EdgeGroupUpdateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this edge group update service unavailable response has a 3xx status code
func (*EdgeGroupUpdateServiceUnavailable) IsServerError ¶
func (o *EdgeGroupUpdateServiceUnavailable) IsServerError() bool
IsServerError returns true when this edge group update service unavailable response has a 5xx status code
func (*EdgeGroupUpdateServiceUnavailable) IsSuccess ¶
func (o *EdgeGroupUpdateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this edge group update service unavailable response has a 2xx status code
func (*EdgeGroupUpdateServiceUnavailable) String ¶
func (o *EdgeGroupUpdateServiceUnavailable) String() string
type EgeGroupUpdateInternalServerError ¶
type EgeGroupUpdateInternalServerError struct {
}
EgeGroupUpdateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewEgeGroupUpdateInternalServerError ¶
func NewEgeGroupUpdateInternalServerError() *EgeGroupUpdateInternalServerError
NewEgeGroupUpdateInternalServerError creates a EgeGroupUpdateInternalServerError with default headers values
func (*EgeGroupUpdateInternalServerError) Code ¶
func (o *EgeGroupUpdateInternalServerError) Code() int
Code gets the status code for the ege group update internal server error response
func (*EgeGroupUpdateInternalServerError) Error ¶
func (o *EgeGroupUpdateInternalServerError) Error() string
func (*EgeGroupUpdateInternalServerError) IsClientError ¶
func (o *EgeGroupUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this ege group update internal server error response has a 4xx status code
func (*EgeGroupUpdateInternalServerError) IsCode ¶
func (o *EgeGroupUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this ege group update internal server error response a status code equal to that given
func (*EgeGroupUpdateInternalServerError) IsRedirect ¶
func (o *EgeGroupUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this ege group update internal server error response has a 3xx status code
func (*EgeGroupUpdateInternalServerError) IsServerError ¶
func (o *EgeGroupUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this ege group update internal server error response has a 5xx status code
func (*EgeGroupUpdateInternalServerError) IsSuccess ¶
func (o *EgeGroupUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this ege group update internal server error response has a 2xx status code
func (*EgeGroupUpdateInternalServerError) String ¶
func (o *EgeGroupUpdateInternalServerError) String() string
type EgeGroupUpdateOK ¶
type EgeGroupUpdateOK struct {
Payload *models.PortainereeEdgeGroup
}
EgeGroupUpdateOK describes a response with status code 200, with default header values.
OK
func NewEgeGroupUpdateOK ¶
func NewEgeGroupUpdateOK() *EgeGroupUpdateOK
NewEgeGroupUpdateOK creates a EgeGroupUpdateOK with default headers values
func (*EgeGroupUpdateOK) Code ¶
func (o *EgeGroupUpdateOK) Code() int
Code gets the status code for the ege group update o k response
func (*EgeGroupUpdateOK) Error ¶
func (o *EgeGroupUpdateOK) Error() string
func (*EgeGroupUpdateOK) GetPayload ¶
func (o *EgeGroupUpdateOK) GetPayload() *models.PortainereeEdgeGroup
func (*EgeGroupUpdateOK) IsClientError ¶
func (o *EgeGroupUpdateOK) IsClientError() bool
IsClientError returns true when this ege group update o k response has a 4xx status code
func (*EgeGroupUpdateOK) IsCode ¶
func (o *EgeGroupUpdateOK) IsCode(code int) bool
IsCode returns true when this ege group update o k response a status code equal to that given
func (*EgeGroupUpdateOK) IsRedirect ¶
func (o *EgeGroupUpdateOK) IsRedirect() bool
IsRedirect returns true when this ege group update o k response has a 3xx status code
func (*EgeGroupUpdateOK) IsServerError ¶
func (o *EgeGroupUpdateOK) IsServerError() bool
IsServerError returns true when this ege group update o k response has a 5xx status code
func (*EgeGroupUpdateOK) IsSuccess ¶
func (o *EgeGroupUpdateOK) IsSuccess() bool
IsSuccess returns true when this ege group update o k response has a 2xx status code
func (*EgeGroupUpdateOK) String ¶
func (o *EgeGroupUpdateOK) String() string
type EgeGroupUpdateParams ¶
type EgeGroupUpdateParams struct {
/* Body.
EdgeGroup data
*/
Body *models.EdgegroupsEdgeGroupUpdatePayload
/* ID.
EdgeGroup Id
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EgeGroupUpdateParams contains all the parameters to send to the API endpoint
for the ege group update operation. Typically these are written to a http.Request.
func NewEgeGroupUpdateParams ¶
func NewEgeGroupUpdateParams() *EgeGroupUpdateParams
NewEgeGroupUpdateParams creates a new EgeGroupUpdateParams 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 NewEgeGroupUpdateParamsWithContext ¶
func NewEgeGroupUpdateParamsWithContext(ctx context.Context) *EgeGroupUpdateParams
NewEgeGroupUpdateParamsWithContext creates a new EgeGroupUpdateParams object with the ability to set a context for a request.
func NewEgeGroupUpdateParamsWithHTTPClient ¶
func NewEgeGroupUpdateParamsWithHTTPClient(client *http.Client) *EgeGroupUpdateParams
NewEgeGroupUpdateParamsWithHTTPClient creates a new EgeGroupUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewEgeGroupUpdateParamsWithTimeout ¶
func NewEgeGroupUpdateParamsWithTimeout(timeout time.Duration) *EgeGroupUpdateParams
NewEgeGroupUpdateParamsWithTimeout creates a new EgeGroupUpdateParams object with the ability to set a timeout on a request.
func (*EgeGroupUpdateParams) SetBody ¶
func (o *EgeGroupUpdateParams) SetBody(body *models.EdgegroupsEdgeGroupUpdatePayload)
SetBody adds the body to the ege group update params
func (*EgeGroupUpdateParams) SetContext ¶
func (o *EgeGroupUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the ege group update params
func (*EgeGroupUpdateParams) SetDefaults ¶
func (o *EgeGroupUpdateParams) SetDefaults()
SetDefaults hydrates default values in the ege group update params (not the query body).
All values with no default are reset to their zero value.
func (*EgeGroupUpdateParams) SetHTTPClient ¶
func (o *EgeGroupUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ege group update params
func (*EgeGroupUpdateParams) SetID ¶
func (o *EgeGroupUpdateParams) SetID(id int64)
SetID adds the id to the ege group update params
func (*EgeGroupUpdateParams) SetTimeout ¶
func (o *EgeGroupUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ege group update params
func (*EgeGroupUpdateParams) WithBody ¶
func (o *EgeGroupUpdateParams) WithBody(body *models.EdgegroupsEdgeGroupUpdatePayload) *EgeGroupUpdateParams
WithBody adds the body to the ege group update params
func (*EgeGroupUpdateParams) WithContext ¶
func (o *EgeGroupUpdateParams) WithContext(ctx context.Context) *EgeGroupUpdateParams
WithContext adds the context to the ege group update params
func (*EgeGroupUpdateParams) WithDefaults ¶
func (o *EgeGroupUpdateParams) WithDefaults() *EgeGroupUpdateParams
WithDefaults hydrates default values in the ege group update params (not the query body).
All values with no default are reset to their zero value.
func (*EgeGroupUpdateParams) WithHTTPClient ¶
func (o *EgeGroupUpdateParams) WithHTTPClient(client *http.Client) *EgeGroupUpdateParams
WithHTTPClient adds the HTTPClient to the ege group update params
func (*EgeGroupUpdateParams) WithID ¶
func (o *EgeGroupUpdateParams) WithID(id int64) *EgeGroupUpdateParams
WithID adds the id to the ege group update params
func (*EgeGroupUpdateParams) WithTimeout ¶
func (o *EgeGroupUpdateParams) WithTimeout(timeout time.Duration) *EgeGroupUpdateParams
WithTimeout adds the timeout to the ege group update params
func (*EgeGroupUpdateParams) WriteToRequest ¶
func (o *EgeGroupUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EgeGroupUpdateReader ¶
type EgeGroupUpdateReader struct {
// contains filtered or unexported fields
}
EgeGroupUpdateReader is a Reader for the EgeGroupUpdate structure.
func (*EgeGroupUpdateReader) ReadResponse ¶
func (o *EgeGroupUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EgeGroupUpdateServiceUnavailable ¶
type EgeGroupUpdateServiceUnavailable struct {
}
EgeGroupUpdateServiceUnavailable describes a response with status code 503, with default header values.
Edge compute features are disabled
func NewEgeGroupUpdateServiceUnavailable ¶
func NewEgeGroupUpdateServiceUnavailable() *EgeGroupUpdateServiceUnavailable
NewEgeGroupUpdateServiceUnavailable creates a EgeGroupUpdateServiceUnavailable with default headers values
func (*EgeGroupUpdateServiceUnavailable) Code ¶
func (o *EgeGroupUpdateServiceUnavailable) Code() int
Code gets the status code for the ege group update service unavailable response
func (*EgeGroupUpdateServiceUnavailable) Error ¶
func (o *EgeGroupUpdateServiceUnavailable) Error() string
func (*EgeGroupUpdateServiceUnavailable) IsClientError ¶
func (o *EgeGroupUpdateServiceUnavailable) IsClientError() bool
IsClientError returns true when this ege group update service unavailable response has a 4xx status code
func (*EgeGroupUpdateServiceUnavailable) IsCode ¶
func (o *EgeGroupUpdateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this ege group update service unavailable response a status code equal to that given
func (*EgeGroupUpdateServiceUnavailable) IsRedirect ¶
func (o *EgeGroupUpdateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this ege group update service unavailable response has a 3xx status code
func (*EgeGroupUpdateServiceUnavailable) IsServerError ¶
func (o *EgeGroupUpdateServiceUnavailable) IsServerError() bool
IsServerError returns true when this ege group update service unavailable response has a 5xx status code
func (*EgeGroupUpdateServiceUnavailable) IsSuccess ¶
func (o *EgeGroupUpdateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this ege group update service unavailable response has a 2xx status code
func (*EgeGroupUpdateServiceUnavailable) String ¶
func (o *EgeGroupUpdateServiceUnavailable) String() string
Source Files
¶
- edge_group_create_parameters.go
- edge_group_create_responses.go
- edge_group_delete_parameters.go
- edge_group_delete_responses.go
- edge_group_inspect_parameters.go
- edge_group_inspect_responses.go
- edge_group_list_parameters.go
- edge_group_list_responses.go
- edge_group_update_parameters.go
- edge_group_update_responses.go
- edge_groups_client.go
- ege_group_update_parameters.go
- ege_group_update_responses.go