Documentation
¶
Index ¶
- type Client
- func (a *Client) GetEndpointsIDEdgeStacksStackID(params *GetEndpointsIDEdgeStacksStackIDParams, opts ...ClientOption) (*GetEndpointsIDEdgeStacksStackIDOK, error)
- func (a *Client) PostEndpointsEdgeGenerateKey(params *PostEndpointsEdgeGenerateKeyParams, opts ...ClientOption) (*PostEndpointsEdgeGenerateKeyOK, error)
- func (a *Client) PostEndpointsIDEdgeJobsJobIDLogs(params *PostEndpointsIDEdgeJobsJobIDLogsParams, opts ...ClientOption) (*PostEndpointsIDEdgeJobsJobIDLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetEndpointsIDEdgeStacksStackIDBadRequest
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) Code() int
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) Error() string
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsClientError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsCode(code int) bool
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsRedirect() bool
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsServerError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsSuccess() bool
- func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) String() string
- type GetEndpointsIDEdgeStacksStackIDInternalServerError
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) Code() int
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) Error() string
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsClientError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsCode(code int) bool
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsRedirect() bool
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsServerError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsSuccess() bool
- func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) String() string
- type GetEndpointsIDEdgeStacksStackIDNotFound
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) Code() int
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) Error() string
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsClientError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsCode(code int) bool
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsRedirect() bool
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsServerError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsSuccess() bool
- func (o *GetEndpointsIDEdgeStacksStackIDNotFound) String() string
- type GetEndpointsIDEdgeStacksStackIDOK
- func (o *GetEndpointsIDEdgeStacksStackIDOK) Code() int
- func (o *GetEndpointsIDEdgeStacksStackIDOK) Error() string
- func (o *GetEndpointsIDEdgeStacksStackIDOK) GetPayload() *models.EdgeStackPayload
- func (o *GetEndpointsIDEdgeStacksStackIDOK) IsClientError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDOK) IsCode(code int) bool
- func (o *GetEndpointsIDEdgeStacksStackIDOK) IsRedirect() bool
- func (o *GetEndpointsIDEdgeStacksStackIDOK) IsServerError() bool
- func (o *GetEndpointsIDEdgeStacksStackIDOK) IsSuccess() bool
- func (o *GetEndpointsIDEdgeStacksStackIDOK) String() string
- type GetEndpointsIDEdgeStacksStackIDParams
- func NewGetEndpointsIDEdgeStacksStackIDParams() *GetEndpointsIDEdgeStacksStackIDParams
- func NewGetEndpointsIDEdgeStacksStackIDParamsWithContext(ctx context.Context) *GetEndpointsIDEdgeStacksStackIDParams
- func NewGetEndpointsIDEdgeStacksStackIDParamsWithHTTPClient(client *http.Client) *GetEndpointsIDEdgeStacksStackIDParams
- func NewGetEndpointsIDEdgeStacksStackIDParamsWithTimeout(timeout time.Duration) *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) SetContext(ctx context.Context)
- func (o *GetEndpointsIDEdgeStacksStackIDParams) SetDefaults()
- func (o *GetEndpointsIDEdgeStacksStackIDParams) SetHTTPClient(client *http.Client)
- func (o *GetEndpointsIDEdgeStacksStackIDParams) SetID(id int64)
- func (o *GetEndpointsIDEdgeStacksStackIDParams) SetStackID(stackID int64)
- func (o *GetEndpointsIDEdgeStacksStackIDParams) SetTimeout(timeout time.Duration)
- func (o *GetEndpointsIDEdgeStacksStackIDParams) SetVersion(version *int64)
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WithContext(ctx context.Context) *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WithDefaults() *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WithHTTPClient(client *http.Client) *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WithID(id int64) *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WithStackID(stackID int64) *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WithTimeout(timeout time.Duration) *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WithVersion(version *int64) *GetEndpointsIDEdgeStacksStackIDParams
- func (o *GetEndpointsIDEdgeStacksStackIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEndpointsIDEdgeStacksStackIDReader
- type PostEndpointsEdgeGenerateKeyBadRequest
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) Code() int
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) Error() string
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsClientError() bool
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsCode(code int) bool
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsRedirect() bool
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsServerError() bool
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsSuccess() bool
- func (o *PostEndpointsEdgeGenerateKeyBadRequest) String() string
- type PostEndpointsEdgeGenerateKeyInternalServerError
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) Code() int
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) Error() string
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsClientError() bool
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsCode(code int) bool
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsRedirect() bool
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsServerError() bool
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsSuccess() bool
- func (o *PostEndpointsEdgeGenerateKeyInternalServerError) String() string
- type PostEndpointsEdgeGenerateKeyOK
- func (o *PostEndpointsEdgeGenerateKeyOK) Code() int
- func (o *PostEndpointsEdgeGenerateKeyOK) Error() string
- func (o *PostEndpointsEdgeGenerateKeyOK) IsClientError() bool
- func (o *PostEndpointsEdgeGenerateKeyOK) IsCode(code int) bool
- func (o *PostEndpointsEdgeGenerateKeyOK) IsRedirect() bool
- func (o *PostEndpointsEdgeGenerateKeyOK) IsServerError() bool
- func (o *PostEndpointsEdgeGenerateKeyOK) IsSuccess() bool
- func (o *PostEndpointsEdgeGenerateKeyOK) String() string
- type PostEndpointsEdgeGenerateKeyParams
- func NewPostEndpointsEdgeGenerateKeyParams() *PostEndpointsEdgeGenerateKeyParams
- func NewPostEndpointsEdgeGenerateKeyParamsWithContext(ctx context.Context) *PostEndpointsEdgeGenerateKeyParams
- func NewPostEndpointsEdgeGenerateKeyParamsWithHTTPClient(client *http.Client) *PostEndpointsEdgeGenerateKeyParams
- func NewPostEndpointsEdgeGenerateKeyParamsWithTimeout(timeout time.Duration) *PostEndpointsEdgeGenerateKeyParams
- func (o *PostEndpointsEdgeGenerateKeyParams) SetBody(body *models.EndpointedgeGenerateKeyResponse)
- func (o *PostEndpointsEdgeGenerateKeyParams) SetContext(ctx context.Context)
- func (o *PostEndpointsEdgeGenerateKeyParams) SetDefaults()
- func (o *PostEndpointsEdgeGenerateKeyParams) SetHTTPClient(client *http.Client)
- func (o *PostEndpointsEdgeGenerateKeyParams) SetTimeout(timeout time.Duration)
- func (o *PostEndpointsEdgeGenerateKeyParams) WithBody(body *models.EndpointedgeGenerateKeyResponse) *PostEndpointsEdgeGenerateKeyParams
- func (o *PostEndpointsEdgeGenerateKeyParams) WithContext(ctx context.Context) *PostEndpointsEdgeGenerateKeyParams
- func (o *PostEndpointsEdgeGenerateKeyParams) WithDefaults() *PostEndpointsEdgeGenerateKeyParams
- func (o *PostEndpointsEdgeGenerateKeyParams) WithHTTPClient(client *http.Client) *PostEndpointsEdgeGenerateKeyParams
- func (o *PostEndpointsEdgeGenerateKeyParams) WithTimeout(timeout time.Duration) *PostEndpointsEdgeGenerateKeyParams
- func (o *PostEndpointsEdgeGenerateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEndpointsEdgeGenerateKeyReader
- type PostEndpointsIDEdgeJobsJobIDLogsBadRequest
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) Code() int
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) Error() string
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsClientError() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsCode(code int) bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsRedirect() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsServerError() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsSuccess() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) String() string
- type PostEndpointsIDEdgeJobsJobIDLogsInternalServerError
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) Code() int
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) Error() string
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsClientError() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsCode(code int) bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsRedirect() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsServerError() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsSuccess() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) String() string
- type PostEndpointsIDEdgeJobsJobIDLogsOK
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) Code() int
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) Error() string
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsClientError() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsCode(code int) bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsRedirect() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsServerError() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsSuccess() bool
- func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) String() string
- type PostEndpointsIDEdgeJobsJobIDLogsParams
- func NewPostEndpointsIDEdgeJobsJobIDLogsParams() *PostEndpointsIDEdgeJobsJobIDLogsParams
- func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithContext(ctx context.Context) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithHTTPClient(client *http.Client) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func NewPostEndpointsIDEdgeJobsJobIDLogsParamsWithTimeout(timeout time.Duration) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetContext(ctx context.Context)
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetDefaults()
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetHTTPClient(client *http.Client)
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetID(id int64)
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetJobID(jobID int64)
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetTimeout(timeout time.Duration)
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithContext(ctx context.Context) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithDefaults() *PostEndpointsIDEdgeJobsJobIDLogsParams
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithHTTPClient(client *http.Client) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithID(id int64) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithJobID(jobID int64) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithTimeout(timeout time.Duration) *PostEndpointsIDEdgeJobsJobIDLogsParams
- func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEndpointsIDEdgeJobsJobIDLogsReader
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) Code() int
Code gets the status code for the get endpoints Id edge stacks stack Id bad request response
func (*GetEndpointsIDEdgeStacksStackIDBadRequest) Error ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) Error() string
func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsClientError ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsClientError() bool
IsClientError returns true when this get endpoints Id edge stacks stack Id bad request response has a 4xx status code
func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsCode ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsCode(code int) bool
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get endpoints Id edge stacks stack Id bad request response has a 3xx status code
func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsServerError ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsServerError() bool
IsServerError returns true when this get endpoints Id edge stacks stack Id bad request response has a 5xx status code
func (*GetEndpointsIDEdgeStacksStackIDBadRequest) IsSuccess ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get endpoints Id edge stacks stack Id bad request response has a 2xx status code
func (*GetEndpointsIDEdgeStacksStackIDBadRequest) String ¶
func (o *GetEndpointsIDEdgeStacksStackIDBadRequest) String() 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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) Code() int
Code gets the status code for the get endpoints Id edge stacks stack Id internal server error response
func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) Error ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) Error() string
func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsClientError ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsClientError() bool
IsClientError returns true when this get endpoints Id edge stacks stack Id internal server error response has a 4xx status code
func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsCode ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get endpoints Id edge stacks stack Id internal server error response has a 3xx status code
func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsServerError ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsServerError() bool
IsServerError returns true when this get endpoints Id edge stacks stack Id internal server error response has a 5xx status code
func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) IsSuccess ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get endpoints Id edge stacks stack Id internal server error response has a 2xx status code
func (*GetEndpointsIDEdgeStacksStackIDInternalServerError) String ¶
func (o *GetEndpointsIDEdgeStacksStackIDInternalServerError) String() 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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDNotFound) Code() int
Code gets the status code for the get endpoints Id edge stacks stack Id not found response
func (*GetEndpointsIDEdgeStacksStackIDNotFound) Error ¶
func (o *GetEndpointsIDEdgeStacksStackIDNotFound) Error() string
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsCode(code int) bool
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsRedirect() bool
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDNotFound) IsSuccess() bool
IsSuccess returns true when this get endpoints Id edge stacks stack Id not found response has a 2xx status code
func (*GetEndpointsIDEdgeStacksStackIDNotFound) String ¶
func (o *GetEndpointsIDEdgeStacksStackIDNotFound) String() 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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDOK) Code() int
Code gets the status code for the get endpoints Id edge stacks stack Id o k response
func (*GetEndpointsIDEdgeStacksStackIDOK) Error ¶
func (o *GetEndpointsIDEdgeStacksStackIDOK) Error() string
func (*GetEndpointsIDEdgeStacksStackIDOK) GetPayload ¶
func (o *GetEndpointsIDEdgeStacksStackIDOK) GetPayload() *models.EdgeStackPayload
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDOK) String() 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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) SetID(id int64)
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WithContext(ctx context.Context) *GetEndpointsIDEdgeStacksStackIDParams
WithContext adds the context to the get endpoints ID edge stacks stack ID params
func (*GetEndpointsIDEdgeStacksStackIDParams) WithDefaults ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WithDefaults() *GetEndpointsIDEdgeStacksStackIDParams
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 ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WithHTTPClient(client *http.Client) *GetEndpointsIDEdgeStacksStackIDParams
WithHTTPClient adds the HTTPClient to the get endpoints ID edge stacks stack ID params
func (*GetEndpointsIDEdgeStacksStackIDParams) WithID ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WithID(id int64) *GetEndpointsIDEdgeStacksStackIDParams
WithID adds the id to the get endpoints ID edge stacks stack ID params
func (*GetEndpointsIDEdgeStacksStackIDParams) WithStackID ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WithStackID(stackID int64) *GetEndpointsIDEdgeStacksStackIDParams
WithStackID adds the stackID to the get endpoints ID edge stacks stack ID params
func (*GetEndpointsIDEdgeStacksStackIDParams) WithTimeout ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WithTimeout(timeout time.Duration) *GetEndpointsIDEdgeStacksStackIDParams
WithTimeout adds the timeout to the get endpoints ID edge stacks stack ID params
func (*GetEndpointsIDEdgeStacksStackIDParams) WithVersion ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WithVersion(version *int64) *GetEndpointsIDEdgeStacksStackIDParams
WithVersion adds the version to the get endpoints ID edge stacks stack ID params
func (*GetEndpointsIDEdgeStacksStackIDParams) WriteToRequest ¶
func (o *GetEndpointsIDEdgeStacksStackIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostEndpointsEdgeGenerateKeyBadRequest) Code() int
Code gets the status code for the post endpoints edge generate key bad request response
func (*PostEndpointsEdgeGenerateKeyBadRequest) Error ¶
func (o *PostEndpointsEdgeGenerateKeyBadRequest) Error() string
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 ¶
func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsCode(code int) bool
IsCode returns true when this post endpoints edge generate key bad request response a status code equal to that given
func (*PostEndpointsEdgeGenerateKeyBadRequest) IsRedirect ¶
func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsRedirect() bool
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 ¶
func (o *PostEndpointsEdgeGenerateKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this post endpoints edge generate key bad request response has a 2xx status code
func (*PostEndpointsEdgeGenerateKeyBadRequest) String ¶
func (o *PostEndpointsEdgeGenerateKeyBadRequest) String() 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 ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) Code() int
Code gets the status code for the post endpoints edge generate key internal server error response
func (*PostEndpointsEdgeGenerateKeyInternalServerError) Error ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) Error() string
func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsClientError ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsClientError() bool
IsClientError returns true when this post endpoints edge generate key internal server error response has a 4xx status code
func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsCode ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this post endpoints edge generate key internal server error response a status code equal to that given
func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsRedirect ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this post endpoints edge generate key internal server error response has a 3xx status code
func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsServerError ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsServerError() bool
IsServerError returns true when this post endpoints edge generate key internal server error response has a 5xx status code
func (*PostEndpointsEdgeGenerateKeyInternalServerError) IsSuccess ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this post endpoints edge generate key internal server error response has a 2xx status code
func (*PostEndpointsEdgeGenerateKeyInternalServerError) String ¶
func (o *PostEndpointsEdgeGenerateKeyInternalServerError) String() 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 ¶
func (o *PostEndpointsEdgeGenerateKeyOK) Code() int
Code gets the status code for the post endpoints edge generate key o k response
func (*PostEndpointsEdgeGenerateKeyOK) Error ¶
func (o *PostEndpointsEdgeGenerateKeyOK) Error() string
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 ¶
func (o *PostEndpointsEdgeGenerateKeyOK) String() 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 ¶
func (o *PostEndpointsEdgeGenerateKeyParams) SetBody(body *models.EndpointedgeGenerateKeyResponse)
SetBody adds the body to the post endpoints edge generate key params
func (*PostEndpointsEdgeGenerateKeyParams) SetContext ¶
func (o *PostEndpointsEdgeGenerateKeyParams) SetContext(ctx context.Context)
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 ¶
func (o *PostEndpointsEdgeGenerateKeyParams) WithBody(body *models.EndpointedgeGenerateKeyResponse) *PostEndpointsEdgeGenerateKeyParams
WithBody adds the body to the post endpoints edge generate key params
func (*PostEndpointsEdgeGenerateKeyParams) WithContext ¶
func (o *PostEndpointsEdgeGenerateKeyParams) WithContext(ctx context.Context) *PostEndpointsEdgeGenerateKeyParams
WithContext adds the context to the post endpoints edge generate key params
func (*PostEndpointsEdgeGenerateKeyParams) WithDefaults ¶
func (o *PostEndpointsEdgeGenerateKeyParams) WithDefaults() *PostEndpointsEdgeGenerateKeyParams
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 ¶
func (o *PostEndpointsEdgeGenerateKeyParams) WithHTTPClient(client *http.Client) *PostEndpointsEdgeGenerateKeyParams
WithHTTPClient adds the HTTPClient to the post endpoints edge generate key params
func (*PostEndpointsEdgeGenerateKeyParams) WithTimeout ¶
func (o *PostEndpointsEdgeGenerateKeyParams) WithTimeout(timeout time.Duration) *PostEndpointsEdgeGenerateKeyParams
WithTimeout adds the timeout to the post endpoints edge generate key params
func (*PostEndpointsEdgeGenerateKeyParams) WriteToRequest ¶
func (o *PostEndpointsEdgeGenerateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) Code() int
Code gets the status code for the post endpoints Id edge jobs job Id logs bad request response
func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) Error ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) Error() string
func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsClientError ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsClientError() bool
IsClientError returns true when this post endpoints Id edge jobs job Id logs bad request response has a 4xx status code
func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsCode ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsCode(code int) bool
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsRedirect() bool
IsRedirect returns true when this post endpoints Id edge jobs job Id logs bad request response has a 3xx status code
func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsServerError ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsServerError() bool
IsServerError returns true when this post endpoints Id edge jobs job Id logs bad request response has a 5xx status code
func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsSuccess ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) IsSuccess() bool
IsSuccess returns true when this post endpoints Id edge jobs job Id logs bad request response has a 2xx status code
func (*PostEndpointsIDEdgeJobsJobIDLogsBadRequest) String ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsBadRequest) String() 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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) Code() int
Code gets the status code for the post endpoints Id edge jobs job Id logs internal server error response
func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) Error ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) Error() string
func (*PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsClientError ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsClientError() bool
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsRedirect() bool
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsServerError() bool
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) IsSuccess() bool
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsInternalServerError) String() 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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) Code() int
Code gets the status code for the post endpoints Id edge jobs job Id logs o k response
func (*PostEndpointsIDEdgeJobsJobIDLogsOK) Error ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) Error() string
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsCode(code int) bool
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) IsSuccess() bool
IsSuccess returns true when this post endpoints Id edge jobs job Id logs o k response has a 2xx status code
func (*PostEndpointsIDEdgeJobsJobIDLogsOK) String ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsOK) String() 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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetContext(ctx context.Context)
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) SetID(id int64)
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithContext(ctx context.Context) *PostEndpointsIDEdgeJobsJobIDLogsParams
WithContext adds the context to the post endpoints ID edge jobs job ID logs params
func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithDefaults ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithDefaults() *PostEndpointsIDEdgeJobsJobIDLogsParams
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 ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithHTTPClient(client *http.Client) *PostEndpointsIDEdgeJobsJobIDLogsParams
WithHTTPClient adds the HTTPClient to the post endpoints ID edge jobs job ID logs params
func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithID ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithID(id int64) *PostEndpointsIDEdgeJobsJobIDLogsParams
WithID adds the id to the post endpoints ID edge jobs job ID logs params
func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithJobID ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithJobID(jobID int64) *PostEndpointsIDEdgeJobsJobIDLogsParams
WithJobID adds the jobID to the post endpoints ID edge jobs job ID logs params
func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WithTimeout ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WithTimeout(timeout time.Duration) *PostEndpointsIDEdgeJobsJobIDLogsParams
WithTimeout adds the timeout to the post endpoints ID edge jobs job ID logs params
func (*PostEndpointsIDEdgeJobsJobIDLogsParams) WriteToRequest ¶
func (o *PostEndpointsIDEdgeJobsJobIDLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- edge_client.go
- get_endpoints_id_edge_stacks_stack_id_parameters.go
- get_endpoints_id_edge_stacks_stack_id_responses.go
- post_endpoints_edge_generate_key_parameters.go
- post_endpoints_edge_generate_key_responses.go
- post_endpoints_id_edge_jobs_job_id_logs_parameters.go
- post_endpoints_id_edge_jobs_job_id_logs_responses.go