headscale_service

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for headscale service API

func (*Client) HeadscaleServiceCreateAPIKey

func (a *Client) HeadscaleServiceCreateAPIKey(params *HeadscaleServiceCreateAPIKeyParams, opts ...ClientOption) (*HeadscaleServiceCreateAPIKeyOK, error)

HeadscaleServiceCreateAPIKey Apis keys start

func (*Client) HeadscaleServiceCreatePreAuthKey

func (a *Client) HeadscaleServiceCreatePreAuthKey(params *HeadscaleServiceCreatePreAuthKeyParams, opts ...ClientOption) (*HeadscaleServiceCreatePreAuthKeyOK, error)

HeadscaleServiceCreatePreAuthKey pres auth keys start

func (*Client) HeadscaleServiceCreateUser

func (a *Client) HeadscaleServiceCreateUser(params *HeadscaleServiceCreateUserParams, opts ...ClientOption) (*HeadscaleServiceCreateUserOK, error)

HeadscaleServiceCreateUser headscale service create user API

func (*Client) HeadscaleServiceDebugCreateMachine

func (a *Client) HeadscaleServiceDebugCreateMachine(params *HeadscaleServiceDebugCreateMachineParams, opts ...ClientOption) (*HeadscaleServiceDebugCreateMachineOK, error)

HeadscaleServiceDebugCreateMachine machines start

func (*Client) HeadscaleServiceDeleteMachine

func (a *Client) HeadscaleServiceDeleteMachine(params *HeadscaleServiceDeleteMachineParams, opts ...ClientOption) (*HeadscaleServiceDeleteMachineOK, error)

HeadscaleServiceDeleteMachine headscale service delete machine API

func (*Client) HeadscaleServiceDeleteRoute

func (a *Client) HeadscaleServiceDeleteRoute(params *HeadscaleServiceDeleteRouteParams, opts ...ClientOption) (*HeadscaleServiceDeleteRouteOK, error)

HeadscaleServiceDeleteRoute headscale service delete route API

func (*Client) HeadscaleServiceDeleteUser

func (a *Client) HeadscaleServiceDeleteUser(params *HeadscaleServiceDeleteUserParams, opts ...ClientOption) (*HeadscaleServiceDeleteUserOK, error)

HeadscaleServiceDeleteUser headscale service delete user API

func (*Client) HeadscaleServiceDisableRoute

func (a *Client) HeadscaleServiceDisableRoute(params *HeadscaleServiceDisableRouteParams, opts ...ClientOption) (*HeadscaleServiceDisableRouteOK, error)

HeadscaleServiceDisableRoute headscale service disable route API

func (*Client) HeadscaleServiceEnableRoute

func (a *Client) HeadscaleServiceEnableRoute(params *HeadscaleServiceEnableRouteParams, opts ...ClientOption) (*HeadscaleServiceEnableRouteOK, error)

HeadscaleServiceEnableRoute headscale service enable route API

func (*Client) HeadscaleServiceExpireAPIKey

func (a *Client) HeadscaleServiceExpireAPIKey(params *HeadscaleServiceExpireAPIKeyParams, opts ...ClientOption) (*HeadscaleServiceExpireAPIKeyOK, error)

HeadscaleServiceExpireAPIKey headscale service expire Api key API

func (*Client) HeadscaleServiceExpireMachine

func (a *Client) HeadscaleServiceExpireMachine(params *HeadscaleServiceExpireMachineParams, opts ...ClientOption) (*HeadscaleServiceExpireMachineOK, error)

HeadscaleServiceExpireMachine headscale service expire machine API

func (*Client) HeadscaleServiceExpirePreAuthKey

func (a *Client) HeadscaleServiceExpirePreAuthKey(params *HeadscaleServiceExpirePreAuthKeyParams, opts ...ClientOption) (*HeadscaleServiceExpirePreAuthKeyOK, error)

HeadscaleServiceExpirePreAuthKey headscale service expire pre auth key API

func (*Client) HeadscaleServiceGetMachine

func (a *Client) HeadscaleServiceGetMachine(params *HeadscaleServiceGetMachineParams, opts ...ClientOption) (*HeadscaleServiceGetMachineOK, error)

HeadscaleServiceGetMachine headscale service get machine API

func (*Client) HeadscaleServiceGetMachineRoutes

func (a *Client) HeadscaleServiceGetMachineRoutes(params *HeadscaleServiceGetMachineRoutesParams, opts ...ClientOption) (*HeadscaleServiceGetMachineRoutesOK, error)

HeadscaleServiceGetMachineRoutes headscale service get machine routes API

func (*Client) HeadscaleServiceGetRoutes

func (a *Client) HeadscaleServiceGetRoutes(params *HeadscaleServiceGetRoutesParams, opts ...ClientOption) (*HeadscaleServiceGetRoutesOK, error)

HeadscaleServiceGetRoutes routes start

func (*Client) HeadscaleServiceGetUser

func (a *Client) HeadscaleServiceGetUser(params *HeadscaleServiceGetUserParams, opts ...ClientOption) (*HeadscaleServiceGetUserOK, error)

HeadscaleServiceGetUser users start

func (*Client) HeadscaleServiceListAPIKeys

func (a *Client) HeadscaleServiceListAPIKeys(params *HeadscaleServiceListAPIKeysParams, opts ...ClientOption) (*HeadscaleServiceListAPIKeysOK, error)

HeadscaleServiceListAPIKeys headscale service list Api keys API

func (*Client) HeadscaleServiceListMachines

func (a *Client) HeadscaleServiceListMachines(params *HeadscaleServiceListMachinesParams, opts ...ClientOption) (*HeadscaleServiceListMachinesOK, error)

HeadscaleServiceListMachines headscale service list machines API

func (*Client) HeadscaleServiceListPreAuthKeys

func (a *Client) HeadscaleServiceListPreAuthKeys(params *HeadscaleServiceListPreAuthKeysParams, opts ...ClientOption) (*HeadscaleServiceListPreAuthKeysOK, error)

HeadscaleServiceListPreAuthKeys headscale service list pre auth keys API

func (*Client) HeadscaleServiceListUsers

func (a *Client) HeadscaleServiceListUsers(params *HeadscaleServiceListUsersParams, opts ...ClientOption) (*HeadscaleServiceListUsersOK, error)

HeadscaleServiceListUsers headscale service list users API

func (*Client) HeadscaleServiceMoveMachine

func (a *Client) HeadscaleServiceMoveMachine(params *HeadscaleServiceMoveMachineParams, opts ...ClientOption) (*HeadscaleServiceMoveMachineOK, error)

HeadscaleServiceMoveMachine headscale service move machine API

func (*Client) HeadscaleServiceRegisterMachine

func (a *Client) HeadscaleServiceRegisterMachine(params *HeadscaleServiceRegisterMachineParams, opts ...ClientOption) (*HeadscaleServiceRegisterMachineOK, error)

HeadscaleServiceRegisterMachine headscale service register machine API

func (*Client) HeadscaleServiceRenameMachine

func (a *Client) HeadscaleServiceRenameMachine(params *HeadscaleServiceRenameMachineParams, opts ...ClientOption) (*HeadscaleServiceRenameMachineOK, error)

HeadscaleServiceRenameMachine headscale service rename machine API

func (*Client) HeadscaleServiceRenameUser

func (a *Client) HeadscaleServiceRenameUser(params *HeadscaleServiceRenameUserParams, opts ...ClientOption) (*HeadscaleServiceRenameUserOK, error)

HeadscaleServiceRenameUser headscale service rename user API

func (*Client) HeadscaleServiceSetTags

func (a *Client) HeadscaleServiceSetTags(params *HeadscaleServiceSetTagsParams, opts ...ClientOption) (*HeadscaleServiceSetTagsOK, error)

HeadscaleServiceSetTags headscale service set tags API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	HeadscaleServiceCreateAPIKey(params *HeadscaleServiceCreateAPIKeyParams, opts ...ClientOption) (*HeadscaleServiceCreateAPIKeyOK, error)

	HeadscaleServiceCreatePreAuthKey(params *HeadscaleServiceCreatePreAuthKeyParams, opts ...ClientOption) (*HeadscaleServiceCreatePreAuthKeyOK, error)

	HeadscaleServiceCreateUser(params *HeadscaleServiceCreateUserParams, opts ...ClientOption) (*HeadscaleServiceCreateUserOK, error)

	HeadscaleServiceDebugCreateMachine(params *HeadscaleServiceDebugCreateMachineParams, opts ...ClientOption) (*HeadscaleServiceDebugCreateMachineOK, error)

	HeadscaleServiceDeleteMachine(params *HeadscaleServiceDeleteMachineParams, opts ...ClientOption) (*HeadscaleServiceDeleteMachineOK, error)

	HeadscaleServiceDeleteRoute(params *HeadscaleServiceDeleteRouteParams, opts ...ClientOption) (*HeadscaleServiceDeleteRouteOK, error)

	HeadscaleServiceDeleteUser(params *HeadscaleServiceDeleteUserParams, opts ...ClientOption) (*HeadscaleServiceDeleteUserOK, error)

	HeadscaleServiceDisableRoute(params *HeadscaleServiceDisableRouteParams, opts ...ClientOption) (*HeadscaleServiceDisableRouteOK, error)

	HeadscaleServiceEnableRoute(params *HeadscaleServiceEnableRouteParams, opts ...ClientOption) (*HeadscaleServiceEnableRouteOK, error)

	HeadscaleServiceExpireAPIKey(params *HeadscaleServiceExpireAPIKeyParams, opts ...ClientOption) (*HeadscaleServiceExpireAPIKeyOK, error)

	HeadscaleServiceExpireMachine(params *HeadscaleServiceExpireMachineParams, opts ...ClientOption) (*HeadscaleServiceExpireMachineOK, error)

	HeadscaleServiceExpirePreAuthKey(params *HeadscaleServiceExpirePreAuthKeyParams, opts ...ClientOption) (*HeadscaleServiceExpirePreAuthKeyOK, error)

	HeadscaleServiceGetMachine(params *HeadscaleServiceGetMachineParams, opts ...ClientOption) (*HeadscaleServiceGetMachineOK, error)

	HeadscaleServiceGetMachineRoutes(params *HeadscaleServiceGetMachineRoutesParams, opts ...ClientOption) (*HeadscaleServiceGetMachineRoutesOK, error)

	HeadscaleServiceGetRoutes(params *HeadscaleServiceGetRoutesParams, opts ...ClientOption) (*HeadscaleServiceGetRoutesOK, error)

	HeadscaleServiceGetUser(params *HeadscaleServiceGetUserParams, opts ...ClientOption) (*HeadscaleServiceGetUserOK, error)

	HeadscaleServiceListAPIKeys(params *HeadscaleServiceListAPIKeysParams, opts ...ClientOption) (*HeadscaleServiceListAPIKeysOK, error)

	HeadscaleServiceListMachines(params *HeadscaleServiceListMachinesParams, opts ...ClientOption) (*HeadscaleServiceListMachinesOK, error)

	HeadscaleServiceListPreAuthKeys(params *HeadscaleServiceListPreAuthKeysParams, opts ...ClientOption) (*HeadscaleServiceListPreAuthKeysOK, error)

	HeadscaleServiceListUsers(params *HeadscaleServiceListUsersParams, opts ...ClientOption) (*HeadscaleServiceListUsersOK, error)

	HeadscaleServiceMoveMachine(params *HeadscaleServiceMoveMachineParams, opts ...ClientOption) (*HeadscaleServiceMoveMachineOK, error)

	HeadscaleServiceRegisterMachine(params *HeadscaleServiceRegisterMachineParams, opts ...ClientOption) (*HeadscaleServiceRegisterMachineOK, error)

	HeadscaleServiceRenameMachine(params *HeadscaleServiceRenameMachineParams, opts ...ClientOption) (*HeadscaleServiceRenameMachineOK, error)

	HeadscaleServiceRenameUser(params *HeadscaleServiceRenameUserParams, opts ...ClientOption) (*HeadscaleServiceRenameUserOK, error)

	HeadscaleServiceSetTags(params *HeadscaleServiceSetTagsParams, opts ...ClientOption) (*HeadscaleServiceSetTagsOK, 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 headscale service API client.

type HeadscaleServiceCreateAPIKeyDefault

type HeadscaleServiceCreateAPIKeyDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceCreateAPIKeyDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceCreateAPIKeyDefault

func NewHeadscaleServiceCreateAPIKeyDefault(code int) *HeadscaleServiceCreateAPIKeyDefault

NewHeadscaleServiceCreateAPIKeyDefault creates a HeadscaleServiceCreateAPIKeyDefault with default headers values

func (*HeadscaleServiceCreateAPIKeyDefault) Code

Code gets the status code for the headscale service create Api key default response

func (*HeadscaleServiceCreateAPIKeyDefault) Error

func (*HeadscaleServiceCreateAPIKeyDefault) GetPayload

func (*HeadscaleServiceCreateAPIKeyDefault) IsClientError

func (o *HeadscaleServiceCreateAPIKeyDefault) IsClientError() bool

IsClientError returns true when this headscale service create Api key default response has a 4xx status code

func (*HeadscaleServiceCreateAPIKeyDefault) IsCode

IsCode returns true when this headscale service create Api key default response a status code equal to that given

func (*HeadscaleServiceCreateAPIKeyDefault) IsRedirect

func (o *HeadscaleServiceCreateAPIKeyDefault) IsRedirect() bool

IsRedirect returns true when this headscale service create Api key default response has a 3xx status code

func (*HeadscaleServiceCreateAPIKeyDefault) IsServerError

func (o *HeadscaleServiceCreateAPIKeyDefault) IsServerError() bool

IsServerError returns true when this headscale service create Api key default response has a 5xx status code

func (*HeadscaleServiceCreateAPIKeyDefault) IsSuccess

IsSuccess returns true when this headscale service create Api key default response has a 2xx status code

func (*HeadscaleServiceCreateAPIKeyDefault) String

type HeadscaleServiceCreateAPIKeyOK

type HeadscaleServiceCreateAPIKeyOK struct {
	Payload *models.V1CreateAPIKeyResponse
}

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

A successful response.

func NewHeadscaleServiceCreateAPIKeyOK

func NewHeadscaleServiceCreateAPIKeyOK() *HeadscaleServiceCreateAPIKeyOK

NewHeadscaleServiceCreateAPIKeyOK creates a HeadscaleServiceCreateAPIKeyOK with default headers values

func (*HeadscaleServiceCreateAPIKeyOK) Error

func (*HeadscaleServiceCreateAPIKeyOK) GetPayload

func (*HeadscaleServiceCreateAPIKeyOK) IsClientError

func (o *HeadscaleServiceCreateAPIKeyOK) IsClientError() bool

IsClientError returns true when this headscale service create Api key o k response has a 4xx status code

func (*HeadscaleServiceCreateAPIKeyOK) IsCode

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

IsCode returns true when this headscale service create Api key o k response a status code equal to that given

func (*HeadscaleServiceCreateAPIKeyOK) IsRedirect

func (o *HeadscaleServiceCreateAPIKeyOK) IsRedirect() bool

IsRedirect returns true when this headscale service create Api key o k response has a 3xx status code

func (*HeadscaleServiceCreateAPIKeyOK) IsServerError

func (o *HeadscaleServiceCreateAPIKeyOK) IsServerError() bool

IsServerError returns true when this headscale service create Api key o k response has a 5xx status code

func (*HeadscaleServiceCreateAPIKeyOK) IsSuccess

func (o *HeadscaleServiceCreateAPIKeyOK) IsSuccess() bool

IsSuccess returns true when this headscale service create Api key o k response has a 2xx status code

func (*HeadscaleServiceCreateAPIKeyOK) String

type HeadscaleServiceCreateAPIKeyParams

type HeadscaleServiceCreateAPIKeyParams struct {

	// Body.
	Body *models.V1CreateAPIKeyRequest

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

HeadscaleServiceCreateAPIKeyParams contains all the parameters to send to the API endpoint

for the headscale service create Api key operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceCreateAPIKeyParams

func NewHeadscaleServiceCreateAPIKeyParams() *HeadscaleServiceCreateAPIKeyParams

NewHeadscaleServiceCreateAPIKeyParams creates a new HeadscaleServiceCreateAPIKeyParams 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 NewHeadscaleServiceCreateAPIKeyParamsWithContext

func NewHeadscaleServiceCreateAPIKeyParamsWithContext(ctx context.Context) *HeadscaleServiceCreateAPIKeyParams

NewHeadscaleServiceCreateAPIKeyParamsWithContext creates a new HeadscaleServiceCreateAPIKeyParams object with the ability to set a context for a request.

func NewHeadscaleServiceCreateAPIKeyParamsWithHTTPClient

func NewHeadscaleServiceCreateAPIKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceCreateAPIKeyParams

NewHeadscaleServiceCreateAPIKeyParamsWithHTTPClient creates a new HeadscaleServiceCreateAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceCreateAPIKeyParamsWithTimeout

func NewHeadscaleServiceCreateAPIKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceCreateAPIKeyParams

NewHeadscaleServiceCreateAPIKeyParamsWithTimeout creates a new HeadscaleServiceCreateAPIKeyParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceCreateAPIKeyParams) SetBody

SetBody adds the body to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) SetContext

SetContext adds the context to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) SetDefaults

func (o *HeadscaleServiceCreateAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the headscale service create Api key params (not the query body).

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

func (*HeadscaleServiceCreateAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) WithBody

WithBody adds the body to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) WithContext

WithContext adds the context to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) WithDefaults

WithDefaults hydrates default values in the headscale service create Api key params (not the query body).

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

func (*HeadscaleServiceCreateAPIKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) WithTimeout

WithTimeout adds the timeout to the headscale service create Api key params

func (*HeadscaleServiceCreateAPIKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceCreateAPIKeyReader

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

HeadscaleServiceCreateAPIKeyReader is a Reader for the HeadscaleServiceCreateAPIKey structure.

func (*HeadscaleServiceCreateAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceCreatePreAuthKeyDefault

type HeadscaleServiceCreatePreAuthKeyDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceCreatePreAuthKeyDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceCreatePreAuthKeyDefault

func NewHeadscaleServiceCreatePreAuthKeyDefault(code int) *HeadscaleServiceCreatePreAuthKeyDefault

NewHeadscaleServiceCreatePreAuthKeyDefault creates a HeadscaleServiceCreatePreAuthKeyDefault with default headers values

func (*HeadscaleServiceCreatePreAuthKeyDefault) Code

Code gets the status code for the headscale service create pre auth key default response

func (*HeadscaleServiceCreatePreAuthKeyDefault) Error

func (*HeadscaleServiceCreatePreAuthKeyDefault) GetPayload

func (*HeadscaleServiceCreatePreAuthKeyDefault) IsClientError

func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsClientError() bool

IsClientError returns true when this headscale service create pre auth key default response has a 4xx status code

func (*HeadscaleServiceCreatePreAuthKeyDefault) IsCode

IsCode returns true when this headscale service create pre auth key default response a status code equal to that given

func (*HeadscaleServiceCreatePreAuthKeyDefault) IsRedirect

IsRedirect returns true when this headscale service create pre auth key default response has a 3xx status code

func (*HeadscaleServiceCreatePreAuthKeyDefault) IsServerError

func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsServerError() bool

IsServerError returns true when this headscale service create pre auth key default response has a 5xx status code

func (*HeadscaleServiceCreatePreAuthKeyDefault) IsSuccess

IsSuccess returns true when this headscale service create pre auth key default response has a 2xx status code

func (*HeadscaleServiceCreatePreAuthKeyDefault) String

type HeadscaleServiceCreatePreAuthKeyOK

type HeadscaleServiceCreatePreAuthKeyOK struct {
	Payload *models.V1CreatePreAuthKeyResponse
}

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

A successful response.

func NewHeadscaleServiceCreatePreAuthKeyOK

func NewHeadscaleServiceCreatePreAuthKeyOK() *HeadscaleServiceCreatePreAuthKeyOK

NewHeadscaleServiceCreatePreAuthKeyOK creates a HeadscaleServiceCreatePreAuthKeyOK with default headers values

func (*HeadscaleServiceCreatePreAuthKeyOK) Error

func (*HeadscaleServiceCreatePreAuthKeyOK) GetPayload

func (*HeadscaleServiceCreatePreAuthKeyOK) IsClientError

func (o *HeadscaleServiceCreatePreAuthKeyOK) IsClientError() bool

IsClientError returns true when this headscale service create pre auth key o k response has a 4xx status code

func (*HeadscaleServiceCreatePreAuthKeyOK) IsCode

IsCode returns true when this headscale service create pre auth key o k response a status code equal to that given

func (*HeadscaleServiceCreatePreAuthKeyOK) IsRedirect

func (o *HeadscaleServiceCreatePreAuthKeyOK) IsRedirect() bool

IsRedirect returns true when this headscale service create pre auth key o k response has a 3xx status code

func (*HeadscaleServiceCreatePreAuthKeyOK) IsServerError

func (o *HeadscaleServiceCreatePreAuthKeyOK) IsServerError() bool

IsServerError returns true when this headscale service create pre auth key o k response has a 5xx status code

func (*HeadscaleServiceCreatePreAuthKeyOK) IsSuccess

IsSuccess returns true when this headscale service create pre auth key o k response has a 2xx status code

func (*HeadscaleServiceCreatePreAuthKeyOK) String

type HeadscaleServiceCreatePreAuthKeyParams

type HeadscaleServiceCreatePreAuthKeyParams struct {

	// Body.
	Body *models.V1CreatePreAuthKeyRequest

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

HeadscaleServiceCreatePreAuthKeyParams contains all the parameters to send to the API endpoint

for the headscale service create pre auth key operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceCreatePreAuthKeyParams

func NewHeadscaleServiceCreatePreAuthKeyParams() *HeadscaleServiceCreatePreAuthKeyParams

NewHeadscaleServiceCreatePreAuthKeyParams creates a new HeadscaleServiceCreatePreAuthKeyParams 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 NewHeadscaleServiceCreatePreAuthKeyParamsWithContext

func NewHeadscaleServiceCreatePreAuthKeyParamsWithContext(ctx context.Context) *HeadscaleServiceCreatePreAuthKeyParams

NewHeadscaleServiceCreatePreAuthKeyParamsWithContext creates a new HeadscaleServiceCreatePreAuthKeyParams object with the ability to set a context for a request.

func NewHeadscaleServiceCreatePreAuthKeyParamsWithHTTPClient

func NewHeadscaleServiceCreatePreAuthKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceCreatePreAuthKeyParams

NewHeadscaleServiceCreatePreAuthKeyParamsWithHTTPClient creates a new HeadscaleServiceCreatePreAuthKeyParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceCreatePreAuthKeyParamsWithTimeout

func NewHeadscaleServiceCreatePreAuthKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceCreatePreAuthKeyParams

NewHeadscaleServiceCreatePreAuthKeyParamsWithTimeout creates a new HeadscaleServiceCreatePreAuthKeyParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceCreatePreAuthKeyParams) SetBody

SetBody adds the body to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) SetContext

SetContext adds the context to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) SetDefaults

func (o *HeadscaleServiceCreatePreAuthKeyParams) SetDefaults()

SetDefaults hydrates default values in the headscale service create pre auth key params (not the query body).

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

func (*HeadscaleServiceCreatePreAuthKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) WithBody

WithBody adds the body to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) WithContext

WithContext adds the context to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) WithDefaults

WithDefaults hydrates default values in the headscale service create pre auth key params (not the query body).

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

func (*HeadscaleServiceCreatePreAuthKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) WithTimeout

WithTimeout adds the timeout to the headscale service create pre auth key params

func (*HeadscaleServiceCreatePreAuthKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceCreatePreAuthKeyReader

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

HeadscaleServiceCreatePreAuthKeyReader is a Reader for the HeadscaleServiceCreatePreAuthKey structure.

func (*HeadscaleServiceCreatePreAuthKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceCreateUserDefault

type HeadscaleServiceCreateUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceCreateUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceCreateUserDefault

func NewHeadscaleServiceCreateUserDefault(code int) *HeadscaleServiceCreateUserDefault

NewHeadscaleServiceCreateUserDefault creates a HeadscaleServiceCreateUserDefault with default headers values

func (*HeadscaleServiceCreateUserDefault) Code

Code gets the status code for the headscale service create user default response

func (*HeadscaleServiceCreateUserDefault) Error

func (*HeadscaleServiceCreateUserDefault) GetPayload

func (*HeadscaleServiceCreateUserDefault) IsClientError

func (o *HeadscaleServiceCreateUserDefault) IsClientError() bool

IsClientError returns true when this headscale service create user default response has a 4xx status code

func (*HeadscaleServiceCreateUserDefault) IsCode

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

IsCode returns true when this headscale service create user default response a status code equal to that given

func (*HeadscaleServiceCreateUserDefault) IsRedirect

func (o *HeadscaleServiceCreateUserDefault) IsRedirect() bool

IsRedirect returns true when this headscale service create user default response has a 3xx status code

func (*HeadscaleServiceCreateUserDefault) IsServerError

func (o *HeadscaleServiceCreateUserDefault) IsServerError() bool

IsServerError returns true when this headscale service create user default response has a 5xx status code

func (*HeadscaleServiceCreateUserDefault) IsSuccess

func (o *HeadscaleServiceCreateUserDefault) IsSuccess() bool

IsSuccess returns true when this headscale service create user default response has a 2xx status code

func (*HeadscaleServiceCreateUserDefault) String

type HeadscaleServiceCreateUserOK

type HeadscaleServiceCreateUserOK struct {
	Payload *models.V1CreateUserResponse
}

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

A successful response.

func NewHeadscaleServiceCreateUserOK

func NewHeadscaleServiceCreateUserOK() *HeadscaleServiceCreateUserOK

NewHeadscaleServiceCreateUserOK creates a HeadscaleServiceCreateUserOK with default headers values

func (*HeadscaleServiceCreateUserOK) Error

func (*HeadscaleServiceCreateUserOK) GetPayload

func (*HeadscaleServiceCreateUserOK) IsClientError

func (o *HeadscaleServiceCreateUserOK) IsClientError() bool

IsClientError returns true when this headscale service create user o k response has a 4xx status code

func (*HeadscaleServiceCreateUserOK) IsCode

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

IsCode returns true when this headscale service create user o k response a status code equal to that given

func (*HeadscaleServiceCreateUserOK) IsRedirect

func (o *HeadscaleServiceCreateUserOK) IsRedirect() bool

IsRedirect returns true when this headscale service create user o k response has a 3xx status code

func (*HeadscaleServiceCreateUserOK) IsServerError

func (o *HeadscaleServiceCreateUserOK) IsServerError() bool

IsServerError returns true when this headscale service create user o k response has a 5xx status code

func (*HeadscaleServiceCreateUserOK) IsSuccess

func (o *HeadscaleServiceCreateUserOK) IsSuccess() bool

IsSuccess returns true when this headscale service create user o k response has a 2xx status code

func (*HeadscaleServiceCreateUserOK) String

type HeadscaleServiceCreateUserParams

type HeadscaleServiceCreateUserParams struct {

	// Body.
	Body *models.V1CreateUserRequest

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

HeadscaleServiceCreateUserParams contains all the parameters to send to the API endpoint

for the headscale service create user operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceCreateUserParams

func NewHeadscaleServiceCreateUserParams() *HeadscaleServiceCreateUserParams

NewHeadscaleServiceCreateUserParams creates a new HeadscaleServiceCreateUserParams 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 NewHeadscaleServiceCreateUserParamsWithContext

func NewHeadscaleServiceCreateUserParamsWithContext(ctx context.Context) *HeadscaleServiceCreateUserParams

NewHeadscaleServiceCreateUserParamsWithContext creates a new HeadscaleServiceCreateUserParams object with the ability to set a context for a request.

func NewHeadscaleServiceCreateUserParamsWithHTTPClient

func NewHeadscaleServiceCreateUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceCreateUserParams

NewHeadscaleServiceCreateUserParamsWithHTTPClient creates a new HeadscaleServiceCreateUserParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceCreateUserParamsWithTimeout

func NewHeadscaleServiceCreateUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceCreateUserParams

NewHeadscaleServiceCreateUserParamsWithTimeout creates a new HeadscaleServiceCreateUserParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceCreateUserParams) SetBody

SetBody adds the body to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) SetContext

SetContext adds the context to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) SetDefaults

func (o *HeadscaleServiceCreateUserParams) SetDefaults()

SetDefaults hydrates default values in the headscale service create user params (not the query body).

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

func (*HeadscaleServiceCreateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) WithBody

WithBody adds the body to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) WithContext

WithContext adds the context to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) WithDefaults

WithDefaults hydrates default values in the headscale service create user params (not the query body).

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

func (*HeadscaleServiceCreateUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) WithTimeout

WithTimeout adds the timeout to the headscale service create user params

func (*HeadscaleServiceCreateUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceCreateUserReader

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

HeadscaleServiceCreateUserReader is a Reader for the HeadscaleServiceCreateUser structure.

func (*HeadscaleServiceCreateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceDebugCreateMachineDefault

type HeadscaleServiceDebugCreateMachineDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceDebugCreateMachineDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceDebugCreateMachineDefault

func NewHeadscaleServiceDebugCreateMachineDefault(code int) *HeadscaleServiceDebugCreateMachineDefault

NewHeadscaleServiceDebugCreateMachineDefault creates a HeadscaleServiceDebugCreateMachineDefault with default headers values

func (*HeadscaleServiceDebugCreateMachineDefault) Code

Code gets the status code for the headscale service debug create machine default response

func (*HeadscaleServiceDebugCreateMachineDefault) Error

func (*HeadscaleServiceDebugCreateMachineDefault) GetPayload

func (*HeadscaleServiceDebugCreateMachineDefault) IsClientError

IsClientError returns true when this headscale service debug create machine default response has a 4xx status code

func (*HeadscaleServiceDebugCreateMachineDefault) IsCode

IsCode returns true when this headscale service debug create machine default response a status code equal to that given

func (*HeadscaleServiceDebugCreateMachineDefault) IsRedirect

IsRedirect returns true when this headscale service debug create machine default response has a 3xx status code

func (*HeadscaleServiceDebugCreateMachineDefault) IsServerError

IsServerError returns true when this headscale service debug create machine default response has a 5xx status code

func (*HeadscaleServiceDebugCreateMachineDefault) IsSuccess

IsSuccess returns true when this headscale service debug create machine default response has a 2xx status code

func (*HeadscaleServiceDebugCreateMachineDefault) String

type HeadscaleServiceDebugCreateMachineOK

type HeadscaleServiceDebugCreateMachineOK struct {
	Payload *models.V1DebugCreateMachineResponse
}

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

A successful response.

func NewHeadscaleServiceDebugCreateMachineOK

func NewHeadscaleServiceDebugCreateMachineOK() *HeadscaleServiceDebugCreateMachineOK

NewHeadscaleServiceDebugCreateMachineOK creates a HeadscaleServiceDebugCreateMachineOK with default headers values

func (*HeadscaleServiceDebugCreateMachineOK) Error

func (*HeadscaleServiceDebugCreateMachineOK) GetPayload

func (*HeadscaleServiceDebugCreateMachineOK) IsClientError

func (o *HeadscaleServiceDebugCreateMachineOK) IsClientError() bool

IsClientError returns true when this headscale service debug create machine o k response has a 4xx status code

func (*HeadscaleServiceDebugCreateMachineOK) IsCode

IsCode returns true when this headscale service debug create machine o k response a status code equal to that given

func (*HeadscaleServiceDebugCreateMachineOK) IsRedirect

IsRedirect returns true when this headscale service debug create machine o k response has a 3xx status code

func (*HeadscaleServiceDebugCreateMachineOK) IsServerError

func (o *HeadscaleServiceDebugCreateMachineOK) IsServerError() bool

IsServerError returns true when this headscale service debug create machine o k response has a 5xx status code

func (*HeadscaleServiceDebugCreateMachineOK) IsSuccess

IsSuccess returns true when this headscale service debug create machine o k response has a 2xx status code

func (*HeadscaleServiceDebugCreateMachineOK) String

type HeadscaleServiceDebugCreateMachineParams

type HeadscaleServiceDebugCreateMachineParams struct {

	// Body.
	Body *models.V1DebugCreateMachineRequest

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

HeadscaleServiceDebugCreateMachineParams contains all the parameters to send to the API endpoint

for the headscale service debug create machine operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceDebugCreateMachineParams

func NewHeadscaleServiceDebugCreateMachineParams() *HeadscaleServiceDebugCreateMachineParams

NewHeadscaleServiceDebugCreateMachineParams creates a new HeadscaleServiceDebugCreateMachineParams 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 NewHeadscaleServiceDebugCreateMachineParamsWithContext

func NewHeadscaleServiceDebugCreateMachineParamsWithContext(ctx context.Context) *HeadscaleServiceDebugCreateMachineParams

NewHeadscaleServiceDebugCreateMachineParamsWithContext creates a new HeadscaleServiceDebugCreateMachineParams object with the ability to set a context for a request.

func NewHeadscaleServiceDebugCreateMachineParamsWithHTTPClient

func NewHeadscaleServiceDebugCreateMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDebugCreateMachineParams

NewHeadscaleServiceDebugCreateMachineParamsWithHTTPClient creates a new HeadscaleServiceDebugCreateMachineParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceDebugCreateMachineParamsWithTimeout

func NewHeadscaleServiceDebugCreateMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDebugCreateMachineParams

NewHeadscaleServiceDebugCreateMachineParamsWithTimeout creates a new HeadscaleServiceDebugCreateMachineParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceDebugCreateMachineParams) SetBody

SetBody adds the body to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) SetContext

SetContext adds the context to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) SetDefaults

SetDefaults hydrates default values in the headscale service debug create machine params (not the query body).

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

func (*HeadscaleServiceDebugCreateMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) SetTimeout

SetTimeout adds the timeout to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) WithBody

WithBody adds the body to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) WithContext

WithContext adds the context to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) WithDefaults

WithDefaults hydrates default values in the headscale service debug create machine params (not the query body).

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

func (*HeadscaleServiceDebugCreateMachineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) WithTimeout

WithTimeout adds the timeout to the headscale service debug create machine params

func (*HeadscaleServiceDebugCreateMachineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceDebugCreateMachineReader

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

HeadscaleServiceDebugCreateMachineReader is a Reader for the HeadscaleServiceDebugCreateMachine structure.

func (*HeadscaleServiceDebugCreateMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceDeleteMachineDefault

type HeadscaleServiceDeleteMachineDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceDeleteMachineDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceDeleteMachineDefault

func NewHeadscaleServiceDeleteMachineDefault(code int) *HeadscaleServiceDeleteMachineDefault

NewHeadscaleServiceDeleteMachineDefault creates a HeadscaleServiceDeleteMachineDefault with default headers values

func (*HeadscaleServiceDeleteMachineDefault) Code

Code gets the status code for the headscale service delete machine default response

func (*HeadscaleServiceDeleteMachineDefault) Error

func (*HeadscaleServiceDeleteMachineDefault) GetPayload

func (*HeadscaleServiceDeleteMachineDefault) IsClientError

func (o *HeadscaleServiceDeleteMachineDefault) IsClientError() bool

IsClientError returns true when this headscale service delete machine default response has a 4xx status code

func (*HeadscaleServiceDeleteMachineDefault) IsCode

IsCode returns true when this headscale service delete machine default response a status code equal to that given

func (*HeadscaleServiceDeleteMachineDefault) IsRedirect

IsRedirect returns true when this headscale service delete machine default response has a 3xx status code

func (*HeadscaleServiceDeleteMachineDefault) IsServerError

func (o *HeadscaleServiceDeleteMachineDefault) IsServerError() bool

IsServerError returns true when this headscale service delete machine default response has a 5xx status code

func (*HeadscaleServiceDeleteMachineDefault) IsSuccess

IsSuccess returns true when this headscale service delete machine default response has a 2xx status code

func (*HeadscaleServiceDeleteMachineDefault) String

type HeadscaleServiceDeleteMachineOK

type HeadscaleServiceDeleteMachineOK struct {
	Payload models.V1DeleteMachineResponse
}

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

A successful response.

func NewHeadscaleServiceDeleteMachineOK

func NewHeadscaleServiceDeleteMachineOK() *HeadscaleServiceDeleteMachineOK

NewHeadscaleServiceDeleteMachineOK creates a HeadscaleServiceDeleteMachineOK with default headers values

func (*HeadscaleServiceDeleteMachineOK) Error

func (*HeadscaleServiceDeleteMachineOK) GetPayload

func (*HeadscaleServiceDeleteMachineOK) IsClientError

func (o *HeadscaleServiceDeleteMachineOK) IsClientError() bool

IsClientError returns true when this headscale service delete machine o k response has a 4xx status code

func (*HeadscaleServiceDeleteMachineOK) IsCode

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

IsCode returns true when this headscale service delete machine o k response a status code equal to that given

func (*HeadscaleServiceDeleteMachineOK) IsRedirect

func (o *HeadscaleServiceDeleteMachineOK) IsRedirect() bool

IsRedirect returns true when this headscale service delete machine o k response has a 3xx status code

func (*HeadscaleServiceDeleteMachineOK) IsServerError

func (o *HeadscaleServiceDeleteMachineOK) IsServerError() bool

IsServerError returns true when this headscale service delete machine o k response has a 5xx status code

func (*HeadscaleServiceDeleteMachineOK) IsSuccess

func (o *HeadscaleServiceDeleteMachineOK) IsSuccess() bool

IsSuccess returns true when this headscale service delete machine o k response has a 2xx status code

func (*HeadscaleServiceDeleteMachineOK) String

type HeadscaleServiceDeleteMachineParams

type HeadscaleServiceDeleteMachineParams struct {

	// MachineID.
	//
	// Format: uint64
	MachineID string

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

HeadscaleServiceDeleteMachineParams contains all the parameters to send to the API endpoint

for the headscale service delete machine operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceDeleteMachineParams

func NewHeadscaleServiceDeleteMachineParams() *HeadscaleServiceDeleteMachineParams

NewHeadscaleServiceDeleteMachineParams creates a new HeadscaleServiceDeleteMachineParams 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 NewHeadscaleServiceDeleteMachineParamsWithContext

func NewHeadscaleServiceDeleteMachineParamsWithContext(ctx context.Context) *HeadscaleServiceDeleteMachineParams

NewHeadscaleServiceDeleteMachineParamsWithContext creates a new HeadscaleServiceDeleteMachineParams object with the ability to set a context for a request.

func NewHeadscaleServiceDeleteMachineParamsWithHTTPClient

func NewHeadscaleServiceDeleteMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDeleteMachineParams

NewHeadscaleServiceDeleteMachineParamsWithHTTPClient creates a new HeadscaleServiceDeleteMachineParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceDeleteMachineParamsWithTimeout

func NewHeadscaleServiceDeleteMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDeleteMachineParams

NewHeadscaleServiceDeleteMachineParamsWithTimeout creates a new HeadscaleServiceDeleteMachineParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceDeleteMachineParams) SetContext

SetContext adds the context to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) SetDefaults

func (o *HeadscaleServiceDeleteMachineParams) SetDefaults()

SetDefaults hydrates default values in the headscale service delete machine params (not the query body).

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

func (*HeadscaleServiceDeleteMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) SetMachineID

func (o *HeadscaleServiceDeleteMachineParams) SetMachineID(machineID string)

SetMachineID adds the machineId to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) WithContext

WithContext adds the context to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) WithDefaults

WithDefaults hydrates default values in the headscale service delete machine params (not the query body).

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

func (*HeadscaleServiceDeleteMachineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) WithMachineID

WithMachineID adds the machineID to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) WithTimeout

WithTimeout adds the timeout to the headscale service delete machine params

func (*HeadscaleServiceDeleteMachineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceDeleteMachineReader

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

HeadscaleServiceDeleteMachineReader is a Reader for the HeadscaleServiceDeleteMachine structure.

func (*HeadscaleServiceDeleteMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceDeleteRouteDefault

type HeadscaleServiceDeleteRouteDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceDeleteRouteDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceDeleteRouteDefault

func NewHeadscaleServiceDeleteRouteDefault(code int) *HeadscaleServiceDeleteRouteDefault

NewHeadscaleServiceDeleteRouteDefault creates a HeadscaleServiceDeleteRouteDefault with default headers values

func (*HeadscaleServiceDeleteRouteDefault) Code

Code gets the status code for the headscale service delete route default response

func (*HeadscaleServiceDeleteRouteDefault) Error

func (*HeadscaleServiceDeleteRouteDefault) GetPayload

func (*HeadscaleServiceDeleteRouteDefault) IsClientError

func (o *HeadscaleServiceDeleteRouteDefault) IsClientError() bool

IsClientError returns true when this headscale service delete route default response has a 4xx status code

func (*HeadscaleServiceDeleteRouteDefault) IsCode

IsCode returns true when this headscale service delete route default response a status code equal to that given

func (*HeadscaleServiceDeleteRouteDefault) IsRedirect

func (o *HeadscaleServiceDeleteRouteDefault) IsRedirect() bool

IsRedirect returns true when this headscale service delete route default response has a 3xx status code

func (*HeadscaleServiceDeleteRouteDefault) IsServerError

func (o *HeadscaleServiceDeleteRouteDefault) IsServerError() bool

IsServerError returns true when this headscale service delete route default response has a 5xx status code

func (*HeadscaleServiceDeleteRouteDefault) IsSuccess

IsSuccess returns true when this headscale service delete route default response has a 2xx status code

func (*HeadscaleServiceDeleteRouteDefault) String

type HeadscaleServiceDeleteRouteOK

type HeadscaleServiceDeleteRouteOK struct {
	Payload models.V1DeleteRouteResponse
}

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

A successful response.

func NewHeadscaleServiceDeleteRouteOK

func NewHeadscaleServiceDeleteRouteOK() *HeadscaleServiceDeleteRouteOK

NewHeadscaleServiceDeleteRouteOK creates a HeadscaleServiceDeleteRouteOK with default headers values

func (*HeadscaleServiceDeleteRouteOK) Error

func (*HeadscaleServiceDeleteRouteOK) GetPayload

func (*HeadscaleServiceDeleteRouteOK) IsClientError

func (o *HeadscaleServiceDeleteRouteOK) IsClientError() bool

IsClientError returns true when this headscale service delete route o k response has a 4xx status code

func (*HeadscaleServiceDeleteRouteOK) IsCode

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

IsCode returns true when this headscale service delete route o k response a status code equal to that given

func (*HeadscaleServiceDeleteRouteOK) IsRedirect

func (o *HeadscaleServiceDeleteRouteOK) IsRedirect() bool

IsRedirect returns true when this headscale service delete route o k response has a 3xx status code

func (*HeadscaleServiceDeleteRouteOK) IsServerError

func (o *HeadscaleServiceDeleteRouteOK) IsServerError() bool

IsServerError returns true when this headscale service delete route o k response has a 5xx status code

func (*HeadscaleServiceDeleteRouteOK) IsSuccess

func (o *HeadscaleServiceDeleteRouteOK) IsSuccess() bool

IsSuccess returns true when this headscale service delete route o k response has a 2xx status code

func (*HeadscaleServiceDeleteRouteOK) String

type HeadscaleServiceDeleteRouteParams

type HeadscaleServiceDeleteRouteParams struct {

	// RouteID.
	//
	// Format: uint64
	RouteID string

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

HeadscaleServiceDeleteRouteParams contains all the parameters to send to the API endpoint

for the headscale service delete route operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceDeleteRouteParams

func NewHeadscaleServiceDeleteRouteParams() *HeadscaleServiceDeleteRouteParams

NewHeadscaleServiceDeleteRouteParams creates a new HeadscaleServiceDeleteRouteParams 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 NewHeadscaleServiceDeleteRouteParamsWithContext

func NewHeadscaleServiceDeleteRouteParamsWithContext(ctx context.Context) *HeadscaleServiceDeleteRouteParams

NewHeadscaleServiceDeleteRouteParamsWithContext creates a new HeadscaleServiceDeleteRouteParams object with the ability to set a context for a request.

func NewHeadscaleServiceDeleteRouteParamsWithHTTPClient

func NewHeadscaleServiceDeleteRouteParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDeleteRouteParams

NewHeadscaleServiceDeleteRouteParamsWithHTTPClient creates a new HeadscaleServiceDeleteRouteParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceDeleteRouteParamsWithTimeout

func NewHeadscaleServiceDeleteRouteParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDeleteRouteParams

NewHeadscaleServiceDeleteRouteParamsWithTimeout creates a new HeadscaleServiceDeleteRouteParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceDeleteRouteParams) SetContext

SetContext adds the context to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) SetDefaults

func (o *HeadscaleServiceDeleteRouteParams) SetDefaults()

SetDefaults hydrates default values in the headscale service delete route params (not the query body).

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

func (*HeadscaleServiceDeleteRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) SetRouteID

func (o *HeadscaleServiceDeleteRouteParams) SetRouteID(routeID string)

SetRouteID adds the routeId to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) WithContext

WithContext adds the context to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) WithDefaults

WithDefaults hydrates default values in the headscale service delete route params (not the query body).

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

func (*HeadscaleServiceDeleteRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) WithRouteID

WithRouteID adds the routeID to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) WithTimeout

WithTimeout adds the timeout to the headscale service delete route params

func (*HeadscaleServiceDeleteRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceDeleteRouteReader

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

HeadscaleServiceDeleteRouteReader is a Reader for the HeadscaleServiceDeleteRoute structure.

func (*HeadscaleServiceDeleteRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceDeleteUserDefault

type HeadscaleServiceDeleteUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceDeleteUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceDeleteUserDefault

func NewHeadscaleServiceDeleteUserDefault(code int) *HeadscaleServiceDeleteUserDefault

NewHeadscaleServiceDeleteUserDefault creates a HeadscaleServiceDeleteUserDefault with default headers values

func (*HeadscaleServiceDeleteUserDefault) Code

Code gets the status code for the headscale service delete user default response

func (*HeadscaleServiceDeleteUserDefault) Error

func (*HeadscaleServiceDeleteUserDefault) GetPayload

func (*HeadscaleServiceDeleteUserDefault) IsClientError

func (o *HeadscaleServiceDeleteUserDefault) IsClientError() bool

IsClientError returns true when this headscale service delete user default response has a 4xx status code

func (*HeadscaleServiceDeleteUserDefault) IsCode

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

IsCode returns true when this headscale service delete user default response a status code equal to that given

func (*HeadscaleServiceDeleteUserDefault) IsRedirect

func (o *HeadscaleServiceDeleteUserDefault) IsRedirect() bool

IsRedirect returns true when this headscale service delete user default response has a 3xx status code

func (*HeadscaleServiceDeleteUserDefault) IsServerError

func (o *HeadscaleServiceDeleteUserDefault) IsServerError() bool

IsServerError returns true when this headscale service delete user default response has a 5xx status code

func (*HeadscaleServiceDeleteUserDefault) IsSuccess

func (o *HeadscaleServiceDeleteUserDefault) IsSuccess() bool

IsSuccess returns true when this headscale service delete user default response has a 2xx status code

func (*HeadscaleServiceDeleteUserDefault) String

type HeadscaleServiceDeleteUserOK

type HeadscaleServiceDeleteUserOK struct {
	Payload models.V1DeleteUserResponse
}

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

A successful response.

func NewHeadscaleServiceDeleteUserOK

func NewHeadscaleServiceDeleteUserOK() *HeadscaleServiceDeleteUserOK

NewHeadscaleServiceDeleteUserOK creates a HeadscaleServiceDeleteUserOK with default headers values

func (*HeadscaleServiceDeleteUserOK) Error

func (*HeadscaleServiceDeleteUserOK) GetPayload

func (*HeadscaleServiceDeleteUserOK) IsClientError

func (o *HeadscaleServiceDeleteUserOK) IsClientError() bool

IsClientError returns true when this headscale service delete user o k response has a 4xx status code

func (*HeadscaleServiceDeleteUserOK) IsCode

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

IsCode returns true when this headscale service delete user o k response a status code equal to that given

func (*HeadscaleServiceDeleteUserOK) IsRedirect

func (o *HeadscaleServiceDeleteUserOK) IsRedirect() bool

IsRedirect returns true when this headscale service delete user o k response has a 3xx status code

func (*HeadscaleServiceDeleteUserOK) IsServerError

func (o *HeadscaleServiceDeleteUserOK) IsServerError() bool

IsServerError returns true when this headscale service delete user o k response has a 5xx status code

func (*HeadscaleServiceDeleteUserOK) IsSuccess

func (o *HeadscaleServiceDeleteUserOK) IsSuccess() bool

IsSuccess returns true when this headscale service delete user o k response has a 2xx status code

func (*HeadscaleServiceDeleteUserOK) String

type HeadscaleServiceDeleteUserParams

type HeadscaleServiceDeleteUserParams struct {

	// Name.
	Name string

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

HeadscaleServiceDeleteUserParams contains all the parameters to send to the API endpoint

for the headscale service delete user operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceDeleteUserParams

func NewHeadscaleServiceDeleteUserParams() *HeadscaleServiceDeleteUserParams

NewHeadscaleServiceDeleteUserParams creates a new HeadscaleServiceDeleteUserParams 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 NewHeadscaleServiceDeleteUserParamsWithContext

func NewHeadscaleServiceDeleteUserParamsWithContext(ctx context.Context) *HeadscaleServiceDeleteUserParams

NewHeadscaleServiceDeleteUserParamsWithContext creates a new HeadscaleServiceDeleteUserParams object with the ability to set a context for a request.

func NewHeadscaleServiceDeleteUserParamsWithHTTPClient

func NewHeadscaleServiceDeleteUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDeleteUserParams

NewHeadscaleServiceDeleteUserParamsWithHTTPClient creates a new HeadscaleServiceDeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceDeleteUserParamsWithTimeout

func NewHeadscaleServiceDeleteUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDeleteUserParams

NewHeadscaleServiceDeleteUserParamsWithTimeout creates a new HeadscaleServiceDeleteUserParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceDeleteUserParams) SetContext

SetContext adds the context to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) SetDefaults

func (o *HeadscaleServiceDeleteUserParams) SetDefaults()

SetDefaults hydrates default values in the headscale service delete user params (not the query body).

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

func (*HeadscaleServiceDeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) SetName

func (o *HeadscaleServiceDeleteUserParams) SetName(name string)

SetName adds the name to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) WithContext

WithContext adds the context to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) WithDefaults

WithDefaults hydrates default values in the headscale service delete user params (not the query body).

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

func (*HeadscaleServiceDeleteUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) WithName

WithName adds the name to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) WithTimeout

WithTimeout adds the timeout to the headscale service delete user params

func (*HeadscaleServiceDeleteUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceDeleteUserReader

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

HeadscaleServiceDeleteUserReader is a Reader for the HeadscaleServiceDeleteUser structure.

func (*HeadscaleServiceDeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceDisableRouteDefault

type HeadscaleServiceDisableRouteDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceDisableRouteDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceDisableRouteDefault

func NewHeadscaleServiceDisableRouteDefault(code int) *HeadscaleServiceDisableRouteDefault

NewHeadscaleServiceDisableRouteDefault creates a HeadscaleServiceDisableRouteDefault with default headers values

func (*HeadscaleServiceDisableRouteDefault) Code

Code gets the status code for the headscale service disable route default response

func (*HeadscaleServiceDisableRouteDefault) Error

func (*HeadscaleServiceDisableRouteDefault) GetPayload

func (*HeadscaleServiceDisableRouteDefault) IsClientError

func (o *HeadscaleServiceDisableRouteDefault) IsClientError() bool

IsClientError returns true when this headscale service disable route default response has a 4xx status code

func (*HeadscaleServiceDisableRouteDefault) IsCode

IsCode returns true when this headscale service disable route default response a status code equal to that given

func (*HeadscaleServiceDisableRouteDefault) IsRedirect

func (o *HeadscaleServiceDisableRouteDefault) IsRedirect() bool

IsRedirect returns true when this headscale service disable route default response has a 3xx status code

func (*HeadscaleServiceDisableRouteDefault) IsServerError

func (o *HeadscaleServiceDisableRouteDefault) IsServerError() bool

IsServerError returns true when this headscale service disable route default response has a 5xx status code

func (*HeadscaleServiceDisableRouteDefault) IsSuccess

IsSuccess returns true when this headscale service disable route default response has a 2xx status code

func (*HeadscaleServiceDisableRouteDefault) String

type HeadscaleServiceDisableRouteOK

type HeadscaleServiceDisableRouteOK struct {
	Payload models.V1DisableRouteResponse
}

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

A successful response.

func NewHeadscaleServiceDisableRouteOK

func NewHeadscaleServiceDisableRouteOK() *HeadscaleServiceDisableRouteOK

NewHeadscaleServiceDisableRouteOK creates a HeadscaleServiceDisableRouteOK with default headers values

func (*HeadscaleServiceDisableRouteOK) Error

func (*HeadscaleServiceDisableRouteOK) GetPayload

func (*HeadscaleServiceDisableRouteOK) IsClientError

func (o *HeadscaleServiceDisableRouteOK) IsClientError() bool

IsClientError returns true when this headscale service disable route o k response has a 4xx status code

func (*HeadscaleServiceDisableRouteOK) IsCode

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

IsCode returns true when this headscale service disable route o k response a status code equal to that given

func (*HeadscaleServiceDisableRouteOK) IsRedirect

func (o *HeadscaleServiceDisableRouteOK) IsRedirect() bool

IsRedirect returns true when this headscale service disable route o k response has a 3xx status code

func (*HeadscaleServiceDisableRouteOK) IsServerError

func (o *HeadscaleServiceDisableRouteOK) IsServerError() bool

IsServerError returns true when this headscale service disable route o k response has a 5xx status code

func (*HeadscaleServiceDisableRouteOK) IsSuccess

func (o *HeadscaleServiceDisableRouteOK) IsSuccess() bool

IsSuccess returns true when this headscale service disable route o k response has a 2xx status code

func (*HeadscaleServiceDisableRouteOK) String

type HeadscaleServiceDisableRouteParams

type HeadscaleServiceDisableRouteParams struct {

	// RouteID.
	//
	// Format: uint64
	RouteID string

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

HeadscaleServiceDisableRouteParams contains all the parameters to send to the API endpoint

for the headscale service disable route operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceDisableRouteParams

func NewHeadscaleServiceDisableRouteParams() *HeadscaleServiceDisableRouteParams

NewHeadscaleServiceDisableRouteParams creates a new HeadscaleServiceDisableRouteParams 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 NewHeadscaleServiceDisableRouteParamsWithContext

func NewHeadscaleServiceDisableRouteParamsWithContext(ctx context.Context) *HeadscaleServiceDisableRouteParams

NewHeadscaleServiceDisableRouteParamsWithContext creates a new HeadscaleServiceDisableRouteParams object with the ability to set a context for a request.

func NewHeadscaleServiceDisableRouteParamsWithHTTPClient

func NewHeadscaleServiceDisableRouteParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDisableRouteParams

NewHeadscaleServiceDisableRouteParamsWithHTTPClient creates a new HeadscaleServiceDisableRouteParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceDisableRouteParamsWithTimeout

func NewHeadscaleServiceDisableRouteParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDisableRouteParams

NewHeadscaleServiceDisableRouteParamsWithTimeout creates a new HeadscaleServiceDisableRouteParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceDisableRouteParams) SetContext

SetContext adds the context to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) SetDefaults

func (o *HeadscaleServiceDisableRouteParams) SetDefaults()

SetDefaults hydrates default values in the headscale service disable route params (not the query body).

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

func (*HeadscaleServiceDisableRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) SetRouteID

func (o *HeadscaleServiceDisableRouteParams) SetRouteID(routeID string)

SetRouteID adds the routeId to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) WithContext

WithContext adds the context to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) WithDefaults

WithDefaults hydrates default values in the headscale service disable route params (not the query body).

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

func (*HeadscaleServiceDisableRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) WithRouteID

WithRouteID adds the routeID to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) WithTimeout

WithTimeout adds the timeout to the headscale service disable route params

func (*HeadscaleServiceDisableRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceDisableRouteReader

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

HeadscaleServiceDisableRouteReader is a Reader for the HeadscaleServiceDisableRoute structure.

func (*HeadscaleServiceDisableRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceEnableRouteDefault

type HeadscaleServiceEnableRouteDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceEnableRouteDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceEnableRouteDefault

func NewHeadscaleServiceEnableRouteDefault(code int) *HeadscaleServiceEnableRouteDefault

NewHeadscaleServiceEnableRouteDefault creates a HeadscaleServiceEnableRouteDefault with default headers values

func (*HeadscaleServiceEnableRouteDefault) Code

Code gets the status code for the headscale service enable route default response

func (*HeadscaleServiceEnableRouteDefault) Error

func (*HeadscaleServiceEnableRouteDefault) GetPayload

func (*HeadscaleServiceEnableRouteDefault) IsClientError

func (o *HeadscaleServiceEnableRouteDefault) IsClientError() bool

IsClientError returns true when this headscale service enable route default response has a 4xx status code

func (*HeadscaleServiceEnableRouteDefault) IsCode

IsCode returns true when this headscale service enable route default response a status code equal to that given

func (*HeadscaleServiceEnableRouteDefault) IsRedirect

func (o *HeadscaleServiceEnableRouteDefault) IsRedirect() bool

IsRedirect returns true when this headscale service enable route default response has a 3xx status code

func (*HeadscaleServiceEnableRouteDefault) IsServerError

func (o *HeadscaleServiceEnableRouteDefault) IsServerError() bool

IsServerError returns true when this headscale service enable route default response has a 5xx status code

func (*HeadscaleServiceEnableRouteDefault) IsSuccess

IsSuccess returns true when this headscale service enable route default response has a 2xx status code

func (*HeadscaleServiceEnableRouteDefault) String

type HeadscaleServiceEnableRouteOK

type HeadscaleServiceEnableRouteOK struct {
	Payload models.V1EnableRouteResponse
}

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

A successful response.

func NewHeadscaleServiceEnableRouteOK

func NewHeadscaleServiceEnableRouteOK() *HeadscaleServiceEnableRouteOK

NewHeadscaleServiceEnableRouteOK creates a HeadscaleServiceEnableRouteOK with default headers values

func (*HeadscaleServiceEnableRouteOK) Error

func (*HeadscaleServiceEnableRouteOK) GetPayload

func (*HeadscaleServiceEnableRouteOK) IsClientError

func (o *HeadscaleServiceEnableRouteOK) IsClientError() bool

IsClientError returns true when this headscale service enable route o k response has a 4xx status code

func (*HeadscaleServiceEnableRouteOK) IsCode

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

IsCode returns true when this headscale service enable route o k response a status code equal to that given

func (*HeadscaleServiceEnableRouteOK) IsRedirect

func (o *HeadscaleServiceEnableRouteOK) IsRedirect() bool

IsRedirect returns true when this headscale service enable route o k response has a 3xx status code

func (*HeadscaleServiceEnableRouteOK) IsServerError

func (o *HeadscaleServiceEnableRouteOK) IsServerError() bool

IsServerError returns true when this headscale service enable route o k response has a 5xx status code

func (*HeadscaleServiceEnableRouteOK) IsSuccess

func (o *HeadscaleServiceEnableRouteOK) IsSuccess() bool

IsSuccess returns true when this headscale service enable route o k response has a 2xx status code

func (*HeadscaleServiceEnableRouteOK) String

type HeadscaleServiceEnableRouteParams

type HeadscaleServiceEnableRouteParams struct {

	// RouteID.
	//
	// Format: uint64
	RouteID string

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

HeadscaleServiceEnableRouteParams contains all the parameters to send to the API endpoint

for the headscale service enable route operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceEnableRouteParams

func NewHeadscaleServiceEnableRouteParams() *HeadscaleServiceEnableRouteParams

NewHeadscaleServiceEnableRouteParams creates a new HeadscaleServiceEnableRouteParams 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 NewHeadscaleServiceEnableRouteParamsWithContext

func NewHeadscaleServiceEnableRouteParamsWithContext(ctx context.Context) *HeadscaleServiceEnableRouteParams

NewHeadscaleServiceEnableRouteParamsWithContext creates a new HeadscaleServiceEnableRouteParams object with the ability to set a context for a request.

func NewHeadscaleServiceEnableRouteParamsWithHTTPClient

func NewHeadscaleServiceEnableRouteParamsWithHTTPClient(client *http.Client) *HeadscaleServiceEnableRouteParams

NewHeadscaleServiceEnableRouteParamsWithHTTPClient creates a new HeadscaleServiceEnableRouteParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceEnableRouteParamsWithTimeout

func NewHeadscaleServiceEnableRouteParamsWithTimeout(timeout time.Duration) *HeadscaleServiceEnableRouteParams

NewHeadscaleServiceEnableRouteParamsWithTimeout creates a new HeadscaleServiceEnableRouteParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceEnableRouteParams) SetContext

SetContext adds the context to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) SetDefaults

func (o *HeadscaleServiceEnableRouteParams) SetDefaults()

SetDefaults hydrates default values in the headscale service enable route params (not the query body).

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

func (*HeadscaleServiceEnableRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) SetRouteID

func (o *HeadscaleServiceEnableRouteParams) SetRouteID(routeID string)

SetRouteID adds the routeId to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) WithContext

WithContext adds the context to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) WithDefaults

WithDefaults hydrates default values in the headscale service enable route params (not the query body).

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

func (*HeadscaleServiceEnableRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) WithRouteID

WithRouteID adds the routeID to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) WithTimeout

WithTimeout adds the timeout to the headscale service enable route params

func (*HeadscaleServiceEnableRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceEnableRouteReader

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

HeadscaleServiceEnableRouteReader is a Reader for the HeadscaleServiceEnableRoute structure.

func (*HeadscaleServiceEnableRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceExpireAPIKeyDefault

type HeadscaleServiceExpireAPIKeyDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceExpireAPIKeyDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceExpireAPIKeyDefault

func NewHeadscaleServiceExpireAPIKeyDefault(code int) *HeadscaleServiceExpireAPIKeyDefault

NewHeadscaleServiceExpireAPIKeyDefault creates a HeadscaleServiceExpireAPIKeyDefault with default headers values

func (*HeadscaleServiceExpireAPIKeyDefault) Code

Code gets the status code for the headscale service expire Api key default response

func (*HeadscaleServiceExpireAPIKeyDefault) Error

func (*HeadscaleServiceExpireAPIKeyDefault) GetPayload

func (*HeadscaleServiceExpireAPIKeyDefault) IsClientError

func (o *HeadscaleServiceExpireAPIKeyDefault) IsClientError() bool

IsClientError returns true when this headscale service expire Api key default response has a 4xx status code

func (*HeadscaleServiceExpireAPIKeyDefault) IsCode

IsCode returns true when this headscale service expire Api key default response a status code equal to that given

func (*HeadscaleServiceExpireAPIKeyDefault) IsRedirect

func (o *HeadscaleServiceExpireAPIKeyDefault) IsRedirect() bool

IsRedirect returns true when this headscale service expire Api key default response has a 3xx status code

func (*HeadscaleServiceExpireAPIKeyDefault) IsServerError

func (o *HeadscaleServiceExpireAPIKeyDefault) IsServerError() bool

IsServerError returns true when this headscale service expire Api key default response has a 5xx status code

func (*HeadscaleServiceExpireAPIKeyDefault) IsSuccess

IsSuccess returns true when this headscale service expire Api key default response has a 2xx status code

func (*HeadscaleServiceExpireAPIKeyDefault) String

type HeadscaleServiceExpireAPIKeyOK

type HeadscaleServiceExpireAPIKeyOK struct {
	Payload models.V1ExpireAPIKeyResponse
}

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

A successful response.

func NewHeadscaleServiceExpireAPIKeyOK

func NewHeadscaleServiceExpireAPIKeyOK() *HeadscaleServiceExpireAPIKeyOK

NewHeadscaleServiceExpireAPIKeyOK creates a HeadscaleServiceExpireAPIKeyOK with default headers values

func (*HeadscaleServiceExpireAPIKeyOK) Error

func (*HeadscaleServiceExpireAPIKeyOK) GetPayload

func (*HeadscaleServiceExpireAPIKeyOK) IsClientError

func (o *HeadscaleServiceExpireAPIKeyOK) IsClientError() bool

IsClientError returns true when this headscale service expire Api key o k response has a 4xx status code

func (*HeadscaleServiceExpireAPIKeyOK) IsCode

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

IsCode returns true when this headscale service expire Api key o k response a status code equal to that given

func (*HeadscaleServiceExpireAPIKeyOK) IsRedirect

func (o *HeadscaleServiceExpireAPIKeyOK) IsRedirect() bool

IsRedirect returns true when this headscale service expire Api key o k response has a 3xx status code

func (*HeadscaleServiceExpireAPIKeyOK) IsServerError

func (o *HeadscaleServiceExpireAPIKeyOK) IsServerError() bool

IsServerError returns true when this headscale service expire Api key o k response has a 5xx status code

func (*HeadscaleServiceExpireAPIKeyOK) IsSuccess

func (o *HeadscaleServiceExpireAPIKeyOK) IsSuccess() bool

IsSuccess returns true when this headscale service expire Api key o k response has a 2xx status code

func (*HeadscaleServiceExpireAPIKeyOK) String

type HeadscaleServiceExpireAPIKeyParams

type HeadscaleServiceExpireAPIKeyParams struct {

	// Body.
	Body *models.V1ExpireAPIKeyRequest

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

HeadscaleServiceExpireAPIKeyParams contains all the parameters to send to the API endpoint

for the headscale service expire Api key operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceExpireAPIKeyParams

func NewHeadscaleServiceExpireAPIKeyParams() *HeadscaleServiceExpireAPIKeyParams

NewHeadscaleServiceExpireAPIKeyParams creates a new HeadscaleServiceExpireAPIKeyParams 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 NewHeadscaleServiceExpireAPIKeyParamsWithContext

func NewHeadscaleServiceExpireAPIKeyParamsWithContext(ctx context.Context) *HeadscaleServiceExpireAPIKeyParams

NewHeadscaleServiceExpireAPIKeyParamsWithContext creates a new HeadscaleServiceExpireAPIKeyParams object with the ability to set a context for a request.

func NewHeadscaleServiceExpireAPIKeyParamsWithHTTPClient

func NewHeadscaleServiceExpireAPIKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceExpireAPIKeyParams

NewHeadscaleServiceExpireAPIKeyParamsWithHTTPClient creates a new HeadscaleServiceExpireAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceExpireAPIKeyParamsWithTimeout

func NewHeadscaleServiceExpireAPIKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceExpireAPIKeyParams

NewHeadscaleServiceExpireAPIKeyParamsWithTimeout creates a new HeadscaleServiceExpireAPIKeyParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceExpireAPIKeyParams) SetBody

SetBody adds the body to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) SetContext

SetContext adds the context to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) SetDefaults

func (o *HeadscaleServiceExpireAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the headscale service expire Api key params (not the query body).

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

func (*HeadscaleServiceExpireAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) WithBody

WithBody adds the body to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) WithContext

WithContext adds the context to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) WithDefaults

WithDefaults hydrates default values in the headscale service expire Api key params (not the query body).

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

func (*HeadscaleServiceExpireAPIKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) WithTimeout

WithTimeout adds the timeout to the headscale service expire Api key params

func (*HeadscaleServiceExpireAPIKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceExpireAPIKeyReader

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

HeadscaleServiceExpireAPIKeyReader is a Reader for the HeadscaleServiceExpireAPIKey structure.

func (*HeadscaleServiceExpireAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceExpireMachineDefault

type HeadscaleServiceExpireMachineDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceExpireMachineDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceExpireMachineDefault

func NewHeadscaleServiceExpireMachineDefault(code int) *HeadscaleServiceExpireMachineDefault

NewHeadscaleServiceExpireMachineDefault creates a HeadscaleServiceExpireMachineDefault with default headers values

func (*HeadscaleServiceExpireMachineDefault) Code

Code gets the status code for the headscale service expire machine default response

func (*HeadscaleServiceExpireMachineDefault) Error

func (*HeadscaleServiceExpireMachineDefault) GetPayload

func (*HeadscaleServiceExpireMachineDefault) IsClientError

func (o *HeadscaleServiceExpireMachineDefault) IsClientError() bool

IsClientError returns true when this headscale service expire machine default response has a 4xx status code

func (*HeadscaleServiceExpireMachineDefault) IsCode

IsCode returns true when this headscale service expire machine default response a status code equal to that given

func (*HeadscaleServiceExpireMachineDefault) IsRedirect

IsRedirect returns true when this headscale service expire machine default response has a 3xx status code

func (*HeadscaleServiceExpireMachineDefault) IsServerError

func (o *HeadscaleServiceExpireMachineDefault) IsServerError() bool

IsServerError returns true when this headscale service expire machine default response has a 5xx status code

func (*HeadscaleServiceExpireMachineDefault) IsSuccess

IsSuccess returns true when this headscale service expire machine default response has a 2xx status code

func (*HeadscaleServiceExpireMachineDefault) String

type HeadscaleServiceExpireMachineOK

type HeadscaleServiceExpireMachineOK struct {
	Payload *models.V1ExpireMachineResponse
}

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

A successful response.

func NewHeadscaleServiceExpireMachineOK

func NewHeadscaleServiceExpireMachineOK() *HeadscaleServiceExpireMachineOK

NewHeadscaleServiceExpireMachineOK creates a HeadscaleServiceExpireMachineOK with default headers values

func (*HeadscaleServiceExpireMachineOK) Error

func (*HeadscaleServiceExpireMachineOK) GetPayload

func (*HeadscaleServiceExpireMachineOK) IsClientError

func (o *HeadscaleServiceExpireMachineOK) IsClientError() bool

IsClientError returns true when this headscale service expire machine o k response has a 4xx status code

func (*HeadscaleServiceExpireMachineOK) IsCode

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

IsCode returns true when this headscale service expire machine o k response a status code equal to that given

func (*HeadscaleServiceExpireMachineOK) IsRedirect

func (o *HeadscaleServiceExpireMachineOK) IsRedirect() bool

IsRedirect returns true when this headscale service expire machine o k response has a 3xx status code

func (*HeadscaleServiceExpireMachineOK) IsServerError

func (o *HeadscaleServiceExpireMachineOK) IsServerError() bool

IsServerError returns true when this headscale service expire machine o k response has a 5xx status code

func (*HeadscaleServiceExpireMachineOK) IsSuccess

func (o *HeadscaleServiceExpireMachineOK) IsSuccess() bool

IsSuccess returns true when this headscale service expire machine o k response has a 2xx status code

func (*HeadscaleServiceExpireMachineOK) String

type HeadscaleServiceExpireMachineParams

type HeadscaleServiceExpireMachineParams struct {

	// MachineID.
	//
	// Format: uint64
	MachineID string

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

HeadscaleServiceExpireMachineParams contains all the parameters to send to the API endpoint

for the headscale service expire machine operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceExpireMachineParams

func NewHeadscaleServiceExpireMachineParams() *HeadscaleServiceExpireMachineParams

NewHeadscaleServiceExpireMachineParams creates a new HeadscaleServiceExpireMachineParams 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 NewHeadscaleServiceExpireMachineParamsWithContext

func NewHeadscaleServiceExpireMachineParamsWithContext(ctx context.Context) *HeadscaleServiceExpireMachineParams

NewHeadscaleServiceExpireMachineParamsWithContext creates a new HeadscaleServiceExpireMachineParams object with the ability to set a context for a request.

func NewHeadscaleServiceExpireMachineParamsWithHTTPClient

func NewHeadscaleServiceExpireMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceExpireMachineParams

NewHeadscaleServiceExpireMachineParamsWithHTTPClient creates a new HeadscaleServiceExpireMachineParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceExpireMachineParamsWithTimeout

func NewHeadscaleServiceExpireMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceExpireMachineParams

NewHeadscaleServiceExpireMachineParamsWithTimeout creates a new HeadscaleServiceExpireMachineParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceExpireMachineParams) SetContext

SetContext adds the context to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) SetDefaults

func (o *HeadscaleServiceExpireMachineParams) SetDefaults()

SetDefaults hydrates default values in the headscale service expire machine params (not the query body).

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

func (*HeadscaleServiceExpireMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) SetMachineID

func (o *HeadscaleServiceExpireMachineParams) SetMachineID(machineID string)

SetMachineID adds the machineId to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) WithContext

WithContext adds the context to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) WithDefaults

WithDefaults hydrates default values in the headscale service expire machine params (not the query body).

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

func (*HeadscaleServiceExpireMachineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) WithMachineID

WithMachineID adds the machineID to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) WithTimeout

WithTimeout adds the timeout to the headscale service expire machine params

func (*HeadscaleServiceExpireMachineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceExpireMachineReader

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

HeadscaleServiceExpireMachineReader is a Reader for the HeadscaleServiceExpireMachine structure.

func (*HeadscaleServiceExpireMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceExpirePreAuthKeyDefault

type HeadscaleServiceExpirePreAuthKeyDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceExpirePreAuthKeyDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceExpirePreAuthKeyDefault

func NewHeadscaleServiceExpirePreAuthKeyDefault(code int) *HeadscaleServiceExpirePreAuthKeyDefault

NewHeadscaleServiceExpirePreAuthKeyDefault creates a HeadscaleServiceExpirePreAuthKeyDefault with default headers values

func (*HeadscaleServiceExpirePreAuthKeyDefault) Code

Code gets the status code for the headscale service expire pre auth key default response

func (*HeadscaleServiceExpirePreAuthKeyDefault) Error

func (*HeadscaleServiceExpirePreAuthKeyDefault) GetPayload

func (*HeadscaleServiceExpirePreAuthKeyDefault) IsClientError

func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsClientError() bool

IsClientError returns true when this headscale service expire pre auth key default response has a 4xx status code

func (*HeadscaleServiceExpirePreAuthKeyDefault) IsCode

IsCode returns true when this headscale service expire pre auth key default response a status code equal to that given

func (*HeadscaleServiceExpirePreAuthKeyDefault) IsRedirect

IsRedirect returns true when this headscale service expire pre auth key default response has a 3xx status code

func (*HeadscaleServiceExpirePreAuthKeyDefault) IsServerError

func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsServerError() bool

IsServerError returns true when this headscale service expire pre auth key default response has a 5xx status code

func (*HeadscaleServiceExpirePreAuthKeyDefault) IsSuccess

IsSuccess returns true when this headscale service expire pre auth key default response has a 2xx status code

func (*HeadscaleServiceExpirePreAuthKeyDefault) String

type HeadscaleServiceExpirePreAuthKeyOK

type HeadscaleServiceExpirePreAuthKeyOK struct {
	Payload models.V1ExpirePreAuthKeyResponse
}

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

A successful response.

func NewHeadscaleServiceExpirePreAuthKeyOK

func NewHeadscaleServiceExpirePreAuthKeyOK() *HeadscaleServiceExpirePreAuthKeyOK

NewHeadscaleServiceExpirePreAuthKeyOK creates a HeadscaleServiceExpirePreAuthKeyOK with default headers values

func (*HeadscaleServiceExpirePreAuthKeyOK) Error

func (*HeadscaleServiceExpirePreAuthKeyOK) GetPayload

func (*HeadscaleServiceExpirePreAuthKeyOK) IsClientError

func (o *HeadscaleServiceExpirePreAuthKeyOK) IsClientError() bool

IsClientError returns true when this headscale service expire pre auth key o k response has a 4xx status code

func (*HeadscaleServiceExpirePreAuthKeyOK) IsCode

IsCode returns true when this headscale service expire pre auth key o k response a status code equal to that given

func (*HeadscaleServiceExpirePreAuthKeyOK) IsRedirect

func (o *HeadscaleServiceExpirePreAuthKeyOK) IsRedirect() bool

IsRedirect returns true when this headscale service expire pre auth key o k response has a 3xx status code

func (*HeadscaleServiceExpirePreAuthKeyOK) IsServerError

func (o *HeadscaleServiceExpirePreAuthKeyOK) IsServerError() bool

IsServerError returns true when this headscale service expire pre auth key o k response has a 5xx status code

func (*HeadscaleServiceExpirePreAuthKeyOK) IsSuccess

IsSuccess returns true when this headscale service expire pre auth key o k response has a 2xx status code

func (*HeadscaleServiceExpirePreAuthKeyOK) String

type HeadscaleServiceExpirePreAuthKeyParams

type HeadscaleServiceExpirePreAuthKeyParams struct {

	// Body.
	Body *models.V1ExpirePreAuthKeyRequest

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

HeadscaleServiceExpirePreAuthKeyParams contains all the parameters to send to the API endpoint

for the headscale service expire pre auth key operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceExpirePreAuthKeyParams

func NewHeadscaleServiceExpirePreAuthKeyParams() *HeadscaleServiceExpirePreAuthKeyParams

NewHeadscaleServiceExpirePreAuthKeyParams creates a new HeadscaleServiceExpirePreAuthKeyParams 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 NewHeadscaleServiceExpirePreAuthKeyParamsWithContext

func NewHeadscaleServiceExpirePreAuthKeyParamsWithContext(ctx context.Context) *HeadscaleServiceExpirePreAuthKeyParams

NewHeadscaleServiceExpirePreAuthKeyParamsWithContext creates a new HeadscaleServiceExpirePreAuthKeyParams object with the ability to set a context for a request.

func NewHeadscaleServiceExpirePreAuthKeyParamsWithHTTPClient

func NewHeadscaleServiceExpirePreAuthKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceExpirePreAuthKeyParams

NewHeadscaleServiceExpirePreAuthKeyParamsWithHTTPClient creates a new HeadscaleServiceExpirePreAuthKeyParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceExpirePreAuthKeyParamsWithTimeout

func NewHeadscaleServiceExpirePreAuthKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceExpirePreAuthKeyParams

NewHeadscaleServiceExpirePreAuthKeyParamsWithTimeout creates a new HeadscaleServiceExpirePreAuthKeyParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceExpirePreAuthKeyParams) SetBody

SetBody adds the body to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) SetContext

SetContext adds the context to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) SetDefaults

func (o *HeadscaleServiceExpirePreAuthKeyParams) SetDefaults()

SetDefaults hydrates default values in the headscale service expire pre auth key params (not the query body).

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

func (*HeadscaleServiceExpirePreAuthKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) WithBody

WithBody adds the body to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) WithContext

WithContext adds the context to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) WithDefaults

WithDefaults hydrates default values in the headscale service expire pre auth key params (not the query body).

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

func (*HeadscaleServiceExpirePreAuthKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) WithTimeout

WithTimeout adds the timeout to the headscale service expire pre auth key params

func (*HeadscaleServiceExpirePreAuthKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceExpirePreAuthKeyReader

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

HeadscaleServiceExpirePreAuthKeyReader is a Reader for the HeadscaleServiceExpirePreAuthKey structure.

func (*HeadscaleServiceExpirePreAuthKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceGetMachineDefault

type HeadscaleServiceGetMachineDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceGetMachineDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceGetMachineDefault

func NewHeadscaleServiceGetMachineDefault(code int) *HeadscaleServiceGetMachineDefault

NewHeadscaleServiceGetMachineDefault creates a HeadscaleServiceGetMachineDefault with default headers values

func (*HeadscaleServiceGetMachineDefault) Code

Code gets the status code for the headscale service get machine default response

func (*HeadscaleServiceGetMachineDefault) Error

func (*HeadscaleServiceGetMachineDefault) GetPayload

func (*HeadscaleServiceGetMachineDefault) IsClientError

func (o *HeadscaleServiceGetMachineDefault) IsClientError() bool

IsClientError returns true when this headscale service get machine default response has a 4xx status code

func (*HeadscaleServiceGetMachineDefault) IsCode

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

IsCode returns true when this headscale service get machine default response a status code equal to that given

func (*HeadscaleServiceGetMachineDefault) IsRedirect

func (o *HeadscaleServiceGetMachineDefault) IsRedirect() bool

IsRedirect returns true when this headscale service get machine default response has a 3xx status code

func (*HeadscaleServiceGetMachineDefault) IsServerError

func (o *HeadscaleServiceGetMachineDefault) IsServerError() bool

IsServerError returns true when this headscale service get machine default response has a 5xx status code

func (*HeadscaleServiceGetMachineDefault) IsSuccess

func (o *HeadscaleServiceGetMachineDefault) IsSuccess() bool

IsSuccess returns true when this headscale service get machine default response has a 2xx status code

func (*HeadscaleServiceGetMachineDefault) String

type HeadscaleServiceGetMachineOK

type HeadscaleServiceGetMachineOK struct {
	Payload *models.V1GetMachineResponse
}

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

A successful response.

func NewHeadscaleServiceGetMachineOK

func NewHeadscaleServiceGetMachineOK() *HeadscaleServiceGetMachineOK

NewHeadscaleServiceGetMachineOK creates a HeadscaleServiceGetMachineOK with default headers values

func (*HeadscaleServiceGetMachineOK) Error

func (*HeadscaleServiceGetMachineOK) GetPayload

func (*HeadscaleServiceGetMachineOK) IsClientError

func (o *HeadscaleServiceGetMachineOK) IsClientError() bool

IsClientError returns true when this headscale service get machine o k response has a 4xx status code

func (*HeadscaleServiceGetMachineOK) IsCode

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

IsCode returns true when this headscale service get machine o k response a status code equal to that given

func (*HeadscaleServiceGetMachineOK) IsRedirect

func (o *HeadscaleServiceGetMachineOK) IsRedirect() bool

IsRedirect returns true when this headscale service get machine o k response has a 3xx status code

func (*HeadscaleServiceGetMachineOK) IsServerError

func (o *HeadscaleServiceGetMachineOK) IsServerError() bool

IsServerError returns true when this headscale service get machine o k response has a 5xx status code

func (*HeadscaleServiceGetMachineOK) IsSuccess

func (o *HeadscaleServiceGetMachineOK) IsSuccess() bool

IsSuccess returns true when this headscale service get machine o k response has a 2xx status code

func (*HeadscaleServiceGetMachineOK) String

type HeadscaleServiceGetMachineParams

type HeadscaleServiceGetMachineParams struct {

	// MachineID.
	//
	// Format: uint64
	MachineID string

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

HeadscaleServiceGetMachineParams contains all the parameters to send to the API endpoint

for the headscale service get machine operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceGetMachineParams

func NewHeadscaleServiceGetMachineParams() *HeadscaleServiceGetMachineParams

NewHeadscaleServiceGetMachineParams creates a new HeadscaleServiceGetMachineParams 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 NewHeadscaleServiceGetMachineParamsWithContext

func NewHeadscaleServiceGetMachineParamsWithContext(ctx context.Context) *HeadscaleServiceGetMachineParams

NewHeadscaleServiceGetMachineParamsWithContext creates a new HeadscaleServiceGetMachineParams object with the ability to set a context for a request.

func NewHeadscaleServiceGetMachineParamsWithHTTPClient

func NewHeadscaleServiceGetMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineParams

NewHeadscaleServiceGetMachineParamsWithHTTPClient creates a new HeadscaleServiceGetMachineParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceGetMachineParamsWithTimeout

func NewHeadscaleServiceGetMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineParams

NewHeadscaleServiceGetMachineParamsWithTimeout creates a new HeadscaleServiceGetMachineParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceGetMachineParams) SetContext

SetContext adds the context to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) SetDefaults

func (o *HeadscaleServiceGetMachineParams) SetDefaults()

SetDefaults hydrates default values in the headscale service get machine params (not the query body).

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

func (*HeadscaleServiceGetMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) SetMachineID

func (o *HeadscaleServiceGetMachineParams) SetMachineID(machineID string)

SetMachineID adds the machineId to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) WithContext

WithContext adds the context to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) WithDefaults

WithDefaults hydrates default values in the headscale service get machine params (not the query body).

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

func (*HeadscaleServiceGetMachineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) WithMachineID

WithMachineID adds the machineID to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) WithTimeout

WithTimeout adds the timeout to the headscale service get machine params

func (*HeadscaleServiceGetMachineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceGetMachineReader

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

HeadscaleServiceGetMachineReader is a Reader for the HeadscaleServiceGetMachine structure.

func (*HeadscaleServiceGetMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceGetMachineRoutesDefault

type HeadscaleServiceGetMachineRoutesDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceGetMachineRoutesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceGetMachineRoutesDefault

func NewHeadscaleServiceGetMachineRoutesDefault(code int) *HeadscaleServiceGetMachineRoutesDefault

NewHeadscaleServiceGetMachineRoutesDefault creates a HeadscaleServiceGetMachineRoutesDefault with default headers values

func (*HeadscaleServiceGetMachineRoutesDefault) Code

Code gets the status code for the headscale service get machine routes default response

func (*HeadscaleServiceGetMachineRoutesDefault) Error

func (*HeadscaleServiceGetMachineRoutesDefault) GetPayload

func (*HeadscaleServiceGetMachineRoutesDefault) IsClientError

func (o *HeadscaleServiceGetMachineRoutesDefault) IsClientError() bool

IsClientError returns true when this headscale service get machine routes default response has a 4xx status code

func (*HeadscaleServiceGetMachineRoutesDefault) IsCode

IsCode returns true when this headscale service get machine routes default response a status code equal to that given

func (*HeadscaleServiceGetMachineRoutesDefault) IsRedirect

IsRedirect returns true when this headscale service get machine routes default response has a 3xx status code

func (*HeadscaleServiceGetMachineRoutesDefault) IsServerError

func (o *HeadscaleServiceGetMachineRoutesDefault) IsServerError() bool

IsServerError returns true when this headscale service get machine routes default response has a 5xx status code

func (*HeadscaleServiceGetMachineRoutesDefault) IsSuccess

IsSuccess returns true when this headscale service get machine routes default response has a 2xx status code

func (*HeadscaleServiceGetMachineRoutesDefault) String

type HeadscaleServiceGetMachineRoutesOK

type HeadscaleServiceGetMachineRoutesOK struct {
	Payload *models.V1GetMachineRoutesResponse
}

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

A successful response.

func NewHeadscaleServiceGetMachineRoutesOK

func NewHeadscaleServiceGetMachineRoutesOK() *HeadscaleServiceGetMachineRoutesOK

NewHeadscaleServiceGetMachineRoutesOK creates a HeadscaleServiceGetMachineRoutesOK with default headers values

func (*HeadscaleServiceGetMachineRoutesOK) Error

func (*HeadscaleServiceGetMachineRoutesOK) GetPayload

func (*HeadscaleServiceGetMachineRoutesOK) IsClientError

func (o *HeadscaleServiceGetMachineRoutesOK) IsClientError() bool

IsClientError returns true when this headscale service get machine routes o k response has a 4xx status code

func (*HeadscaleServiceGetMachineRoutesOK) IsCode

IsCode returns true when this headscale service get machine routes o k response a status code equal to that given

func (*HeadscaleServiceGetMachineRoutesOK) IsRedirect

func (o *HeadscaleServiceGetMachineRoutesOK) IsRedirect() bool

IsRedirect returns true when this headscale service get machine routes o k response has a 3xx status code

func (*HeadscaleServiceGetMachineRoutesOK) IsServerError

func (o *HeadscaleServiceGetMachineRoutesOK) IsServerError() bool

IsServerError returns true when this headscale service get machine routes o k response has a 5xx status code

func (*HeadscaleServiceGetMachineRoutesOK) IsSuccess

IsSuccess returns true when this headscale service get machine routes o k response has a 2xx status code

func (*HeadscaleServiceGetMachineRoutesOK) String

type HeadscaleServiceGetMachineRoutesParams

type HeadscaleServiceGetMachineRoutesParams struct {

	// MachineID.
	//
	// Format: uint64
	MachineID string

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

HeadscaleServiceGetMachineRoutesParams contains all the parameters to send to the API endpoint

for the headscale service get machine routes operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceGetMachineRoutesParams

func NewHeadscaleServiceGetMachineRoutesParams() *HeadscaleServiceGetMachineRoutesParams

NewHeadscaleServiceGetMachineRoutesParams creates a new HeadscaleServiceGetMachineRoutesParams 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 NewHeadscaleServiceGetMachineRoutesParamsWithContext

func NewHeadscaleServiceGetMachineRoutesParamsWithContext(ctx context.Context) *HeadscaleServiceGetMachineRoutesParams

NewHeadscaleServiceGetMachineRoutesParamsWithContext creates a new HeadscaleServiceGetMachineRoutesParams object with the ability to set a context for a request.

func NewHeadscaleServiceGetMachineRoutesParamsWithHTTPClient

func NewHeadscaleServiceGetMachineRoutesParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineRoutesParams

NewHeadscaleServiceGetMachineRoutesParamsWithHTTPClient creates a new HeadscaleServiceGetMachineRoutesParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceGetMachineRoutesParamsWithTimeout

func NewHeadscaleServiceGetMachineRoutesParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineRoutesParams

NewHeadscaleServiceGetMachineRoutesParamsWithTimeout creates a new HeadscaleServiceGetMachineRoutesParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceGetMachineRoutesParams) SetContext

SetContext adds the context to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) SetDefaults

func (o *HeadscaleServiceGetMachineRoutesParams) SetDefaults()

SetDefaults hydrates default values in the headscale service get machine routes params (not the query body).

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

func (*HeadscaleServiceGetMachineRoutesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) SetMachineID

func (o *HeadscaleServiceGetMachineRoutesParams) SetMachineID(machineID string)

SetMachineID adds the machineId to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) WithContext

WithContext adds the context to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) WithDefaults

WithDefaults hydrates default values in the headscale service get machine routes params (not the query body).

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

func (*HeadscaleServiceGetMachineRoutesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) WithMachineID

WithMachineID adds the machineID to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) WithTimeout

WithTimeout adds the timeout to the headscale service get machine routes params

func (*HeadscaleServiceGetMachineRoutesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceGetMachineRoutesReader

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

HeadscaleServiceGetMachineRoutesReader is a Reader for the HeadscaleServiceGetMachineRoutes structure.

func (*HeadscaleServiceGetMachineRoutesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceGetRoutesDefault

type HeadscaleServiceGetRoutesDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceGetRoutesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceGetRoutesDefault

func NewHeadscaleServiceGetRoutesDefault(code int) *HeadscaleServiceGetRoutesDefault

NewHeadscaleServiceGetRoutesDefault creates a HeadscaleServiceGetRoutesDefault with default headers values

func (*HeadscaleServiceGetRoutesDefault) Code

Code gets the status code for the headscale service get routes default response

func (*HeadscaleServiceGetRoutesDefault) Error

func (*HeadscaleServiceGetRoutesDefault) GetPayload

func (*HeadscaleServiceGetRoutesDefault) IsClientError

func (o *HeadscaleServiceGetRoutesDefault) IsClientError() bool

IsClientError returns true when this headscale service get routes default response has a 4xx status code

func (*HeadscaleServiceGetRoutesDefault) IsCode

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

IsCode returns true when this headscale service get routes default response a status code equal to that given

func (*HeadscaleServiceGetRoutesDefault) IsRedirect

func (o *HeadscaleServiceGetRoutesDefault) IsRedirect() bool

IsRedirect returns true when this headscale service get routes default response has a 3xx status code

func (*HeadscaleServiceGetRoutesDefault) IsServerError

func (o *HeadscaleServiceGetRoutesDefault) IsServerError() bool

IsServerError returns true when this headscale service get routes default response has a 5xx status code

func (*HeadscaleServiceGetRoutesDefault) IsSuccess

func (o *HeadscaleServiceGetRoutesDefault) IsSuccess() bool

IsSuccess returns true when this headscale service get routes default response has a 2xx status code

func (*HeadscaleServiceGetRoutesDefault) String

type HeadscaleServiceGetRoutesOK

type HeadscaleServiceGetRoutesOK struct {
	Payload *models.V1GetRoutesResponse
}

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

A successful response.

func NewHeadscaleServiceGetRoutesOK

func NewHeadscaleServiceGetRoutesOK() *HeadscaleServiceGetRoutesOK

NewHeadscaleServiceGetRoutesOK creates a HeadscaleServiceGetRoutesOK with default headers values

func (*HeadscaleServiceGetRoutesOK) Error

func (*HeadscaleServiceGetRoutesOK) GetPayload

func (*HeadscaleServiceGetRoutesOK) IsClientError

func (o *HeadscaleServiceGetRoutesOK) IsClientError() bool

IsClientError returns true when this headscale service get routes o k response has a 4xx status code

func (*HeadscaleServiceGetRoutesOK) IsCode

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

IsCode returns true when this headscale service get routes o k response a status code equal to that given

func (*HeadscaleServiceGetRoutesOK) IsRedirect

func (o *HeadscaleServiceGetRoutesOK) IsRedirect() bool

IsRedirect returns true when this headscale service get routes o k response has a 3xx status code

func (*HeadscaleServiceGetRoutesOK) IsServerError

func (o *HeadscaleServiceGetRoutesOK) IsServerError() bool

IsServerError returns true when this headscale service get routes o k response has a 5xx status code

func (*HeadscaleServiceGetRoutesOK) IsSuccess

func (o *HeadscaleServiceGetRoutesOK) IsSuccess() bool

IsSuccess returns true when this headscale service get routes o k response has a 2xx status code

func (*HeadscaleServiceGetRoutesOK) String

func (o *HeadscaleServiceGetRoutesOK) String() string

type HeadscaleServiceGetRoutesParams

type HeadscaleServiceGetRoutesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeadscaleServiceGetRoutesParams contains all the parameters to send to the API endpoint

for the headscale service get routes operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceGetRoutesParams

func NewHeadscaleServiceGetRoutesParams() *HeadscaleServiceGetRoutesParams

NewHeadscaleServiceGetRoutesParams creates a new HeadscaleServiceGetRoutesParams 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 NewHeadscaleServiceGetRoutesParamsWithContext

func NewHeadscaleServiceGetRoutesParamsWithContext(ctx context.Context) *HeadscaleServiceGetRoutesParams

NewHeadscaleServiceGetRoutesParamsWithContext creates a new HeadscaleServiceGetRoutesParams object with the ability to set a context for a request.

func NewHeadscaleServiceGetRoutesParamsWithHTTPClient

func NewHeadscaleServiceGetRoutesParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetRoutesParams

NewHeadscaleServiceGetRoutesParamsWithHTTPClient creates a new HeadscaleServiceGetRoutesParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceGetRoutesParamsWithTimeout

func NewHeadscaleServiceGetRoutesParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetRoutesParams

NewHeadscaleServiceGetRoutesParamsWithTimeout creates a new HeadscaleServiceGetRoutesParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceGetRoutesParams) SetContext

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

SetContext adds the context to the headscale service get routes params

func (*HeadscaleServiceGetRoutesParams) SetDefaults

func (o *HeadscaleServiceGetRoutesParams) SetDefaults()

SetDefaults hydrates default values in the headscale service get routes params (not the query body).

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

func (*HeadscaleServiceGetRoutesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service get routes params

func (*HeadscaleServiceGetRoutesParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service get routes params

func (*HeadscaleServiceGetRoutesParams) WithContext

WithContext adds the context to the headscale service get routes params

func (*HeadscaleServiceGetRoutesParams) WithDefaults

WithDefaults hydrates default values in the headscale service get routes params (not the query body).

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

func (*HeadscaleServiceGetRoutesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service get routes params

func (*HeadscaleServiceGetRoutesParams) WithTimeout

WithTimeout adds the timeout to the headscale service get routes params

func (*HeadscaleServiceGetRoutesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceGetRoutesReader

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

HeadscaleServiceGetRoutesReader is a Reader for the HeadscaleServiceGetRoutes structure.

func (*HeadscaleServiceGetRoutesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceGetUserDefault

type HeadscaleServiceGetUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceGetUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceGetUserDefault

func NewHeadscaleServiceGetUserDefault(code int) *HeadscaleServiceGetUserDefault

NewHeadscaleServiceGetUserDefault creates a HeadscaleServiceGetUserDefault with default headers values

func (*HeadscaleServiceGetUserDefault) Code

Code gets the status code for the headscale service get user default response

func (*HeadscaleServiceGetUserDefault) Error

func (*HeadscaleServiceGetUserDefault) GetPayload

func (*HeadscaleServiceGetUserDefault) IsClientError

func (o *HeadscaleServiceGetUserDefault) IsClientError() bool

IsClientError returns true when this headscale service get user default response has a 4xx status code

func (*HeadscaleServiceGetUserDefault) IsCode

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

IsCode returns true when this headscale service get user default response a status code equal to that given

func (*HeadscaleServiceGetUserDefault) IsRedirect

func (o *HeadscaleServiceGetUserDefault) IsRedirect() bool

IsRedirect returns true when this headscale service get user default response has a 3xx status code

func (*HeadscaleServiceGetUserDefault) IsServerError

func (o *HeadscaleServiceGetUserDefault) IsServerError() bool

IsServerError returns true when this headscale service get user default response has a 5xx status code

func (*HeadscaleServiceGetUserDefault) IsSuccess

func (o *HeadscaleServiceGetUserDefault) IsSuccess() bool

IsSuccess returns true when this headscale service get user default response has a 2xx status code

func (*HeadscaleServiceGetUserDefault) String

type HeadscaleServiceGetUserOK

type HeadscaleServiceGetUserOK struct {
	Payload *models.V1GetUserResponse
}

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

A successful response.

func NewHeadscaleServiceGetUserOK

func NewHeadscaleServiceGetUserOK() *HeadscaleServiceGetUserOK

NewHeadscaleServiceGetUserOK creates a HeadscaleServiceGetUserOK with default headers values

func (*HeadscaleServiceGetUserOK) Error

func (o *HeadscaleServiceGetUserOK) Error() string

func (*HeadscaleServiceGetUserOK) GetPayload

func (*HeadscaleServiceGetUserOK) IsClientError

func (o *HeadscaleServiceGetUserOK) IsClientError() bool

IsClientError returns true when this headscale service get user o k response has a 4xx status code

func (*HeadscaleServiceGetUserOK) IsCode

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

IsCode returns true when this headscale service get user o k response a status code equal to that given

func (*HeadscaleServiceGetUserOK) IsRedirect

func (o *HeadscaleServiceGetUserOK) IsRedirect() bool

IsRedirect returns true when this headscale service get user o k response has a 3xx status code

func (*HeadscaleServiceGetUserOK) IsServerError

func (o *HeadscaleServiceGetUserOK) IsServerError() bool

IsServerError returns true when this headscale service get user o k response has a 5xx status code

func (*HeadscaleServiceGetUserOK) IsSuccess

func (o *HeadscaleServiceGetUserOK) IsSuccess() bool

IsSuccess returns true when this headscale service get user o k response has a 2xx status code

func (*HeadscaleServiceGetUserOK) String

func (o *HeadscaleServiceGetUserOK) String() string

type HeadscaleServiceGetUserParams

type HeadscaleServiceGetUserParams struct {

	// Name.
	Name string

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

HeadscaleServiceGetUserParams contains all the parameters to send to the API endpoint

for the headscale service get user operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceGetUserParams

func NewHeadscaleServiceGetUserParams() *HeadscaleServiceGetUserParams

NewHeadscaleServiceGetUserParams creates a new HeadscaleServiceGetUserParams 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 NewHeadscaleServiceGetUserParamsWithContext

func NewHeadscaleServiceGetUserParamsWithContext(ctx context.Context) *HeadscaleServiceGetUserParams

NewHeadscaleServiceGetUserParamsWithContext creates a new HeadscaleServiceGetUserParams object with the ability to set a context for a request.

func NewHeadscaleServiceGetUserParamsWithHTTPClient

func NewHeadscaleServiceGetUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetUserParams

NewHeadscaleServiceGetUserParamsWithHTTPClient creates a new HeadscaleServiceGetUserParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceGetUserParamsWithTimeout

func NewHeadscaleServiceGetUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetUserParams

NewHeadscaleServiceGetUserParamsWithTimeout creates a new HeadscaleServiceGetUserParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceGetUserParams) SetContext

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

SetContext adds the context to the headscale service get user params

func (*HeadscaleServiceGetUserParams) SetDefaults

func (o *HeadscaleServiceGetUserParams) SetDefaults()

SetDefaults hydrates default values in the headscale service get user params (not the query body).

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

func (*HeadscaleServiceGetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service get user params

func (*HeadscaleServiceGetUserParams) SetName

func (o *HeadscaleServiceGetUserParams) SetName(name string)

SetName adds the name to the headscale service get user params

func (*HeadscaleServiceGetUserParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service get user params

func (*HeadscaleServiceGetUserParams) WithContext

WithContext adds the context to the headscale service get user params

func (*HeadscaleServiceGetUserParams) WithDefaults

WithDefaults hydrates default values in the headscale service get user params (not the query body).

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

func (*HeadscaleServiceGetUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service get user params

func (*HeadscaleServiceGetUserParams) WithName

WithName adds the name to the headscale service get user params

func (*HeadscaleServiceGetUserParams) WithTimeout

WithTimeout adds the timeout to the headscale service get user params

func (*HeadscaleServiceGetUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceGetUserReader

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

HeadscaleServiceGetUserReader is a Reader for the HeadscaleServiceGetUser structure.

func (*HeadscaleServiceGetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceListAPIKeysDefault

type HeadscaleServiceListAPIKeysDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceListAPIKeysDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceListAPIKeysDefault

func NewHeadscaleServiceListAPIKeysDefault(code int) *HeadscaleServiceListAPIKeysDefault

NewHeadscaleServiceListAPIKeysDefault creates a HeadscaleServiceListAPIKeysDefault with default headers values

func (*HeadscaleServiceListAPIKeysDefault) Code

Code gets the status code for the headscale service list Api keys default response

func (*HeadscaleServiceListAPIKeysDefault) Error

func (*HeadscaleServiceListAPIKeysDefault) GetPayload

func (*HeadscaleServiceListAPIKeysDefault) IsClientError

func (o *HeadscaleServiceListAPIKeysDefault) IsClientError() bool

IsClientError returns true when this headscale service list Api keys default response has a 4xx status code

func (*HeadscaleServiceListAPIKeysDefault) IsCode

IsCode returns true when this headscale service list Api keys default response a status code equal to that given

func (*HeadscaleServiceListAPIKeysDefault) IsRedirect

func (o *HeadscaleServiceListAPIKeysDefault) IsRedirect() bool

IsRedirect returns true when this headscale service list Api keys default response has a 3xx status code

func (*HeadscaleServiceListAPIKeysDefault) IsServerError

func (o *HeadscaleServiceListAPIKeysDefault) IsServerError() bool

IsServerError returns true when this headscale service list Api keys default response has a 5xx status code

func (*HeadscaleServiceListAPIKeysDefault) IsSuccess

IsSuccess returns true when this headscale service list Api keys default response has a 2xx status code

func (*HeadscaleServiceListAPIKeysDefault) String

type HeadscaleServiceListAPIKeysOK

type HeadscaleServiceListAPIKeysOK struct {
	Payload *models.V1ListAPIKeysResponse
}

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

A successful response.

func NewHeadscaleServiceListAPIKeysOK

func NewHeadscaleServiceListAPIKeysOK() *HeadscaleServiceListAPIKeysOK

NewHeadscaleServiceListAPIKeysOK creates a HeadscaleServiceListAPIKeysOK with default headers values

func (*HeadscaleServiceListAPIKeysOK) Error

func (*HeadscaleServiceListAPIKeysOK) GetPayload

func (*HeadscaleServiceListAPIKeysOK) IsClientError

func (o *HeadscaleServiceListAPIKeysOK) IsClientError() bool

IsClientError returns true when this headscale service list Api keys o k response has a 4xx status code

func (*HeadscaleServiceListAPIKeysOK) IsCode

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

IsCode returns true when this headscale service list Api keys o k response a status code equal to that given

func (*HeadscaleServiceListAPIKeysOK) IsRedirect

func (o *HeadscaleServiceListAPIKeysOK) IsRedirect() bool

IsRedirect returns true when this headscale service list Api keys o k response has a 3xx status code

func (*HeadscaleServiceListAPIKeysOK) IsServerError

func (o *HeadscaleServiceListAPIKeysOK) IsServerError() bool

IsServerError returns true when this headscale service list Api keys o k response has a 5xx status code

func (*HeadscaleServiceListAPIKeysOK) IsSuccess

func (o *HeadscaleServiceListAPIKeysOK) IsSuccess() bool

IsSuccess returns true when this headscale service list Api keys o k response has a 2xx status code

func (*HeadscaleServiceListAPIKeysOK) String

type HeadscaleServiceListAPIKeysParams

type HeadscaleServiceListAPIKeysParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeadscaleServiceListAPIKeysParams contains all the parameters to send to the API endpoint

for the headscale service list Api keys operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceListAPIKeysParams

func NewHeadscaleServiceListAPIKeysParams() *HeadscaleServiceListAPIKeysParams

NewHeadscaleServiceListAPIKeysParams creates a new HeadscaleServiceListAPIKeysParams 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 NewHeadscaleServiceListAPIKeysParamsWithContext

func NewHeadscaleServiceListAPIKeysParamsWithContext(ctx context.Context) *HeadscaleServiceListAPIKeysParams

NewHeadscaleServiceListAPIKeysParamsWithContext creates a new HeadscaleServiceListAPIKeysParams object with the ability to set a context for a request.

func NewHeadscaleServiceListAPIKeysParamsWithHTTPClient

func NewHeadscaleServiceListAPIKeysParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListAPIKeysParams

NewHeadscaleServiceListAPIKeysParamsWithHTTPClient creates a new HeadscaleServiceListAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceListAPIKeysParamsWithTimeout

func NewHeadscaleServiceListAPIKeysParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListAPIKeysParams

NewHeadscaleServiceListAPIKeysParamsWithTimeout creates a new HeadscaleServiceListAPIKeysParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceListAPIKeysParams) SetContext

SetContext adds the context to the headscale service list Api keys params

func (*HeadscaleServiceListAPIKeysParams) SetDefaults

func (o *HeadscaleServiceListAPIKeysParams) SetDefaults()

SetDefaults hydrates default values in the headscale service list Api keys params (not the query body).

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

func (*HeadscaleServiceListAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service list Api keys params

func (*HeadscaleServiceListAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service list Api keys params

func (*HeadscaleServiceListAPIKeysParams) WithContext

WithContext adds the context to the headscale service list Api keys params

func (*HeadscaleServiceListAPIKeysParams) WithDefaults

WithDefaults hydrates default values in the headscale service list Api keys params (not the query body).

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

func (*HeadscaleServiceListAPIKeysParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service list Api keys params

func (*HeadscaleServiceListAPIKeysParams) WithTimeout

WithTimeout adds the timeout to the headscale service list Api keys params

func (*HeadscaleServiceListAPIKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceListAPIKeysReader

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

HeadscaleServiceListAPIKeysReader is a Reader for the HeadscaleServiceListAPIKeys structure.

func (*HeadscaleServiceListAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceListMachinesDefault

type HeadscaleServiceListMachinesDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceListMachinesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceListMachinesDefault

func NewHeadscaleServiceListMachinesDefault(code int) *HeadscaleServiceListMachinesDefault

NewHeadscaleServiceListMachinesDefault creates a HeadscaleServiceListMachinesDefault with default headers values

func (*HeadscaleServiceListMachinesDefault) Code

Code gets the status code for the headscale service list machines default response

func (*HeadscaleServiceListMachinesDefault) Error

func (*HeadscaleServiceListMachinesDefault) GetPayload

func (*HeadscaleServiceListMachinesDefault) IsClientError

func (o *HeadscaleServiceListMachinesDefault) IsClientError() bool

IsClientError returns true when this headscale service list machines default response has a 4xx status code

func (*HeadscaleServiceListMachinesDefault) IsCode

IsCode returns true when this headscale service list machines default response a status code equal to that given

func (*HeadscaleServiceListMachinesDefault) IsRedirect

func (o *HeadscaleServiceListMachinesDefault) IsRedirect() bool

IsRedirect returns true when this headscale service list machines default response has a 3xx status code

func (*HeadscaleServiceListMachinesDefault) IsServerError

func (o *HeadscaleServiceListMachinesDefault) IsServerError() bool

IsServerError returns true when this headscale service list machines default response has a 5xx status code

func (*HeadscaleServiceListMachinesDefault) IsSuccess

IsSuccess returns true when this headscale service list machines default response has a 2xx status code

func (*HeadscaleServiceListMachinesDefault) String

type HeadscaleServiceListMachinesOK

type HeadscaleServiceListMachinesOK struct {
	Payload *models.V1ListMachinesResponse
}

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

A successful response.

func NewHeadscaleServiceListMachinesOK

func NewHeadscaleServiceListMachinesOK() *HeadscaleServiceListMachinesOK

NewHeadscaleServiceListMachinesOK creates a HeadscaleServiceListMachinesOK with default headers values

func (*HeadscaleServiceListMachinesOK) Error

func (*HeadscaleServiceListMachinesOK) GetPayload

func (*HeadscaleServiceListMachinesOK) IsClientError

func (o *HeadscaleServiceListMachinesOK) IsClientError() bool

IsClientError returns true when this headscale service list machines o k response has a 4xx status code

func (*HeadscaleServiceListMachinesOK) IsCode

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

IsCode returns true when this headscale service list machines o k response a status code equal to that given

func (*HeadscaleServiceListMachinesOK) IsRedirect

func (o *HeadscaleServiceListMachinesOK) IsRedirect() bool

IsRedirect returns true when this headscale service list machines o k response has a 3xx status code

func (*HeadscaleServiceListMachinesOK) IsServerError

func (o *HeadscaleServiceListMachinesOK) IsServerError() bool

IsServerError returns true when this headscale service list machines o k response has a 5xx status code

func (*HeadscaleServiceListMachinesOK) IsSuccess

func (o *HeadscaleServiceListMachinesOK) IsSuccess() bool

IsSuccess returns true when this headscale service list machines o k response has a 2xx status code

func (*HeadscaleServiceListMachinesOK) String

type HeadscaleServiceListMachinesParams

type HeadscaleServiceListMachinesParams struct {

	// User.
	User *string

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

HeadscaleServiceListMachinesParams contains all the parameters to send to the API endpoint

for the headscale service list machines operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceListMachinesParams

func NewHeadscaleServiceListMachinesParams() *HeadscaleServiceListMachinesParams

NewHeadscaleServiceListMachinesParams creates a new HeadscaleServiceListMachinesParams 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 NewHeadscaleServiceListMachinesParamsWithContext

func NewHeadscaleServiceListMachinesParamsWithContext(ctx context.Context) *HeadscaleServiceListMachinesParams

NewHeadscaleServiceListMachinesParamsWithContext creates a new HeadscaleServiceListMachinesParams object with the ability to set a context for a request.

func NewHeadscaleServiceListMachinesParamsWithHTTPClient

func NewHeadscaleServiceListMachinesParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListMachinesParams

NewHeadscaleServiceListMachinesParamsWithHTTPClient creates a new HeadscaleServiceListMachinesParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceListMachinesParamsWithTimeout

func NewHeadscaleServiceListMachinesParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListMachinesParams

NewHeadscaleServiceListMachinesParamsWithTimeout creates a new HeadscaleServiceListMachinesParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceListMachinesParams) SetContext

SetContext adds the context to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) SetDefaults

func (o *HeadscaleServiceListMachinesParams) SetDefaults()

SetDefaults hydrates default values in the headscale service list machines params (not the query body).

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

func (*HeadscaleServiceListMachinesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) SetUser

func (o *HeadscaleServiceListMachinesParams) SetUser(user *string)

SetUser adds the user to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) WithContext

WithContext adds the context to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) WithDefaults

WithDefaults hydrates default values in the headscale service list machines params (not the query body).

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

func (*HeadscaleServiceListMachinesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) WithTimeout

WithTimeout adds the timeout to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) WithUser

WithUser adds the user to the headscale service list machines params

func (*HeadscaleServiceListMachinesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceListMachinesReader

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

HeadscaleServiceListMachinesReader is a Reader for the HeadscaleServiceListMachines structure.

func (*HeadscaleServiceListMachinesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceListPreAuthKeysDefault

type HeadscaleServiceListPreAuthKeysDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceListPreAuthKeysDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceListPreAuthKeysDefault

func NewHeadscaleServiceListPreAuthKeysDefault(code int) *HeadscaleServiceListPreAuthKeysDefault

NewHeadscaleServiceListPreAuthKeysDefault creates a HeadscaleServiceListPreAuthKeysDefault with default headers values

func (*HeadscaleServiceListPreAuthKeysDefault) Code

Code gets the status code for the headscale service list pre auth keys default response

func (*HeadscaleServiceListPreAuthKeysDefault) Error

func (*HeadscaleServiceListPreAuthKeysDefault) GetPayload

func (*HeadscaleServiceListPreAuthKeysDefault) IsClientError

func (o *HeadscaleServiceListPreAuthKeysDefault) IsClientError() bool

IsClientError returns true when this headscale service list pre auth keys default response has a 4xx status code

func (*HeadscaleServiceListPreAuthKeysDefault) IsCode

IsCode returns true when this headscale service list pre auth keys default response a status code equal to that given

func (*HeadscaleServiceListPreAuthKeysDefault) IsRedirect

IsRedirect returns true when this headscale service list pre auth keys default response has a 3xx status code

func (*HeadscaleServiceListPreAuthKeysDefault) IsServerError

func (o *HeadscaleServiceListPreAuthKeysDefault) IsServerError() bool

IsServerError returns true when this headscale service list pre auth keys default response has a 5xx status code

func (*HeadscaleServiceListPreAuthKeysDefault) IsSuccess

IsSuccess returns true when this headscale service list pre auth keys default response has a 2xx status code

func (*HeadscaleServiceListPreAuthKeysDefault) String

type HeadscaleServiceListPreAuthKeysOK

type HeadscaleServiceListPreAuthKeysOK struct {
	Payload *models.V1ListPreAuthKeysResponse
}

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

A successful response.

func NewHeadscaleServiceListPreAuthKeysOK

func NewHeadscaleServiceListPreAuthKeysOK() *HeadscaleServiceListPreAuthKeysOK

NewHeadscaleServiceListPreAuthKeysOK creates a HeadscaleServiceListPreAuthKeysOK with default headers values

func (*HeadscaleServiceListPreAuthKeysOK) Error

func (*HeadscaleServiceListPreAuthKeysOK) GetPayload

func (*HeadscaleServiceListPreAuthKeysOK) IsClientError

func (o *HeadscaleServiceListPreAuthKeysOK) IsClientError() bool

IsClientError returns true when this headscale service list pre auth keys o k response has a 4xx status code

func (*HeadscaleServiceListPreAuthKeysOK) IsCode

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

IsCode returns true when this headscale service list pre auth keys o k response a status code equal to that given

func (*HeadscaleServiceListPreAuthKeysOK) IsRedirect

func (o *HeadscaleServiceListPreAuthKeysOK) IsRedirect() bool

IsRedirect returns true when this headscale service list pre auth keys o k response has a 3xx status code

func (*HeadscaleServiceListPreAuthKeysOK) IsServerError

func (o *HeadscaleServiceListPreAuthKeysOK) IsServerError() bool

IsServerError returns true when this headscale service list pre auth keys o k response has a 5xx status code

func (*HeadscaleServiceListPreAuthKeysOK) IsSuccess

func (o *HeadscaleServiceListPreAuthKeysOK) IsSuccess() bool

IsSuccess returns true when this headscale service list pre auth keys o k response has a 2xx status code

func (*HeadscaleServiceListPreAuthKeysOK) String

type HeadscaleServiceListPreAuthKeysParams

type HeadscaleServiceListPreAuthKeysParams struct {

	// User.
	User *string

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

HeadscaleServiceListPreAuthKeysParams contains all the parameters to send to the API endpoint

for the headscale service list pre auth keys operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceListPreAuthKeysParams

func NewHeadscaleServiceListPreAuthKeysParams() *HeadscaleServiceListPreAuthKeysParams

NewHeadscaleServiceListPreAuthKeysParams creates a new HeadscaleServiceListPreAuthKeysParams 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 NewHeadscaleServiceListPreAuthKeysParamsWithContext

func NewHeadscaleServiceListPreAuthKeysParamsWithContext(ctx context.Context) *HeadscaleServiceListPreAuthKeysParams

NewHeadscaleServiceListPreAuthKeysParamsWithContext creates a new HeadscaleServiceListPreAuthKeysParams object with the ability to set a context for a request.

func NewHeadscaleServiceListPreAuthKeysParamsWithHTTPClient

func NewHeadscaleServiceListPreAuthKeysParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListPreAuthKeysParams

NewHeadscaleServiceListPreAuthKeysParamsWithHTTPClient creates a new HeadscaleServiceListPreAuthKeysParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceListPreAuthKeysParamsWithTimeout

func NewHeadscaleServiceListPreAuthKeysParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListPreAuthKeysParams

NewHeadscaleServiceListPreAuthKeysParamsWithTimeout creates a new HeadscaleServiceListPreAuthKeysParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceListPreAuthKeysParams) SetContext

SetContext adds the context to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) SetDefaults

func (o *HeadscaleServiceListPreAuthKeysParams) SetDefaults()

SetDefaults hydrates default values in the headscale service list pre auth keys params (not the query body).

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

func (*HeadscaleServiceListPreAuthKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) SetUser

SetUser adds the user to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) WithContext

WithContext adds the context to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) WithDefaults

WithDefaults hydrates default values in the headscale service list pre auth keys params (not the query body).

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

func (*HeadscaleServiceListPreAuthKeysParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) WithTimeout

WithTimeout adds the timeout to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) WithUser

WithUser adds the user to the headscale service list pre auth keys params

func (*HeadscaleServiceListPreAuthKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceListPreAuthKeysReader

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

HeadscaleServiceListPreAuthKeysReader is a Reader for the HeadscaleServiceListPreAuthKeys structure.

func (*HeadscaleServiceListPreAuthKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceListUsersDefault

type HeadscaleServiceListUsersDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceListUsersDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceListUsersDefault

func NewHeadscaleServiceListUsersDefault(code int) *HeadscaleServiceListUsersDefault

NewHeadscaleServiceListUsersDefault creates a HeadscaleServiceListUsersDefault with default headers values

func (*HeadscaleServiceListUsersDefault) Code

Code gets the status code for the headscale service list users default response

func (*HeadscaleServiceListUsersDefault) Error

func (*HeadscaleServiceListUsersDefault) GetPayload

func (*HeadscaleServiceListUsersDefault) IsClientError

func (o *HeadscaleServiceListUsersDefault) IsClientError() bool

IsClientError returns true when this headscale service list users default response has a 4xx status code

func (*HeadscaleServiceListUsersDefault) IsCode

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

IsCode returns true when this headscale service list users default response a status code equal to that given

func (*HeadscaleServiceListUsersDefault) IsRedirect

func (o *HeadscaleServiceListUsersDefault) IsRedirect() bool

IsRedirect returns true when this headscale service list users default response has a 3xx status code

func (*HeadscaleServiceListUsersDefault) IsServerError

func (o *HeadscaleServiceListUsersDefault) IsServerError() bool

IsServerError returns true when this headscale service list users default response has a 5xx status code

func (*HeadscaleServiceListUsersDefault) IsSuccess

func (o *HeadscaleServiceListUsersDefault) IsSuccess() bool

IsSuccess returns true when this headscale service list users default response has a 2xx status code

func (*HeadscaleServiceListUsersDefault) String

type HeadscaleServiceListUsersOK

type HeadscaleServiceListUsersOK struct {
	Payload *models.V1ListUsersResponse
}

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

A successful response.

func NewHeadscaleServiceListUsersOK

func NewHeadscaleServiceListUsersOK() *HeadscaleServiceListUsersOK

NewHeadscaleServiceListUsersOK creates a HeadscaleServiceListUsersOK with default headers values

func (*HeadscaleServiceListUsersOK) Error

func (*HeadscaleServiceListUsersOK) GetPayload

func (*HeadscaleServiceListUsersOK) IsClientError

func (o *HeadscaleServiceListUsersOK) IsClientError() bool

IsClientError returns true when this headscale service list users o k response has a 4xx status code

func (*HeadscaleServiceListUsersOK) IsCode

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

IsCode returns true when this headscale service list users o k response a status code equal to that given

func (*HeadscaleServiceListUsersOK) IsRedirect

func (o *HeadscaleServiceListUsersOK) IsRedirect() bool

IsRedirect returns true when this headscale service list users o k response has a 3xx status code

func (*HeadscaleServiceListUsersOK) IsServerError

func (o *HeadscaleServiceListUsersOK) IsServerError() bool

IsServerError returns true when this headscale service list users o k response has a 5xx status code

func (*HeadscaleServiceListUsersOK) IsSuccess

func (o *HeadscaleServiceListUsersOK) IsSuccess() bool

IsSuccess returns true when this headscale service list users o k response has a 2xx status code

func (*HeadscaleServiceListUsersOK) String

func (o *HeadscaleServiceListUsersOK) String() string

type HeadscaleServiceListUsersParams

type HeadscaleServiceListUsersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeadscaleServiceListUsersParams contains all the parameters to send to the API endpoint

for the headscale service list users operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceListUsersParams

func NewHeadscaleServiceListUsersParams() *HeadscaleServiceListUsersParams

NewHeadscaleServiceListUsersParams creates a new HeadscaleServiceListUsersParams 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 NewHeadscaleServiceListUsersParamsWithContext

func NewHeadscaleServiceListUsersParamsWithContext(ctx context.Context) *HeadscaleServiceListUsersParams

NewHeadscaleServiceListUsersParamsWithContext creates a new HeadscaleServiceListUsersParams object with the ability to set a context for a request.

func NewHeadscaleServiceListUsersParamsWithHTTPClient

func NewHeadscaleServiceListUsersParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListUsersParams

NewHeadscaleServiceListUsersParamsWithHTTPClient creates a new HeadscaleServiceListUsersParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceListUsersParamsWithTimeout

func NewHeadscaleServiceListUsersParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListUsersParams

NewHeadscaleServiceListUsersParamsWithTimeout creates a new HeadscaleServiceListUsersParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceListUsersParams) SetContext

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

SetContext adds the context to the headscale service list users params

func (*HeadscaleServiceListUsersParams) SetDefaults

func (o *HeadscaleServiceListUsersParams) SetDefaults()

SetDefaults hydrates default values in the headscale service list users params (not the query body).

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

func (*HeadscaleServiceListUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service list users params

func (*HeadscaleServiceListUsersParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service list users params

func (*HeadscaleServiceListUsersParams) WithContext

WithContext adds the context to the headscale service list users params

func (*HeadscaleServiceListUsersParams) WithDefaults

WithDefaults hydrates default values in the headscale service list users params (not the query body).

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

func (*HeadscaleServiceListUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service list users params

func (*HeadscaleServiceListUsersParams) WithTimeout

WithTimeout adds the timeout to the headscale service list users params

func (*HeadscaleServiceListUsersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceListUsersReader

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

HeadscaleServiceListUsersReader is a Reader for the HeadscaleServiceListUsers structure.

func (*HeadscaleServiceListUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceMoveMachineDefault

type HeadscaleServiceMoveMachineDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceMoveMachineDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceMoveMachineDefault

func NewHeadscaleServiceMoveMachineDefault(code int) *HeadscaleServiceMoveMachineDefault

NewHeadscaleServiceMoveMachineDefault creates a HeadscaleServiceMoveMachineDefault with default headers values

func (*HeadscaleServiceMoveMachineDefault) Code

Code gets the status code for the headscale service move machine default response

func (*HeadscaleServiceMoveMachineDefault) Error

func (*HeadscaleServiceMoveMachineDefault) GetPayload

func (*HeadscaleServiceMoveMachineDefault) IsClientError

func (o *HeadscaleServiceMoveMachineDefault) IsClientError() bool

IsClientError returns true when this headscale service move machine default response has a 4xx status code

func (*HeadscaleServiceMoveMachineDefault) IsCode

IsCode returns true when this headscale service move machine default response a status code equal to that given

func (*HeadscaleServiceMoveMachineDefault) IsRedirect

func (o *HeadscaleServiceMoveMachineDefault) IsRedirect() bool

IsRedirect returns true when this headscale service move machine default response has a 3xx status code

func (*HeadscaleServiceMoveMachineDefault) IsServerError

func (o *HeadscaleServiceMoveMachineDefault) IsServerError() bool

IsServerError returns true when this headscale service move machine default response has a 5xx status code

func (*HeadscaleServiceMoveMachineDefault) IsSuccess

IsSuccess returns true when this headscale service move machine default response has a 2xx status code

func (*HeadscaleServiceMoveMachineDefault) String

type HeadscaleServiceMoveMachineOK

type HeadscaleServiceMoveMachineOK struct {
	Payload *models.V1MoveMachineResponse
}

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

A successful response.

func NewHeadscaleServiceMoveMachineOK

func NewHeadscaleServiceMoveMachineOK() *HeadscaleServiceMoveMachineOK

NewHeadscaleServiceMoveMachineOK creates a HeadscaleServiceMoveMachineOK with default headers values

func (*HeadscaleServiceMoveMachineOK) Error

func (*HeadscaleServiceMoveMachineOK) GetPayload

func (*HeadscaleServiceMoveMachineOK) IsClientError

func (o *HeadscaleServiceMoveMachineOK) IsClientError() bool

IsClientError returns true when this headscale service move machine o k response has a 4xx status code

func (*HeadscaleServiceMoveMachineOK) IsCode

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

IsCode returns true when this headscale service move machine o k response a status code equal to that given

func (*HeadscaleServiceMoveMachineOK) IsRedirect

func (o *HeadscaleServiceMoveMachineOK) IsRedirect() bool

IsRedirect returns true when this headscale service move machine o k response has a 3xx status code

func (*HeadscaleServiceMoveMachineOK) IsServerError

func (o *HeadscaleServiceMoveMachineOK) IsServerError() bool

IsServerError returns true when this headscale service move machine o k response has a 5xx status code

func (*HeadscaleServiceMoveMachineOK) IsSuccess

func (o *HeadscaleServiceMoveMachineOK) IsSuccess() bool

IsSuccess returns true when this headscale service move machine o k response has a 2xx status code

func (*HeadscaleServiceMoveMachineOK) String

type HeadscaleServiceMoveMachineParams

type HeadscaleServiceMoveMachineParams struct {

	// MachineID.
	//
	// Format: uint64
	MachineID string

	// User.
	User *string

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

HeadscaleServiceMoveMachineParams contains all the parameters to send to the API endpoint

for the headscale service move machine operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceMoveMachineParams

func NewHeadscaleServiceMoveMachineParams() *HeadscaleServiceMoveMachineParams

NewHeadscaleServiceMoveMachineParams creates a new HeadscaleServiceMoveMachineParams 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 NewHeadscaleServiceMoveMachineParamsWithContext

func NewHeadscaleServiceMoveMachineParamsWithContext(ctx context.Context) *HeadscaleServiceMoveMachineParams

NewHeadscaleServiceMoveMachineParamsWithContext creates a new HeadscaleServiceMoveMachineParams object with the ability to set a context for a request.

func NewHeadscaleServiceMoveMachineParamsWithHTTPClient

func NewHeadscaleServiceMoveMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceMoveMachineParams

NewHeadscaleServiceMoveMachineParamsWithHTTPClient creates a new HeadscaleServiceMoveMachineParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceMoveMachineParamsWithTimeout

func NewHeadscaleServiceMoveMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceMoveMachineParams

NewHeadscaleServiceMoveMachineParamsWithTimeout creates a new HeadscaleServiceMoveMachineParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceMoveMachineParams) SetContext

SetContext adds the context to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) SetDefaults

func (o *HeadscaleServiceMoveMachineParams) SetDefaults()

SetDefaults hydrates default values in the headscale service move machine params (not the query body).

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

func (*HeadscaleServiceMoveMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) SetMachineID

func (o *HeadscaleServiceMoveMachineParams) SetMachineID(machineID string)

SetMachineID adds the machineId to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) SetUser

func (o *HeadscaleServiceMoveMachineParams) SetUser(user *string)

SetUser adds the user to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) WithContext

WithContext adds the context to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) WithDefaults

WithDefaults hydrates default values in the headscale service move machine params (not the query body).

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

func (*HeadscaleServiceMoveMachineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) WithMachineID

WithMachineID adds the machineID to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) WithTimeout

WithTimeout adds the timeout to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) WithUser

WithUser adds the user to the headscale service move machine params

func (*HeadscaleServiceMoveMachineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceMoveMachineReader

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

HeadscaleServiceMoveMachineReader is a Reader for the HeadscaleServiceMoveMachine structure.

func (*HeadscaleServiceMoveMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceRegisterMachineDefault

type HeadscaleServiceRegisterMachineDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceRegisterMachineDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceRegisterMachineDefault

func NewHeadscaleServiceRegisterMachineDefault(code int) *HeadscaleServiceRegisterMachineDefault

NewHeadscaleServiceRegisterMachineDefault creates a HeadscaleServiceRegisterMachineDefault with default headers values

func (*HeadscaleServiceRegisterMachineDefault) Code

Code gets the status code for the headscale service register machine default response

func (*HeadscaleServiceRegisterMachineDefault) Error

func (*HeadscaleServiceRegisterMachineDefault) GetPayload

func (*HeadscaleServiceRegisterMachineDefault) IsClientError

func (o *HeadscaleServiceRegisterMachineDefault) IsClientError() bool

IsClientError returns true when this headscale service register machine default response has a 4xx status code

func (*HeadscaleServiceRegisterMachineDefault) IsCode

IsCode returns true when this headscale service register machine default response a status code equal to that given

func (*HeadscaleServiceRegisterMachineDefault) IsRedirect

IsRedirect returns true when this headscale service register machine default response has a 3xx status code

func (*HeadscaleServiceRegisterMachineDefault) IsServerError

func (o *HeadscaleServiceRegisterMachineDefault) IsServerError() bool

IsServerError returns true when this headscale service register machine default response has a 5xx status code

func (*HeadscaleServiceRegisterMachineDefault) IsSuccess

IsSuccess returns true when this headscale service register machine default response has a 2xx status code

func (*HeadscaleServiceRegisterMachineDefault) String

type HeadscaleServiceRegisterMachineOK

type HeadscaleServiceRegisterMachineOK struct {
	Payload *models.V1RegisterMachineResponse
}

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

A successful response.

func NewHeadscaleServiceRegisterMachineOK

func NewHeadscaleServiceRegisterMachineOK() *HeadscaleServiceRegisterMachineOK

NewHeadscaleServiceRegisterMachineOK creates a HeadscaleServiceRegisterMachineOK with default headers values

func (*HeadscaleServiceRegisterMachineOK) Error

func (*HeadscaleServiceRegisterMachineOK) GetPayload

func (*HeadscaleServiceRegisterMachineOK) IsClientError

func (o *HeadscaleServiceRegisterMachineOK) IsClientError() bool

IsClientError returns true when this headscale service register machine o k response has a 4xx status code

func (*HeadscaleServiceRegisterMachineOK) IsCode

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

IsCode returns true when this headscale service register machine o k response a status code equal to that given

func (*HeadscaleServiceRegisterMachineOK) IsRedirect

func (o *HeadscaleServiceRegisterMachineOK) IsRedirect() bool

IsRedirect returns true when this headscale service register machine o k response has a 3xx status code

func (*HeadscaleServiceRegisterMachineOK) IsServerError

func (o *HeadscaleServiceRegisterMachineOK) IsServerError() bool

IsServerError returns true when this headscale service register machine o k response has a 5xx status code

func (*HeadscaleServiceRegisterMachineOK) IsSuccess

func (o *HeadscaleServiceRegisterMachineOK) IsSuccess() bool

IsSuccess returns true when this headscale service register machine o k response has a 2xx status code

func (*HeadscaleServiceRegisterMachineOK) String

type HeadscaleServiceRegisterMachineParams

type HeadscaleServiceRegisterMachineParams struct {

	// Key.
	Key *string

	// User.
	User *string

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

HeadscaleServiceRegisterMachineParams contains all the parameters to send to the API endpoint

for the headscale service register machine operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceRegisterMachineParams

func NewHeadscaleServiceRegisterMachineParams() *HeadscaleServiceRegisterMachineParams

NewHeadscaleServiceRegisterMachineParams creates a new HeadscaleServiceRegisterMachineParams 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 NewHeadscaleServiceRegisterMachineParamsWithContext

func NewHeadscaleServiceRegisterMachineParamsWithContext(ctx context.Context) *HeadscaleServiceRegisterMachineParams

NewHeadscaleServiceRegisterMachineParamsWithContext creates a new HeadscaleServiceRegisterMachineParams object with the ability to set a context for a request.

func NewHeadscaleServiceRegisterMachineParamsWithHTTPClient

func NewHeadscaleServiceRegisterMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceRegisterMachineParams

NewHeadscaleServiceRegisterMachineParamsWithHTTPClient creates a new HeadscaleServiceRegisterMachineParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceRegisterMachineParamsWithTimeout

func NewHeadscaleServiceRegisterMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceRegisterMachineParams

NewHeadscaleServiceRegisterMachineParamsWithTimeout creates a new HeadscaleServiceRegisterMachineParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceRegisterMachineParams) SetContext

SetContext adds the context to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) SetDefaults

func (o *HeadscaleServiceRegisterMachineParams) SetDefaults()

SetDefaults hydrates default values in the headscale service register machine params (not the query body).

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

func (*HeadscaleServiceRegisterMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) SetKey

SetKey adds the key to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) SetUser

SetUser adds the user to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) WithContext

WithContext adds the context to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) WithDefaults

WithDefaults hydrates default values in the headscale service register machine params (not the query body).

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

func (*HeadscaleServiceRegisterMachineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) WithKey

WithKey adds the key to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) WithTimeout

WithTimeout adds the timeout to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) WithUser

WithUser adds the user to the headscale service register machine params

func (*HeadscaleServiceRegisterMachineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceRegisterMachineReader

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

HeadscaleServiceRegisterMachineReader is a Reader for the HeadscaleServiceRegisterMachine structure.

func (*HeadscaleServiceRegisterMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceRenameMachineDefault

type HeadscaleServiceRenameMachineDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceRenameMachineDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceRenameMachineDefault

func NewHeadscaleServiceRenameMachineDefault(code int) *HeadscaleServiceRenameMachineDefault

NewHeadscaleServiceRenameMachineDefault creates a HeadscaleServiceRenameMachineDefault with default headers values

func (*HeadscaleServiceRenameMachineDefault) Code

Code gets the status code for the headscale service rename machine default response

func (*HeadscaleServiceRenameMachineDefault) Error

func (*HeadscaleServiceRenameMachineDefault) GetPayload

func (*HeadscaleServiceRenameMachineDefault) IsClientError

func (o *HeadscaleServiceRenameMachineDefault) IsClientError() bool

IsClientError returns true when this headscale service rename machine default response has a 4xx status code

func (*HeadscaleServiceRenameMachineDefault) IsCode

IsCode returns true when this headscale service rename machine default response a status code equal to that given

func (*HeadscaleServiceRenameMachineDefault) IsRedirect

IsRedirect returns true when this headscale service rename machine default response has a 3xx status code

func (*HeadscaleServiceRenameMachineDefault) IsServerError

func (o *HeadscaleServiceRenameMachineDefault) IsServerError() bool

IsServerError returns true when this headscale service rename machine default response has a 5xx status code

func (*HeadscaleServiceRenameMachineDefault) IsSuccess

IsSuccess returns true when this headscale service rename machine default response has a 2xx status code

func (*HeadscaleServiceRenameMachineDefault) String

type HeadscaleServiceRenameMachineOK

type HeadscaleServiceRenameMachineOK struct {
	Payload *models.V1RenameMachineResponse
}

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

A successful response.

func NewHeadscaleServiceRenameMachineOK

func NewHeadscaleServiceRenameMachineOK() *HeadscaleServiceRenameMachineOK

NewHeadscaleServiceRenameMachineOK creates a HeadscaleServiceRenameMachineOK with default headers values

func (*HeadscaleServiceRenameMachineOK) Error

func (*HeadscaleServiceRenameMachineOK) GetPayload

func (*HeadscaleServiceRenameMachineOK) IsClientError

func (o *HeadscaleServiceRenameMachineOK) IsClientError() bool

IsClientError returns true when this headscale service rename machine o k response has a 4xx status code

func (*HeadscaleServiceRenameMachineOK) IsCode

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

IsCode returns true when this headscale service rename machine o k response a status code equal to that given

func (*HeadscaleServiceRenameMachineOK) IsRedirect

func (o *HeadscaleServiceRenameMachineOK) IsRedirect() bool

IsRedirect returns true when this headscale service rename machine o k response has a 3xx status code

func (*HeadscaleServiceRenameMachineOK) IsServerError

func (o *HeadscaleServiceRenameMachineOK) IsServerError() bool

IsServerError returns true when this headscale service rename machine o k response has a 5xx status code

func (*HeadscaleServiceRenameMachineOK) IsSuccess

func (o *HeadscaleServiceRenameMachineOK) IsSuccess() bool

IsSuccess returns true when this headscale service rename machine o k response has a 2xx status code

func (*HeadscaleServiceRenameMachineOK) String

type HeadscaleServiceRenameMachineParams

type HeadscaleServiceRenameMachineParams struct {

	// MachineID.
	//
	// Format: uint64
	MachineID string

	// NewName.
	NewName string

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

HeadscaleServiceRenameMachineParams contains all the parameters to send to the API endpoint

for the headscale service rename machine operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceRenameMachineParams

func NewHeadscaleServiceRenameMachineParams() *HeadscaleServiceRenameMachineParams

NewHeadscaleServiceRenameMachineParams creates a new HeadscaleServiceRenameMachineParams 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 NewHeadscaleServiceRenameMachineParamsWithContext

func NewHeadscaleServiceRenameMachineParamsWithContext(ctx context.Context) *HeadscaleServiceRenameMachineParams

NewHeadscaleServiceRenameMachineParamsWithContext creates a new HeadscaleServiceRenameMachineParams object with the ability to set a context for a request.

func NewHeadscaleServiceRenameMachineParamsWithHTTPClient

func NewHeadscaleServiceRenameMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceRenameMachineParams

NewHeadscaleServiceRenameMachineParamsWithHTTPClient creates a new HeadscaleServiceRenameMachineParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceRenameMachineParamsWithTimeout

func NewHeadscaleServiceRenameMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceRenameMachineParams

NewHeadscaleServiceRenameMachineParamsWithTimeout creates a new HeadscaleServiceRenameMachineParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceRenameMachineParams) SetContext

SetContext adds the context to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) SetDefaults

func (o *HeadscaleServiceRenameMachineParams) SetDefaults()

SetDefaults hydrates default values in the headscale service rename machine params (not the query body).

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

func (*HeadscaleServiceRenameMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) SetMachineID

func (o *HeadscaleServiceRenameMachineParams) SetMachineID(machineID string)

SetMachineID adds the machineId to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) SetNewName

func (o *HeadscaleServiceRenameMachineParams) SetNewName(newName string)

SetNewName adds the newName to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) WithContext

WithContext adds the context to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) WithDefaults

WithDefaults hydrates default values in the headscale service rename machine params (not the query body).

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

func (*HeadscaleServiceRenameMachineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) WithMachineID

WithMachineID adds the machineID to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) WithNewName

WithNewName adds the newName to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) WithTimeout

WithTimeout adds the timeout to the headscale service rename machine params

func (*HeadscaleServiceRenameMachineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceRenameMachineReader

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

HeadscaleServiceRenameMachineReader is a Reader for the HeadscaleServiceRenameMachine structure.

func (*HeadscaleServiceRenameMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceRenameUserDefault

type HeadscaleServiceRenameUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceRenameUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceRenameUserDefault

func NewHeadscaleServiceRenameUserDefault(code int) *HeadscaleServiceRenameUserDefault

NewHeadscaleServiceRenameUserDefault creates a HeadscaleServiceRenameUserDefault with default headers values

func (*HeadscaleServiceRenameUserDefault) Code

Code gets the status code for the headscale service rename user default response

func (*HeadscaleServiceRenameUserDefault) Error

func (*HeadscaleServiceRenameUserDefault) GetPayload

func (*HeadscaleServiceRenameUserDefault) IsClientError

func (o *HeadscaleServiceRenameUserDefault) IsClientError() bool

IsClientError returns true when this headscale service rename user default response has a 4xx status code

func (*HeadscaleServiceRenameUserDefault) IsCode

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

IsCode returns true when this headscale service rename user default response a status code equal to that given

func (*HeadscaleServiceRenameUserDefault) IsRedirect

func (o *HeadscaleServiceRenameUserDefault) IsRedirect() bool

IsRedirect returns true when this headscale service rename user default response has a 3xx status code

func (*HeadscaleServiceRenameUserDefault) IsServerError

func (o *HeadscaleServiceRenameUserDefault) IsServerError() bool

IsServerError returns true when this headscale service rename user default response has a 5xx status code

func (*HeadscaleServiceRenameUserDefault) IsSuccess

func (o *HeadscaleServiceRenameUserDefault) IsSuccess() bool

IsSuccess returns true when this headscale service rename user default response has a 2xx status code

func (*HeadscaleServiceRenameUserDefault) String

type HeadscaleServiceRenameUserOK

type HeadscaleServiceRenameUserOK struct {
	Payload *models.V1RenameUserResponse
}

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

A successful response.

func NewHeadscaleServiceRenameUserOK

func NewHeadscaleServiceRenameUserOK() *HeadscaleServiceRenameUserOK

NewHeadscaleServiceRenameUserOK creates a HeadscaleServiceRenameUserOK with default headers values

func (*HeadscaleServiceRenameUserOK) Error

func (*HeadscaleServiceRenameUserOK) GetPayload

func (*HeadscaleServiceRenameUserOK) IsClientError

func (o *HeadscaleServiceRenameUserOK) IsClientError() bool

IsClientError returns true when this headscale service rename user o k response has a 4xx status code

func (*HeadscaleServiceRenameUserOK) IsCode

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

IsCode returns true when this headscale service rename user o k response a status code equal to that given

func (*HeadscaleServiceRenameUserOK) IsRedirect

func (o *HeadscaleServiceRenameUserOK) IsRedirect() bool

IsRedirect returns true when this headscale service rename user o k response has a 3xx status code

func (*HeadscaleServiceRenameUserOK) IsServerError

func (o *HeadscaleServiceRenameUserOK) IsServerError() bool

IsServerError returns true when this headscale service rename user o k response has a 5xx status code

func (*HeadscaleServiceRenameUserOK) IsSuccess

func (o *HeadscaleServiceRenameUserOK) IsSuccess() bool

IsSuccess returns true when this headscale service rename user o k response has a 2xx status code

func (*HeadscaleServiceRenameUserOK) String

type HeadscaleServiceRenameUserParams

type HeadscaleServiceRenameUserParams struct {

	// NewName.
	NewName string

	// OldName.
	OldName string

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

HeadscaleServiceRenameUserParams contains all the parameters to send to the API endpoint

for the headscale service rename user operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceRenameUserParams

func NewHeadscaleServiceRenameUserParams() *HeadscaleServiceRenameUserParams

NewHeadscaleServiceRenameUserParams creates a new HeadscaleServiceRenameUserParams 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 NewHeadscaleServiceRenameUserParamsWithContext

func NewHeadscaleServiceRenameUserParamsWithContext(ctx context.Context) *HeadscaleServiceRenameUserParams

NewHeadscaleServiceRenameUserParamsWithContext creates a new HeadscaleServiceRenameUserParams object with the ability to set a context for a request.

func NewHeadscaleServiceRenameUserParamsWithHTTPClient

func NewHeadscaleServiceRenameUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceRenameUserParams

NewHeadscaleServiceRenameUserParamsWithHTTPClient creates a new HeadscaleServiceRenameUserParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceRenameUserParamsWithTimeout

func NewHeadscaleServiceRenameUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceRenameUserParams

NewHeadscaleServiceRenameUserParamsWithTimeout creates a new HeadscaleServiceRenameUserParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceRenameUserParams) SetContext

SetContext adds the context to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) SetDefaults

func (o *HeadscaleServiceRenameUserParams) SetDefaults()

SetDefaults hydrates default values in the headscale service rename user params (not the query body).

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

func (*HeadscaleServiceRenameUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) SetNewName

func (o *HeadscaleServiceRenameUserParams) SetNewName(newName string)

SetNewName adds the newName to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) SetOldName

func (o *HeadscaleServiceRenameUserParams) SetOldName(oldName string)

SetOldName adds the oldName to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) WithContext

WithContext adds the context to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) WithDefaults

WithDefaults hydrates default values in the headscale service rename user params (not the query body).

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

func (*HeadscaleServiceRenameUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) WithNewName

WithNewName adds the newName to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) WithOldName

WithOldName adds the oldName to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) WithTimeout

WithTimeout adds the timeout to the headscale service rename user params

func (*HeadscaleServiceRenameUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceRenameUserReader

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

HeadscaleServiceRenameUserReader is a Reader for the HeadscaleServiceRenameUser structure.

func (*HeadscaleServiceRenameUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HeadscaleServiceSetTagsBody

type HeadscaleServiceSetTagsBody struct {

	// tags
	Tags []string `json:"tags"`
}

HeadscaleServiceSetTagsBody headscale service set tags body swagger:model HeadscaleServiceSetTagsBody

func (*HeadscaleServiceSetTagsBody) ContextValidate

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

ContextValidate validates this headscale service set tags body based on context it is used

func (*HeadscaleServiceSetTagsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*HeadscaleServiceSetTagsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HeadscaleServiceSetTagsBody) Validate

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

Validate validates this headscale service set tags body

type HeadscaleServiceSetTagsDefault

type HeadscaleServiceSetTagsDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

HeadscaleServiceSetTagsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewHeadscaleServiceSetTagsDefault

func NewHeadscaleServiceSetTagsDefault(code int) *HeadscaleServiceSetTagsDefault

NewHeadscaleServiceSetTagsDefault creates a HeadscaleServiceSetTagsDefault with default headers values

func (*HeadscaleServiceSetTagsDefault) Code

Code gets the status code for the headscale service set tags default response

func (*HeadscaleServiceSetTagsDefault) Error

func (*HeadscaleServiceSetTagsDefault) GetPayload

func (*HeadscaleServiceSetTagsDefault) IsClientError

func (o *HeadscaleServiceSetTagsDefault) IsClientError() bool

IsClientError returns true when this headscale service set tags default response has a 4xx status code

func (*HeadscaleServiceSetTagsDefault) IsCode

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

IsCode returns true when this headscale service set tags default response a status code equal to that given

func (*HeadscaleServiceSetTagsDefault) IsRedirect

func (o *HeadscaleServiceSetTagsDefault) IsRedirect() bool

IsRedirect returns true when this headscale service set tags default response has a 3xx status code

func (*HeadscaleServiceSetTagsDefault) IsServerError

func (o *HeadscaleServiceSetTagsDefault) IsServerError() bool

IsServerError returns true when this headscale service set tags default response has a 5xx status code

func (*HeadscaleServiceSetTagsDefault) IsSuccess

func (o *HeadscaleServiceSetTagsDefault) IsSuccess() bool

IsSuccess returns true when this headscale service set tags default response has a 2xx status code

func (*HeadscaleServiceSetTagsDefault) String

type HeadscaleServiceSetTagsOK

type HeadscaleServiceSetTagsOK struct {
	Payload *models.V1SetTagsResponse
}

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

A successful response.

func NewHeadscaleServiceSetTagsOK

func NewHeadscaleServiceSetTagsOK() *HeadscaleServiceSetTagsOK

NewHeadscaleServiceSetTagsOK creates a HeadscaleServiceSetTagsOK with default headers values

func (*HeadscaleServiceSetTagsOK) Error

func (o *HeadscaleServiceSetTagsOK) Error() string

func (*HeadscaleServiceSetTagsOK) GetPayload

func (*HeadscaleServiceSetTagsOK) IsClientError

func (o *HeadscaleServiceSetTagsOK) IsClientError() bool

IsClientError returns true when this headscale service set tags o k response has a 4xx status code

func (*HeadscaleServiceSetTagsOK) IsCode

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

IsCode returns true when this headscale service set tags o k response a status code equal to that given

func (*HeadscaleServiceSetTagsOK) IsRedirect

func (o *HeadscaleServiceSetTagsOK) IsRedirect() bool

IsRedirect returns true when this headscale service set tags o k response has a 3xx status code

func (*HeadscaleServiceSetTagsOK) IsServerError

func (o *HeadscaleServiceSetTagsOK) IsServerError() bool

IsServerError returns true when this headscale service set tags o k response has a 5xx status code

func (*HeadscaleServiceSetTagsOK) IsSuccess

func (o *HeadscaleServiceSetTagsOK) IsSuccess() bool

IsSuccess returns true when this headscale service set tags o k response has a 2xx status code

func (*HeadscaleServiceSetTagsOK) String

func (o *HeadscaleServiceSetTagsOK) String() string

type HeadscaleServiceSetTagsParams

type HeadscaleServiceSetTagsParams struct {

	// Body.
	Body HeadscaleServiceSetTagsBody

	// MachineID.
	//
	// Format: uint64
	MachineID string

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

HeadscaleServiceSetTagsParams contains all the parameters to send to the API endpoint

for the headscale service set tags operation.

Typically these are written to a http.Request.

func NewHeadscaleServiceSetTagsParams

func NewHeadscaleServiceSetTagsParams() *HeadscaleServiceSetTagsParams

NewHeadscaleServiceSetTagsParams creates a new HeadscaleServiceSetTagsParams 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 NewHeadscaleServiceSetTagsParamsWithContext

func NewHeadscaleServiceSetTagsParamsWithContext(ctx context.Context) *HeadscaleServiceSetTagsParams

NewHeadscaleServiceSetTagsParamsWithContext creates a new HeadscaleServiceSetTagsParams object with the ability to set a context for a request.

func NewHeadscaleServiceSetTagsParamsWithHTTPClient

func NewHeadscaleServiceSetTagsParamsWithHTTPClient(client *http.Client) *HeadscaleServiceSetTagsParams

NewHeadscaleServiceSetTagsParamsWithHTTPClient creates a new HeadscaleServiceSetTagsParams object with the ability to set a custom HTTPClient for a request.

func NewHeadscaleServiceSetTagsParamsWithTimeout

func NewHeadscaleServiceSetTagsParamsWithTimeout(timeout time.Duration) *HeadscaleServiceSetTagsParams

NewHeadscaleServiceSetTagsParamsWithTimeout creates a new HeadscaleServiceSetTagsParams object with the ability to set a timeout on a request.

func (*HeadscaleServiceSetTagsParams) SetBody

SetBody adds the body to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) SetContext

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

SetContext adds the context to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) SetDefaults

func (o *HeadscaleServiceSetTagsParams) SetDefaults()

SetDefaults hydrates default values in the headscale service set tags params (not the query body).

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

func (*HeadscaleServiceSetTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) SetMachineID

func (o *HeadscaleServiceSetTagsParams) SetMachineID(machineID string)

SetMachineID adds the machineId to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) SetTimeout

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

SetTimeout adds the timeout to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) WithBody

WithBody adds the body to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) WithContext

WithContext adds the context to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) WithDefaults

WithDefaults hydrates default values in the headscale service set tags params (not the query body).

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

func (*HeadscaleServiceSetTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) WithMachineID

WithMachineID adds the machineID to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) WithTimeout

WithTimeout adds the timeout to the headscale service set tags params

func (*HeadscaleServiceSetTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeadscaleServiceSetTagsReader

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

HeadscaleServiceSetTagsReader is a Reader for the HeadscaleServiceSetTags structure.

func (*HeadscaleServiceSetTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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