edge_groups

package
v2.31.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

Code gets the status code for the edge group create internal server error response

func (*EdgeGroupCreateInternalServerError) Error

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

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

IsSuccess returns true when this edge group create internal server error response has a 2xx status code

func (*EdgeGroupCreateInternalServerError) 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 (*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

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

WithBody adds the body to the edge group create params

func (*EdgeGroupCreateParams) WithContext

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

Code gets the status code for the edge group create service unavailable response

func (*EdgeGroupCreateServiceUnavailable) Error

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

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

Code gets the status code for the edge group delete internal server error response

func (*EdgeGroupDeleteInternalServerError) Error

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

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

IsSuccess returns true when this edge group delete internal server error response has a 2xx status code

func (*EdgeGroupDeleteInternalServerError) 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

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

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

Code gets the status code for the edge group delete service unavailable response

func (*EdgeGroupDeleteServiceUnavailable) Error

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

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

Code gets the status code for the edge group inspect internal server error response

func (*EdgeGroupInspectInternalServerError) Error

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

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

IsSuccess returns true when this edge group inspect internal server error response has a 2xx status code

func (*EdgeGroupInspectInternalServerError) 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 (*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

WithContext adds the context to the edge group inspect params

func (*EdgeGroupInspectParams) WithDefaults

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

WithID adds the id to the edge group inspect params

func (*EdgeGroupInspectParams) WithTimeout

WithTimeout adds the timeout to the edge group inspect params

func (*EdgeGroupInspectParams) WriteToRequest

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

Code gets the status code for the edge group inspect service unavailable response

func (*EdgeGroupInspectServiceUnavailable) Error

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

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

IsSuccess returns true when this edge group inspect service unavailable response has a 2xx status code

func (*EdgeGroupInspectServiceUnavailable) 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

Code gets the status code for the edge group list internal server error response

func (*EdgeGroupListInternalServerError) Error

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

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 (*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

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

Code gets the status code for the edge group list service unavailable response

func (*EdgeGroupListServiceUnavailable) Error

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

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

Code gets the status code for the edge group update internal server error response

func (*EdgeGroupUpdateInternalServerError) Error

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

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

IsSuccess returns true when this edge group update internal server error response has a 2xx status code

func (*EdgeGroupUpdateInternalServerError) 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 (*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

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

WithBody adds the body to the edge group update params

func (*EdgeGroupUpdateParams) WithContext

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

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

Code gets the status code for the edge group update service unavailable response

func (*EdgeGroupUpdateServiceUnavailable) Error

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

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

Code gets the status code for the ege group update internal server error response

func (*EgeGroupUpdateInternalServerError) Error

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

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

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

WithBody adds the body to the ege group update params

func (*EgeGroupUpdateParams) WithContext

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

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

Code gets the status code for the ege group update service unavailable response

func (*EgeGroupUpdateServiceUnavailable) Error

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

Jump to

Keyboard shortcuts

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