edge

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 API

func (*Client) GetEndpointsIDEdgeStacksStackID

func (a *Client) GetEndpointsIDEdgeStacksStackID(params *GetEndpointsIDEdgeStacksStackIDParams, opts ...ClientOption) (*GetEndpointsIDEdgeStacksStackIDOK, error)

GetEndpointsIDEdgeStacksStackID inspects an edge stack for an environment endpoint

**Access policy**: public

func (*Client) PostEndpointsEdgeGenerateKey

func (a *Client) PostEndpointsEdgeGenerateKey(params *PostEndpointsEdgeGenerateKeyParams, opts ...ClientOption) (*PostEndpointsEdgeGenerateKeyOK, error)
PostEndpointsEdgeGenerateKey generates an edge key

Generates a general edge key

**Access policy**: admin

func (*Client) PostEndpointsIDEdgeJobsJobIDLogs

func (a *Client) PostEndpointsIDEdgeJobsJobIDLogs(params *PostEndpointsIDEdgeJobsJobIDLogsParams, opts ...ClientOption) (*PostEndpointsIDEdgeJobsJobIDLogsOK, error)

PostEndpointsIDEdgeJobsJobIDLogs inspects an edge job log

**Access policy**: public

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 {
	GetEndpointsIDEdgeStacksStackID(params *GetEndpointsIDEdgeStacksStackIDParams, opts ...ClientOption) (*GetEndpointsIDEdgeStacksStackIDOK, error)

	PostEndpointsEdgeGenerateKey(params *PostEndpointsEdgeGenerateKeyParams, opts ...ClientOption) (*PostEndpointsEdgeGenerateKeyOK, error)

	PostEndpointsIDEdgeJobsJobIDLogs(params *PostEndpointsIDEdgeJobsJobIDLogsParams, opts ...ClientOption) (*PostEndpointsIDEdgeJobsJobIDLogsOK, 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 API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new edge 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 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 GetEndpointsIDEdgeStacksStackIDBadRequest

type GetEndpointsIDEdgeStacksStackIDBadRequest struct {
}

GetEndpointsIDEdgeStacksStackIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetEndpointsIDEdgeStacksStackIDBadRequest

func NewGetEndpointsIDEdgeStacksStackIDBadRequest() *GetEndpointsIDEdgeStacksStackIDBadRequest

NewGetEndpointsIDEdgeStacksStackIDBadRequest creates a GetEndpointsIDEdgeStacksStackIDBadRequest with default headers values

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) Code

Code gets the status code for the get endpoints Id edge stacks stack Id bad request response

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) Error

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsClientError

IsClientError returns true when this get endpoints Id edge stacks stack Id bad request response has a 4xx status code

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsCode

IsCode returns true when this get endpoints Id edge stacks stack Id bad request response a status code equal to that given

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsRedirect

IsRedirect returns true when this get endpoints Id edge stacks stack Id bad request response has a 3xx status code

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsServerError

IsServerError returns true when this get endpoints Id edge stacks stack Id bad request response has a 5xx status code

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsSuccess

IsSuccess returns true when this get endpoints Id edge stacks stack Id bad request response has a 2xx status code

func (*GetEndpointsIDEdgeStacksStackIDBadRequest) String

type GetEndpointsIDEdgeStacksStackIDInternalServerError

type GetEndpointsIDEdgeStacksStackIDInternalServerError struct {
}

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

Internal Server Error

func NewGetEndpointsIDEdgeStacksStackIDInternalServerError

func NewGetEndpointsIDEdgeStacksStackIDInternalServerError() *GetEndpointsIDEdgeStacksStackIDInternalServerError

NewGetEndpointsIDEdgeStacksStackIDInternalServerError creates a GetEndpointsIDEdgeStacksStackIDInternalServerError with default headers values

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) Code

Code gets the status code for the get endpoints Id edge stacks stack Id internal server error response

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) Error

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsClientError

IsClientError returns true when this get endpoints Id edge stacks stack Id internal server error response has a 4xx status code

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsCode

IsCode returns true when this get endpoints Id edge stacks stack Id internal server error response a status code equal to that given

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsRedirect

IsRedirect returns true when this get endpoints Id edge stacks stack Id internal server error response has a 3xx status code

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsServerError

IsServerError returns true when this get endpoints Id edge stacks stack Id internal server error response has a 5xx status code

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsSuccess

IsSuccess returns true when this get endpoints Id edge stacks stack Id internal server error response has a 2xx status code

func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) String

type GetEndpointsIDEdgeStacksStackIDNotFound

type GetEndpointsIDEdgeStacksStackIDNotFound struct {
}

GetEndpointsIDEdgeStacksStackIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetEndpointsIDEdgeStacksStackIDNotFound

func NewGetEndpointsIDEdgeStacksStackIDNotFound() *GetEndpointsIDEdgeStacksStackIDNotFound

NewGetEndpointsIDEdgeStacksStackIDNotFound creates a GetEndpointsIDEdgeStacksStackIDNotFound with default headers values

func (*GetEndpointsIDEdgeStacksStackIDNotFound) Code

Code gets the status code for the get endpoints Id edge stacks stack Id not found response

func (*GetEndpointsIDEdgeStacksStackIDNotFound) Error

func (*GetEndpointsIDEdgeStacksStackIDNotFound) IsClientError

func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsClientError() bool

IsClientError returns true when this get endpoints Id edge stacks stack Id not found response has a 4xx status code

func (*GetEndpointsIDEdgeStacksStackIDNotFound) IsCode

IsCode returns true when this get endpoints Id edge stacks stack Id not found response a status code equal to that given

func (*GetEndpointsIDEdgeStacksStackIDNotFound) IsRedirect

IsRedirect returns true when this get endpoints Id edge stacks stack Id not found response has a 3xx status code

func (*GetEndpointsIDEdgeStacksStackIDNotFound) IsServerError

func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsServerError() bool

IsServerError returns true when this get endpoints Id edge stacks stack Id not found response has a 5xx status code

func (*GetEndpointsIDEdgeStacksStackIDNotFound) IsSuccess

IsSuccess returns true when this get endpoints Id edge stacks stack Id not found response has a 2xx status code

func (*GetEndpointsIDEdgeStacksStackIDNotFound) String

type GetEndpointsIDEdgeStacksStackIDOK

type GetEndpointsIDEdgeStacksStackIDOK struct {
	Payload *models.EdgeStackPayload
}

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

OK

func NewGetEndpointsIDEdgeStacksStackIDOK

func NewGetEndpointsIDEdgeStacksStackIDOK() *GetEndpointsIDEdgeStacksStackIDOK

NewGetEndpointsIDEdgeStacksStackIDOK creates a GetEndpointsIDEdgeStacksStackIDOK with default headers values

func (*GetEndpointsIDEdgeStacksStackIDOK) Code

Code gets the status code for the get endpoints Id edge stacks stack Id o k response

func (*GetEndpointsIDEdgeStacksStackIDOK) Error

func (*GetEndpointsIDEdgeStacksStackIDOK) GetPayload

func (*GetEndpointsIDEdgeStacksStackIDOK) IsClientError

func (o *GetEndpointsIDEdgeStacksStackIDOK) IsClientError() bool

IsClientError returns true when this get endpoints Id edge stacks stack Id o k response has a 4xx status code

func (*GetEndpointsIDEdgeStacksStackIDOK) IsCode

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

IsCode returns true when this get endpoints Id edge stacks stack Id o k response a status code equal to that given

func (*GetEndpointsIDEdgeStacksStackIDOK) IsRedirect

func (o *GetEndpointsIDEdgeStacksStackIDOK) IsRedirect() bool

IsRedirect returns true when this get endpoints Id edge stacks stack Id o k response has a 3xx status code

func (*GetEndpointsIDEdgeStacksStackIDOK) IsServerError

func (o *GetEndpointsIDEdgeStacksStackIDOK) IsServerError() bool

IsServerError returns true when this get endpoints Id edge stacks stack Id o k response has a 5xx status code

func (*GetEndpointsIDEdgeStacksStackIDOK) IsSuccess

func (o *GetEndpointsIDEdgeStacksStackIDOK) IsSuccess() bool

IsSuccess returns true when this get endpoints Id edge stacks stack Id o k response has a 2xx status code

func (*GetEndpointsIDEdgeStacksStackIDOK) String

type GetEndpointsIDEdgeStacksStackIDParams

type GetEndpointsIDEdgeStacksStackIDParams struct {

	/* ID.

	   Environment(Endpoint) Id
	*/
	ID int64

	/* StackID.

	   EdgeStack Id
	*/
	StackID int64

	/* Version.

	   Stack file version maintained by Portainer
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEndpointsIDEdgeStacksStackIDParams contains all the parameters to send to the API endpoint

for the get endpoints ID edge stacks stack ID operation.

Typically these are written to a http.Request.

func NewGetEndpointsIDEdgeStacksStackIDParams

func NewGetEndpointsIDEdgeStacksStackIDParams() *GetEndpointsIDEdgeStacksStackIDParams

NewGetEndpointsIDEdgeStacksStackIDParams creates a new GetEndpointsIDEdgeStacksStackIDParams 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 NewGetEndpointsIDEdgeStacksStackIDParamsWithContext

func NewGetEndpointsIDEdgeStacksStackIDParamsWithContext(ctx context.Context) *GetEndpointsIDEdgeStacksStackIDParams

NewGetEndpointsIDEdgeStacksStackIDParamsWithContext creates a new GetEndpointsIDEdgeStacksStackIDParams object with the ability to set a context for a request.

func NewGetEndpointsIDEdgeStacksStackIDParamsWithHTTPClient

func NewGetEndpointsIDEdgeStacksStackIDParamsWithHTTPClient(client *http.Client) *GetEndpointsIDEdgeStacksStackIDParams

NewGetEndpointsIDEdgeStacksStackIDParamsWithHTTPClient creates a new GetEndpointsIDEdgeStacksStackIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetEndpointsIDEdgeStacksStackIDParamsWithTimeout

func NewGetEndpointsIDEdgeStacksStackIDParamsWithTimeout(timeout time.Duration) *GetEndpointsIDEdgeStacksStackIDParams

NewGetEndpointsIDEdgeStacksStackIDParamsWithTimeout creates a new GetEndpointsIDEdgeStacksStackIDParams object with the ability to set a timeout on a request.

func (*GetEndpointsIDEdgeStacksStackIDParams) SetContext

SetContext adds the context to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) SetDefaults

func (o *GetEndpointsIDEdgeStacksStackIDParams) SetDefaults()

SetDefaults hydrates default values in the get endpoints ID edge stacks stack ID params (not the query body).

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

func (*GetEndpointsIDEdgeStacksStackIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) SetID

SetID adds the id to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) SetStackID

func (o *GetEndpointsIDEdgeStacksStackIDParams) SetStackID(stackID int64)

SetStackID adds the stackId to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) SetTimeout

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

SetTimeout adds the timeout to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) SetVersion

func (o *GetEndpointsIDEdgeStacksStackIDParams) SetVersion(version *int64)

SetVersion adds the version to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) WithContext

WithContext adds the context to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) WithDefaults

WithDefaults hydrates default values in the get endpoints ID edge stacks stack ID params (not the query body).

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

func (*GetEndpointsIDEdgeStacksStackIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) WithID

WithID adds the id to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) WithStackID

WithStackID adds the stackID to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) WithTimeout

WithTimeout adds the timeout to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) WithVersion

WithVersion adds the version to the get endpoints ID edge stacks stack ID params

func (*GetEndpointsIDEdgeStacksStackIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEndpointsIDEdgeStacksStackIDReader

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

GetEndpointsIDEdgeStacksStackIDReader is a Reader for the GetEndpointsIDEdgeStacksStackID structure.

func (*GetEndpointsIDEdgeStacksStackIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEndpointsEdgeGenerateKeyBadRequest

type PostEndpointsEdgeGenerateKeyBadRequest struct {
}

PostEndpointsEdgeGenerateKeyBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostEndpointsEdgeGenerateKeyBadRequest

func NewPostEndpointsEdgeGenerateKeyBadRequest() *PostEndpointsEdgeGenerateKeyBadRequest

NewPostEndpointsEdgeGenerateKeyBadRequest creates a PostEndpointsEdgeGenerateKeyBadRequest with default headers values

func (*PostEndpointsEdgeGenerateKeyBadRequest) Code

Code gets the status code for the post endpoints edge generate key bad request response

func (*PostEndpointsEdgeGenerateKeyBadRequest) Error

func (*PostEndpointsEdgeGenerateKeyBadRequest) IsClientError

func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsClientError() bool

IsClientError returns true when this post endpoints edge generate key bad request response has a 4xx status code

func (*PostEndpointsEdgeGenerateKeyBadRequest) IsCode

IsCode returns true when this post endpoints edge generate key bad request response a status code equal to that given

func (*PostEndpointsEdgeGenerateKeyBadRequest) IsRedirect

IsRedirect returns true when this post endpoints edge generate key bad request response has a 3xx status code

func (*PostEndpointsEdgeGenerateKeyBadRequest) IsServerError

func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsServerError() bool

IsServerError returns true when this post endpoints edge generate key bad request response has a 5xx status code

func (*PostEndpointsEdgeGenerateKeyBadRequest) IsSuccess

IsSuccess returns true when this post endpoints edge generate key bad request response has a 2xx status code

func (*PostEndpointsEdgeGenerateKeyBadRequest) String

type PostEndpointsEdgeGenerateKeyInternalServerError

type PostEndpointsEdgeGenerateKeyInternalServerError struct {
}

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

Internal Server Error

func NewPostEndpointsEdgeGenerateKeyInternalServerError

func NewPostEndpointsEdgeGenerateKeyInternalServerError() *PostEndpointsEdgeGenerateKeyInternalServerError

NewPostEndpointsEdgeGenerateKeyInternalServerError creates a PostEndpointsEdgeGenerateKeyInternalServerError with default headers values

func (*PostEndpointsEdgeGenerateKeyInternalServerError) Code

Code gets the status code for the post endpoints edge generate key internal server error response

func (*PostEndpointsEdgeGenerateKeyInternalServerError) Error

func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsClientError

IsClientError returns true when this post endpoints edge generate key internal server error response has a 4xx status code

func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsCode

IsCode returns true when this post endpoints edge generate key internal server error response a status code equal to that given

func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsRedirect

IsRedirect returns true when this post endpoints edge generate key internal server error response has a 3xx status code

func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsServerError

IsServerError returns true when this post endpoints edge generate key internal server error response has a 5xx status code

func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsSuccess

IsSuccess returns true when this post endpoints edge generate key internal server error response has a 2xx status code

func (*PostEndpointsEdgeGenerateKeyInternalServerError) String

type PostEndpointsEdgeGenerateKeyOK

type PostEndpointsEdgeGenerateKeyOK struct {
}

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

OK

func NewPostEndpointsEdgeGenerateKeyOK

func NewPostEndpointsEdgeGenerateKeyOK() *PostEndpointsEdgeGenerateKeyOK

NewPostEndpointsEdgeGenerateKeyOK creates a PostEndpointsEdgeGenerateKeyOK with default headers values

func (*PostEndpointsEdgeGenerateKeyOK) Code

Code gets the status code for the post endpoints edge generate key o k response

func (*PostEndpointsEdgeGenerateKeyOK) Error

func (*PostEndpointsEdgeGenerateKeyOK) IsClientError

func (o *PostEndpointsEdgeGenerateKeyOK) IsClientError() bool

IsClientError returns true when this post endpoints edge generate key o k response has a 4xx status code

func (*PostEndpointsEdgeGenerateKeyOK) IsCode

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

IsCode returns true when this post endpoints edge generate key o k response a status code equal to that given

func (*PostEndpointsEdgeGenerateKeyOK) IsRedirect

func (o *PostEndpointsEdgeGenerateKeyOK) IsRedirect() bool

IsRedirect returns true when this post endpoints edge generate key o k response has a 3xx status code

func (*PostEndpointsEdgeGenerateKeyOK) IsServerError

func (o *PostEndpointsEdgeGenerateKeyOK) IsServerError() bool

IsServerError returns true when this post endpoints edge generate key o k response has a 5xx status code

func (*PostEndpointsEdgeGenerateKeyOK) IsSuccess

func (o *PostEndpointsEdgeGenerateKeyOK) IsSuccess() bool

IsSuccess returns true when this post endpoints edge generate key o k response has a 2xx status code

func (*PostEndpointsEdgeGenerateKeyOK) String

type PostEndpointsEdgeGenerateKeyParams

type PostEndpointsEdgeGenerateKeyParams struct {

	/* Body.

	   Generate Key Info
	*/
	Body *models.EndpointedgeGenerateKeyResponse

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostEndpointsEdgeGenerateKeyParams contains all the parameters to send to the API endpoint

for the post endpoints edge generate key operation.

Typically these are written to a http.Request.

func NewPostEndpointsEdgeGenerateKeyParams

func NewPostEndpointsEdgeGenerateKeyParams() *PostEndpointsEdgeGenerateKeyParams

NewPostEndpointsEdgeGenerateKeyParams creates a new PostEndpointsEdgeGenerateKeyParams 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 NewPostEndpointsEdgeGenerateKeyParamsWithContext

func NewPostEndpointsEdgeGenerateKeyParamsWithContext(ctx context.Context) *PostEndpointsEdgeGenerateKeyParams

NewPostEndpointsEdgeGenerateKeyParamsWithContext creates a new PostEndpointsEdgeGenerateKeyParams object with the ability to set a context for a request.

func NewPostEndpointsEdgeGenerateKeyParamsWithHTTPClient

func NewPostEndpointsEdgeGenerateKeyParamsWithHTTPClient(client *http.Client) *PostEndpointsEdgeGenerateKeyParams

NewPostEndpointsEdgeGenerateKeyParamsWithHTTPClient creates a new PostEndpointsEdgeGenerateKeyParams object with the ability to set a custom HTTPClient for a request.

func NewPostEndpointsEdgeGenerateKeyParamsWithTimeout

func NewPostEndpointsEdgeGenerateKeyParamsWithTimeout(timeout time.Duration) *PostEndpointsEdgeGenerateKeyParams

NewPostEndpointsEdgeGenerateKeyParamsWithTimeout creates a new PostEndpointsEdgeGenerateKeyParams object with the ability to set a timeout on a request.

func (*PostEndpointsEdgeGenerateKeyParams) SetBody

SetBody adds the body to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) SetContext

SetContext adds the context to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) SetDefaults

func (o *PostEndpointsEdgeGenerateKeyParams) SetDefaults()

SetDefaults hydrates default values in the post endpoints edge generate key params (not the query body).

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

func (*PostEndpointsEdgeGenerateKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) SetTimeout

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

SetTimeout adds the timeout to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) WithBody

WithBody adds the body to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) WithContext

WithContext adds the context to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) WithDefaults

WithDefaults hydrates default values in the post endpoints edge generate key params (not the query body).

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

func (*PostEndpointsEdgeGenerateKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) WithTimeout

WithTimeout adds the timeout to the post endpoints edge generate key params

func (*PostEndpointsEdgeGenerateKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEndpointsEdgeGenerateKeyReader

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

PostEndpointsEdgeGenerateKeyReader is a Reader for the PostEndpointsEdgeGenerateKey structure.

func (*PostEndpointsEdgeGenerateKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEndpointsIDEdgeJobsJobIDLogsBadRequest

type PostEndpointsIDEdgeJobsJobIDLogsBadRequest struct {
}

PostEndpointsIDEdgeJobsJobIDLogsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostEndpointsIDEdgeJobsJobIDLogsBadRequest

func NewPostEndpointsIDEdgeJobsJobIDLogsBadRequest() *PostEndpointsIDEdgeJobsJobIDLogsBadRequest

NewPostEndpointsIDEdgeJobsJobIDLogsBadRequest creates a PostEndpointsIDEdgeJobsJobIDLogsBadRequest with default headers values

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) Code

Code gets the status code for the post endpoints Id edge jobs job Id logs bad request response

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) Error

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsClientError

IsClientError returns true when this post endpoints Id edge jobs job Id logs bad request response has a 4xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsCode

IsCode returns true when this post endpoints Id edge jobs job Id logs bad request response a status code equal to that given

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsRedirect

IsRedirect returns true when this post endpoints Id edge jobs job Id logs bad request response has a 3xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsServerError

IsServerError returns true when this post endpoints Id edge jobs job Id logs bad request response has a 5xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsSuccess

IsSuccess returns true when this post endpoints Id edge jobs job Id logs bad request response has a 2xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) String

type PostEndpointsIDEdgeJobsJobIDLogsInternalServerError

type PostEndpointsIDEdgeJobsJobIDLogsInternalServerError struct {
}

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

Internal Server Error

func NewPostEndpointsIDEdgeJobsJobIDLogsInternalServerError

func NewPostEndpointsIDEdgeJobsJobIDLogsInternalServerError() *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError

NewPostEndpointsIDEdgeJobsJobIDLogsInternalServerError creates a PostEndpointsIDEdgeJobsJobIDLogsInternalServerError with default headers values

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) Code

Code gets the status code for the post endpoints Id edge jobs job Id logs internal server error response

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) Error

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsClientError

IsClientError returns true when this post endpoints Id edge jobs job Id logs internal server error response has a 4xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsCode

IsCode returns true when this post endpoints Id edge jobs job Id logs internal server error response a status code equal to that given

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsRedirect

IsRedirect returns true when this post endpoints Id edge jobs job Id logs internal server error response has a 3xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsServerError

IsServerError returns true when this post endpoints Id edge jobs job Id logs internal server error response has a 5xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsSuccess

IsSuccess returns true when this post endpoints Id edge jobs job Id logs internal server error response has a 2xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) String

type PostEndpointsIDEdgeJobsJobIDLogsOK

type PostEndpointsIDEdgeJobsJobIDLogsOK struct {
}

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

OK

func NewPostEndpointsIDEdgeJobsJobIDLogsOK

func NewPostEndpointsIDEdgeJobsJobIDLogsOK() *PostEndpointsIDEdgeJobsJobIDLogsOK

NewPostEndpointsIDEdgeJobsJobIDLogsOK creates a PostEndpointsIDEdgeJobsJobIDLogsOK with default headers values

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) Code

Code gets the status code for the post endpoints Id edge jobs job Id logs o k response

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) Error

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) IsClientError

func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsClientError() bool

IsClientError returns true when this post endpoints Id edge jobs job Id logs o k response has a 4xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) IsCode

IsCode returns true when this post endpoints Id edge jobs job Id logs o k response a status code equal to that given

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) IsRedirect

func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsRedirect() bool

IsRedirect returns true when this post endpoints Id edge jobs job Id logs o k response has a 3xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) IsServerError

func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsServerError() bool

IsServerError returns true when this post endpoints Id edge jobs job Id logs o k response has a 5xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) IsSuccess

IsSuccess returns true when this post endpoints Id edge jobs job Id logs o k response has a 2xx status code

func (*PostEndpointsIDEdgeJobsJobIDLogsOK) String

type PostEndpointsIDEdgeJobsJobIDLogsParams

type PostEndpointsIDEdgeJobsJobIDLogsParams struct {

	/* ID.

	   Environment(Endpoint) Id
	*/
	ID int64

	/* JobID.

	   Job Id
	*/
	JobID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostEndpointsIDEdgeJobsJobIDLogsParams contains all the parameters to send to the API endpoint

for the post endpoints ID edge jobs job ID logs operation.

Typically these are written to a http.Request.

func NewPostEndpointsIDEdgeJobsJobIDLogsParams

func NewPostEndpointsIDEdgeJobsJobIDLogsParams() *PostEndpointsIDEdgeJobsJobIDLogsParams

NewPostEndpointsIDEdgeJobsJobIDLogsParams creates a new PostEndpointsIDEdgeJobsJobIDLogsParams 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 NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithContext

func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithContext(ctx context.Context) *PostEndpointsIDEdgeJobsJobIDLogsParams

NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithContext creates a new PostEndpointsIDEdgeJobsJobIDLogsParams object with the ability to set a context for a request.

func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithHTTPClient

func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithHTTPClient(client *http.Client) *PostEndpointsIDEdgeJobsJobIDLogsParams

NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithHTTPClient creates a new PostEndpointsIDEdgeJobsJobIDLogsParams object with the ability to set a custom HTTPClient for a request.

func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithTimeout

func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithTimeout(timeout time.Duration) *PostEndpointsIDEdgeJobsJobIDLogsParams

NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithTimeout creates a new PostEndpointsIDEdgeJobsJobIDLogsParams object with the ability to set a timeout on a request.

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) SetContext

SetContext adds the context to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) SetDefaults

func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetDefaults()

SetDefaults hydrates default values in the post endpoints ID edge jobs job ID logs params (not the query body).

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

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) SetID

SetID adds the id to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) SetJobID

func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetJobID(jobID int64)

SetJobID adds the jobId to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) SetTimeout

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

SetTimeout adds the timeout to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithContext

WithContext adds the context to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithDefaults

WithDefaults hydrates default values in the post endpoints ID edge jobs job ID logs params (not the query body).

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

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithID

WithID adds the id to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithJobID

WithJobID adds the jobID to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithTimeout

WithTimeout adds the timeout to the post endpoints ID edge jobs job ID logs params

func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEndpointsIDEdgeJobsJobIDLogsReader

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

PostEndpointsIDEdgeJobsJobIDLogsReader is a Reader for the PostEndpointsIDEdgeJobsJobIDLogs structure.

func (*PostEndpointsIDEdgeJobsJobIDLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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