Documentation
¶
Index ¶
- Constants
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationZrokV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationZrokV1JSON(r *runtime.ClientOperation)
- type Client
- func (a *Client) Enroll(params *EnrollParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnrollOK, error)
- func (a *Client) Ping(params *PingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PingOK, error)
- func (a *Client) RemoteAccess(params *RemoteAccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoteAccessOK, error)
- func (a *Client) RemoteShare(params *RemoteShareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoteShareOK, error)
- func (a *Client) RemoteStatus(params *RemoteStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoteStatusOK, error)
- func (a *Client) RemoteUnaccess(params *RemoteUnaccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoteUnaccessOK, error)
- func (a *Client) RemoteUnshare(params *RemoteUnshareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoteUnshareOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShareHTTPHealthcheck(params *ShareHTTPHealthcheckParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShareHTTPHealthcheckOK, error)
- func (a *Client) Unenroll(params *UnenrollParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnenrollOK, error)
- type ClientOption
- type ClientService
- type EnrollBadRequest
- func (o *EnrollBadRequest) Code() int
- func (o *EnrollBadRequest) Error() string
- func (o *EnrollBadRequest) IsClientError() bool
- func (o *EnrollBadRequest) IsCode(code int) bool
- func (o *EnrollBadRequest) IsRedirect() bool
- func (o *EnrollBadRequest) IsServerError() bool
- func (o *EnrollBadRequest) IsSuccess() bool
- func (o *EnrollBadRequest) String() string
- type EnrollBody
- type EnrollInternalServerError
- func (o *EnrollInternalServerError) Code() int
- func (o *EnrollInternalServerError) Error() string
- func (o *EnrollInternalServerError) IsClientError() bool
- func (o *EnrollInternalServerError) IsCode(code int) bool
- func (o *EnrollInternalServerError) IsRedirect() bool
- func (o *EnrollInternalServerError) IsServerError() bool
- func (o *EnrollInternalServerError) IsSuccess() bool
- func (o *EnrollInternalServerError) String() string
- type EnrollOK
- func (o *EnrollOK) Code() int
- func (o *EnrollOK) Error() string
- func (o *EnrollOK) GetPayload() *EnrollOKBody
- func (o *EnrollOK) IsClientError() bool
- func (o *EnrollOK) IsCode(code int) bool
- func (o *EnrollOK) IsRedirect() bool
- func (o *EnrollOK) IsServerError() bool
- func (o *EnrollOK) IsSuccess() bool
- func (o *EnrollOK) String() string
- type EnrollOKBody
- type EnrollParams
- func (o *EnrollParams) SetBody(body EnrollBody)
- func (o *EnrollParams) SetContext(ctx context.Context)
- func (o *EnrollParams) SetDefaults()
- func (o *EnrollParams) SetHTTPClient(client *http.Client)
- func (o *EnrollParams) SetTimeout(timeout time.Duration)
- func (o *EnrollParams) WithBody(body EnrollBody) *EnrollParams
- func (o *EnrollParams) WithContext(ctx context.Context) *EnrollParams
- func (o *EnrollParams) WithDefaults() *EnrollParams
- func (o *EnrollParams) WithHTTPClient(client *http.Client) *EnrollParams
- func (o *EnrollParams) WithTimeout(timeout time.Duration) *EnrollParams
- func (o *EnrollParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollReader
- type EnrollUnauthorized
- func (o *EnrollUnauthorized) Code() int
- func (o *EnrollUnauthorized) Error() string
- func (o *EnrollUnauthorized) IsClientError() bool
- func (o *EnrollUnauthorized) IsCode(code int) bool
- func (o *EnrollUnauthorized) IsRedirect() bool
- func (o *EnrollUnauthorized) IsServerError() bool
- func (o *EnrollUnauthorized) IsSuccess() bool
- func (o *EnrollUnauthorized) String() string
- type PingBadGateway
- func (o *PingBadGateway) Code() int
- func (o *PingBadGateway) Error() string
- func (o *PingBadGateway) IsClientError() bool
- func (o *PingBadGateway) IsCode(code int) bool
- func (o *PingBadGateway) IsRedirect() bool
- func (o *PingBadGateway) IsServerError() bool
- func (o *PingBadGateway) IsSuccess() bool
- func (o *PingBadGateway) String() string
- type PingBody
- type PingInternalServerError
- func (o *PingInternalServerError) Code() int
- func (o *PingInternalServerError) Error() string
- func (o *PingInternalServerError) IsClientError() bool
- func (o *PingInternalServerError) IsCode(code int) bool
- func (o *PingInternalServerError) IsRedirect() bool
- func (o *PingInternalServerError) IsServerError() bool
- func (o *PingInternalServerError) IsSuccess() bool
- func (o *PingInternalServerError) String() string
- type PingOK
- func (o *PingOK) Code() int
- func (o *PingOK) Error() string
- func (o *PingOK) GetPayload() *PingOKBody
- func (o *PingOK) IsClientError() bool
- func (o *PingOK) IsCode(code int) bool
- func (o *PingOK) IsRedirect() bool
- func (o *PingOK) IsServerError() bool
- func (o *PingOK) IsSuccess() bool
- func (o *PingOK) String() string
- type PingOKBody
- type PingParams
- func (o *PingParams) SetBody(body PingBody)
- func (o *PingParams) SetContext(ctx context.Context)
- func (o *PingParams) SetDefaults()
- func (o *PingParams) SetHTTPClient(client *http.Client)
- func (o *PingParams) SetTimeout(timeout time.Duration)
- func (o *PingParams) WithBody(body PingBody) *PingParams
- func (o *PingParams) WithContext(ctx context.Context) *PingParams
- func (o *PingParams) WithDefaults() *PingParams
- func (o *PingParams) WithHTTPClient(client *http.Client) *PingParams
- func (o *PingParams) WithTimeout(timeout time.Duration) *PingParams
- func (o *PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PingReader
- type PingUnauthorized
- func (o *PingUnauthorized) Code() int
- func (o *PingUnauthorized) Error() string
- func (o *PingUnauthorized) IsClientError() bool
- func (o *PingUnauthorized) IsCode(code int) bool
- func (o *PingUnauthorized) IsRedirect() bool
- func (o *PingUnauthorized) IsServerError() bool
- func (o *PingUnauthorized) IsSuccess() bool
- func (o *PingUnauthorized) String() string
- type RemoteAccessBadGateway
- func (o *RemoteAccessBadGateway) Code() int
- func (o *RemoteAccessBadGateway) Error() string
- func (o *RemoteAccessBadGateway) IsClientError() bool
- func (o *RemoteAccessBadGateway) IsCode(code int) bool
- func (o *RemoteAccessBadGateway) IsRedirect() bool
- func (o *RemoteAccessBadGateway) IsServerError() bool
- func (o *RemoteAccessBadGateway) IsSuccess() bool
- func (o *RemoteAccessBadGateway) String() string
- type RemoteAccessBody
- type RemoteAccessInternalServerError
- func (o *RemoteAccessInternalServerError) Code() int
- func (o *RemoteAccessInternalServerError) Error() string
- func (o *RemoteAccessInternalServerError) IsClientError() bool
- func (o *RemoteAccessInternalServerError) IsCode(code int) bool
- func (o *RemoteAccessInternalServerError) IsRedirect() bool
- func (o *RemoteAccessInternalServerError) IsServerError() bool
- func (o *RemoteAccessInternalServerError) IsSuccess() bool
- func (o *RemoteAccessInternalServerError) String() string
- type RemoteAccessOK
- func (o *RemoteAccessOK) Code() int
- func (o *RemoteAccessOK) Error() string
- func (o *RemoteAccessOK) GetPayload() *RemoteAccessOKBody
- func (o *RemoteAccessOK) IsClientError() bool
- func (o *RemoteAccessOK) IsCode(code int) bool
- func (o *RemoteAccessOK) IsRedirect() bool
- func (o *RemoteAccessOK) IsServerError() bool
- func (o *RemoteAccessOK) IsSuccess() bool
- func (o *RemoteAccessOK) String() string
- type RemoteAccessOKBody
- type RemoteAccessParams
- func (o *RemoteAccessParams) SetBody(body RemoteAccessBody)
- func (o *RemoteAccessParams) SetContext(ctx context.Context)
- func (o *RemoteAccessParams) SetDefaults()
- func (o *RemoteAccessParams) SetHTTPClient(client *http.Client)
- func (o *RemoteAccessParams) SetTimeout(timeout time.Duration)
- func (o *RemoteAccessParams) WithBody(body RemoteAccessBody) *RemoteAccessParams
- func (o *RemoteAccessParams) WithContext(ctx context.Context) *RemoteAccessParams
- func (o *RemoteAccessParams) WithDefaults() *RemoteAccessParams
- func (o *RemoteAccessParams) WithHTTPClient(client *http.Client) *RemoteAccessParams
- func (o *RemoteAccessParams) WithTimeout(timeout time.Duration) *RemoteAccessParams
- func (o *RemoteAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoteAccessReader
- type RemoteAccessUnauthorized
- func (o *RemoteAccessUnauthorized) Code() int
- func (o *RemoteAccessUnauthorized) Error() string
- func (o *RemoteAccessUnauthorized) IsClientError() bool
- func (o *RemoteAccessUnauthorized) IsCode(code int) bool
- func (o *RemoteAccessUnauthorized) IsRedirect() bool
- func (o *RemoteAccessUnauthorized) IsServerError() bool
- func (o *RemoteAccessUnauthorized) IsSuccess() bool
- func (o *RemoteAccessUnauthorized) String() string
- type RemoteShareBadGateway
- func (o *RemoteShareBadGateway) Code() int
- func (o *RemoteShareBadGateway) Error() string
- func (o *RemoteShareBadGateway) IsClientError() bool
- func (o *RemoteShareBadGateway) IsCode(code int) bool
- func (o *RemoteShareBadGateway) IsRedirect() bool
- func (o *RemoteShareBadGateway) IsServerError() bool
- func (o *RemoteShareBadGateway) IsSuccess() bool
- func (o *RemoteShareBadGateway) String() string
- type RemoteShareBody
- type RemoteShareInternalServerError
- func (o *RemoteShareInternalServerError) Code() int
- func (o *RemoteShareInternalServerError) Error() string
- func (o *RemoteShareInternalServerError) IsClientError() bool
- func (o *RemoteShareInternalServerError) IsCode(code int) bool
- func (o *RemoteShareInternalServerError) IsRedirect() bool
- func (o *RemoteShareInternalServerError) IsServerError() bool
- func (o *RemoteShareInternalServerError) IsSuccess() bool
- func (o *RemoteShareInternalServerError) String() string
- type RemoteShareOK
- func (o *RemoteShareOK) Code() int
- func (o *RemoteShareOK) Error() string
- func (o *RemoteShareOK) GetPayload() *RemoteShareOKBody
- func (o *RemoteShareOK) IsClientError() bool
- func (o *RemoteShareOK) IsCode(code int) bool
- func (o *RemoteShareOK) IsRedirect() bool
- func (o *RemoteShareOK) IsServerError() bool
- func (o *RemoteShareOK) IsSuccess() bool
- func (o *RemoteShareOK) String() string
- type RemoteShareOKBody
- type RemoteShareParams
- func (o *RemoteShareParams) SetBody(body RemoteShareBody)
- func (o *RemoteShareParams) SetContext(ctx context.Context)
- func (o *RemoteShareParams) SetDefaults()
- func (o *RemoteShareParams) SetHTTPClient(client *http.Client)
- func (o *RemoteShareParams) SetTimeout(timeout time.Duration)
- func (o *RemoteShareParams) WithBody(body RemoteShareBody) *RemoteShareParams
- func (o *RemoteShareParams) WithContext(ctx context.Context) *RemoteShareParams
- func (o *RemoteShareParams) WithDefaults() *RemoteShareParams
- func (o *RemoteShareParams) WithHTTPClient(client *http.Client) *RemoteShareParams
- func (o *RemoteShareParams) WithTimeout(timeout time.Duration) *RemoteShareParams
- func (o *RemoteShareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoteShareReader
- type RemoteShareUnauthorized
- func (o *RemoteShareUnauthorized) Code() int
- func (o *RemoteShareUnauthorized) Error() string
- func (o *RemoteShareUnauthorized) IsClientError() bool
- func (o *RemoteShareUnauthorized) IsCode(code int) bool
- func (o *RemoteShareUnauthorized) IsRedirect() bool
- func (o *RemoteShareUnauthorized) IsServerError() bool
- func (o *RemoteShareUnauthorized) IsSuccess() bool
- func (o *RemoteShareUnauthorized) String() string
- type RemoteStatusBadGateway
- func (o *RemoteStatusBadGateway) Code() int
- func (o *RemoteStatusBadGateway) Error() string
- func (o *RemoteStatusBadGateway) IsClientError() bool
- func (o *RemoteStatusBadGateway) IsCode(code int) bool
- func (o *RemoteStatusBadGateway) IsRedirect() bool
- func (o *RemoteStatusBadGateway) IsServerError() bool
- func (o *RemoteStatusBadGateway) IsSuccess() bool
- func (o *RemoteStatusBadGateway) String() string
- type RemoteStatusBody
- type RemoteStatusInternalServerError
- func (o *RemoteStatusInternalServerError) Code() int
- func (o *RemoteStatusInternalServerError) Error() string
- func (o *RemoteStatusInternalServerError) IsClientError() bool
- func (o *RemoteStatusInternalServerError) IsCode(code int) bool
- func (o *RemoteStatusInternalServerError) IsRedirect() bool
- func (o *RemoteStatusInternalServerError) IsServerError() bool
- func (o *RemoteStatusInternalServerError) IsSuccess() bool
- func (o *RemoteStatusInternalServerError) String() string
- type RemoteStatusOK
- func (o *RemoteStatusOK) Code() int
- func (o *RemoteStatusOK) Error() string
- func (o *RemoteStatusOK) GetPayload() *RemoteStatusOKBody
- func (o *RemoteStatusOK) IsClientError() bool
- func (o *RemoteStatusOK) IsCode(code int) bool
- func (o *RemoteStatusOK) IsRedirect() bool
- func (o *RemoteStatusOK) IsServerError() bool
- func (o *RemoteStatusOK) IsSuccess() bool
- func (o *RemoteStatusOK) String() string
- type RemoteStatusOKBody
- type RemoteStatusOKBodyAccessesItems0
- func (o *RemoteStatusOKBodyAccessesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RemoteStatusOKBodyAccessesItems0) MarshalBinary() ([]byte, error)
- func (o *RemoteStatusOKBodyAccessesItems0) UnmarshalBinary(b []byte) error
- func (o *RemoteStatusOKBodyAccessesItems0) Validate(formats strfmt.Registry) error
- type RemoteStatusOKBodyAccessesItems0Failure
- func (o *RemoteStatusOKBodyAccessesItems0Failure) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RemoteStatusOKBodyAccessesItems0Failure) MarshalBinary() ([]byte, error)
- func (o *RemoteStatusOKBodyAccessesItems0Failure) UnmarshalBinary(b []byte) error
- func (o *RemoteStatusOKBodyAccessesItems0Failure) Validate(formats strfmt.Registry) error
- type RemoteStatusOKBodySharesItems0
- func (o *RemoteStatusOKBodySharesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RemoteStatusOKBodySharesItems0) MarshalBinary() ([]byte, error)
- func (o *RemoteStatusOKBodySharesItems0) UnmarshalBinary(b []byte) error
- func (o *RemoteStatusOKBodySharesItems0) Validate(formats strfmt.Registry) error
- type RemoteStatusOKBodySharesItems0Failure
- func (o *RemoteStatusOKBodySharesItems0Failure) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RemoteStatusOKBodySharesItems0Failure) MarshalBinary() ([]byte, error)
- func (o *RemoteStatusOKBodySharesItems0Failure) UnmarshalBinary(b []byte) error
- func (o *RemoteStatusOKBodySharesItems0Failure) Validate(formats strfmt.Registry) error
- type RemoteStatusParams
- func (o *RemoteStatusParams) SetBody(body RemoteStatusBody)
- func (o *RemoteStatusParams) SetContext(ctx context.Context)
- func (o *RemoteStatusParams) SetDefaults()
- func (o *RemoteStatusParams) SetHTTPClient(client *http.Client)
- func (o *RemoteStatusParams) SetTimeout(timeout time.Duration)
- func (o *RemoteStatusParams) WithBody(body RemoteStatusBody) *RemoteStatusParams
- func (o *RemoteStatusParams) WithContext(ctx context.Context) *RemoteStatusParams
- func (o *RemoteStatusParams) WithDefaults() *RemoteStatusParams
- func (o *RemoteStatusParams) WithHTTPClient(client *http.Client) *RemoteStatusParams
- func (o *RemoteStatusParams) WithTimeout(timeout time.Duration) *RemoteStatusParams
- func (o *RemoteStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoteStatusReader
- type RemoteStatusUnauthorized
- func (o *RemoteStatusUnauthorized) Code() int
- func (o *RemoteStatusUnauthorized) Error() string
- func (o *RemoteStatusUnauthorized) IsClientError() bool
- func (o *RemoteStatusUnauthorized) IsCode(code int) bool
- func (o *RemoteStatusUnauthorized) IsRedirect() bool
- func (o *RemoteStatusUnauthorized) IsServerError() bool
- func (o *RemoteStatusUnauthorized) IsSuccess() bool
- func (o *RemoteStatusUnauthorized) String() string
- type RemoteUnaccessBadGateway
- func (o *RemoteUnaccessBadGateway) Code() int
- func (o *RemoteUnaccessBadGateway) Error() string
- func (o *RemoteUnaccessBadGateway) IsClientError() bool
- func (o *RemoteUnaccessBadGateway) IsCode(code int) bool
- func (o *RemoteUnaccessBadGateway) IsRedirect() bool
- func (o *RemoteUnaccessBadGateway) IsServerError() bool
- func (o *RemoteUnaccessBadGateway) IsSuccess() bool
- func (o *RemoteUnaccessBadGateway) String() string
- type RemoteUnaccessBody
- type RemoteUnaccessInternalServerError
- func (o *RemoteUnaccessInternalServerError) Code() int
- func (o *RemoteUnaccessInternalServerError) Error() string
- func (o *RemoteUnaccessInternalServerError) IsClientError() bool
- func (o *RemoteUnaccessInternalServerError) IsCode(code int) bool
- func (o *RemoteUnaccessInternalServerError) IsRedirect() bool
- func (o *RemoteUnaccessInternalServerError) IsServerError() bool
- func (o *RemoteUnaccessInternalServerError) IsSuccess() bool
- func (o *RemoteUnaccessInternalServerError) String() string
- type RemoteUnaccessOK
- func (o *RemoteUnaccessOK) Code() int
- func (o *RemoteUnaccessOK) Error() string
- func (o *RemoteUnaccessOK) IsClientError() bool
- func (o *RemoteUnaccessOK) IsCode(code int) bool
- func (o *RemoteUnaccessOK) IsRedirect() bool
- func (o *RemoteUnaccessOK) IsServerError() bool
- func (o *RemoteUnaccessOK) IsSuccess() bool
- func (o *RemoteUnaccessOK) String() string
- type RemoteUnaccessParams
- func NewRemoteUnaccessParams() *RemoteUnaccessParams
- func NewRemoteUnaccessParamsWithContext(ctx context.Context) *RemoteUnaccessParams
- func NewRemoteUnaccessParamsWithHTTPClient(client *http.Client) *RemoteUnaccessParams
- func NewRemoteUnaccessParamsWithTimeout(timeout time.Duration) *RemoteUnaccessParams
- func (o *RemoteUnaccessParams) SetBody(body RemoteUnaccessBody)
- func (o *RemoteUnaccessParams) SetContext(ctx context.Context)
- func (o *RemoteUnaccessParams) SetDefaults()
- func (o *RemoteUnaccessParams) SetHTTPClient(client *http.Client)
- func (o *RemoteUnaccessParams) SetTimeout(timeout time.Duration)
- func (o *RemoteUnaccessParams) WithBody(body RemoteUnaccessBody) *RemoteUnaccessParams
- func (o *RemoteUnaccessParams) WithContext(ctx context.Context) *RemoteUnaccessParams
- func (o *RemoteUnaccessParams) WithDefaults() *RemoteUnaccessParams
- func (o *RemoteUnaccessParams) WithHTTPClient(client *http.Client) *RemoteUnaccessParams
- func (o *RemoteUnaccessParams) WithTimeout(timeout time.Duration) *RemoteUnaccessParams
- func (o *RemoteUnaccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoteUnaccessReader
- type RemoteUnaccessUnauthorized
- func (o *RemoteUnaccessUnauthorized) Code() int
- func (o *RemoteUnaccessUnauthorized) Error() string
- func (o *RemoteUnaccessUnauthorized) IsClientError() bool
- func (o *RemoteUnaccessUnauthorized) IsCode(code int) bool
- func (o *RemoteUnaccessUnauthorized) IsRedirect() bool
- func (o *RemoteUnaccessUnauthorized) IsServerError() bool
- func (o *RemoteUnaccessUnauthorized) IsSuccess() bool
- func (o *RemoteUnaccessUnauthorized) String() string
- type RemoteUnshareBadGateway
- func (o *RemoteUnshareBadGateway) Code() int
- func (o *RemoteUnshareBadGateway) Error() string
- func (o *RemoteUnshareBadGateway) IsClientError() bool
- func (o *RemoteUnshareBadGateway) IsCode(code int) bool
- func (o *RemoteUnshareBadGateway) IsRedirect() bool
- func (o *RemoteUnshareBadGateway) IsServerError() bool
- func (o *RemoteUnshareBadGateway) IsSuccess() bool
- func (o *RemoteUnshareBadGateway) String() string
- type RemoteUnshareBody
- type RemoteUnshareInternalServerError
- func (o *RemoteUnshareInternalServerError) Code() int
- func (o *RemoteUnshareInternalServerError) Error() string
- func (o *RemoteUnshareInternalServerError) IsClientError() bool
- func (o *RemoteUnshareInternalServerError) IsCode(code int) bool
- func (o *RemoteUnshareInternalServerError) IsRedirect() bool
- func (o *RemoteUnshareInternalServerError) IsServerError() bool
- func (o *RemoteUnshareInternalServerError) IsSuccess() bool
- func (o *RemoteUnshareInternalServerError) String() string
- type RemoteUnshareOK
- func (o *RemoteUnshareOK) Code() int
- func (o *RemoteUnshareOK) Error() string
- func (o *RemoteUnshareOK) IsClientError() bool
- func (o *RemoteUnshareOK) IsCode(code int) bool
- func (o *RemoteUnshareOK) IsRedirect() bool
- func (o *RemoteUnshareOK) IsServerError() bool
- func (o *RemoteUnshareOK) IsSuccess() bool
- func (o *RemoteUnshareOK) String() string
- type RemoteUnshareParams
- func (o *RemoteUnshareParams) SetBody(body RemoteUnshareBody)
- func (o *RemoteUnshareParams) SetContext(ctx context.Context)
- func (o *RemoteUnshareParams) SetDefaults()
- func (o *RemoteUnshareParams) SetHTTPClient(client *http.Client)
- func (o *RemoteUnshareParams) SetTimeout(timeout time.Duration)
- func (o *RemoteUnshareParams) WithBody(body RemoteUnshareBody) *RemoteUnshareParams
- func (o *RemoteUnshareParams) WithContext(ctx context.Context) *RemoteUnshareParams
- func (o *RemoteUnshareParams) WithDefaults() *RemoteUnshareParams
- func (o *RemoteUnshareParams) WithHTTPClient(client *http.Client) *RemoteUnshareParams
- func (o *RemoteUnshareParams) WithTimeout(timeout time.Duration) *RemoteUnshareParams
- func (o *RemoteUnshareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoteUnshareReader
- type RemoteUnshareUnauthorized
- func (o *RemoteUnshareUnauthorized) Code() int
- func (o *RemoteUnshareUnauthorized) Error() string
- func (o *RemoteUnshareUnauthorized) IsClientError() bool
- func (o *RemoteUnshareUnauthorized) IsCode(code int) bool
- func (o *RemoteUnshareUnauthorized) IsRedirect() bool
- func (o *RemoteUnshareUnauthorized) IsServerError() bool
- func (o *RemoteUnshareUnauthorized) IsSuccess() bool
- func (o *RemoteUnshareUnauthorized) String() string
- type ShareHTTPHealthcheckBadGateway
- func (o *ShareHTTPHealthcheckBadGateway) Code() int
- func (o *ShareHTTPHealthcheckBadGateway) Error() string
- func (o *ShareHTTPHealthcheckBadGateway) IsClientError() bool
- func (o *ShareHTTPHealthcheckBadGateway) IsCode(code int) bool
- func (o *ShareHTTPHealthcheckBadGateway) IsRedirect() bool
- func (o *ShareHTTPHealthcheckBadGateway) IsServerError() bool
- func (o *ShareHTTPHealthcheckBadGateway) IsSuccess() bool
- func (o *ShareHTTPHealthcheckBadGateway) String() string
- type ShareHTTPHealthcheckBody
- func (o *ShareHTTPHealthcheckBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ShareHTTPHealthcheckBody) MarshalBinary() ([]byte, error)
- func (o *ShareHTTPHealthcheckBody) UnmarshalBinary(b []byte) error
- func (o *ShareHTTPHealthcheckBody) Validate(formats strfmt.Registry) error
- type ShareHTTPHealthcheckInternalServerError
- func (o *ShareHTTPHealthcheckInternalServerError) Code() int
- func (o *ShareHTTPHealthcheckInternalServerError) Error() string
- func (o *ShareHTTPHealthcheckInternalServerError) IsClientError() bool
- func (o *ShareHTTPHealthcheckInternalServerError) IsCode(code int) bool
- func (o *ShareHTTPHealthcheckInternalServerError) IsRedirect() bool
- func (o *ShareHTTPHealthcheckInternalServerError) IsServerError() bool
- func (o *ShareHTTPHealthcheckInternalServerError) IsSuccess() bool
- func (o *ShareHTTPHealthcheckInternalServerError) String() string
- type ShareHTTPHealthcheckOK
- func (o *ShareHTTPHealthcheckOK) Code() int
- func (o *ShareHTTPHealthcheckOK) Error() string
- func (o *ShareHTTPHealthcheckOK) GetPayload() *ShareHTTPHealthcheckOKBody
- func (o *ShareHTTPHealthcheckOK) IsClientError() bool
- func (o *ShareHTTPHealthcheckOK) IsCode(code int) bool
- func (o *ShareHTTPHealthcheckOK) IsRedirect() bool
- func (o *ShareHTTPHealthcheckOK) IsServerError() bool
- func (o *ShareHTTPHealthcheckOK) IsSuccess() bool
- func (o *ShareHTTPHealthcheckOK) String() string
- type ShareHTTPHealthcheckOKBody
- func (o *ShareHTTPHealthcheckOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ShareHTTPHealthcheckOKBody) MarshalBinary() ([]byte, error)
- func (o *ShareHTTPHealthcheckOKBody) UnmarshalBinary(b []byte) error
- func (o *ShareHTTPHealthcheckOKBody) Validate(formats strfmt.Registry) error
- type ShareHTTPHealthcheckParams
- func NewShareHTTPHealthcheckParams() *ShareHTTPHealthcheckParams
- func NewShareHTTPHealthcheckParamsWithContext(ctx context.Context) *ShareHTTPHealthcheckParams
- func NewShareHTTPHealthcheckParamsWithHTTPClient(client *http.Client) *ShareHTTPHealthcheckParams
- func NewShareHTTPHealthcheckParamsWithTimeout(timeout time.Duration) *ShareHTTPHealthcheckParams
- func (o *ShareHTTPHealthcheckParams) SetBody(body ShareHTTPHealthcheckBody)
- func (o *ShareHTTPHealthcheckParams) SetContext(ctx context.Context)
- func (o *ShareHTTPHealthcheckParams) SetDefaults()
- func (o *ShareHTTPHealthcheckParams) SetHTTPClient(client *http.Client)
- func (o *ShareHTTPHealthcheckParams) SetTimeout(timeout time.Duration)
- func (o *ShareHTTPHealthcheckParams) WithBody(body ShareHTTPHealthcheckBody) *ShareHTTPHealthcheckParams
- func (o *ShareHTTPHealthcheckParams) WithContext(ctx context.Context) *ShareHTTPHealthcheckParams
- func (o *ShareHTTPHealthcheckParams) WithDefaults() *ShareHTTPHealthcheckParams
- func (o *ShareHTTPHealthcheckParams) WithHTTPClient(client *http.Client) *ShareHTTPHealthcheckParams
- func (o *ShareHTTPHealthcheckParams) WithTimeout(timeout time.Duration) *ShareHTTPHealthcheckParams
- func (o *ShareHTTPHealthcheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShareHTTPHealthcheckReader
- type ShareHTTPHealthcheckUnauthorized
- func (o *ShareHTTPHealthcheckUnauthorized) Code() int
- func (o *ShareHTTPHealthcheckUnauthorized) Error() string
- func (o *ShareHTTPHealthcheckUnauthorized) IsClientError() bool
- func (o *ShareHTTPHealthcheckUnauthorized) IsCode(code int) bool
- func (o *ShareHTTPHealthcheckUnauthorized) IsRedirect() bool
- func (o *ShareHTTPHealthcheckUnauthorized) IsServerError() bool
- func (o *ShareHTTPHealthcheckUnauthorized) IsSuccess() bool
- func (o *ShareHTTPHealthcheckUnauthorized) String() string
- type UnenrollBadRequest
- func (o *UnenrollBadRequest) Code() int
- func (o *UnenrollBadRequest) Error() string
- func (o *UnenrollBadRequest) IsClientError() bool
- func (o *UnenrollBadRequest) IsCode(code int) bool
- func (o *UnenrollBadRequest) IsRedirect() bool
- func (o *UnenrollBadRequest) IsServerError() bool
- func (o *UnenrollBadRequest) IsSuccess() bool
- func (o *UnenrollBadRequest) String() string
- type UnenrollBody
- type UnenrollInternalServerError
- func (o *UnenrollInternalServerError) Code() int
- func (o *UnenrollInternalServerError) Error() string
- func (o *UnenrollInternalServerError) IsClientError() bool
- func (o *UnenrollInternalServerError) IsCode(code int) bool
- func (o *UnenrollInternalServerError) IsRedirect() bool
- func (o *UnenrollInternalServerError) IsServerError() bool
- func (o *UnenrollInternalServerError) IsSuccess() bool
- func (o *UnenrollInternalServerError) String() string
- type UnenrollOK
- func (o *UnenrollOK) Code() int
- func (o *UnenrollOK) Error() string
- func (o *UnenrollOK) IsClientError() bool
- func (o *UnenrollOK) IsCode(code int) bool
- func (o *UnenrollOK) IsRedirect() bool
- func (o *UnenrollOK) IsServerError() bool
- func (o *UnenrollOK) IsSuccess() bool
- func (o *UnenrollOK) String() string
- type UnenrollParams
- func (o *UnenrollParams) SetBody(body UnenrollBody)
- func (o *UnenrollParams) SetContext(ctx context.Context)
- func (o *UnenrollParams) SetDefaults()
- func (o *UnenrollParams) SetHTTPClient(client *http.Client)
- func (o *UnenrollParams) SetTimeout(timeout time.Duration)
- func (o *UnenrollParams) WithBody(body UnenrollBody) *UnenrollParams
- func (o *UnenrollParams) WithContext(ctx context.Context) *UnenrollParams
- func (o *UnenrollParams) WithDefaults() *UnenrollParams
- func (o *UnenrollParams) WithHTTPClient(client *http.Client) *UnenrollParams
- func (o *UnenrollParams) WithTimeout(timeout time.Duration) *UnenrollParams
- func (o *UnenrollParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnenrollReader
- type UnenrollUnauthorized
- func (o *UnenrollUnauthorized) Code() int
- func (o *UnenrollUnauthorized) Error() string
- func (o *UnenrollUnauthorized) IsClientError() bool
- func (o *UnenrollUnauthorized) IsCode(code int) bool
- func (o *UnenrollUnauthorized) IsRedirect() bool
- func (o *UnenrollUnauthorized) IsServerError() bool
- func (o *UnenrollUnauthorized) IsSuccess() bool
- func (o *UnenrollUnauthorized) String() string
Constants ¶
const ( RemoteShareBodyBackendModeProxy string = "proxy" RemoteShareBodyBackendModeWeb string = "web" RemoteShareBodyBackendModeTCPTunnel string = "tcpTunnel" RemoteShareBodyBackendModeUDPTunnel string = "udpTunnel" RemoteShareBodyBackendModeCaddy string = "caddy" RemoteShareBodyBackendModeDrive string = "drive" RemoteShareBodyBackendModeSocks string = "socks" )
const ( RemoteShareBodyShareModePublic string = "public" 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)
RemoteStatus(params *RemoteStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteStatusOK, error)
RemoteUnaccess(params *RemoteUnaccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoteUnaccessOK, 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 ¶
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
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) GetPayload ¶
func (o *EnrollOK) GetPayload() *EnrollOKBody
func (*EnrollOK) IsClientError ¶
IsClientError returns true when this enroll o k response has a 4xx status code
func (*EnrollOK) IsCode ¶
IsCode returns true when this enroll o k response a status code equal to that given
func (*EnrollOK) IsRedirect ¶
IsRedirect returns true when this enroll o k response has a 3xx status code
func (*EnrollOK) IsServerError ¶
IsServerError returns true when this enroll o k response has a 5xx status code
type EnrollOKBody ¶
type EnrollOKBody struct {
// token
Token string `json:"token,omitempty"`
}
EnrollOKBody enroll o k body swagger:model EnrollOKBody
func (*EnrollOKBody) ContextValidate ¶
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
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 ¶
ContextValidate validates this ping body based on context it is used
func (*PingBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*PingBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 (*PingOK) GetPayload ¶
func (o *PingOK) GetPayload() *PingOKBody
func (*PingOK) IsClientError ¶
IsClientError returns true when this ping o k response has a 4xx status code
func (*PingOK) IsCode ¶
IsCode returns true when this ping o k response a status code equal to that given
func (*PingOK) IsRedirect ¶
IsRedirect returns true when this ping o k response has a 3xx status code
func (*PingOK) IsServerError ¶
IsServerError returns true when this ping o k response has a 5xx status code
type PingOKBody ¶
type PingOKBody struct {
// version
Version string `json:"version,omitempty"`
}
PingOKBody ping o k body swagger:model PingOKBody
func (*PingOKBody) ContextValidate ¶
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
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 ¶
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
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 ¶
func (o *RemoteAccessInternalServerError) Code() int
Code gets the status code for the remote access internal server error response
func (*RemoteAccessInternalServerError) Error ¶
func (o *RemoteAccessInternalServerError) Error() string
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 ¶
func (o *RemoteAccessInternalServerError) String() 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 ¶
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
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 ¶
func (o *RemoteAccessParams) WithBody(body RemoteAccessBody) *RemoteAccessParams
WithBody adds the body to the remote access params
func (*RemoteAccessParams) WithContext ¶
func (o *RemoteAccessParams) WithContext(ctx context.Context) *RemoteAccessParams
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 {
AccessGrants []string `json:"accessGrants"`
// Enum: ["proxy","web","tcpTunnel","udpTunnel","caddy","drive","socks"]
BackendMode string `json:"backendMode,omitempty"`
BasicAuth []string `json:"basicAuth"`
EnvZID string `json:"envZId,omitempty"`
Insecure bool `json:"insecure,omitempty"`
NameSelections []*rest_model_zrok.NameSelection `json:"nameSelections"`
OauthEmailDomains []string `json:"oauthEmailDomains"`
OauthProvider string `json:"oauthProvider,omitempty"`
OauthRefreshInterval string `json:"oauthRefreshInterval,omitempty"`
Open bool `json:"open,omitempty"`
PrivateShareToken string `json:"privateShareToken,omitempty"`
// Enum: ["public","private"]
ShareMode string `json:"shareMode,omitempty"`
Target string `json:"target,omitempty"`
Token string `json:"token,omitempty"`
}
RemoteShareBody remote share body swagger:model RemoteShareBody
func (*RemoteShareBody) ContextValidate ¶
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
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 ¶
func (o *RemoteShareInternalServerError) Code() int
Code gets the status code for the remote share internal server error response
func (*RemoteShareInternalServerError) Error ¶
func (o *RemoteShareInternalServerError) Error() string
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 ¶
func (o *RemoteShareInternalServerError) String() string
type RemoteShareOK ¶
type RemoteShareOK struct {
}
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 {
FrontendEndpoints []string `json:"frontendEndpoints"`
Token string `json:"token,omitempty"`
}
RemoteShareOKBody remote share o k body swagger:model RemoteShareOKBody
func (*RemoteShareOKBody) ContextValidate ¶
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
type RemoteShareParams ¶
type RemoteShareParams struct {
Body RemoteShareBody
// 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 ¶
func (o *RemoteShareParams) WithBody(body RemoteShareBody) *RemoteShareParams
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 ¶
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
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 ¶
func (o *RemoteStatusInternalServerError) Code() int
Code gets the status code for the remote status internal server error response
func (*RemoteStatusInternalServerError) Error ¶
func (o *RemoteStatusInternalServerError) Error() string
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 ¶
func (o *RemoteStatusInternalServerError) String() 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 []*RemoteStatusOKBodySharesItems0 `json:"shares"`
}
RemoteStatusOKBody remote status o k body swagger:model RemoteStatusOKBody
func (*RemoteStatusOKBody) ContextValidate ¶
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
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
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 ¶
func (o *RemoteStatusOKBodyAccessesItems0Failure) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type RemoteStatusOKBodySharesItems0 ¶
type RemoteStatusOKBodySharesItems0 struct {
BackendEndpoint string `json:"backendEndpoint,omitempty"`
BackendMode string `json:"backendMode,omitempty"`
Failure *RemoteStatusOKBodySharesItems0Failure `json:"failure,omitempty"`
FrontendEndpoints []string `json:"frontendEndpoints"`
Open bool `json:"open,omitempty"`
ShareMode string `json:"shareMode,omitempty"`
Status string `json:"status,omitempty"`
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
type RemoteStatusOKBodySharesItems0Failure ¶
type RemoteStatusOKBodySharesItems0Failure struct {
Count int64 `json:"count,omitempty"`
ID string `json:"id,omitempty"`
LastError string `json:"lastError,omitempty"`
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
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 ¶
func (o *RemoteStatusParams) WithBody(body RemoteStatusBody) *RemoteStatusParams
WithBody adds the body to the remote status params
func (*RemoteStatusParams) WithContext ¶
func (o *RemoteStatusParams) WithContext(ctx context.Context) *RemoteStatusParams
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 ¶
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
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 ¶
func (o *RemoteUnaccessInternalServerError) Code() int
Code gets the status code for the remote unaccess internal server error response
func (*RemoteUnaccessInternalServerError) Error ¶
func (o *RemoteUnaccessInternalServerError) Error() string
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 ¶
func (o *RemoteUnaccessInternalServerError) String() 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 ¶
func (o *RemoteUnaccessParams) WithBody(body RemoteUnaccessBody) *RemoteUnaccessParams
WithBody adds the body to the remote unaccess params
func (*RemoteUnaccessParams) WithContext ¶
func (o *RemoteUnaccessParams) WithContext(ctx context.Context) *RemoteUnaccessParams
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 (o *RemoteUnaccessUnauthorized) Error() string
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 {
EnvZID string `json:"envZId,omitempty"`
Token string `json:"token,omitempty"`
}
RemoteUnshareBody remote unshare body swagger:model RemoteUnshareBody
func (*RemoteUnshareBody) ContextValidate ¶
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
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 ¶
func (o *RemoteUnshareInternalServerError) Code() int
Code gets the status code for the remote unshare internal server error response
func (*RemoteUnshareInternalServerError) Error ¶
func (o *RemoteUnshareInternalServerError) Error() string
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 ¶
func (o *RemoteUnshareInternalServerError) String() 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 RemoteUnshareBody
// 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 ¶
func (o *RemoteUnshareParams) WithBody(body RemoteUnshareBody) *RemoteUnshareParams
WithBody adds the body to the remote unshare params
func (*RemoteUnshareParams) WithContext ¶
func (o *RemoteUnshareParams) WithContext(ctx context.Context) *RemoteUnshareParams
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 ¶
func (o *ShareHTTPHealthcheckBadGateway) Code() int
Code gets the status code for the share Http healthcheck bad gateway response
func (*ShareHTTPHealthcheckBadGateway) Error ¶
func (o *ShareHTTPHealthcheckBadGateway) Error() string
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 ¶
func (o *ShareHTTPHealthcheckBadGateway) String() string
type ShareHTTPHealthcheckBody ¶
type ShareHTTPHealthcheckBody struct {
Endpoint string `json:"endpoint,omitempty"`
EnvZID string `json:"envZId,omitempty"`
ExpectedHTTPResponse float64 `json:"expectedHttpResponse,omitempty"`
HTTPVerb string `json:"httpVerb,omitempty"`
ShareToken string `json:"shareToken,omitempty"`
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
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 ¶
func (o *ShareHTTPHealthcheckInternalServerError) Code() int
Code gets the status code for the share Http healthcheck internal server error response
func (*ShareHTTPHealthcheckInternalServerError) Error ¶
func (o *ShareHTTPHealthcheckInternalServerError) Error() string
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 ¶
func (o *ShareHTTPHealthcheckInternalServerError) IsCode(code int) bool
IsCode returns true when this share Http healthcheck internal server error response a status code equal to that given
func (*ShareHTTPHealthcheckInternalServerError) IsRedirect ¶
func (o *ShareHTTPHealthcheckInternalServerError) IsRedirect() bool
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 ¶
func (o *ShareHTTPHealthcheckInternalServerError) IsSuccess() bool
IsSuccess returns true when this share Http healthcheck internal server error response has a 2xx status code
func (*ShareHTTPHealthcheckInternalServerError) String ¶
func (o *ShareHTTPHealthcheckInternalServerError) String() string
type ShareHTTPHealthcheckOK ¶
type ShareHTTPHealthcheckOK struct {
}
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 (o *ShareHTTPHealthcheckOK) GetPayload() *ShareHTTPHealthcheckOKBody
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 string `json:"error,omitempty"`
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
type ShareHTTPHealthcheckParams ¶
type ShareHTTPHealthcheckParams struct {
Body ShareHTTPHealthcheckBody
// 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 ¶
func (o *ShareHTTPHealthcheckParams) SetBody(body ShareHTTPHealthcheckBody)
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 ¶
func (o *ShareHTTPHealthcheckParams) WithBody(body ShareHTTPHealthcheckBody) *ShareHTTPHealthcheckParams
WithBody adds the body to the share Http healthcheck params
func (*ShareHTTPHealthcheckParams) WithContext ¶
func (o *ShareHTTPHealthcheckParams) WithContext(ctx context.Context) *ShareHTTPHealthcheckParams
WithContext adds the context to the share Http healthcheck params
func (*ShareHTTPHealthcheckParams) WithDefaults ¶
func (o *ShareHTTPHealthcheckParams) WithDefaults() *ShareHTTPHealthcheckParams
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 ¶
func (o *ShareHTTPHealthcheckParams) WithHTTPClient(client *http.Client) *ShareHTTPHealthcheckParams
WithHTTPClient adds the HTTPClient to the share Http healthcheck params
func (*ShareHTTPHealthcheckParams) WithTimeout ¶
func (o *ShareHTTPHealthcheckParams) WithTimeout(timeout time.Duration) *ShareHTTPHealthcheckParams
WithTimeout adds the timeout to the share Http healthcheck params
func (*ShareHTTPHealthcheckParams) WriteToRequest ¶
func (o *ShareHTTPHealthcheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ShareHTTPHealthcheckUnauthorized) Code() int
Code gets the status code for the share Http healthcheck unauthorized response
func (*ShareHTTPHealthcheckUnauthorized) Error ¶
func (o *ShareHTTPHealthcheckUnauthorized) Error() string
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 ¶
func (o *ShareHTTPHealthcheckUnauthorized) String() 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 ¶
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
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 (o *UnenrollInternalServerError) Error() string
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
Source Files
¶
- agent_client.go
- enroll_parameters.go
- enroll_responses.go
- ping_parameters.go
- ping_responses.go
- remote_access_parameters.go
- remote_access_responses.go
- remote_share_parameters.go
- remote_share_responses.go
- remote_status_parameters.go
- remote_status_responses.go
- remote_unaccess_parameters.go
- remote_unaccess_responses.go
- remote_unshare_parameters.go
- remote_unshare_responses.go
- share_http_healthcheck_parameters.go
- share_http_healthcheck_responses.go
- unenroll_parameters.go
- unenroll_responses.go