agent

package
v2.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// RemoteShareBodyBackendModeProxy captures enum value "proxy"
	RemoteShareBodyBackendModeProxy string = "proxy"

	// RemoteShareBodyBackendModeWeb captures enum value "web"
	RemoteShareBodyBackendModeWeb string = "web"

	// RemoteShareBodyBackendModeTCPTunnel captures enum value "tcpTunnel"
	RemoteShareBodyBackendModeTCPTunnel string = "tcpTunnel"

	// RemoteShareBodyBackendModeUDPTunnel captures enum value "udpTunnel"
	RemoteShareBodyBackendModeUDPTunnel string = "udpTunnel"

	// RemoteShareBodyBackendModeCaddy captures enum value "caddy"
	RemoteShareBodyBackendModeCaddy string = "caddy"

	// RemoteShareBodyBackendModeDrive captures enum value "drive"
	RemoteShareBodyBackendModeDrive string = "drive"

	// RemoteShareBodyBackendModeSocks captures enum value "socks"
	RemoteShareBodyBackendModeSocks string = "socks"
)
View Source
const (

	// RemoteShareBodyShareModePublic captures enum value "public"
	RemoteShareBodyShareModePublic string = "public"

	// RemoteShareBodyShareModePrivate captures enum value "private"
	RemoteShareBodyShareModePrivate string = "private"
)

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationZrokV1JSON

func WithAcceptApplicationZrokV1JSON(r *runtime.ClientOperation)

WithAcceptApplicationZrokV1JSON sets the Accept header to "application/zrok.v1+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationZrokV1JSON

func WithContentTypeApplicationZrokV1JSON(r *runtime.ClientOperation)

WithContentTypeApplicationZrokV1JSON sets the Content-Type header to "application/zrok.v1+json".

Types

type Client

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

Client for agent API

func (*Client) Enroll

func (a *Client) Enroll(params *EnrollParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnrollOK, error)

Enroll enroll API

func (*Client) Ping

func (a *Client) Ping(params *PingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PingOK, error)

Ping ping API

func (*Client) RemoteAccess

func (a *Client) RemoteAccess(params *RemoteAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteAccessOK, error)

RemoteAccess remote access API

func (*Client) RemoteShare

func (a *Client) RemoteShare(params *RemoteShareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteShareOK, error)

RemoteShare remote share API

func (*Client) RemoteStatus

func (a *Client) RemoteStatus(params *RemoteStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteStatusOK, error)

RemoteStatus remote status API

func (*Client) RemoteUnaccess

func (a *Client) RemoteUnaccess(params *RemoteUnaccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteUnaccessOK, error)

RemoteUnaccess remote unaccess API

func (*Client) RemoteUnshare

func (a *Client) RemoteUnshare(params *RemoteUnshareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteUnshareOK, error)

RemoteUnshare remote unshare API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ShareHTTPHealthcheck

func (a *Client) ShareHTTPHealthcheck(params *ShareHTTPHealthcheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShareHTTPHealthcheckOK, error)

ShareHTTPHealthcheck share Http healthcheck API

func (*Client) Unenroll

func (a *Client) Unenroll(params *UnenrollParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnenrollOK, error)

Unenroll unenroll API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	Enroll(params *EnrollParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnrollOK, error)

	Ping(params *PingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PingOK, error)

	RemoteAccess(params *RemoteAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteAccessOK, error)

	RemoteShare(params *RemoteShareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteShareOK, error)

	RemoteStatus(params *RemoteStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteStatusOK, error)

	RemoteUnaccess(params *RemoteUnaccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteUnaccessOK, error)

	RemoteUnshare(params *RemoteUnshareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteUnshareOK, error)

	ShareHTTPHealthcheck(params *ShareHTTPHealthcheckParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShareHTTPHealthcheckOK, error)

	Unenroll(params *UnenrollParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnenrollOK, 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 agent API client.

func NewClientWithBasicAuth

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

New creates a new agent 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 agent 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 EnrollBadRequest

type EnrollBadRequest struct {
}

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

bad request; already enrolled

func NewEnrollBadRequest

func NewEnrollBadRequest() *EnrollBadRequest

NewEnrollBadRequest creates a EnrollBadRequest with default headers values

func (*EnrollBadRequest) Code

func (o *EnrollBadRequest) Code() int

Code gets the status code for the enroll bad request response

func (*EnrollBadRequest) Error

func (o *EnrollBadRequest) Error() string

func (*EnrollBadRequest) IsClientError

func (o *EnrollBadRequest) IsClientError() bool

IsClientError returns true when this enroll bad request response has a 4xx status code

func (*EnrollBadRequest) IsCode

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

IsCode returns true when this enroll bad request response a status code equal to that given

func (*EnrollBadRequest) IsRedirect

func (o *EnrollBadRequest) IsRedirect() bool

IsRedirect returns true when this enroll bad request response has a 3xx status code

func (*EnrollBadRequest) IsServerError

func (o *EnrollBadRequest) IsServerError() bool

IsServerError returns true when this enroll bad request response has a 5xx status code

func (*EnrollBadRequest) IsSuccess

func (o *EnrollBadRequest) IsSuccess() bool

IsSuccess returns true when this enroll bad request response has a 2xx status code

func (*EnrollBadRequest) String

func (o *EnrollBadRequest) String() string

type EnrollBody

type EnrollBody struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`
}

EnrollBody enroll body swagger:model EnrollBody

func (*EnrollBody) ContextValidate

func (o *EnrollBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enroll body based on context it is used

func (*EnrollBody) MarshalBinary

func (o *EnrollBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnrollBody) UnmarshalBinary

func (o *EnrollBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnrollBody) Validate

func (o *EnrollBody) Validate(formats strfmt.Registry) error

Validate validates this enroll body

type EnrollInternalServerError

type EnrollInternalServerError struct {
}

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

internal server error

func NewEnrollInternalServerError

func NewEnrollInternalServerError() *EnrollInternalServerError

NewEnrollInternalServerError creates a EnrollInternalServerError with default headers values

func (*EnrollInternalServerError) Code

func (o *EnrollInternalServerError) Code() int

Code gets the status code for the enroll internal server error response

func (*EnrollInternalServerError) Error

func (o *EnrollInternalServerError) Error() string

func (*EnrollInternalServerError) IsClientError

func (o *EnrollInternalServerError) IsClientError() bool

IsClientError returns true when this enroll internal server error response has a 4xx status code

func (*EnrollInternalServerError) IsCode

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

IsCode returns true when this enroll internal server error response a status code equal to that given

func (*EnrollInternalServerError) IsRedirect

func (o *EnrollInternalServerError) IsRedirect() bool

IsRedirect returns true when this enroll internal server error response has a 3xx status code

func (*EnrollInternalServerError) IsServerError

func (o *EnrollInternalServerError) IsServerError() bool

IsServerError returns true when this enroll internal server error response has a 5xx status code

func (*EnrollInternalServerError) IsSuccess

func (o *EnrollInternalServerError) IsSuccess() bool

IsSuccess returns true when this enroll internal server error response has a 2xx status code

func (*EnrollInternalServerError) String

func (o *EnrollInternalServerError) String() string

type EnrollOK

type EnrollOK struct {
	Payload *EnrollOKBody
}

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

ok

func NewEnrollOK

func NewEnrollOK() *EnrollOK

NewEnrollOK creates a EnrollOK with default headers values

func (*EnrollOK) Code

func (o *EnrollOK) Code() int

Code gets the status code for the enroll o k response

func (*EnrollOK) Error

func (o *EnrollOK) Error() string

func (*EnrollOK) GetPayload

func (o *EnrollOK) GetPayload() *EnrollOKBody

func (*EnrollOK) IsClientError

func (o *EnrollOK) IsClientError() bool

IsClientError returns true when this enroll o k response has a 4xx status code

func (*EnrollOK) IsCode

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

IsCode returns true when this enroll o k response a status code equal to that given

func (*EnrollOK) IsRedirect

func (o *EnrollOK) IsRedirect() bool

IsRedirect returns true when this enroll o k response has a 3xx status code

func (*EnrollOK) IsServerError

func (o *EnrollOK) IsServerError() bool

IsServerError returns true when this enroll o k response has a 5xx status code

func (*EnrollOK) IsSuccess

func (o *EnrollOK) IsSuccess() bool

IsSuccess returns true when this enroll o k response has a 2xx status code

func (*EnrollOK) String

func (o *EnrollOK) String() string

type EnrollOKBody

type EnrollOKBody struct {

	// token
	Token string `json:"token,omitempty"`
}

EnrollOKBody enroll o k body swagger:model EnrollOKBody

func (*EnrollOKBody) ContextValidate

func (o *EnrollOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enroll o k body based on context it is used

func (*EnrollOKBody) MarshalBinary

func (o *EnrollOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnrollOKBody) UnmarshalBinary

func (o *EnrollOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnrollOKBody) Validate

func (o *EnrollOKBody) Validate(formats strfmt.Registry) error

Validate validates this enroll o k body

type EnrollParams

type EnrollParams struct {

	// Body.
	Body EnrollBody

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

EnrollParams contains all the parameters to send to the API endpoint

for the enroll operation.

Typically these are written to a http.Request.

func NewEnrollParams

func NewEnrollParams() *EnrollParams

NewEnrollParams creates a new EnrollParams 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 NewEnrollParamsWithContext

func NewEnrollParamsWithContext(ctx context.Context) *EnrollParams

NewEnrollParamsWithContext creates a new EnrollParams object with the ability to set a context for a request.

func NewEnrollParamsWithHTTPClient

func NewEnrollParamsWithHTTPClient(client *http.Client) *EnrollParams

NewEnrollParamsWithHTTPClient creates a new EnrollParams object with the ability to set a custom HTTPClient for a request.

func NewEnrollParamsWithTimeout

func NewEnrollParamsWithTimeout(timeout time.Duration) *EnrollParams

NewEnrollParamsWithTimeout creates a new EnrollParams object with the ability to set a timeout on a request.

func (*EnrollParams) SetBody

func (o *EnrollParams) SetBody(body EnrollBody)

SetBody adds the body to the enroll params

func (*EnrollParams) SetContext

func (o *EnrollParams) SetContext(ctx context.Context)

SetContext adds the context to the enroll params

func (*EnrollParams) SetDefaults

func (o *EnrollParams) SetDefaults()

SetDefaults hydrates default values in the enroll params (not the query body).

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

func (*EnrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) SetTimeout

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

SetTimeout adds the timeout to the enroll params

func (*EnrollParams) WithBody

func (o *EnrollParams) WithBody(body EnrollBody) *EnrollParams

WithBody adds the body to the enroll params

func (*EnrollParams) WithContext

func (o *EnrollParams) WithContext(ctx context.Context) *EnrollParams

WithContext adds the context to the enroll params

func (*EnrollParams) WithDefaults

func (o *EnrollParams) WithDefaults() *EnrollParams

WithDefaults hydrates default values in the enroll params (not the query body).

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

func (*EnrollParams) WithHTTPClient

func (o *EnrollParams) WithHTTPClient(client *http.Client) *EnrollParams

WithHTTPClient adds the HTTPClient to the enroll params

func (*EnrollParams) WithTimeout

func (o *EnrollParams) WithTimeout(timeout time.Duration) *EnrollParams

WithTimeout adds the timeout to the enroll params

func (*EnrollParams) WriteToRequest

func (o *EnrollParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EnrollReader

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

EnrollReader is a Reader for the Enroll structure.

func (*EnrollReader) ReadResponse

func (o *EnrollReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type EnrollUnauthorized

type EnrollUnauthorized struct {
}

EnrollUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEnrollUnauthorized

func NewEnrollUnauthorized() *EnrollUnauthorized

NewEnrollUnauthorized creates a EnrollUnauthorized with default headers values

func (*EnrollUnauthorized) Code

func (o *EnrollUnauthorized) Code() int

Code gets the status code for the enroll unauthorized response

func (*EnrollUnauthorized) Error

func (o *EnrollUnauthorized) Error() string

func (*EnrollUnauthorized) IsClientError

func (o *EnrollUnauthorized) IsClientError() bool

IsClientError returns true when this enroll unauthorized response has a 4xx status code

func (*EnrollUnauthorized) IsCode

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

IsCode returns true when this enroll unauthorized response a status code equal to that given

func (*EnrollUnauthorized) IsRedirect

func (o *EnrollUnauthorized) IsRedirect() bool

IsRedirect returns true when this enroll unauthorized response has a 3xx status code

func (*EnrollUnauthorized) IsServerError

func (o *EnrollUnauthorized) IsServerError() bool

IsServerError returns true when this enroll unauthorized response has a 5xx status code

func (*EnrollUnauthorized) IsSuccess

func (o *EnrollUnauthorized) IsSuccess() bool

IsSuccess returns true when this enroll unauthorized response has a 2xx status code

func (*EnrollUnauthorized) String

func (o *EnrollUnauthorized) String() string

type PingBadGateway

type PingBadGateway struct {
}

PingBadGateway describes a response with status code 502, with default header values.

bad gateway; agent not reachable

func NewPingBadGateway

func NewPingBadGateway() *PingBadGateway

NewPingBadGateway creates a PingBadGateway with default headers values

func (*PingBadGateway) Code

func (o *PingBadGateway) Code() int

Code gets the status code for the ping bad gateway response

func (*PingBadGateway) Error

func (o *PingBadGateway) Error() string

func (*PingBadGateway) IsClientError

func (o *PingBadGateway) IsClientError() bool

IsClientError returns true when this ping bad gateway response has a 4xx status code

func (*PingBadGateway) IsCode

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

IsCode returns true when this ping bad gateway response a status code equal to that given

func (*PingBadGateway) IsRedirect

func (o *PingBadGateway) IsRedirect() bool

IsRedirect returns true when this ping bad gateway response has a 3xx status code

func (*PingBadGateway) IsServerError

func (o *PingBadGateway) IsServerError() bool

IsServerError returns true when this ping bad gateway response has a 5xx status code

func (*PingBadGateway) IsSuccess

func (o *PingBadGateway) IsSuccess() bool

IsSuccess returns true when this ping bad gateway response has a 2xx status code

func (*PingBadGateway) String

func (o *PingBadGateway) String() string

type PingBody

type PingBody struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`
}

PingBody ping body swagger:model PingBody

func (*PingBody) ContextValidate

func (o *PingBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ping body based on context it is used

func (*PingBody) MarshalBinary

func (o *PingBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PingBody) UnmarshalBinary

func (o *PingBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PingBody) Validate

func (o *PingBody) Validate(formats strfmt.Registry) error

Validate validates this ping body

type PingInternalServerError

type PingInternalServerError struct {
}

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

internal server error

func NewPingInternalServerError

func NewPingInternalServerError() *PingInternalServerError

NewPingInternalServerError creates a PingInternalServerError with default headers values

func (*PingInternalServerError) Code

func (o *PingInternalServerError) Code() int

Code gets the status code for the ping internal server error response

func (*PingInternalServerError) Error

func (o *PingInternalServerError) Error() string

func (*PingInternalServerError) IsClientError

func (o *PingInternalServerError) IsClientError() bool

IsClientError returns true when this ping internal server error response has a 4xx status code

func (*PingInternalServerError) IsCode

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

IsCode returns true when this ping internal server error response a status code equal to that given

func (*PingInternalServerError) IsRedirect

func (o *PingInternalServerError) IsRedirect() bool

IsRedirect returns true when this ping internal server error response has a 3xx status code

func (*PingInternalServerError) IsServerError

func (o *PingInternalServerError) IsServerError() bool

IsServerError returns true when this ping internal server error response has a 5xx status code

func (*PingInternalServerError) IsSuccess

func (o *PingInternalServerError) IsSuccess() bool

IsSuccess returns true when this ping internal server error response has a 2xx status code

func (*PingInternalServerError) String

func (o *PingInternalServerError) String() string

type PingOK

type PingOK struct {
	Payload *PingOKBody
}

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

ok

func NewPingOK

func NewPingOK() *PingOK

NewPingOK creates a PingOK with default headers values

func (*PingOK) Code

func (o *PingOK) Code() int

Code gets the status code for the ping o k response

func (*PingOK) Error

func (o *PingOK) Error() string

func (*PingOK) GetPayload

func (o *PingOK) GetPayload() *PingOKBody

func (*PingOK) IsClientError

func (o *PingOK) IsClientError() bool

IsClientError returns true when this ping o k response has a 4xx status code

func (*PingOK) IsCode

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

IsCode returns true when this ping o k response a status code equal to that given

func (*PingOK) IsRedirect

func (o *PingOK) IsRedirect() bool

IsRedirect returns true when this ping o k response has a 3xx status code

func (*PingOK) IsServerError

func (o *PingOK) IsServerError() bool

IsServerError returns true when this ping o k response has a 5xx status code

func (*PingOK) IsSuccess

func (o *PingOK) IsSuccess() bool

IsSuccess returns true when this ping o k response has a 2xx status code

func (*PingOK) String

func (o *PingOK) String() string

type PingOKBody

type PingOKBody struct {

	// version
	Version string `json:"version,omitempty"`
}

PingOKBody ping o k body swagger:model PingOKBody

func (*PingOKBody) ContextValidate

func (o *PingOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ping o k body based on context it is used

func (*PingOKBody) MarshalBinary

func (o *PingOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PingOKBody) UnmarshalBinary

func (o *PingOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PingOKBody) Validate

func (o *PingOKBody) Validate(formats strfmt.Registry) error

Validate validates this ping o k body

type PingParams

type PingParams struct {

	// Body.
	Body PingBody

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

PingParams contains all the parameters to send to the API endpoint

for the ping operation.

Typically these are written to a http.Request.

func NewPingParams

func NewPingParams() *PingParams

NewPingParams creates a new PingParams 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 NewPingParamsWithContext

func NewPingParamsWithContext(ctx context.Context) *PingParams

NewPingParamsWithContext creates a new PingParams object with the ability to set a context for a request.

func NewPingParamsWithHTTPClient

func NewPingParamsWithHTTPClient(client *http.Client) *PingParams

NewPingParamsWithHTTPClient creates a new PingParams object with the ability to set a custom HTTPClient for a request.

func NewPingParamsWithTimeout

func NewPingParamsWithTimeout(timeout time.Duration) *PingParams

NewPingParamsWithTimeout creates a new PingParams object with the ability to set a timeout on a request.

func (*PingParams) SetBody

func (o *PingParams) SetBody(body PingBody)

SetBody adds the body to the ping params

func (*PingParams) SetContext

func (o *PingParams) SetContext(ctx context.Context)

SetContext adds the context to the ping params

func (*PingParams) SetDefaults

func (o *PingParams) SetDefaults()

SetDefaults hydrates default values in the ping params (not the query body).

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

func (*PingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ping params

func (*PingParams) SetTimeout

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

SetTimeout adds the timeout to the ping params

func (*PingParams) WithBody

func (o *PingParams) WithBody(body PingBody) *PingParams

WithBody adds the body to the ping params

func (*PingParams) WithContext

func (o *PingParams) WithContext(ctx context.Context) *PingParams

WithContext adds the context to the ping params

func (*PingParams) WithDefaults

func (o *PingParams) WithDefaults() *PingParams

WithDefaults hydrates default values in the ping params (not the query body).

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

func (*PingParams) WithHTTPClient

func (o *PingParams) WithHTTPClient(client *http.Client) *PingParams

WithHTTPClient adds the HTTPClient to the ping params

func (*PingParams) WithTimeout

func (o *PingParams) WithTimeout(timeout time.Duration) *PingParams

WithTimeout adds the timeout to the ping params

func (*PingParams) WriteToRequest

func (o *PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PingReader

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

PingReader is a Reader for the Ping structure.

func (*PingReader) ReadResponse

func (o *PingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PingUnauthorized

type PingUnauthorized struct {
}

PingUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewPingUnauthorized

func NewPingUnauthorized() *PingUnauthorized

NewPingUnauthorized creates a PingUnauthorized with default headers values

func (*PingUnauthorized) Code

func (o *PingUnauthorized) Code() int

Code gets the status code for the ping unauthorized response

func (*PingUnauthorized) Error

func (o *PingUnauthorized) Error() string

func (*PingUnauthorized) IsClientError

func (o *PingUnauthorized) IsClientError() bool

IsClientError returns true when this ping unauthorized response has a 4xx status code

func (*PingUnauthorized) IsCode

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

IsCode returns true when this ping unauthorized response a status code equal to that given

func (*PingUnauthorized) IsRedirect

func (o *PingUnauthorized) IsRedirect() bool

IsRedirect returns true when this ping unauthorized response has a 3xx status code

func (*PingUnauthorized) IsServerError

func (o *PingUnauthorized) IsServerError() bool

IsServerError returns true when this ping unauthorized response has a 5xx status code

func (*PingUnauthorized) IsSuccess

func (o *PingUnauthorized) IsSuccess() bool

IsSuccess returns true when this ping unauthorized response has a 2xx status code

func (*PingUnauthorized) String

func (o *PingUnauthorized) String() string

type RemoteAccessBadGateway

type RemoteAccessBadGateway struct {
}

RemoteAccessBadGateway describes a response with status code 502, with default header values.

bad gateway; agent not reachable

func NewRemoteAccessBadGateway

func NewRemoteAccessBadGateway() *RemoteAccessBadGateway

NewRemoteAccessBadGateway creates a RemoteAccessBadGateway with default headers values

func (*RemoteAccessBadGateway) Code

func (o *RemoteAccessBadGateway) Code() int

Code gets the status code for the remote access bad gateway response

func (*RemoteAccessBadGateway) Error

func (o *RemoteAccessBadGateway) Error() string

func (*RemoteAccessBadGateway) IsClientError

func (o *RemoteAccessBadGateway) IsClientError() bool

IsClientError returns true when this remote access bad gateway response has a 4xx status code

func (*RemoteAccessBadGateway) IsCode

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

IsCode returns true when this remote access bad gateway response a status code equal to that given

func (*RemoteAccessBadGateway) IsRedirect

func (o *RemoteAccessBadGateway) IsRedirect() bool

IsRedirect returns true when this remote access bad gateway response has a 3xx status code

func (*RemoteAccessBadGateway) IsServerError

func (o *RemoteAccessBadGateway) IsServerError() bool

IsServerError returns true when this remote access bad gateway response has a 5xx status code

func (*RemoteAccessBadGateway) IsSuccess

func (o *RemoteAccessBadGateway) IsSuccess() bool

IsSuccess returns true when this remote access bad gateway response has a 2xx status code

func (*RemoteAccessBadGateway) String

func (o *RemoteAccessBadGateway) String() string

type RemoteAccessBody

type RemoteAccessBody struct {

	// auto address
	AutoAddress string `json:"autoAddress,omitempty"`

	// auto end port
	// Maximum: 65535
	// Minimum: 1
	AutoEndPort int64 `json:"autoEndPort,omitempty"`

	// auto mode
	AutoMode bool `json:"autoMode,omitempty"`

	// auto start port
	// Maximum: 65535
	// Minimum: 1
	AutoStartPort int64 `json:"autoStartPort,omitempty"`

	// bind address
	BindAddress string `json:"bindAddress,omitempty"`

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// response headers
	ResponseHeaders []string `json:"responseHeaders"`

	// token
	Token string `json:"token,omitempty"`
}

RemoteAccessBody remote access body swagger:model RemoteAccessBody

func (*RemoteAccessBody) ContextValidate

func (o *RemoteAccessBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote access body based on context it is used

func (*RemoteAccessBody) MarshalBinary

func (o *RemoteAccessBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteAccessBody) UnmarshalBinary

func (o *RemoteAccessBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteAccessBody) Validate

func (o *RemoteAccessBody) Validate(formats strfmt.Registry) error

Validate validates this remote access body

type RemoteAccessInternalServerError

type RemoteAccessInternalServerError struct {
}

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

internal server error

func NewRemoteAccessInternalServerError

func NewRemoteAccessInternalServerError() *RemoteAccessInternalServerError

NewRemoteAccessInternalServerError creates a RemoteAccessInternalServerError with default headers values

func (*RemoteAccessInternalServerError) Code

Code gets the status code for the remote access internal server error response

func (*RemoteAccessInternalServerError) Error

func (*RemoteAccessInternalServerError) IsClientError

func (o *RemoteAccessInternalServerError) IsClientError() bool

IsClientError returns true when this remote access internal server error response has a 4xx status code

func (*RemoteAccessInternalServerError) IsCode

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

IsCode returns true when this remote access internal server error response a status code equal to that given

func (*RemoteAccessInternalServerError) IsRedirect

func (o *RemoteAccessInternalServerError) IsRedirect() bool

IsRedirect returns true when this remote access internal server error response has a 3xx status code

func (*RemoteAccessInternalServerError) IsServerError

func (o *RemoteAccessInternalServerError) IsServerError() bool

IsServerError returns true when this remote access internal server error response has a 5xx status code

func (*RemoteAccessInternalServerError) IsSuccess

func (o *RemoteAccessInternalServerError) IsSuccess() bool

IsSuccess returns true when this remote access internal server error response has a 2xx status code

func (*RemoteAccessInternalServerError) String

type RemoteAccessOK

type RemoteAccessOK struct {
	Payload *RemoteAccessOKBody
}

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

ok

func NewRemoteAccessOK

func NewRemoteAccessOK() *RemoteAccessOK

NewRemoteAccessOK creates a RemoteAccessOK with default headers values

func (*RemoteAccessOK) Code

func (o *RemoteAccessOK) Code() int

Code gets the status code for the remote access o k response

func (*RemoteAccessOK) Error

func (o *RemoteAccessOK) Error() string

func (*RemoteAccessOK) GetPayload

func (o *RemoteAccessOK) GetPayload() *RemoteAccessOKBody

func (*RemoteAccessOK) IsClientError

func (o *RemoteAccessOK) IsClientError() bool

IsClientError returns true when this remote access o k response has a 4xx status code

func (*RemoteAccessOK) IsCode

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

IsCode returns true when this remote access o k response a status code equal to that given

func (*RemoteAccessOK) IsRedirect

func (o *RemoteAccessOK) IsRedirect() bool

IsRedirect returns true when this remote access o k response has a 3xx status code

func (*RemoteAccessOK) IsServerError

func (o *RemoteAccessOK) IsServerError() bool

IsServerError returns true when this remote access o k response has a 5xx status code

func (*RemoteAccessOK) IsSuccess

func (o *RemoteAccessOK) IsSuccess() bool

IsSuccess returns true when this remote access o k response has a 2xx status code

func (*RemoteAccessOK) String

func (o *RemoteAccessOK) String() string

type RemoteAccessOKBody

type RemoteAccessOKBody struct {

	// frontend token
	FrontendToken string `json:"frontendToken,omitempty"`
}

RemoteAccessOKBody remote access o k body swagger:model RemoteAccessOKBody

func (*RemoteAccessOKBody) ContextValidate

func (o *RemoteAccessOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote access o k body based on context it is used

func (*RemoteAccessOKBody) MarshalBinary

func (o *RemoteAccessOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteAccessOKBody) UnmarshalBinary

func (o *RemoteAccessOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteAccessOKBody) Validate

func (o *RemoteAccessOKBody) Validate(formats strfmt.Registry) error

Validate validates this remote access o k body

type RemoteAccessParams

type RemoteAccessParams struct {

	// Body.
	Body RemoteAccessBody

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

RemoteAccessParams contains all the parameters to send to the API endpoint

for the remote access operation.

Typically these are written to a http.Request.

func NewRemoteAccessParams

func NewRemoteAccessParams() *RemoteAccessParams

NewRemoteAccessParams creates a new RemoteAccessParams 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 NewRemoteAccessParamsWithContext

func NewRemoteAccessParamsWithContext(ctx context.Context) *RemoteAccessParams

NewRemoteAccessParamsWithContext creates a new RemoteAccessParams object with the ability to set a context for a request.

func NewRemoteAccessParamsWithHTTPClient

func NewRemoteAccessParamsWithHTTPClient(client *http.Client) *RemoteAccessParams

NewRemoteAccessParamsWithHTTPClient creates a new RemoteAccessParams object with the ability to set a custom HTTPClient for a request.

func NewRemoteAccessParamsWithTimeout

func NewRemoteAccessParamsWithTimeout(timeout time.Duration) *RemoteAccessParams

NewRemoteAccessParamsWithTimeout creates a new RemoteAccessParams object with the ability to set a timeout on a request.

func (*RemoteAccessParams) SetBody

func (o *RemoteAccessParams) SetBody(body RemoteAccessBody)

SetBody adds the body to the remote access params

func (*RemoteAccessParams) SetContext

func (o *RemoteAccessParams) SetContext(ctx context.Context)

SetContext adds the context to the remote access params

func (*RemoteAccessParams) SetDefaults

func (o *RemoteAccessParams) SetDefaults()

SetDefaults hydrates default values in the remote access params (not the query body).

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

func (*RemoteAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remote access params

func (*RemoteAccessParams) SetTimeout

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

SetTimeout adds the timeout to the remote access params

func (*RemoteAccessParams) WithBody

WithBody adds the body to the remote access params

func (*RemoteAccessParams) WithContext

WithContext adds the context to the remote access params

func (*RemoteAccessParams) WithDefaults

func (o *RemoteAccessParams) WithDefaults() *RemoteAccessParams

WithDefaults hydrates default values in the remote access params (not the query body).

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

func (*RemoteAccessParams) WithHTTPClient

func (o *RemoteAccessParams) WithHTTPClient(client *http.Client) *RemoteAccessParams

WithHTTPClient adds the HTTPClient to the remote access params

func (*RemoteAccessParams) WithTimeout

func (o *RemoteAccessParams) WithTimeout(timeout time.Duration) *RemoteAccessParams

WithTimeout adds the timeout to the remote access params

func (*RemoteAccessParams) WriteToRequest

func (o *RemoteAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoteAccessReader

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

RemoteAccessReader is a Reader for the RemoteAccess structure.

func (*RemoteAccessReader) ReadResponse

func (o *RemoteAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RemoteAccessUnauthorized

type RemoteAccessUnauthorized struct {
}

RemoteAccessUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRemoteAccessUnauthorized

func NewRemoteAccessUnauthorized() *RemoteAccessUnauthorized

NewRemoteAccessUnauthorized creates a RemoteAccessUnauthorized with default headers values

func (*RemoteAccessUnauthorized) Code

func (o *RemoteAccessUnauthorized) Code() int

Code gets the status code for the remote access unauthorized response

func (*RemoteAccessUnauthorized) Error

func (o *RemoteAccessUnauthorized) Error() string

func (*RemoteAccessUnauthorized) IsClientError

func (o *RemoteAccessUnauthorized) IsClientError() bool

IsClientError returns true when this remote access unauthorized response has a 4xx status code

func (*RemoteAccessUnauthorized) IsCode

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

IsCode returns true when this remote access unauthorized response a status code equal to that given

func (*RemoteAccessUnauthorized) IsRedirect

func (o *RemoteAccessUnauthorized) IsRedirect() bool

IsRedirect returns true when this remote access unauthorized response has a 3xx status code

func (*RemoteAccessUnauthorized) IsServerError

func (o *RemoteAccessUnauthorized) IsServerError() bool

IsServerError returns true when this remote access unauthorized response has a 5xx status code

func (*RemoteAccessUnauthorized) IsSuccess

func (o *RemoteAccessUnauthorized) IsSuccess() bool

IsSuccess returns true when this remote access unauthorized response has a 2xx status code

func (*RemoteAccessUnauthorized) String

func (o *RemoteAccessUnauthorized) String() string

type RemoteShareBadGateway

type RemoteShareBadGateway struct {
}

RemoteShareBadGateway describes a response with status code 502, with default header values.

bad gateway; agent not reachable

func NewRemoteShareBadGateway

func NewRemoteShareBadGateway() *RemoteShareBadGateway

NewRemoteShareBadGateway creates a RemoteShareBadGateway with default headers values

func (*RemoteShareBadGateway) Code

func (o *RemoteShareBadGateway) Code() int

Code gets the status code for the remote share bad gateway response

func (*RemoteShareBadGateway) Error

func (o *RemoteShareBadGateway) Error() string

func (*RemoteShareBadGateway) IsClientError

func (o *RemoteShareBadGateway) IsClientError() bool

IsClientError returns true when this remote share bad gateway response has a 4xx status code

func (*RemoteShareBadGateway) IsCode

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

IsCode returns true when this remote share bad gateway response a status code equal to that given

func (*RemoteShareBadGateway) IsRedirect

func (o *RemoteShareBadGateway) IsRedirect() bool

IsRedirect returns true when this remote share bad gateway response has a 3xx status code

func (*RemoteShareBadGateway) IsServerError

func (o *RemoteShareBadGateway) IsServerError() bool

IsServerError returns true when this remote share bad gateway response has a 5xx status code

func (*RemoteShareBadGateway) IsSuccess

func (o *RemoteShareBadGateway) IsSuccess() bool

IsSuccess returns true when this remote share bad gateway response has a 2xx status code

func (*RemoteShareBadGateway) String

func (o *RemoteShareBadGateway) String() string

type RemoteShareBody

type RemoteShareBody struct {

	// access grants
	AccessGrants []string `json:"accessGrants"`

	// backend mode
	// Enum: ["proxy","web","tcpTunnel","udpTunnel","caddy","drive","socks"]
	BackendMode string `json:"backendMode,omitempty"`

	// basic auth
	BasicAuth []string `json:"basicAuth"`

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// insecure
	Insecure bool `json:"insecure,omitempty"`

	// name selections
	NameSelections []*rest_model_zrok.NameSelection `json:"nameSelections"`

	// oauth email domains
	OauthEmailDomains []string `json:"oauthEmailDomains"`

	// oauth provider
	OauthProvider string `json:"oauthProvider,omitempty"`

	// oauth refresh interval
	OauthRefreshInterval string `json:"oauthRefreshInterval,omitempty"`

	// open
	Open bool `json:"open,omitempty"`

	// private share token
	PrivateShareToken string `json:"privateShareToken,omitempty"`

	// share mode
	// Enum: ["public","private"]
	ShareMode string `json:"shareMode,omitempty"`

	// target
	Target string `json:"target,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

RemoteShareBody remote share body swagger:model RemoteShareBody

func (*RemoteShareBody) ContextValidate

func (o *RemoteShareBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remote share body based on the context it is used

func (*RemoteShareBody) MarshalBinary

func (o *RemoteShareBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteShareBody) UnmarshalBinary

func (o *RemoteShareBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteShareBody) Validate

func (o *RemoteShareBody) Validate(formats strfmt.Registry) error

Validate validates this remote share body

type RemoteShareInternalServerError

type RemoteShareInternalServerError struct {
}

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

internal server error

func NewRemoteShareInternalServerError

func NewRemoteShareInternalServerError() *RemoteShareInternalServerError

NewRemoteShareInternalServerError creates a RemoteShareInternalServerError with default headers values

func (*RemoteShareInternalServerError) Code

Code gets the status code for the remote share internal server error response

func (*RemoteShareInternalServerError) Error

func (*RemoteShareInternalServerError) IsClientError

func (o *RemoteShareInternalServerError) IsClientError() bool

IsClientError returns true when this remote share internal server error response has a 4xx status code

func (*RemoteShareInternalServerError) IsCode

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

IsCode returns true when this remote share internal server error response a status code equal to that given

func (*RemoteShareInternalServerError) IsRedirect

func (o *RemoteShareInternalServerError) IsRedirect() bool

IsRedirect returns true when this remote share internal server error response has a 3xx status code

func (*RemoteShareInternalServerError) IsServerError

func (o *RemoteShareInternalServerError) IsServerError() bool

IsServerError returns true when this remote share internal server error response has a 5xx status code

func (*RemoteShareInternalServerError) IsSuccess

func (o *RemoteShareInternalServerError) IsSuccess() bool

IsSuccess returns true when this remote share internal server error response has a 2xx status code

func (*RemoteShareInternalServerError) String

type RemoteShareOK

type RemoteShareOK struct {
	Payload *RemoteShareOKBody
}

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

ok

func NewRemoteShareOK

func NewRemoteShareOK() *RemoteShareOK

NewRemoteShareOK creates a RemoteShareOK with default headers values

func (*RemoteShareOK) Code

func (o *RemoteShareOK) Code() int

Code gets the status code for the remote share o k response

func (*RemoteShareOK) Error

func (o *RemoteShareOK) Error() string

func (*RemoteShareOK) GetPayload

func (o *RemoteShareOK) GetPayload() *RemoteShareOKBody

func (*RemoteShareOK) IsClientError

func (o *RemoteShareOK) IsClientError() bool

IsClientError returns true when this remote share o k response has a 4xx status code

func (*RemoteShareOK) IsCode

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

IsCode returns true when this remote share o k response a status code equal to that given

func (*RemoteShareOK) IsRedirect

func (o *RemoteShareOK) IsRedirect() bool

IsRedirect returns true when this remote share o k response has a 3xx status code

func (*RemoteShareOK) IsServerError

func (o *RemoteShareOK) IsServerError() bool

IsServerError returns true when this remote share o k response has a 5xx status code

func (*RemoteShareOK) IsSuccess

func (o *RemoteShareOK) IsSuccess() bool

IsSuccess returns true when this remote share o k response has a 2xx status code

func (*RemoteShareOK) String

func (o *RemoteShareOK) String() string

type RemoteShareOKBody

type RemoteShareOKBody struct {

	// frontend endpoints
	FrontendEndpoints []string `json:"frontendEndpoints"`

	// token
	Token string `json:"token,omitempty"`
}

RemoteShareOKBody remote share o k body swagger:model RemoteShareOKBody

func (*RemoteShareOKBody) ContextValidate

func (o *RemoteShareOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote share o k body based on context it is used

func (*RemoteShareOKBody) MarshalBinary

func (o *RemoteShareOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteShareOKBody) UnmarshalBinary

func (o *RemoteShareOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteShareOKBody) Validate

func (o *RemoteShareOKBody) Validate(formats strfmt.Registry) error

Validate validates this remote share o k body

type RemoteShareParams

type RemoteShareParams struct {

	// Body.
	Body RemoteShareBody

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

RemoteShareParams contains all the parameters to send to the API endpoint

for the remote share operation.

Typically these are written to a http.Request.

func NewRemoteShareParams

func NewRemoteShareParams() *RemoteShareParams

NewRemoteShareParams creates a new RemoteShareParams 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 NewRemoteShareParamsWithContext

func NewRemoteShareParamsWithContext(ctx context.Context) *RemoteShareParams

NewRemoteShareParamsWithContext creates a new RemoteShareParams object with the ability to set a context for a request.

func NewRemoteShareParamsWithHTTPClient

func NewRemoteShareParamsWithHTTPClient(client *http.Client) *RemoteShareParams

NewRemoteShareParamsWithHTTPClient creates a new RemoteShareParams object with the ability to set a custom HTTPClient for a request.

func NewRemoteShareParamsWithTimeout

func NewRemoteShareParamsWithTimeout(timeout time.Duration) *RemoteShareParams

NewRemoteShareParamsWithTimeout creates a new RemoteShareParams object with the ability to set a timeout on a request.

func (*RemoteShareParams) SetBody

func (o *RemoteShareParams) SetBody(body RemoteShareBody)

SetBody adds the body to the remote share params

func (*RemoteShareParams) SetContext

func (o *RemoteShareParams) SetContext(ctx context.Context)

SetContext adds the context to the remote share params

func (*RemoteShareParams) SetDefaults

func (o *RemoteShareParams) SetDefaults()

SetDefaults hydrates default values in the remote share params (not the query body).

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

func (*RemoteShareParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remote share params

func (*RemoteShareParams) SetTimeout

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

SetTimeout adds the timeout to the remote share params

func (*RemoteShareParams) WithBody

WithBody adds the body to the remote share params

func (*RemoteShareParams) WithContext

func (o *RemoteShareParams) WithContext(ctx context.Context) *RemoteShareParams

WithContext adds the context to the remote share params

func (*RemoteShareParams) WithDefaults

func (o *RemoteShareParams) WithDefaults() *RemoteShareParams

WithDefaults hydrates default values in the remote share params (not the query body).

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

func (*RemoteShareParams) WithHTTPClient

func (o *RemoteShareParams) WithHTTPClient(client *http.Client) *RemoteShareParams

WithHTTPClient adds the HTTPClient to the remote share params

func (*RemoteShareParams) WithTimeout

func (o *RemoteShareParams) WithTimeout(timeout time.Duration) *RemoteShareParams

WithTimeout adds the timeout to the remote share params

func (*RemoteShareParams) WriteToRequest

func (o *RemoteShareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoteShareReader

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

RemoteShareReader is a Reader for the RemoteShare structure.

func (*RemoteShareReader) ReadResponse

func (o *RemoteShareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RemoteShareUnauthorized

type RemoteShareUnauthorized struct {
}

RemoteShareUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRemoteShareUnauthorized

func NewRemoteShareUnauthorized() *RemoteShareUnauthorized

NewRemoteShareUnauthorized creates a RemoteShareUnauthorized with default headers values

func (*RemoteShareUnauthorized) Code

func (o *RemoteShareUnauthorized) Code() int

Code gets the status code for the remote share unauthorized response

func (*RemoteShareUnauthorized) Error

func (o *RemoteShareUnauthorized) Error() string

func (*RemoteShareUnauthorized) IsClientError

func (o *RemoteShareUnauthorized) IsClientError() bool

IsClientError returns true when this remote share unauthorized response has a 4xx status code

func (*RemoteShareUnauthorized) IsCode

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

IsCode returns true when this remote share unauthorized response a status code equal to that given

func (*RemoteShareUnauthorized) IsRedirect

func (o *RemoteShareUnauthorized) IsRedirect() bool

IsRedirect returns true when this remote share unauthorized response has a 3xx status code

func (*RemoteShareUnauthorized) IsServerError

func (o *RemoteShareUnauthorized) IsServerError() bool

IsServerError returns true when this remote share unauthorized response has a 5xx status code

func (*RemoteShareUnauthorized) IsSuccess

func (o *RemoteShareUnauthorized) IsSuccess() bool

IsSuccess returns true when this remote share unauthorized response has a 2xx status code

func (*RemoteShareUnauthorized) String

func (o *RemoteShareUnauthorized) String() string

type RemoteStatusBadGateway

type RemoteStatusBadGateway struct {
}

RemoteStatusBadGateway describes a response with status code 502, with default header values.

bad gateway; agent not reachable

func NewRemoteStatusBadGateway

func NewRemoteStatusBadGateway() *RemoteStatusBadGateway

NewRemoteStatusBadGateway creates a RemoteStatusBadGateway with default headers values

func (*RemoteStatusBadGateway) Code

func (o *RemoteStatusBadGateway) Code() int

Code gets the status code for the remote status bad gateway response

func (*RemoteStatusBadGateway) Error

func (o *RemoteStatusBadGateway) Error() string

func (*RemoteStatusBadGateway) IsClientError

func (o *RemoteStatusBadGateway) IsClientError() bool

IsClientError returns true when this remote status bad gateway response has a 4xx status code

func (*RemoteStatusBadGateway) IsCode

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

IsCode returns true when this remote status bad gateway response a status code equal to that given

func (*RemoteStatusBadGateway) IsRedirect

func (o *RemoteStatusBadGateway) IsRedirect() bool

IsRedirect returns true when this remote status bad gateway response has a 3xx status code

func (*RemoteStatusBadGateway) IsServerError

func (o *RemoteStatusBadGateway) IsServerError() bool

IsServerError returns true when this remote status bad gateway response has a 5xx status code

func (*RemoteStatusBadGateway) IsSuccess

func (o *RemoteStatusBadGateway) IsSuccess() bool

IsSuccess returns true when this remote status bad gateway response has a 2xx status code

func (*RemoteStatusBadGateway) String

func (o *RemoteStatusBadGateway) String() string

type RemoteStatusBody

type RemoteStatusBody struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`
}

RemoteStatusBody remote status body swagger:model RemoteStatusBody

func (*RemoteStatusBody) ContextValidate

func (o *RemoteStatusBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote status body based on context it is used

func (*RemoteStatusBody) MarshalBinary

func (o *RemoteStatusBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteStatusBody) UnmarshalBinary

func (o *RemoteStatusBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteStatusBody) Validate

func (o *RemoteStatusBody) Validate(formats strfmt.Registry) error

Validate validates this remote status body

type RemoteStatusInternalServerError

type RemoteStatusInternalServerError struct {
}

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

internal server error

func NewRemoteStatusInternalServerError

func NewRemoteStatusInternalServerError() *RemoteStatusInternalServerError

NewRemoteStatusInternalServerError creates a RemoteStatusInternalServerError with default headers values

func (*RemoteStatusInternalServerError) Code

Code gets the status code for the remote status internal server error response

func (*RemoteStatusInternalServerError) Error

func (*RemoteStatusInternalServerError) IsClientError

func (o *RemoteStatusInternalServerError) IsClientError() bool

IsClientError returns true when this remote status internal server error response has a 4xx status code

func (*RemoteStatusInternalServerError) IsCode

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

IsCode returns true when this remote status internal server error response a status code equal to that given

func (*RemoteStatusInternalServerError) IsRedirect

func (o *RemoteStatusInternalServerError) IsRedirect() bool

IsRedirect returns true when this remote status internal server error response has a 3xx status code

func (*RemoteStatusInternalServerError) IsServerError

func (o *RemoteStatusInternalServerError) IsServerError() bool

IsServerError returns true when this remote status internal server error response has a 5xx status code

func (*RemoteStatusInternalServerError) IsSuccess

func (o *RemoteStatusInternalServerError) IsSuccess() bool

IsSuccess returns true when this remote status internal server error response has a 2xx status code

func (*RemoteStatusInternalServerError) String

type RemoteStatusOK

type RemoteStatusOK struct {
	Payload *RemoteStatusOKBody
}

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

ok

func NewRemoteStatusOK

func NewRemoteStatusOK() *RemoteStatusOK

NewRemoteStatusOK creates a RemoteStatusOK with default headers values

func (*RemoteStatusOK) Code

func (o *RemoteStatusOK) Code() int

Code gets the status code for the remote status o k response

func (*RemoteStatusOK) Error

func (o *RemoteStatusOK) Error() string

func (*RemoteStatusOK) GetPayload

func (o *RemoteStatusOK) GetPayload() *RemoteStatusOKBody

func (*RemoteStatusOK) IsClientError

func (o *RemoteStatusOK) IsClientError() bool

IsClientError returns true when this remote status o k response has a 4xx status code

func (*RemoteStatusOK) IsCode

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

IsCode returns true when this remote status o k response a status code equal to that given

func (*RemoteStatusOK) IsRedirect

func (o *RemoteStatusOK) IsRedirect() bool

IsRedirect returns true when this remote status o k response has a 3xx status code

func (*RemoteStatusOK) IsServerError

func (o *RemoteStatusOK) IsServerError() bool

IsServerError returns true when this remote status o k response has a 5xx status code

func (*RemoteStatusOK) IsSuccess

func (o *RemoteStatusOK) IsSuccess() bool

IsSuccess returns true when this remote status o k response has a 2xx status code

func (*RemoteStatusOK) String

func (o *RemoteStatusOK) String() string

type RemoteStatusOKBody

type RemoteStatusOKBody struct {

	// accesses
	Accesses []*RemoteStatusOKBodyAccessesItems0 `json:"accesses"`

	// shares
	Shares []*RemoteStatusOKBodySharesItems0 `json:"shares"`
}

RemoteStatusOKBody remote status o k body swagger:model RemoteStatusOKBody

func (*RemoteStatusOKBody) ContextValidate

func (o *RemoteStatusOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remote status o k body based on the context it is used

func (*RemoteStatusOKBody) MarshalBinary

func (o *RemoteStatusOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteStatusOKBody) UnmarshalBinary

func (o *RemoteStatusOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteStatusOKBody) Validate

func (o *RemoteStatusOKBody) Validate(formats strfmt.Registry) error

Validate validates this remote status o k body

type RemoteStatusOKBodyAccessesItems0

type RemoteStatusOKBodyAccessesItems0 struct {

	// bind address
	BindAddress string `json:"bindAddress,omitempty"`

	// failure
	Failure *RemoteStatusOKBodyAccessesItems0Failure `json:"failure,omitempty"`

	// frontend token
	FrontendToken string `json:"frontendToken,omitempty"`

	// response headers
	ResponseHeaders []string `json:"responseHeaders"`

	// status
	Status string `json:"status,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

RemoteStatusOKBodyAccessesItems0 remote status o k body accesses items0 swagger:model RemoteStatusOKBodyAccessesItems0

func (*RemoteStatusOKBodyAccessesItems0) ContextValidate

func (o *RemoteStatusOKBodyAccessesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remote status o k body accesses items0 based on the context it is used

func (*RemoteStatusOKBodyAccessesItems0) MarshalBinary

func (o *RemoteStatusOKBodyAccessesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteStatusOKBodyAccessesItems0) UnmarshalBinary

func (o *RemoteStatusOKBodyAccessesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteStatusOKBodyAccessesItems0) Validate

Validate validates this remote status o k body accesses items0

type RemoteStatusOKBodyAccessesItems0Failure

type RemoteStatusOKBodyAccessesItems0Failure struct {

	// count
	Count int64 `json:"count,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last error
	LastError string `json:"lastError,omitempty"`

	// next retry
	NextRetry string `json:"nextRetry,omitempty"`
}

RemoteStatusOKBodyAccessesItems0Failure remote status o k body accesses items0 failure swagger:model RemoteStatusOKBodyAccessesItems0Failure

func (*RemoteStatusOKBodyAccessesItems0Failure) ContextValidate

ContextValidate validates this remote status o k body accesses items0 failure based on context it is used

func (*RemoteStatusOKBodyAccessesItems0Failure) MarshalBinary

func (o *RemoteStatusOKBodyAccessesItems0Failure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteStatusOKBodyAccessesItems0Failure) UnmarshalBinary

func (o *RemoteStatusOKBodyAccessesItems0Failure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteStatusOKBodyAccessesItems0Failure) Validate

Validate validates this remote status o k body accesses items0 failure

type RemoteStatusOKBodySharesItems0

type RemoteStatusOKBodySharesItems0 struct {

	// backend endpoint
	BackendEndpoint string `json:"backendEndpoint,omitempty"`

	// backend mode
	BackendMode string `json:"backendMode,omitempty"`

	// failure
	Failure *RemoteStatusOKBodySharesItems0Failure `json:"failure,omitempty"`

	// frontend endpoints
	FrontendEndpoints []string `json:"frontendEndpoints"`

	// open
	Open bool `json:"open,omitempty"`

	// share mode
	ShareMode string `json:"shareMode,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

RemoteStatusOKBodySharesItems0 remote status o k body shares items0 swagger:model RemoteStatusOKBodySharesItems0

func (*RemoteStatusOKBodySharesItems0) ContextValidate

func (o *RemoteStatusOKBodySharesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remote status o k body shares items0 based on the context it is used

func (*RemoteStatusOKBodySharesItems0) MarshalBinary

func (o *RemoteStatusOKBodySharesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteStatusOKBodySharesItems0) UnmarshalBinary

func (o *RemoteStatusOKBodySharesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteStatusOKBodySharesItems0) Validate

func (o *RemoteStatusOKBodySharesItems0) Validate(formats strfmt.Registry) error

Validate validates this remote status o k body shares items0

type RemoteStatusOKBodySharesItems0Failure

type RemoteStatusOKBodySharesItems0Failure struct {

	// count
	Count int64 `json:"count,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last error
	LastError string `json:"lastError,omitempty"`

	// next retry
	NextRetry string `json:"nextRetry,omitempty"`
}

RemoteStatusOKBodySharesItems0Failure remote status o k body shares items0 failure swagger:model RemoteStatusOKBodySharesItems0Failure

func (*RemoteStatusOKBodySharesItems0Failure) ContextValidate

func (o *RemoteStatusOKBodySharesItems0Failure) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote status o k body shares items0 failure based on context it is used

func (*RemoteStatusOKBodySharesItems0Failure) MarshalBinary

func (o *RemoteStatusOKBodySharesItems0Failure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteStatusOKBodySharesItems0Failure) UnmarshalBinary

func (o *RemoteStatusOKBodySharesItems0Failure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteStatusOKBodySharesItems0Failure) Validate

Validate validates this remote status o k body shares items0 failure

type RemoteStatusParams

type RemoteStatusParams struct {

	// Body.
	Body RemoteStatusBody

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

RemoteStatusParams contains all the parameters to send to the API endpoint

for the remote status operation.

Typically these are written to a http.Request.

func NewRemoteStatusParams

func NewRemoteStatusParams() *RemoteStatusParams

NewRemoteStatusParams creates a new RemoteStatusParams 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 NewRemoteStatusParamsWithContext

func NewRemoteStatusParamsWithContext(ctx context.Context) *RemoteStatusParams

NewRemoteStatusParamsWithContext creates a new RemoteStatusParams object with the ability to set a context for a request.

func NewRemoteStatusParamsWithHTTPClient

func NewRemoteStatusParamsWithHTTPClient(client *http.Client) *RemoteStatusParams

NewRemoteStatusParamsWithHTTPClient creates a new RemoteStatusParams object with the ability to set a custom HTTPClient for a request.

func NewRemoteStatusParamsWithTimeout

func NewRemoteStatusParamsWithTimeout(timeout time.Duration) *RemoteStatusParams

NewRemoteStatusParamsWithTimeout creates a new RemoteStatusParams object with the ability to set a timeout on a request.

func (*RemoteStatusParams) SetBody

func (o *RemoteStatusParams) SetBody(body RemoteStatusBody)

SetBody adds the body to the remote status params

func (*RemoteStatusParams) SetContext

func (o *RemoteStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the remote status params

func (*RemoteStatusParams) SetDefaults

func (o *RemoteStatusParams) SetDefaults()

SetDefaults hydrates default values in the remote status params (not the query body).

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

func (*RemoteStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remote status params

func (*RemoteStatusParams) SetTimeout

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

SetTimeout adds the timeout to the remote status params

func (*RemoteStatusParams) WithBody

WithBody adds the body to the remote status params

func (*RemoteStatusParams) WithContext

WithContext adds the context to the remote status params

func (*RemoteStatusParams) WithDefaults

func (o *RemoteStatusParams) WithDefaults() *RemoteStatusParams

WithDefaults hydrates default values in the remote status params (not the query body).

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

func (*RemoteStatusParams) WithHTTPClient

func (o *RemoteStatusParams) WithHTTPClient(client *http.Client) *RemoteStatusParams

WithHTTPClient adds the HTTPClient to the remote status params

func (*RemoteStatusParams) WithTimeout

func (o *RemoteStatusParams) WithTimeout(timeout time.Duration) *RemoteStatusParams

WithTimeout adds the timeout to the remote status params

func (*RemoteStatusParams) WriteToRequest

func (o *RemoteStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoteStatusReader

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

RemoteStatusReader is a Reader for the RemoteStatus structure.

func (*RemoteStatusReader) ReadResponse

func (o *RemoteStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RemoteStatusUnauthorized

type RemoteStatusUnauthorized struct {
}

RemoteStatusUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRemoteStatusUnauthorized

func NewRemoteStatusUnauthorized() *RemoteStatusUnauthorized

NewRemoteStatusUnauthorized creates a RemoteStatusUnauthorized with default headers values

func (*RemoteStatusUnauthorized) Code

func (o *RemoteStatusUnauthorized) Code() int

Code gets the status code for the remote status unauthorized response

func (*RemoteStatusUnauthorized) Error

func (o *RemoteStatusUnauthorized) Error() string

func (*RemoteStatusUnauthorized) IsClientError

func (o *RemoteStatusUnauthorized) IsClientError() bool

IsClientError returns true when this remote status unauthorized response has a 4xx status code

func (*RemoteStatusUnauthorized) IsCode

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

IsCode returns true when this remote status unauthorized response a status code equal to that given

func (*RemoteStatusUnauthorized) IsRedirect

func (o *RemoteStatusUnauthorized) IsRedirect() bool

IsRedirect returns true when this remote status unauthorized response has a 3xx status code

func (*RemoteStatusUnauthorized) IsServerError

func (o *RemoteStatusUnauthorized) IsServerError() bool

IsServerError returns true when this remote status unauthorized response has a 5xx status code

func (*RemoteStatusUnauthorized) IsSuccess

func (o *RemoteStatusUnauthorized) IsSuccess() bool

IsSuccess returns true when this remote status unauthorized response has a 2xx status code

func (*RemoteStatusUnauthorized) String

func (o *RemoteStatusUnauthorized) String() string

type RemoteUnaccessBadGateway

type RemoteUnaccessBadGateway struct {
}

RemoteUnaccessBadGateway describes a response with status code 502, with default header values.

bad gateway; agent not reachable

func NewRemoteUnaccessBadGateway

func NewRemoteUnaccessBadGateway() *RemoteUnaccessBadGateway

NewRemoteUnaccessBadGateway creates a RemoteUnaccessBadGateway with default headers values

func (*RemoteUnaccessBadGateway) Code

func (o *RemoteUnaccessBadGateway) Code() int

Code gets the status code for the remote unaccess bad gateway response

func (*RemoteUnaccessBadGateway) Error

func (o *RemoteUnaccessBadGateway) Error() string

func (*RemoteUnaccessBadGateway) IsClientError

func (o *RemoteUnaccessBadGateway) IsClientError() bool

IsClientError returns true when this remote unaccess bad gateway response has a 4xx status code

func (*RemoteUnaccessBadGateway) IsCode

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

IsCode returns true when this remote unaccess bad gateway response a status code equal to that given

func (*RemoteUnaccessBadGateway) IsRedirect

func (o *RemoteUnaccessBadGateway) IsRedirect() bool

IsRedirect returns true when this remote unaccess bad gateway response has a 3xx status code

func (*RemoteUnaccessBadGateway) IsServerError

func (o *RemoteUnaccessBadGateway) IsServerError() bool

IsServerError returns true when this remote unaccess bad gateway response has a 5xx status code

func (*RemoteUnaccessBadGateway) IsSuccess

func (o *RemoteUnaccessBadGateway) IsSuccess() bool

IsSuccess returns true when this remote unaccess bad gateway response has a 2xx status code

func (*RemoteUnaccessBadGateway) String

func (o *RemoteUnaccessBadGateway) String() string

type RemoteUnaccessBody

type RemoteUnaccessBody struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// frontend token
	FrontendToken string `json:"frontendToken,omitempty"`
}

RemoteUnaccessBody remote unaccess body swagger:model RemoteUnaccessBody

func (*RemoteUnaccessBody) ContextValidate

func (o *RemoteUnaccessBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote unaccess body based on context it is used

func (*RemoteUnaccessBody) MarshalBinary

func (o *RemoteUnaccessBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteUnaccessBody) UnmarshalBinary

func (o *RemoteUnaccessBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteUnaccessBody) Validate

func (o *RemoteUnaccessBody) Validate(formats strfmt.Registry) error

Validate validates this remote unaccess body

type RemoteUnaccessInternalServerError

type RemoteUnaccessInternalServerError struct {
}

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

internal server error

func NewRemoteUnaccessInternalServerError

func NewRemoteUnaccessInternalServerError() *RemoteUnaccessInternalServerError

NewRemoteUnaccessInternalServerError creates a RemoteUnaccessInternalServerError with default headers values

func (*RemoteUnaccessInternalServerError) Code

Code gets the status code for the remote unaccess internal server error response

func (*RemoteUnaccessInternalServerError) Error

func (*RemoteUnaccessInternalServerError) IsClientError

func (o *RemoteUnaccessInternalServerError) IsClientError() bool

IsClientError returns true when this remote unaccess internal server error response has a 4xx status code

func (*RemoteUnaccessInternalServerError) IsCode

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

IsCode returns true when this remote unaccess internal server error response a status code equal to that given

func (*RemoteUnaccessInternalServerError) IsRedirect

func (o *RemoteUnaccessInternalServerError) IsRedirect() bool

IsRedirect returns true when this remote unaccess internal server error response has a 3xx status code

func (*RemoteUnaccessInternalServerError) IsServerError

func (o *RemoteUnaccessInternalServerError) IsServerError() bool

IsServerError returns true when this remote unaccess internal server error response has a 5xx status code

func (*RemoteUnaccessInternalServerError) IsSuccess

func (o *RemoteUnaccessInternalServerError) IsSuccess() bool

IsSuccess returns true when this remote unaccess internal server error response has a 2xx status code

func (*RemoteUnaccessInternalServerError) String

type RemoteUnaccessOK

type RemoteUnaccessOK struct {
}

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

ok

func NewRemoteUnaccessOK

func NewRemoteUnaccessOK() *RemoteUnaccessOK

NewRemoteUnaccessOK creates a RemoteUnaccessOK with default headers values

func (*RemoteUnaccessOK) Code

func (o *RemoteUnaccessOK) Code() int

Code gets the status code for the remote unaccess o k response

func (*RemoteUnaccessOK) Error

func (o *RemoteUnaccessOK) Error() string

func (*RemoteUnaccessOK) IsClientError

func (o *RemoteUnaccessOK) IsClientError() bool

IsClientError returns true when this remote unaccess o k response has a 4xx status code

func (*RemoteUnaccessOK) IsCode

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

IsCode returns true when this remote unaccess o k response a status code equal to that given

func (*RemoteUnaccessOK) IsRedirect

func (o *RemoteUnaccessOK) IsRedirect() bool

IsRedirect returns true when this remote unaccess o k response has a 3xx status code

func (*RemoteUnaccessOK) IsServerError

func (o *RemoteUnaccessOK) IsServerError() bool

IsServerError returns true when this remote unaccess o k response has a 5xx status code

func (*RemoteUnaccessOK) IsSuccess

func (o *RemoteUnaccessOK) IsSuccess() bool

IsSuccess returns true when this remote unaccess o k response has a 2xx status code

func (*RemoteUnaccessOK) String

func (o *RemoteUnaccessOK) String() string

type RemoteUnaccessParams

type RemoteUnaccessParams struct {

	// Body.
	Body RemoteUnaccessBody

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

RemoteUnaccessParams contains all the parameters to send to the API endpoint

for the remote unaccess operation.

Typically these are written to a http.Request.

func NewRemoteUnaccessParams

func NewRemoteUnaccessParams() *RemoteUnaccessParams

NewRemoteUnaccessParams creates a new RemoteUnaccessParams 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 NewRemoteUnaccessParamsWithContext

func NewRemoteUnaccessParamsWithContext(ctx context.Context) *RemoteUnaccessParams

NewRemoteUnaccessParamsWithContext creates a new RemoteUnaccessParams object with the ability to set a context for a request.

func NewRemoteUnaccessParamsWithHTTPClient

func NewRemoteUnaccessParamsWithHTTPClient(client *http.Client) *RemoteUnaccessParams

NewRemoteUnaccessParamsWithHTTPClient creates a new RemoteUnaccessParams object with the ability to set a custom HTTPClient for a request.

func NewRemoteUnaccessParamsWithTimeout

func NewRemoteUnaccessParamsWithTimeout(timeout time.Duration) *RemoteUnaccessParams

NewRemoteUnaccessParamsWithTimeout creates a new RemoteUnaccessParams object with the ability to set a timeout on a request.

func (*RemoteUnaccessParams) SetBody

func (o *RemoteUnaccessParams) SetBody(body RemoteUnaccessBody)

SetBody adds the body to the remote unaccess params

func (*RemoteUnaccessParams) SetContext

func (o *RemoteUnaccessParams) SetContext(ctx context.Context)

SetContext adds the context to the remote unaccess params

func (*RemoteUnaccessParams) SetDefaults

func (o *RemoteUnaccessParams) SetDefaults()

SetDefaults hydrates default values in the remote unaccess params (not the query body).

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

func (*RemoteUnaccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remote unaccess params

func (*RemoteUnaccessParams) SetTimeout

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

SetTimeout adds the timeout to the remote unaccess params

func (*RemoteUnaccessParams) WithBody

WithBody adds the body to the remote unaccess params

func (*RemoteUnaccessParams) WithContext

WithContext adds the context to the remote unaccess params

func (*RemoteUnaccessParams) WithDefaults

func (o *RemoteUnaccessParams) WithDefaults() *RemoteUnaccessParams

WithDefaults hydrates default values in the remote unaccess params (not the query body).

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

func (*RemoteUnaccessParams) WithHTTPClient

func (o *RemoteUnaccessParams) WithHTTPClient(client *http.Client) *RemoteUnaccessParams

WithHTTPClient adds the HTTPClient to the remote unaccess params

func (*RemoteUnaccessParams) WithTimeout

func (o *RemoteUnaccessParams) WithTimeout(timeout time.Duration) *RemoteUnaccessParams

WithTimeout adds the timeout to the remote unaccess params

func (*RemoteUnaccessParams) WriteToRequest

func (o *RemoteUnaccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoteUnaccessReader

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

RemoteUnaccessReader is a Reader for the RemoteUnaccess structure.

func (*RemoteUnaccessReader) ReadResponse

func (o *RemoteUnaccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RemoteUnaccessUnauthorized

type RemoteUnaccessUnauthorized struct {
}

RemoteUnaccessUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRemoteUnaccessUnauthorized

func NewRemoteUnaccessUnauthorized() *RemoteUnaccessUnauthorized

NewRemoteUnaccessUnauthorized creates a RemoteUnaccessUnauthorized with default headers values

func (*RemoteUnaccessUnauthorized) Code

func (o *RemoteUnaccessUnauthorized) Code() int

Code gets the status code for the remote unaccess unauthorized response

func (*RemoteUnaccessUnauthorized) Error

func (*RemoteUnaccessUnauthorized) IsClientError

func (o *RemoteUnaccessUnauthorized) IsClientError() bool

IsClientError returns true when this remote unaccess unauthorized response has a 4xx status code

func (*RemoteUnaccessUnauthorized) IsCode

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

IsCode returns true when this remote unaccess unauthorized response a status code equal to that given

func (*RemoteUnaccessUnauthorized) IsRedirect

func (o *RemoteUnaccessUnauthorized) IsRedirect() bool

IsRedirect returns true when this remote unaccess unauthorized response has a 3xx status code

func (*RemoteUnaccessUnauthorized) IsServerError

func (o *RemoteUnaccessUnauthorized) IsServerError() bool

IsServerError returns true when this remote unaccess unauthorized response has a 5xx status code

func (*RemoteUnaccessUnauthorized) IsSuccess

func (o *RemoteUnaccessUnauthorized) IsSuccess() bool

IsSuccess returns true when this remote unaccess unauthorized response has a 2xx status code

func (*RemoteUnaccessUnauthorized) String

func (o *RemoteUnaccessUnauthorized) String() string

type RemoteUnshareBadGateway

type RemoteUnshareBadGateway struct {
}

RemoteUnshareBadGateway describes a response with status code 502, with default header values.

bad gateway; agent not reachable

func NewRemoteUnshareBadGateway

func NewRemoteUnshareBadGateway() *RemoteUnshareBadGateway

NewRemoteUnshareBadGateway creates a RemoteUnshareBadGateway with default headers values

func (*RemoteUnshareBadGateway) Code

func (o *RemoteUnshareBadGateway) Code() int

Code gets the status code for the remote unshare bad gateway response

func (*RemoteUnshareBadGateway) Error

func (o *RemoteUnshareBadGateway) Error() string

func (*RemoteUnshareBadGateway) IsClientError

func (o *RemoteUnshareBadGateway) IsClientError() bool

IsClientError returns true when this remote unshare bad gateway response has a 4xx status code

func (*RemoteUnshareBadGateway) IsCode

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

IsCode returns true when this remote unshare bad gateway response a status code equal to that given

func (*RemoteUnshareBadGateway) IsRedirect

func (o *RemoteUnshareBadGateway) IsRedirect() bool

IsRedirect returns true when this remote unshare bad gateway response has a 3xx status code

func (*RemoteUnshareBadGateway) IsServerError

func (o *RemoteUnshareBadGateway) IsServerError() bool

IsServerError returns true when this remote unshare bad gateway response has a 5xx status code

func (*RemoteUnshareBadGateway) IsSuccess

func (o *RemoteUnshareBadGateway) IsSuccess() bool

IsSuccess returns true when this remote unshare bad gateway response has a 2xx status code

func (*RemoteUnshareBadGateway) String

func (o *RemoteUnshareBadGateway) String() string

type RemoteUnshareBody

type RemoteUnshareBody struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

RemoteUnshareBody remote unshare body swagger:model RemoteUnshareBody

func (*RemoteUnshareBody) ContextValidate

func (o *RemoteUnshareBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote unshare body based on context it is used

func (*RemoteUnshareBody) MarshalBinary

func (o *RemoteUnshareBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteUnshareBody) UnmarshalBinary

func (o *RemoteUnshareBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteUnshareBody) Validate

func (o *RemoteUnshareBody) Validate(formats strfmt.Registry) error

Validate validates this remote unshare body

type RemoteUnshareInternalServerError

type RemoteUnshareInternalServerError struct {
}

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

internal server error

func NewRemoteUnshareInternalServerError

func NewRemoteUnshareInternalServerError() *RemoteUnshareInternalServerError

NewRemoteUnshareInternalServerError creates a RemoteUnshareInternalServerError with default headers values

func (*RemoteUnshareInternalServerError) Code

Code gets the status code for the remote unshare internal server error response

func (*RemoteUnshareInternalServerError) Error

func (*RemoteUnshareInternalServerError) IsClientError

func (o *RemoteUnshareInternalServerError) IsClientError() bool

IsClientError returns true when this remote unshare internal server error response has a 4xx status code

func (*RemoteUnshareInternalServerError) IsCode

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

IsCode returns true when this remote unshare internal server error response a status code equal to that given

func (*RemoteUnshareInternalServerError) IsRedirect

func (o *RemoteUnshareInternalServerError) IsRedirect() bool

IsRedirect returns true when this remote unshare internal server error response has a 3xx status code

func (*RemoteUnshareInternalServerError) IsServerError

func (o *RemoteUnshareInternalServerError) IsServerError() bool

IsServerError returns true when this remote unshare internal server error response has a 5xx status code

func (*RemoteUnshareInternalServerError) IsSuccess

func (o *RemoteUnshareInternalServerError) IsSuccess() bool

IsSuccess returns true when this remote unshare internal server error response has a 2xx status code

func (*RemoteUnshareInternalServerError) String

type RemoteUnshareOK

type RemoteUnshareOK struct {
}

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

ok

func NewRemoteUnshareOK

func NewRemoteUnshareOK() *RemoteUnshareOK

NewRemoteUnshareOK creates a RemoteUnshareOK with default headers values

func (*RemoteUnshareOK) Code

func (o *RemoteUnshareOK) Code() int

Code gets the status code for the remote unshare o k response

func (*RemoteUnshareOK) Error

func (o *RemoteUnshareOK) Error() string

func (*RemoteUnshareOK) IsClientError

func (o *RemoteUnshareOK) IsClientError() bool

IsClientError returns true when this remote unshare o k response has a 4xx status code

func (*RemoteUnshareOK) IsCode

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

IsCode returns true when this remote unshare o k response a status code equal to that given

func (*RemoteUnshareOK) IsRedirect

func (o *RemoteUnshareOK) IsRedirect() bool

IsRedirect returns true when this remote unshare o k response has a 3xx status code

func (*RemoteUnshareOK) IsServerError

func (o *RemoteUnshareOK) IsServerError() bool

IsServerError returns true when this remote unshare o k response has a 5xx status code

func (*RemoteUnshareOK) IsSuccess

func (o *RemoteUnshareOK) IsSuccess() bool

IsSuccess returns true when this remote unshare o k response has a 2xx status code

func (*RemoteUnshareOK) String

func (o *RemoteUnshareOK) String() string

type RemoteUnshareParams

type RemoteUnshareParams struct {

	// Body.
	Body RemoteUnshareBody

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

RemoteUnshareParams contains all the parameters to send to the API endpoint

for the remote unshare operation.

Typically these are written to a http.Request.

func NewRemoteUnshareParams

func NewRemoteUnshareParams() *RemoteUnshareParams

NewRemoteUnshareParams creates a new RemoteUnshareParams 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 NewRemoteUnshareParamsWithContext

func NewRemoteUnshareParamsWithContext(ctx context.Context) *RemoteUnshareParams

NewRemoteUnshareParamsWithContext creates a new RemoteUnshareParams object with the ability to set a context for a request.

func NewRemoteUnshareParamsWithHTTPClient

func NewRemoteUnshareParamsWithHTTPClient(client *http.Client) *RemoteUnshareParams

NewRemoteUnshareParamsWithHTTPClient creates a new RemoteUnshareParams object with the ability to set a custom HTTPClient for a request.

func NewRemoteUnshareParamsWithTimeout

func NewRemoteUnshareParamsWithTimeout(timeout time.Duration) *RemoteUnshareParams

NewRemoteUnshareParamsWithTimeout creates a new RemoteUnshareParams object with the ability to set a timeout on a request.

func (*RemoteUnshareParams) SetBody

func (o *RemoteUnshareParams) SetBody(body RemoteUnshareBody)

SetBody adds the body to the remote unshare params

func (*RemoteUnshareParams) SetContext

func (o *RemoteUnshareParams) SetContext(ctx context.Context)

SetContext adds the context to the remote unshare params

func (*RemoteUnshareParams) SetDefaults

func (o *RemoteUnshareParams) SetDefaults()

SetDefaults hydrates default values in the remote unshare params (not the query body).

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

func (*RemoteUnshareParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remote unshare params

func (*RemoteUnshareParams) SetTimeout

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

SetTimeout adds the timeout to the remote unshare params

func (*RemoteUnshareParams) WithBody

WithBody adds the body to the remote unshare params

func (*RemoteUnshareParams) WithContext

WithContext adds the context to the remote unshare params

func (*RemoteUnshareParams) WithDefaults

func (o *RemoteUnshareParams) WithDefaults() *RemoteUnshareParams

WithDefaults hydrates default values in the remote unshare params (not the query body).

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

func (*RemoteUnshareParams) WithHTTPClient

func (o *RemoteUnshareParams) WithHTTPClient(client *http.Client) *RemoteUnshareParams

WithHTTPClient adds the HTTPClient to the remote unshare params

func (*RemoteUnshareParams) WithTimeout

func (o *RemoteUnshareParams) WithTimeout(timeout time.Duration) *RemoteUnshareParams

WithTimeout adds the timeout to the remote unshare params

func (*RemoteUnshareParams) WriteToRequest

func (o *RemoteUnshareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoteUnshareReader

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

RemoteUnshareReader is a Reader for the RemoteUnshare structure.

func (*RemoteUnshareReader) ReadResponse

func (o *RemoteUnshareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RemoteUnshareUnauthorized

type RemoteUnshareUnauthorized struct {
}

RemoteUnshareUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRemoteUnshareUnauthorized

func NewRemoteUnshareUnauthorized() *RemoteUnshareUnauthorized

NewRemoteUnshareUnauthorized creates a RemoteUnshareUnauthorized with default headers values

func (*RemoteUnshareUnauthorized) Code

func (o *RemoteUnshareUnauthorized) Code() int

Code gets the status code for the remote unshare unauthorized response

func (*RemoteUnshareUnauthorized) Error

func (o *RemoteUnshareUnauthorized) Error() string

func (*RemoteUnshareUnauthorized) IsClientError

func (o *RemoteUnshareUnauthorized) IsClientError() bool

IsClientError returns true when this remote unshare unauthorized response has a 4xx status code

func (*RemoteUnshareUnauthorized) IsCode

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

IsCode returns true when this remote unshare unauthorized response a status code equal to that given

func (*RemoteUnshareUnauthorized) IsRedirect

func (o *RemoteUnshareUnauthorized) IsRedirect() bool

IsRedirect returns true when this remote unshare unauthorized response has a 3xx status code

func (*RemoteUnshareUnauthorized) IsServerError

func (o *RemoteUnshareUnauthorized) IsServerError() bool

IsServerError returns true when this remote unshare unauthorized response has a 5xx status code

func (*RemoteUnshareUnauthorized) IsSuccess

func (o *RemoteUnshareUnauthorized) IsSuccess() bool

IsSuccess returns true when this remote unshare unauthorized response has a 2xx status code

func (*RemoteUnshareUnauthorized) String

func (o *RemoteUnshareUnauthorized) String() string

type ShareHTTPHealthcheckBadGateway

type ShareHTTPHealthcheckBadGateway struct {
}

ShareHTTPHealthcheckBadGateway describes a response with status code 502, with default header values.

bad gateway; agent not reachable

func NewShareHTTPHealthcheckBadGateway

func NewShareHTTPHealthcheckBadGateway() *ShareHTTPHealthcheckBadGateway

NewShareHTTPHealthcheckBadGateway creates a ShareHTTPHealthcheckBadGateway with default headers values

func (*ShareHTTPHealthcheckBadGateway) Code

Code gets the status code for the share Http healthcheck bad gateway response

func (*ShareHTTPHealthcheckBadGateway) Error

func (*ShareHTTPHealthcheckBadGateway) IsClientError

func (o *ShareHTTPHealthcheckBadGateway) IsClientError() bool

IsClientError returns true when this share Http healthcheck bad gateway response has a 4xx status code

func (*ShareHTTPHealthcheckBadGateway) IsCode

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

IsCode returns true when this share Http healthcheck bad gateway response a status code equal to that given

func (*ShareHTTPHealthcheckBadGateway) IsRedirect

func (o *ShareHTTPHealthcheckBadGateway) IsRedirect() bool

IsRedirect returns true when this share Http healthcheck bad gateway response has a 3xx status code

func (*ShareHTTPHealthcheckBadGateway) IsServerError

func (o *ShareHTTPHealthcheckBadGateway) IsServerError() bool

IsServerError returns true when this share Http healthcheck bad gateway response has a 5xx status code

func (*ShareHTTPHealthcheckBadGateway) IsSuccess

func (o *ShareHTTPHealthcheckBadGateway) IsSuccess() bool

IsSuccess returns true when this share Http healthcheck bad gateway response has a 2xx status code

func (*ShareHTTPHealthcheckBadGateway) String

type ShareHTTPHealthcheckBody

type ShareHTTPHealthcheckBody struct {

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// env z Id
	EnvZID string `json:"envZId,omitempty"`

	// expected Http response
	ExpectedHTTPResponse float64 `json:"expectedHttpResponse,omitempty"`

	// http verb
	HTTPVerb string `json:"httpVerb,omitempty"`

	// share token
	ShareToken string `json:"shareToken,omitempty"`

	// timeout ms
	TimeoutMs float64 `json:"timeoutMs,omitempty"`
}

ShareHTTPHealthcheckBody share HTTP healthcheck body swagger:model ShareHTTPHealthcheckBody

func (*ShareHTTPHealthcheckBody) ContextValidate

func (o *ShareHTTPHealthcheckBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this share HTTP healthcheck body based on context it is used

func (*ShareHTTPHealthcheckBody) MarshalBinary

func (o *ShareHTTPHealthcheckBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ShareHTTPHealthcheckBody) UnmarshalBinary

func (o *ShareHTTPHealthcheckBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ShareHTTPHealthcheckBody) Validate

func (o *ShareHTTPHealthcheckBody) Validate(formats strfmt.Registry) error

Validate validates this share HTTP healthcheck body

type ShareHTTPHealthcheckInternalServerError

type ShareHTTPHealthcheckInternalServerError struct {
}

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

internal server error

func NewShareHTTPHealthcheckInternalServerError

func NewShareHTTPHealthcheckInternalServerError() *ShareHTTPHealthcheckInternalServerError

NewShareHTTPHealthcheckInternalServerError creates a ShareHTTPHealthcheckInternalServerError with default headers values

func (*ShareHTTPHealthcheckInternalServerError) Code

Code gets the status code for the share Http healthcheck internal server error response

func (*ShareHTTPHealthcheckInternalServerError) Error

func (*ShareHTTPHealthcheckInternalServerError) IsClientError

func (o *ShareHTTPHealthcheckInternalServerError) IsClientError() bool

IsClientError returns true when this share Http healthcheck internal server error response has a 4xx status code

func (*ShareHTTPHealthcheckInternalServerError) IsCode

IsCode returns true when this share Http healthcheck internal server error response a status code equal to that given

func (*ShareHTTPHealthcheckInternalServerError) IsRedirect

IsRedirect returns true when this share Http healthcheck internal server error response has a 3xx status code

func (*ShareHTTPHealthcheckInternalServerError) IsServerError

func (o *ShareHTTPHealthcheckInternalServerError) IsServerError() bool

IsServerError returns true when this share Http healthcheck internal server error response has a 5xx status code

func (*ShareHTTPHealthcheckInternalServerError) IsSuccess

IsSuccess returns true when this share Http healthcheck internal server error response has a 2xx status code

func (*ShareHTTPHealthcheckInternalServerError) String

type ShareHTTPHealthcheckOK

type ShareHTTPHealthcheckOK struct {
	Payload *ShareHTTPHealthcheckOKBody
}

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

ok

func NewShareHTTPHealthcheckOK

func NewShareHTTPHealthcheckOK() *ShareHTTPHealthcheckOK

NewShareHTTPHealthcheckOK creates a ShareHTTPHealthcheckOK with default headers values

func (*ShareHTTPHealthcheckOK) Code

func (o *ShareHTTPHealthcheckOK) Code() int

Code gets the status code for the share Http healthcheck o k response

func (*ShareHTTPHealthcheckOK) Error

func (o *ShareHTTPHealthcheckOK) Error() string

func (*ShareHTTPHealthcheckOK) GetPayload

func (*ShareHTTPHealthcheckOK) IsClientError

func (o *ShareHTTPHealthcheckOK) IsClientError() bool

IsClientError returns true when this share Http healthcheck o k response has a 4xx status code

func (*ShareHTTPHealthcheckOK) IsCode

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

IsCode returns true when this share Http healthcheck o k response a status code equal to that given

func (*ShareHTTPHealthcheckOK) IsRedirect

func (o *ShareHTTPHealthcheckOK) IsRedirect() bool

IsRedirect returns true when this share Http healthcheck o k response has a 3xx status code

func (*ShareHTTPHealthcheckOK) IsServerError

func (o *ShareHTTPHealthcheckOK) IsServerError() bool

IsServerError returns true when this share Http healthcheck o k response has a 5xx status code

func (*ShareHTTPHealthcheckOK) IsSuccess

func (o *ShareHTTPHealthcheckOK) IsSuccess() bool

IsSuccess returns true when this share Http healthcheck o k response has a 2xx status code

func (*ShareHTTPHealthcheckOK) String

func (o *ShareHTTPHealthcheckOK) String() string

type ShareHTTPHealthcheckOKBody

type ShareHTTPHealthcheckOKBody struct {

	// error
	Error string `json:"error,omitempty"`

	// healthy
	Healthy bool `json:"healthy,omitempty"`
}

ShareHTTPHealthcheckOKBody share HTTP healthcheck o k body swagger:model ShareHTTPHealthcheckOKBody

func (*ShareHTTPHealthcheckOKBody) ContextValidate

func (o *ShareHTTPHealthcheckOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this share HTTP healthcheck o k body based on context it is used

func (*ShareHTTPHealthcheckOKBody) MarshalBinary

func (o *ShareHTTPHealthcheckOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ShareHTTPHealthcheckOKBody) UnmarshalBinary

func (o *ShareHTTPHealthcheckOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ShareHTTPHealthcheckOKBody) Validate

func (o *ShareHTTPHealthcheckOKBody) Validate(formats strfmt.Registry) error

Validate validates this share HTTP healthcheck o k body

type ShareHTTPHealthcheckParams

type ShareHTTPHealthcheckParams struct {

	// Body.
	Body ShareHTTPHealthcheckBody

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

ShareHTTPHealthcheckParams contains all the parameters to send to the API endpoint

for the share Http healthcheck operation.

Typically these are written to a http.Request.

func NewShareHTTPHealthcheckParams

func NewShareHTTPHealthcheckParams() *ShareHTTPHealthcheckParams

NewShareHTTPHealthcheckParams creates a new ShareHTTPHealthcheckParams 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 NewShareHTTPHealthcheckParamsWithContext

func NewShareHTTPHealthcheckParamsWithContext(ctx context.Context) *ShareHTTPHealthcheckParams

NewShareHTTPHealthcheckParamsWithContext creates a new ShareHTTPHealthcheckParams object with the ability to set a context for a request.

func NewShareHTTPHealthcheckParamsWithHTTPClient

func NewShareHTTPHealthcheckParamsWithHTTPClient(client *http.Client) *ShareHTTPHealthcheckParams

NewShareHTTPHealthcheckParamsWithHTTPClient creates a new ShareHTTPHealthcheckParams object with the ability to set a custom HTTPClient for a request.

func NewShareHTTPHealthcheckParamsWithTimeout

func NewShareHTTPHealthcheckParamsWithTimeout(timeout time.Duration) *ShareHTTPHealthcheckParams

NewShareHTTPHealthcheckParamsWithTimeout creates a new ShareHTTPHealthcheckParams object with the ability to set a timeout on a request.

func (*ShareHTTPHealthcheckParams) SetBody

SetBody adds the body to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) SetContext

func (o *ShareHTTPHealthcheckParams) SetContext(ctx context.Context)

SetContext adds the context to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) SetDefaults

func (o *ShareHTTPHealthcheckParams) SetDefaults()

SetDefaults hydrates default values in the share Http healthcheck params (not the query body).

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

func (*ShareHTTPHealthcheckParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) SetTimeout

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

SetTimeout adds the timeout to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) WithBody

WithBody adds the body to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) WithContext

WithContext adds the context to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) WithDefaults

WithDefaults hydrates default values in the share Http healthcheck params (not the query body).

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

func (*ShareHTTPHealthcheckParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) WithTimeout

WithTimeout adds the timeout to the share Http healthcheck params

func (*ShareHTTPHealthcheckParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ShareHTTPHealthcheckReader

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

ShareHTTPHealthcheckReader is a Reader for the ShareHTTPHealthcheck structure.

func (*ShareHTTPHealthcheckReader) ReadResponse

func (o *ShareHTTPHealthcheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ShareHTTPHealthcheckUnauthorized

type ShareHTTPHealthcheckUnauthorized struct {
}

ShareHTTPHealthcheckUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewShareHTTPHealthcheckUnauthorized

func NewShareHTTPHealthcheckUnauthorized() *ShareHTTPHealthcheckUnauthorized

NewShareHTTPHealthcheckUnauthorized creates a ShareHTTPHealthcheckUnauthorized with default headers values

func (*ShareHTTPHealthcheckUnauthorized) Code

Code gets the status code for the share Http healthcheck unauthorized response

func (*ShareHTTPHealthcheckUnauthorized) Error

func (*ShareHTTPHealthcheckUnauthorized) IsClientError

func (o *ShareHTTPHealthcheckUnauthorized) IsClientError() bool

IsClientError returns true when this share Http healthcheck unauthorized response has a 4xx status code

func (*ShareHTTPHealthcheckUnauthorized) IsCode

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

IsCode returns true when this share Http healthcheck unauthorized response a status code equal to that given

func (*ShareHTTPHealthcheckUnauthorized) IsRedirect

func (o *ShareHTTPHealthcheckUnauthorized) IsRedirect() bool

IsRedirect returns true when this share Http healthcheck unauthorized response has a 3xx status code

func (*ShareHTTPHealthcheckUnauthorized) IsServerError

func (o *ShareHTTPHealthcheckUnauthorized) IsServerError() bool

IsServerError returns true when this share Http healthcheck unauthorized response has a 5xx status code

func (*ShareHTTPHealthcheckUnauthorized) IsSuccess

func (o *ShareHTTPHealthcheckUnauthorized) IsSuccess() bool

IsSuccess returns true when this share Http healthcheck unauthorized response has a 2xx status code

func (*ShareHTTPHealthcheckUnauthorized) String

type UnenrollBadRequest

type UnenrollBadRequest struct {
}

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

bad request; not enrolled

func NewUnenrollBadRequest

func NewUnenrollBadRequest() *UnenrollBadRequest

NewUnenrollBadRequest creates a UnenrollBadRequest with default headers values

func (*UnenrollBadRequest) Code

func (o *UnenrollBadRequest) Code() int

Code gets the status code for the unenroll bad request response

func (*UnenrollBadRequest) Error

func (o *UnenrollBadRequest) Error() string

func (*UnenrollBadRequest) IsClientError

func (o *UnenrollBadRequest) IsClientError() bool

IsClientError returns true when this unenroll bad request response has a 4xx status code

func (*UnenrollBadRequest) IsCode

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

IsCode returns true when this unenroll bad request response a status code equal to that given

func (*UnenrollBadRequest) IsRedirect

func (o *UnenrollBadRequest) IsRedirect() bool

IsRedirect returns true when this unenroll bad request response has a 3xx status code

func (*UnenrollBadRequest) IsServerError

func (o *UnenrollBadRequest) IsServerError() bool

IsServerError returns true when this unenroll bad request response has a 5xx status code

func (*UnenrollBadRequest) IsSuccess

func (o *UnenrollBadRequest) IsSuccess() bool

IsSuccess returns true when this unenroll bad request response has a 2xx status code

func (*UnenrollBadRequest) String

func (o *UnenrollBadRequest) String() string

type UnenrollBody

type UnenrollBody struct {

	// env z Id
	EnvZID string `json:"envZId,omitempty"`
}

UnenrollBody unenroll body swagger:model UnenrollBody

func (*UnenrollBody) ContextValidate

func (o *UnenrollBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unenroll body based on context it is used

func (*UnenrollBody) MarshalBinary

func (o *UnenrollBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnenrollBody) UnmarshalBinary

func (o *UnenrollBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnenrollBody) Validate

func (o *UnenrollBody) Validate(formats strfmt.Registry) error

Validate validates this unenroll body

type UnenrollInternalServerError

type UnenrollInternalServerError struct {
}

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

internal server error

func NewUnenrollInternalServerError

func NewUnenrollInternalServerError() *UnenrollInternalServerError

NewUnenrollInternalServerError creates a UnenrollInternalServerError with default headers values

func (*UnenrollInternalServerError) Code

func (o *UnenrollInternalServerError) Code() int

Code gets the status code for the unenroll internal server error response

func (*UnenrollInternalServerError) Error

func (*UnenrollInternalServerError) IsClientError

func (o *UnenrollInternalServerError) IsClientError() bool

IsClientError returns true when this unenroll internal server error response has a 4xx status code

func (*UnenrollInternalServerError) IsCode

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

IsCode returns true when this unenroll internal server error response a status code equal to that given

func (*UnenrollInternalServerError) IsRedirect

func (o *UnenrollInternalServerError) IsRedirect() bool

IsRedirect returns true when this unenroll internal server error response has a 3xx status code

func (*UnenrollInternalServerError) IsServerError

func (o *UnenrollInternalServerError) IsServerError() bool

IsServerError returns true when this unenroll internal server error response has a 5xx status code

func (*UnenrollInternalServerError) IsSuccess

func (o *UnenrollInternalServerError) IsSuccess() bool

IsSuccess returns true when this unenroll internal server error response has a 2xx status code

func (*UnenrollInternalServerError) String

func (o *UnenrollInternalServerError) String() string

type UnenrollOK

type UnenrollOK struct {
}

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

ok

func NewUnenrollOK

func NewUnenrollOK() *UnenrollOK

NewUnenrollOK creates a UnenrollOK with default headers values

func (*UnenrollOK) Code

func (o *UnenrollOK) Code() int

Code gets the status code for the unenroll o k response

func (*UnenrollOK) Error

func (o *UnenrollOK) Error() string

func (*UnenrollOK) IsClientError

func (o *UnenrollOK) IsClientError() bool

IsClientError returns true when this unenroll o k response has a 4xx status code

func (*UnenrollOK) IsCode

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

IsCode returns true when this unenroll o k response a status code equal to that given

func (*UnenrollOK) IsRedirect

func (o *UnenrollOK) IsRedirect() bool

IsRedirect returns true when this unenroll o k response has a 3xx status code

func (*UnenrollOK) IsServerError

func (o *UnenrollOK) IsServerError() bool

IsServerError returns true when this unenroll o k response has a 5xx status code

func (*UnenrollOK) IsSuccess

func (o *UnenrollOK) IsSuccess() bool

IsSuccess returns true when this unenroll o k response has a 2xx status code

func (*UnenrollOK) String

func (o *UnenrollOK) String() string

type UnenrollParams

type UnenrollParams struct {

	// Body.
	Body UnenrollBody

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

UnenrollParams contains all the parameters to send to the API endpoint

for the unenroll operation.

Typically these are written to a http.Request.

func NewUnenrollParams

func NewUnenrollParams() *UnenrollParams

NewUnenrollParams creates a new UnenrollParams 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 NewUnenrollParamsWithContext

func NewUnenrollParamsWithContext(ctx context.Context) *UnenrollParams

NewUnenrollParamsWithContext creates a new UnenrollParams object with the ability to set a context for a request.

func NewUnenrollParamsWithHTTPClient

func NewUnenrollParamsWithHTTPClient(client *http.Client) *UnenrollParams

NewUnenrollParamsWithHTTPClient creates a new UnenrollParams object with the ability to set a custom HTTPClient for a request.

func NewUnenrollParamsWithTimeout

func NewUnenrollParamsWithTimeout(timeout time.Duration) *UnenrollParams

NewUnenrollParamsWithTimeout creates a new UnenrollParams object with the ability to set a timeout on a request.

func (*UnenrollParams) SetBody

func (o *UnenrollParams) SetBody(body UnenrollBody)

SetBody adds the body to the unenroll params

func (*UnenrollParams) SetContext

func (o *UnenrollParams) SetContext(ctx context.Context)

SetContext adds the context to the unenroll params

func (*UnenrollParams) SetDefaults

func (o *UnenrollParams) SetDefaults()

SetDefaults hydrates default values in the unenroll params (not the query body).

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

func (*UnenrollParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unenroll params

func (*UnenrollParams) SetTimeout

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

SetTimeout adds the timeout to the unenroll params

func (*UnenrollParams) WithBody

func (o *UnenrollParams) WithBody(body UnenrollBody) *UnenrollParams

WithBody adds the body to the unenroll params

func (*UnenrollParams) WithContext

func (o *UnenrollParams) WithContext(ctx context.Context) *UnenrollParams

WithContext adds the context to the unenroll params

func (*UnenrollParams) WithDefaults

func (o *UnenrollParams) WithDefaults() *UnenrollParams

WithDefaults hydrates default values in the unenroll params (not the query body).

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

func (*UnenrollParams) WithHTTPClient

func (o *UnenrollParams) WithHTTPClient(client *http.Client) *UnenrollParams

WithHTTPClient adds the HTTPClient to the unenroll params

func (*UnenrollParams) WithTimeout

func (o *UnenrollParams) WithTimeout(timeout time.Duration) *UnenrollParams

WithTimeout adds the timeout to the unenroll params

func (*UnenrollParams) WriteToRequest

func (o *UnenrollParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UnenrollReader

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

UnenrollReader is a Reader for the Unenroll structure.

func (*UnenrollReader) ReadResponse

func (o *UnenrollReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UnenrollUnauthorized

type UnenrollUnauthorized struct {
}

UnenrollUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewUnenrollUnauthorized

func NewUnenrollUnauthorized() *UnenrollUnauthorized

NewUnenrollUnauthorized creates a UnenrollUnauthorized with default headers values

func (*UnenrollUnauthorized) Code

func (o *UnenrollUnauthorized) Code() int

Code gets the status code for the unenroll unauthorized response

func (*UnenrollUnauthorized) Error

func (o *UnenrollUnauthorized) Error() string

func (*UnenrollUnauthorized) IsClientError

func (o *UnenrollUnauthorized) IsClientError() bool

IsClientError returns true when this unenroll unauthorized response has a 4xx status code

func (*UnenrollUnauthorized) IsCode

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

IsCode returns true when this unenroll unauthorized response a status code equal to that given

func (*UnenrollUnauthorized) IsRedirect

func (o *UnenrollUnauthorized) IsRedirect() bool

IsRedirect returns true when this unenroll unauthorized response has a 3xx status code

func (*UnenrollUnauthorized) IsServerError

func (o *UnenrollUnauthorized) IsServerError() bool

IsServerError returns true when this unenroll unauthorized response has a 5xx status code

func (*UnenrollUnauthorized) IsSuccess

func (o *UnenrollUnauthorized) IsSuccess() bool

IsSuccess returns true when this unenroll unauthorized response has a 2xx status code

func (*UnenrollUnauthorized) String

func (o *UnenrollUnauthorized) String() string

Jump to

Keyboard shortcuts

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