Documentation ¶
Index ¶
- type Client
- func (a *Client) HeadscaleServiceCreateAPIKey(params *HeadscaleServiceCreateAPIKeyParams, opts ...ClientOption) (*HeadscaleServiceCreateAPIKeyOK, error)
- func (a *Client) HeadscaleServiceCreatePreAuthKey(params *HeadscaleServiceCreatePreAuthKeyParams, opts ...ClientOption) (*HeadscaleServiceCreatePreAuthKeyOK, error)
- func (a *Client) HeadscaleServiceCreateUser(params *HeadscaleServiceCreateUserParams, opts ...ClientOption) (*HeadscaleServiceCreateUserOK, error)
- func (a *Client) HeadscaleServiceDebugCreateMachine(params *HeadscaleServiceDebugCreateMachineParams, opts ...ClientOption) (*HeadscaleServiceDebugCreateMachineOK, error)
- func (a *Client) HeadscaleServiceDeleteMachine(params *HeadscaleServiceDeleteMachineParams, opts ...ClientOption) (*HeadscaleServiceDeleteMachineOK, error)
- func (a *Client) HeadscaleServiceDeleteRoute(params *HeadscaleServiceDeleteRouteParams, opts ...ClientOption) (*HeadscaleServiceDeleteRouteOK, error)
- func (a *Client) HeadscaleServiceDeleteUser(params *HeadscaleServiceDeleteUserParams, opts ...ClientOption) (*HeadscaleServiceDeleteUserOK, error)
- func (a *Client) HeadscaleServiceDisableRoute(params *HeadscaleServiceDisableRouteParams, opts ...ClientOption) (*HeadscaleServiceDisableRouteOK, error)
- func (a *Client) HeadscaleServiceEnableRoute(params *HeadscaleServiceEnableRouteParams, opts ...ClientOption) (*HeadscaleServiceEnableRouteOK, error)
- func (a *Client) HeadscaleServiceExpireAPIKey(params *HeadscaleServiceExpireAPIKeyParams, opts ...ClientOption) (*HeadscaleServiceExpireAPIKeyOK, error)
- func (a *Client) HeadscaleServiceExpireMachine(params *HeadscaleServiceExpireMachineParams, opts ...ClientOption) (*HeadscaleServiceExpireMachineOK, error)
- func (a *Client) HeadscaleServiceExpirePreAuthKey(params *HeadscaleServiceExpirePreAuthKeyParams, opts ...ClientOption) (*HeadscaleServiceExpirePreAuthKeyOK, error)
- func (a *Client) HeadscaleServiceGetMachine(params *HeadscaleServiceGetMachineParams, opts ...ClientOption) (*HeadscaleServiceGetMachineOK, error)
- func (a *Client) HeadscaleServiceGetMachineRoutes(params *HeadscaleServiceGetMachineRoutesParams, opts ...ClientOption) (*HeadscaleServiceGetMachineRoutesOK, error)
- func (a *Client) HeadscaleServiceGetRoutes(params *HeadscaleServiceGetRoutesParams, opts ...ClientOption) (*HeadscaleServiceGetRoutesOK, error)
- func (a *Client) HeadscaleServiceGetUser(params *HeadscaleServiceGetUserParams, opts ...ClientOption) (*HeadscaleServiceGetUserOK, error)
- func (a *Client) HeadscaleServiceListAPIKeys(params *HeadscaleServiceListAPIKeysParams, opts ...ClientOption) (*HeadscaleServiceListAPIKeysOK, error)
- func (a *Client) HeadscaleServiceListMachines(params *HeadscaleServiceListMachinesParams, opts ...ClientOption) (*HeadscaleServiceListMachinesOK, error)
- func (a *Client) HeadscaleServiceListPreAuthKeys(params *HeadscaleServiceListPreAuthKeysParams, opts ...ClientOption) (*HeadscaleServiceListPreAuthKeysOK, error)
- func (a *Client) HeadscaleServiceListUsers(params *HeadscaleServiceListUsersParams, opts ...ClientOption) (*HeadscaleServiceListUsersOK, error)
- func (a *Client) HeadscaleServiceMoveMachine(params *HeadscaleServiceMoveMachineParams, opts ...ClientOption) (*HeadscaleServiceMoveMachineOK, error)
- func (a *Client) HeadscaleServiceRegisterMachine(params *HeadscaleServiceRegisterMachineParams, opts ...ClientOption) (*HeadscaleServiceRegisterMachineOK, error)
- func (a *Client) HeadscaleServiceRenameMachine(params *HeadscaleServiceRenameMachineParams, opts ...ClientOption) (*HeadscaleServiceRenameMachineOK, error)
- func (a *Client) HeadscaleServiceRenameUser(params *HeadscaleServiceRenameUserParams, opts ...ClientOption) (*HeadscaleServiceRenameUserOK, error)
- func (a *Client) HeadscaleServiceSetTags(params *HeadscaleServiceSetTagsParams, opts ...ClientOption) (*HeadscaleServiceSetTagsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type HeadscaleServiceCreateAPIKeyDefault
- func (o *HeadscaleServiceCreateAPIKeyDefault) Code() int
- func (o *HeadscaleServiceCreateAPIKeyDefault) Error() string
- func (o *HeadscaleServiceCreateAPIKeyDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceCreateAPIKeyDefault) IsClientError() bool
- func (o *HeadscaleServiceCreateAPIKeyDefault) IsCode(code int) bool
- func (o *HeadscaleServiceCreateAPIKeyDefault) IsRedirect() bool
- func (o *HeadscaleServiceCreateAPIKeyDefault) IsServerError() bool
- func (o *HeadscaleServiceCreateAPIKeyDefault) IsSuccess() bool
- func (o *HeadscaleServiceCreateAPIKeyDefault) String() string
- type HeadscaleServiceCreateAPIKeyOK
- func (o *HeadscaleServiceCreateAPIKeyOK) Error() string
- func (o *HeadscaleServiceCreateAPIKeyOK) GetPayload() *models.V1CreateAPIKeyResponse
- func (o *HeadscaleServiceCreateAPIKeyOK) IsClientError() bool
- func (o *HeadscaleServiceCreateAPIKeyOK) IsCode(code int) bool
- func (o *HeadscaleServiceCreateAPIKeyOK) IsRedirect() bool
- func (o *HeadscaleServiceCreateAPIKeyOK) IsServerError() bool
- func (o *HeadscaleServiceCreateAPIKeyOK) IsSuccess() bool
- func (o *HeadscaleServiceCreateAPIKeyOK) String() string
- type HeadscaleServiceCreateAPIKeyParams
- func NewHeadscaleServiceCreateAPIKeyParams() *HeadscaleServiceCreateAPIKeyParams
- func NewHeadscaleServiceCreateAPIKeyParamsWithContext(ctx context.Context) *HeadscaleServiceCreateAPIKeyParams
- func NewHeadscaleServiceCreateAPIKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceCreateAPIKeyParams
- func NewHeadscaleServiceCreateAPIKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceCreateAPIKeyParams
- func (o *HeadscaleServiceCreateAPIKeyParams) SetBody(body *models.V1CreateAPIKeyRequest)
- func (o *HeadscaleServiceCreateAPIKeyParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceCreateAPIKeyParams) SetDefaults()
- func (o *HeadscaleServiceCreateAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceCreateAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceCreateAPIKeyParams) WithBody(body *models.V1CreateAPIKeyRequest) *HeadscaleServiceCreateAPIKeyParams
- func (o *HeadscaleServiceCreateAPIKeyParams) WithContext(ctx context.Context) *HeadscaleServiceCreateAPIKeyParams
- func (o *HeadscaleServiceCreateAPIKeyParams) WithDefaults() *HeadscaleServiceCreateAPIKeyParams
- func (o *HeadscaleServiceCreateAPIKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceCreateAPIKeyParams
- func (o *HeadscaleServiceCreateAPIKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceCreateAPIKeyParams
- func (o *HeadscaleServiceCreateAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceCreateAPIKeyReader
- type HeadscaleServiceCreatePreAuthKeyDefault
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) Code() int
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) Error() string
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsClientError() bool
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsCode(code int) bool
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsRedirect() bool
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsServerError() bool
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsSuccess() bool
- func (o *HeadscaleServiceCreatePreAuthKeyDefault) String() string
- type HeadscaleServiceCreatePreAuthKeyOK
- func (o *HeadscaleServiceCreatePreAuthKeyOK) Error() string
- func (o *HeadscaleServiceCreatePreAuthKeyOK) GetPayload() *models.V1CreatePreAuthKeyResponse
- func (o *HeadscaleServiceCreatePreAuthKeyOK) IsClientError() bool
- func (o *HeadscaleServiceCreatePreAuthKeyOK) IsCode(code int) bool
- func (o *HeadscaleServiceCreatePreAuthKeyOK) IsRedirect() bool
- func (o *HeadscaleServiceCreatePreAuthKeyOK) IsServerError() bool
- func (o *HeadscaleServiceCreatePreAuthKeyOK) IsSuccess() bool
- func (o *HeadscaleServiceCreatePreAuthKeyOK) String() string
- type HeadscaleServiceCreatePreAuthKeyParams
- func NewHeadscaleServiceCreatePreAuthKeyParams() *HeadscaleServiceCreatePreAuthKeyParams
- func NewHeadscaleServiceCreatePreAuthKeyParamsWithContext(ctx context.Context) *HeadscaleServiceCreatePreAuthKeyParams
- func NewHeadscaleServiceCreatePreAuthKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceCreatePreAuthKeyParams
- func NewHeadscaleServiceCreatePreAuthKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceCreatePreAuthKeyParams
- func (o *HeadscaleServiceCreatePreAuthKeyParams) SetBody(body *models.V1CreatePreAuthKeyRequest)
- func (o *HeadscaleServiceCreatePreAuthKeyParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceCreatePreAuthKeyParams) SetDefaults()
- func (o *HeadscaleServiceCreatePreAuthKeyParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceCreatePreAuthKeyParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceCreatePreAuthKeyParams) WithBody(body *models.V1CreatePreAuthKeyRequest) *HeadscaleServiceCreatePreAuthKeyParams
- func (o *HeadscaleServiceCreatePreAuthKeyParams) WithContext(ctx context.Context) *HeadscaleServiceCreatePreAuthKeyParams
- func (o *HeadscaleServiceCreatePreAuthKeyParams) WithDefaults() *HeadscaleServiceCreatePreAuthKeyParams
- func (o *HeadscaleServiceCreatePreAuthKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceCreatePreAuthKeyParams
- func (o *HeadscaleServiceCreatePreAuthKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceCreatePreAuthKeyParams
- func (o *HeadscaleServiceCreatePreAuthKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceCreatePreAuthKeyReader
- type HeadscaleServiceCreateUserDefault
- func (o *HeadscaleServiceCreateUserDefault) Code() int
- func (o *HeadscaleServiceCreateUserDefault) Error() string
- func (o *HeadscaleServiceCreateUserDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceCreateUserDefault) IsClientError() bool
- func (o *HeadscaleServiceCreateUserDefault) IsCode(code int) bool
- func (o *HeadscaleServiceCreateUserDefault) IsRedirect() bool
- func (o *HeadscaleServiceCreateUserDefault) IsServerError() bool
- func (o *HeadscaleServiceCreateUserDefault) IsSuccess() bool
- func (o *HeadscaleServiceCreateUserDefault) String() string
- type HeadscaleServiceCreateUserOK
- func (o *HeadscaleServiceCreateUserOK) Error() string
- func (o *HeadscaleServiceCreateUserOK) GetPayload() *models.V1CreateUserResponse
- func (o *HeadscaleServiceCreateUserOK) IsClientError() bool
- func (o *HeadscaleServiceCreateUserOK) IsCode(code int) bool
- func (o *HeadscaleServiceCreateUserOK) IsRedirect() bool
- func (o *HeadscaleServiceCreateUserOK) IsServerError() bool
- func (o *HeadscaleServiceCreateUserOK) IsSuccess() bool
- func (o *HeadscaleServiceCreateUserOK) String() string
- type HeadscaleServiceCreateUserParams
- func NewHeadscaleServiceCreateUserParams() *HeadscaleServiceCreateUserParams
- func NewHeadscaleServiceCreateUserParamsWithContext(ctx context.Context) *HeadscaleServiceCreateUserParams
- func NewHeadscaleServiceCreateUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceCreateUserParams
- func NewHeadscaleServiceCreateUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceCreateUserParams
- func (o *HeadscaleServiceCreateUserParams) SetBody(body *models.V1CreateUserRequest)
- func (o *HeadscaleServiceCreateUserParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceCreateUserParams) SetDefaults()
- func (o *HeadscaleServiceCreateUserParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceCreateUserParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceCreateUserParams) WithBody(body *models.V1CreateUserRequest) *HeadscaleServiceCreateUserParams
- func (o *HeadscaleServiceCreateUserParams) WithContext(ctx context.Context) *HeadscaleServiceCreateUserParams
- func (o *HeadscaleServiceCreateUserParams) WithDefaults() *HeadscaleServiceCreateUserParams
- func (o *HeadscaleServiceCreateUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceCreateUserParams
- func (o *HeadscaleServiceCreateUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceCreateUserParams
- func (o *HeadscaleServiceCreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceCreateUserReader
- type HeadscaleServiceDebugCreateMachineDefault
- func (o *HeadscaleServiceDebugCreateMachineDefault) Code() int
- func (o *HeadscaleServiceDebugCreateMachineDefault) Error() string
- func (o *HeadscaleServiceDebugCreateMachineDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceDebugCreateMachineDefault) IsClientError() bool
- func (o *HeadscaleServiceDebugCreateMachineDefault) IsCode(code int) bool
- func (o *HeadscaleServiceDebugCreateMachineDefault) IsRedirect() bool
- func (o *HeadscaleServiceDebugCreateMachineDefault) IsServerError() bool
- func (o *HeadscaleServiceDebugCreateMachineDefault) IsSuccess() bool
- func (o *HeadscaleServiceDebugCreateMachineDefault) String() string
- type HeadscaleServiceDebugCreateMachineOK
- func (o *HeadscaleServiceDebugCreateMachineOK) Error() string
- func (o *HeadscaleServiceDebugCreateMachineOK) GetPayload() *models.V1DebugCreateMachineResponse
- func (o *HeadscaleServiceDebugCreateMachineOK) IsClientError() bool
- func (o *HeadscaleServiceDebugCreateMachineOK) IsCode(code int) bool
- func (o *HeadscaleServiceDebugCreateMachineOK) IsRedirect() bool
- func (o *HeadscaleServiceDebugCreateMachineOK) IsServerError() bool
- func (o *HeadscaleServiceDebugCreateMachineOK) IsSuccess() bool
- func (o *HeadscaleServiceDebugCreateMachineOK) String() string
- type HeadscaleServiceDebugCreateMachineParams
- func NewHeadscaleServiceDebugCreateMachineParams() *HeadscaleServiceDebugCreateMachineParams
- func NewHeadscaleServiceDebugCreateMachineParamsWithContext(ctx context.Context) *HeadscaleServiceDebugCreateMachineParams
- func NewHeadscaleServiceDebugCreateMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDebugCreateMachineParams
- func NewHeadscaleServiceDebugCreateMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDebugCreateMachineParams
- func (o *HeadscaleServiceDebugCreateMachineParams) SetBody(body *models.V1DebugCreateMachineRequest)
- func (o *HeadscaleServiceDebugCreateMachineParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceDebugCreateMachineParams) SetDefaults()
- func (o *HeadscaleServiceDebugCreateMachineParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceDebugCreateMachineParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceDebugCreateMachineParams) WithBody(body *models.V1DebugCreateMachineRequest) *HeadscaleServiceDebugCreateMachineParams
- func (o *HeadscaleServiceDebugCreateMachineParams) WithContext(ctx context.Context) *HeadscaleServiceDebugCreateMachineParams
- func (o *HeadscaleServiceDebugCreateMachineParams) WithDefaults() *HeadscaleServiceDebugCreateMachineParams
- func (o *HeadscaleServiceDebugCreateMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDebugCreateMachineParams
- func (o *HeadscaleServiceDebugCreateMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDebugCreateMachineParams
- func (o *HeadscaleServiceDebugCreateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceDebugCreateMachineReader
- type HeadscaleServiceDeleteMachineDefault
- func (o *HeadscaleServiceDeleteMachineDefault) Code() int
- func (o *HeadscaleServiceDeleteMachineDefault) Error() string
- func (o *HeadscaleServiceDeleteMachineDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceDeleteMachineDefault) IsClientError() bool
- func (o *HeadscaleServiceDeleteMachineDefault) IsCode(code int) bool
- func (o *HeadscaleServiceDeleteMachineDefault) IsRedirect() bool
- func (o *HeadscaleServiceDeleteMachineDefault) IsServerError() bool
- func (o *HeadscaleServiceDeleteMachineDefault) IsSuccess() bool
- func (o *HeadscaleServiceDeleteMachineDefault) String() string
- type HeadscaleServiceDeleteMachineOK
- func (o *HeadscaleServiceDeleteMachineOK) Error() string
- func (o *HeadscaleServiceDeleteMachineOK) GetPayload() models.V1DeleteMachineResponse
- func (o *HeadscaleServiceDeleteMachineOK) IsClientError() bool
- func (o *HeadscaleServiceDeleteMachineOK) IsCode(code int) bool
- func (o *HeadscaleServiceDeleteMachineOK) IsRedirect() bool
- func (o *HeadscaleServiceDeleteMachineOK) IsServerError() bool
- func (o *HeadscaleServiceDeleteMachineOK) IsSuccess() bool
- func (o *HeadscaleServiceDeleteMachineOK) String() string
- type HeadscaleServiceDeleteMachineParams
- func NewHeadscaleServiceDeleteMachineParams() *HeadscaleServiceDeleteMachineParams
- func NewHeadscaleServiceDeleteMachineParamsWithContext(ctx context.Context) *HeadscaleServiceDeleteMachineParams
- func NewHeadscaleServiceDeleteMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDeleteMachineParams
- func NewHeadscaleServiceDeleteMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDeleteMachineParams
- func (o *HeadscaleServiceDeleteMachineParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceDeleteMachineParams) SetDefaults()
- func (o *HeadscaleServiceDeleteMachineParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceDeleteMachineParams) SetMachineID(machineID string)
- func (o *HeadscaleServiceDeleteMachineParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceDeleteMachineParams) WithContext(ctx context.Context) *HeadscaleServiceDeleteMachineParams
- func (o *HeadscaleServiceDeleteMachineParams) WithDefaults() *HeadscaleServiceDeleteMachineParams
- func (o *HeadscaleServiceDeleteMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDeleteMachineParams
- func (o *HeadscaleServiceDeleteMachineParams) WithMachineID(machineID string) *HeadscaleServiceDeleteMachineParams
- func (o *HeadscaleServiceDeleteMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDeleteMachineParams
- func (o *HeadscaleServiceDeleteMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceDeleteMachineReader
- type HeadscaleServiceDeleteRouteDefault
- func (o *HeadscaleServiceDeleteRouteDefault) Code() int
- func (o *HeadscaleServiceDeleteRouteDefault) Error() string
- func (o *HeadscaleServiceDeleteRouteDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceDeleteRouteDefault) IsClientError() bool
- func (o *HeadscaleServiceDeleteRouteDefault) IsCode(code int) bool
- func (o *HeadscaleServiceDeleteRouteDefault) IsRedirect() bool
- func (o *HeadscaleServiceDeleteRouteDefault) IsServerError() bool
- func (o *HeadscaleServiceDeleteRouteDefault) IsSuccess() bool
- func (o *HeadscaleServiceDeleteRouteDefault) String() string
- type HeadscaleServiceDeleteRouteOK
- func (o *HeadscaleServiceDeleteRouteOK) Error() string
- func (o *HeadscaleServiceDeleteRouteOK) GetPayload() models.V1DeleteRouteResponse
- func (o *HeadscaleServiceDeleteRouteOK) IsClientError() bool
- func (o *HeadscaleServiceDeleteRouteOK) IsCode(code int) bool
- func (o *HeadscaleServiceDeleteRouteOK) IsRedirect() bool
- func (o *HeadscaleServiceDeleteRouteOK) IsServerError() bool
- func (o *HeadscaleServiceDeleteRouteOK) IsSuccess() bool
- func (o *HeadscaleServiceDeleteRouteOK) String() string
- type HeadscaleServiceDeleteRouteParams
- func NewHeadscaleServiceDeleteRouteParams() *HeadscaleServiceDeleteRouteParams
- func NewHeadscaleServiceDeleteRouteParamsWithContext(ctx context.Context) *HeadscaleServiceDeleteRouteParams
- func NewHeadscaleServiceDeleteRouteParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDeleteRouteParams
- func NewHeadscaleServiceDeleteRouteParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDeleteRouteParams
- func (o *HeadscaleServiceDeleteRouteParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceDeleteRouteParams) SetDefaults()
- func (o *HeadscaleServiceDeleteRouteParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceDeleteRouteParams) SetRouteID(routeID string)
- func (o *HeadscaleServiceDeleteRouteParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceDeleteRouteParams) WithContext(ctx context.Context) *HeadscaleServiceDeleteRouteParams
- func (o *HeadscaleServiceDeleteRouteParams) WithDefaults() *HeadscaleServiceDeleteRouteParams
- func (o *HeadscaleServiceDeleteRouteParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDeleteRouteParams
- func (o *HeadscaleServiceDeleteRouteParams) WithRouteID(routeID string) *HeadscaleServiceDeleteRouteParams
- func (o *HeadscaleServiceDeleteRouteParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDeleteRouteParams
- func (o *HeadscaleServiceDeleteRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceDeleteRouteReader
- type HeadscaleServiceDeleteUserDefault
- func (o *HeadscaleServiceDeleteUserDefault) Code() int
- func (o *HeadscaleServiceDeleteUserDefault) Error() string
- func (o *HeadscaleServiceDeleteUserDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceDeleteUserDefault) IsClientError() bool
- func (o *HeadscaleServiceDeleteUserDefault) IsCode(code int) bool
- func (o *HeadscaleServiceDeleteUserDefault) IsRedirect() bool
- func (o *HeadscaleServiceDeleteUserDefault) IsServerError() bool
- func (o *HeadscaleServiceDeleteUserDefault) IsSuccess() bool
- func (o *HeadscaleServiceDeleteUserDefault) String() string
- type HeadscaleServiceDeleteUserOK
- func (o *HeadscaleServiceDeleteUserOK) Error() string
- func (o *HeadscaleServiceDeleteUserOK) GetPayload() models.V1DeleteUserResponse
- func (o *HeadscaleServiceDeleteUserOK) IsClientError() bool
- func (o *HeadscaleServiceDeleteUserOK) IsCode(code int) bool
- func (o *HeadscaleServiceDeleteUserOK) IsRedirect() bool
- func (o *HeadscaleServiceDeleteUserOK) IsServerError() bool
- func (o *HeadscaleServiceDeleteUserOK) IsSuccess() bool
- func (o *HeadscaleServiceDeleteUserOK) String() string
- type HeadscaleServiceDeleteUserParams
- func NewHeadscaleServiceDeleteUserParams() *HeadscaleServiceDeleteUserParams
- func NewHeadscaleServiceDeleteUserParamsWithContext(ctx context.Context) *HeadscaleServiceDeleteUserParams
- func NewHeadscaleServiceDeleteUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDeleteUserParams
- func NewHeadscaleServiceDeleteUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDeleteUserParams
- func (o *HeadscaleServiceDeleteUserParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceDeleteUserParams) SetDefaults()
- func (o *HeadscaleServiceDeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceDeleteUserParams) SetName(name string)
- func (o *HeadscaleServiceDeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceDeleteUserParams) WithContext(ctx context.Context) *HeadscaleServiceDeleteUserParams
- func (o *HeadscaleServiceDeleteUserParams) WithDefaults() *HeadscaleServiceDeleteUserParams
- func (o *HeadscaleServiceDeleteUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDeleteUserParams
- func (o *HeadscaleServiceDeleteUserParams) WithName(name string) *HeadscaleServiceDeleteUserParams
- func (o *HeadscaleServiceDeleteUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDeleteUserParams
- func (o *HeadscaleServiceDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceDeleteUserReader
- type HeadscaleServiceDisableRouteDefault
- func (o *HeadscaleServiceDisableRouteDefault) Code() int
- func (o *HeadscaleServiceDisableRouteDefault) Error() string
- func (o *HeadscaleServiceDisableRouteDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceDisableRouteDefault) IsClientError() bool
- func (o *HeadscaleServiceDisableRouteDefault) IsCode(code int) bool
- func (o *HeadscaleServiceDisableRouteDefault) IsRedirect() bool
- func (o *HeadscaleServiceDisableRouteDefault) IsServerError() bool
- func (o *HeadscaleServiceDisableRouteDefault) IsSuccess() bool
- func (o *HeadscaleServiceDisableRouteDefault) String() string
- type HeadscaleServiceDisableRouteOK
- func (o *HeadscaleServiceDisableRouteOK) Error() string
- func (o *HeadscaleServiceDisableRouteOK) GetPayload() models.V1DisableRouteResponse
- func (o *HeadscaleServiceDisableRouteOK) IsClientError() bool
- func (o *HeadscaleServiceDisableRouteOK) IsCode(code int) bool
- func (o *HeadscaleServiceDisableRouteOK) IsRedirect() bool
- func (o *HeadscaleServiceDisableRouteOK) IsServerError() bool
- func (o *HeadscaleServiceDisableRouteOK) IsSuccess() bool
- func (o *HeadscaleServiceDisableRouteOK) String() string
- type HeadscaleServiceDisableRouteParams
- func NewHeadscaleServiceDisableRouteParams() *HeadscaleServiceDisableRouteParams
- func NewHeadscaleServiceDisableRouteParamsWithContext(ctx context.Context) *HeadscaleServiceDisableRouteParams
- func NewHeadscaleServiceDisableRouteParamsWithHTTPClient(client *http.Client) *HeadscaleServiceDisableRouteParams
- func NewHeadscaleServiceDisableRouteParamsWithTimeout(timeout time.Duration) *HeadscaleServiceDisableRouteParams
- func (o *HeadscaleServiceDisableRouteParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceDisableRouteParams) SetDefaults()
- func (o *HeadscaleServiceDisableRouteParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceDisableRouteParams) SetRouteID(routeID string)
- func (o *HeadscaleServiceDisableRouteParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceDisableRouteParams) WithContext(ctx context.Context) *HeadscaleServiceDisableRouteParams
- func (o *HeadscaleServiceDisableRouteParams) WithDefaults() *HeadscaleServiceDisableRouteParams
- func (o *HeadscaleServiceDisableRouteParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDisableRouteParams
- func (o *HeadscaleServiceDisableRouteParams) WithRouteID(routeID string) *HeadscaleServiceDisableRouteParams
- func (o *HeadscaleServiceDisableRouteParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDisableRouteParams
- func (o *HeadscaleServiceDisableRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceDisableRouteReader
- type HeadscaleServiceEnableRouteDefault
- func (o *HeadscaleServiceEnableRouteDefault) Code() int
- func (o *HeadscaleServiceEnableRouteDefault) Error() string
- func (o *HeadscaleServiceEnableRouteDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceEnableRouteDefault) IsClientError() bool
- func (o *HeadscaleServiceEnableRouteDefault) IsCode(code int) bool
- func (o *HeadscaleServiceEnableRouteDefault) IsRedirect() bool
- func (o *HeadscaleServiceEnableRouteDefault) IsServerError() bool
- func (o *HeadscaleServiceEnableRouteDefault) IsSuccess() bool
- func (o *HeadscaleServiceEnableRouteDefault) String() string
- type HeadscaleServiceEnableRouteOK
- func (o *HeadscaleServiceEnableRouteOK) Error() string
- func (o *HeadscaleServiceEnableRouteOK) GetPayload() models.V1EnableRouteResponse
- func (o *HeadscaleServiceEnableRouteOK) IsClientError() bool
- func (o *HeadscaleServiceEnableRouteOK) IsCode(code int) bool
- func (o *HeadscaleServiceEnableRouteOK) IsRedirect() bool
- func (o *HeadscaleServiceEnableRouteOK) IsServerError() bool
- func (o *HeadscaleServiceEnableRouteOK) IsSuccess() bool
- func (o *HeadscaleServiceEnableRouteOK) String() string
- type HeadscaleServiceEnableRouteParams
- func NewHeadscaleServiceEnableRouteParams() *HeadscaleServiceEnableRouteParams
- func NewHeadscaleServiceEnableRouteParamsWithContext(ctx context.Context) *HeadscaleServiceEnableRouteParams
- func NewHeadscaleServiceEnableRouteParamsWithHTTPClient(client *http.Client) *HeadscaleServiceEnableRouteParams
- func NewHeadscaleServiceEnableRouteParamsWithTimeout(timeout time.Duration) *HeadscaleServiceEnableRouteParams
- func (o *HeadscaleServiceEnableRouteParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceEnableRouteParams) SetDefaults()
- func (o *HeadscaleServiceEnableRouteParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceEnableRouteParams) SetRouteID(routeID string)
- func (o *HeadscaleServiceEnableRouteParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceEnableRouteParams) WithContext(ctx context.Context) *HeadscaleServiceEnableRouteParams
- func (o *HeadscaleServiceEnableRouteParams) WithDefaults() *HeadscaleServiceEnableRouteParams
- func (o *HeadscaleServiceEnableRouteParams) WithHTTPClient(client *http.Client) *HeadscaleServiceEnableRouteParams
- func (o *HeadscaleServiceEnableRouteParams) WithRouteID(routeID string) *HeadscaleServiceEnableRouteParams
- func (o *HeadscaleServiceEnableRouteParams) WithTimeout(timeout time.Duration) *HeadscaleServiceEnableRouteParams
- func (o *HeadscaleServiceEnableRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceEnableRouteReader
- type HeadscaleServiceExpireAPIKeyDefault
- func (o *HeadscaleServiceExpireAPIKeyDefault) Code() int
- func (o *HeadscaleServiceExpireAPIKeyDefault) Error() string
- func (o *HeadscaleServiceExpireAPIKeyDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceExpireAPIKeyDefault) IsClientError() bool
- func (o *HeadscaleServiceExpireAPIKeyDefault) IsCode(code int) bool
- func (o *HeadscaleServiceExpireAPIKeyDefault) IsRedirect() bool
- func (o *HeadscaleServiceExpireAPIKeyDefault) IsServerError() bool
- func (o *HeadscaleServiceExpireAPIKeyDefault) IsSuccess() bool
- func (o *HeadscaleServiceExpireAPIKeyDefault) String() string
- type HeadscaleServiceExpireAPIKeyOK
- func (o *HeadscaleServiceExpireAPIKeyOK) Error() string
- func (o *HeadscaleServiceExpireAPIKeyOK) GetPayload() models.V1ExpireAPIKeyResponse
- func (o *HeadscaleServiceExpireAPIKeyOK) IsClientError() bool
- func (o *HeadscaleServiceExpireAPIKeyOK) IsCode(code int) bool
- func (o *HeadscaleServiceExpireAPIKeyOK) IsRedirect() bool
- func (o *HeadscaleServiceExpireAPIKeyOK) IsServerError() bool
- func (o *HeadscaleServiceExpireAPIKeyOK) IsSuccess() bool
- func (o *HeadscaleServiceExpireAPIKeyOK) String() string
- type HeadscaleServiceExpireAPIKeyParams
- func NewHeadscaleServiceExpireAPIKeyParams() *HeadscaleServiceExpireAPIKeyParams
- func NewHeadscaleServiceExpireAPIKeyParamsWithContext(ctx context.Context) *HeadscaleServiceExpireAPIKeyParams
- func NewHeadscaleServiceExpireAPIKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceExpireAPIKeyParams
- func NewHeadscaleServiceExpireAPIKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceExpireAPIKeyParams
- func (o *HeadscaleServiceExpireAPIKeyParams) SetBody(body *models.V1ExpireAPIKeyRequest)
- func (o *HeadscaleServiceExpireAPIKeyParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceExpireAPIKeyParams) SetDefaults()
- func (o *HeadscaleServiceExpireAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceExpireAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceExpireAPIKeyParams) WithBody(body *models.V1ExpireAPIKeyRequest) *HeadscaleServiceExpireAPIKeyParams
- func (o *HeadscaleServiceExpireAPIKeyParams) WithContext(ctx context.Context) *HeadscaleServiceExpireAPIKeyParams
- func (o *HeadscaleServiceExpireAPIKeyParams) WithDefaults() *HeadscaleServiceExpireAPIKeyParams
- func (o *HeadscaleServiceExpireAPIKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceExpireAPIKeyParams
- func (o *HeadscaleServiceExpireAPIKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceExpireAPIKeyParams
- func (o *HeadscaleServiceExpireAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceExpireAPIKeyReader
- type HeadscaleServiceExpireMachineDefault
- func (o *HeadscaleServiceExpireMachineDefault) Code() int
- func (o *HeadscaleServiceExpireMachineDefault) Error() string
- func (o *HeadscaleServiceExpireMachineDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceExpireMachineDefault) IsClientError() bool
- func (o *HeadscaleServiceExpireMachineDefault) IsCode(code int) bool
- func (o *HeadscaleServiceExpireMachineDefault) IsRedirect() bool
- func (o *HeadscaleServiceExpireMachineDefault) IsServerError() bool
- func (o *HeadscaleServiceExpireMachineDefault) IsSuccess() bool
- func (o *HeadscaleServiceExpireMachineDefault) String() string
- type HeadscaleServiceExpireMachineOK
- func (o *HeadscaleServiceExpireMachineOK) Error() string
- func (o *HeadscaleServiceExpireMachineOK) GetPayload() *models.V1ExpireMachineResponse
- func (o *HeadscaleServiceExpireMachineOK) IsClientError() bool
- func (o *HeadscaleServiceExpireMachineOK) IsCode(code int) bool
- func (o *HeadscaleServiceExpireMachineOK) IsRedirect() bool
- func (o *HeadscaleServiceExpireMachineOK) IsServerError() bool
- func (o *HeadscaleServiceExpireMachineOK) IsSuccess() bool
- func (o *HeadscaleServiceExpireMachineOK) String() string
- type HeadscaleServiceExpireMachineParams
- func NewHeadscaleServiceExpireMachineParams() *HeadscaleServiceExpireMachineParams
- func NewHeadscaleServiceExpireMachineParamsWithContext(ctx context.Context) *HeadscaleServiceExpireMachineParams
- func NewHeadscaleServiceExpireMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceExpireMachineParams
- func NewHeadscaleServiceExpireMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceExpireMachineParams
- func (o *HeadscaleServiceExpireMachineParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceExpireMachineParams) SetDefaults()
- func (o *HeadscaleServiceExpireMachineParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceExpireMachineParams) SetMachineID(machineID string)
- func (o *HeadscaleServiceExpireMachineParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceExpireMachineParams) WithContext(ctx context.Context) *HeadscaleServiceExpireMachineParams
- func (o *HeadscaleServiceExpireMachineParams) WithDefaults() *HeadscaleServiceExpireMachineParams
- func (o *HeadscaleServiceExpireMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceExpireMachineParams
- func (o *HeadscaleServiceExpireMachineParams) WithMachineID(machineID string) *HeadscaleServiceExpireMachineParams
- func (o *HeadscaleServiceExpireMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceExpireMachineParams
- func (o *HeadscaleServiceExpireMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceExpireMachineReader
- type HeadscaleServiceExpirePreAuthKeyDefault
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) Code() int
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) Error() string
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsClientError() bool
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsCode(code int) bool
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsRedirect() bool
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsServerError() bool
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsSuccess() bool
- func (o *HeadscaleServiceExpirePreAuthKeyDefault) String() string
- type HeadscaleServiceExpirePreAuthKeyOK
- func (o *HeadscaleServiceExpirePreAuthKeyOK) Error() string
- func (o *HeadscaleServiceExpirePreAuthKeyOK) GetPayload() models.V1ExpirePreAuthKeyResponse
- func (o *HeadscaleServiceExpirePreAuthKeyOK) IsClientError() bool
- func (o *HeadscaleServiceExpirePreAuthKeyOK) IsCode(code int) bool
- func (o *HeadscaleServiceExpirePreAuthKeyOK) IsRedirect() bool
- func (o *HeadscaleServiceExpirePreAuthKeyOK) IsServerError() bool
- func (o *HeadscaleServiceExpirePreAuthKeyOK) IsSuccess() bool
- func (o *HeadscaleServiceExpirePreAuthKeyOK) String() string
- type HeadscaleServiceExpirePreAuthKeyParams
- func NewHeadscaleServiceExpirePreAuthKeyParams() *HeadscaleServiceExpirePreAuthKeyParams
- func NewHeadscaleServiceExpirePreAuthKeyParamsWithContext(ctx context.Context) *HeadscaleServiceExpirePreAuthKeyParams
- func NewHeadscaleServiceExpirePreAuthKeyParamsWithHTTPClient(client *http.Client) *HeadscaleServiceExpirePreAuthKeyParams
- func NewHeadscaleServiceExpirePreAuthKeyParamsWithTimeout(timeout time.Duration) *HeadscaleServiceExpirePreAuthKeyParams
- func (o *HeadscaleServiceExpirePreAuthKeyParams) SetBody(body *models.V1ExpirePreAuthKeyRequest)
- func (o *HeadscaleServiceExpirePreAuthKeyParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceExpirePreAuthKeyParams) SetDefaults()
- func (o *HeadscaleServiceExpirePreAuthKeyParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceExpirePreAuthKeyParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceExpirePreAuthKeyParams) WithBody(body *models.V1ExpirePreAuthKeyRequest) *HeadscaleServiceExpirePreAuthKeyParams
- func (o *HeadscaleServiceExpirePreAuthKeyParams) WithContext(ctx context.Context) *HeadscaleServiceExpirePreAuthKeyParams
- func (o *HeadscaleServiceExpirePreAuthKeyParams) WithDefaults() *HeadscaleServiceExpirePreAuthKeyParams
- func (o *HeadscaleServiceExpirePreAuthKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceExpirePreAuthKeyParams
- func (o *HeadscaleServiceExpirePreAuthKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceExpirePreAuthKeyParams
- func (o *HeadscaleServiceExpirePreAuthKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceExpirePreAuthKeyReader
- type HeadscaleServiceGetMachineDefault
- func (o *HeadscaleServiceGetMachineDefault) Code() int
- func (o *HeadscaleServiceGetMachineDefault) Error() string
- func (o *HeadscaleServiceGetMachineDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceGetMachineDefault) IsClientError() bool
- func (o *HeadscaleServiceGetMachineDefault) IsCode(code int) bool
- func (o *HeadscaleServiceGetMachineDefault) IsRedirect() bool
- func (o *HeadscaleServiceGetMachineDefault) IsServerError() bool
- func (o *HeadscaleServiceGetMachineDefault) IsSuccess() bool
- func (o *HeadscaleServiceGetMachineDefault) String() string
- type HeadscaleServiceGetMachineOK
- func (o *HeadscaleServiceGetMachineOK) Error() string
- func (o *HeadscaleServiceGetMachineOK) GetPayload() *models.V1GetMachineResponse
- func (o *HeadscaleServiceGetMachineOK) IsClientError() bool
- func (o *HeadscaleServiceGetMachineOK) IsCode(code int) bool
- func (o *HeadscaleServiceGetMachineOK) IsRedirect() bool
- func (o *HeadscaleServiceGetMachineOK) IsServerError() bool
- func (o *HeadscaleServiceGetMachineOK) IsSuccess() bool
- func (o *HeadscaleServiceGetMachineOK) String() string
- type HeadscaleServiceGetMachineParams
- func NewHeadscaleServiceGetMachineParams() *HeadscaleServiceGetMachineParams
- func NewHeadscaleServiceGetMachineParamsWithContext(ctx context.Context) *HeadscaleServiceGetMachineParams
- func NewHeadscaleServiceGetMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineParams
- func NewHeadscaleServiceGetMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineParams
- func (o *HeadscaleServiceGetMachineParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceGetMachineParams) SetDefaults()
- func (o *HeadscaleServiceGetMachineParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceGetMachineParams) SetMachineID(machineID string)
- func (o *HeadscaleServiceGetMachineParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceGetMachineParams) WithContext(ctx context.Context) *HeadscaleServiceGetMachineParams
- func (o *HeadscaleServiceGetMachineParams) WithDefaults() *HeadscaleServiceGetMachineParams
- func (o *HeadscaleServiceGetMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineParams
- func (o *HeadscaleServiceGetMachineParams) WithMachineID(machineID string) *HeadscaleServiceGetMachineParams
- func (o *HeadscaleServiceGetMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineParams
- func (o *HeadscaleServiceGetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceGetMachineReader
- type HeadscaleServiceGetMachineRoutesDefault
- func (o *HeadscaleServiceGetMachineRoutesDefault) Code() int
- func (o *HeadscaleServiceGetMachineRoutesDefault) Error() string
- func (o *HeadscaleServiceGetMachineRoutesDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceGetMachineRoutesDefault) IsClientError() bool
- func (o *HeadscaleServiceGetMachineRoutesDefault) IsCode(code int) bool
- func (o *HeadscaleServiceGetMachineRoutesDefault) IsRedirect() bool
- func (o *HeadscaleServiceGetMachineRoutesDefault) IsServerError() bool
- func (o *HeadscaleServiceGetMachineRoutesDefault) IsSuccess() bool
- func (o *HeadscaleServiceGetMachineRoutesDefault) String() string
- type HeadscaleServiceGetMachineRoutesOK
- func (o *HeadscaleServiceGetMachineRoutesOK) Error() string
- func (o *HeadscaleServiceGetMachineRoutesOK) GetPayload() *models.V1GetMachineRoutesResponse
- func (o *HeadscaleServiceGetMachineRoutesOK) IsClientError() bool
- func (o *HeadscaleServiceGetMachineRoutesOK) IsCode(code int) bool
- func (o *HeadscaleServiceGetMachineRoutesOK) IsRedirect() bool
- func (o *HeadscaleServiceGetMachineRoutesOK) IsServerError() bool
- func (o *HeadscaleServiceGetMachineRoutesOK) IsSuccess() bool
- func (o *HeadscaleServiceGetMachineRoutesOK) String() string
- type HeadscaleServiceGetMachineRoutesParams
- func NewHeadscaleServiceGetMachineRoutesParams() *HeadscaleServiceGetMachineRoutesParams
- func NewHeadscaleServiceGetMachineRoutesParamsWithContext(ctx context.Context) *HeadscaleServiceGetMachineRoutesParams
- func NewHeadscaleServiceGetMachineRoutesParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineRoutesParams
- func NewHeadscaleServiceGetMachineRoutesParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineRoutesParams
- func (o *HeadscaleServiceGetMachineRoutesParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceGetMachineRoutesParams) SetDefaults()
- func (o *HeadscaleServiceGetMachineRoutesParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceGetMachineRoutesParams) SetMachineID(machineID string)
- func (o *HeadscaleServiceGetMachineRoutesParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceGetMachineRoutesParams) WithContext(ctx context.Context) *HeadscaleServiceGetMachineRoutesParams
- func (o *HeadscaleServiceGetMachineRoutesParams) WithDefaults() *HeadscaleServiceGetMachineRoutesParams
- func (o *HeadscaleServiceGetMachineRoutesParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineRoutesParams
- func (o *HeadscaleServiceGetMachineRoutesParams) WithMachineID(machineID string) *HeadscaleServiceGetMachineRoutesParams
- func (o *HeadscaleServiceGetMachineRoutesParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineRoutesParams
- func (o *HeadscaleServiceGetMachineRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceGetMachineRoutesReader
- type HeadscaleServiceGetRoutesDefault
- func (o *HeadscaleServiceGetRoutesDefault) Code() int
- func (o *HeadscaleServiceGetRoutesDefault) Error() string
- func (o *HeadscaleServiceGetRoutesDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceGetRoutesDefault) IsClientError() bool
- func (o *HeadscaleServiceGetRoutesDefault) IsCode(code int) bool
- func (o *HeadscaleServiceGetRoutesDefault) IsRedirect() bool
- func (o *HeadscaleServiceGetRoutesDefault) IsServerError() bool
- func (o *HeadscaleServiceGetRoutesDefault) IsSuccess() bool
- func (o *HeadscaleServiceGetRoutesDefault) String() string
- type HeadscaleServiceGetRoutesOK
- func (o *HeadscaleServiceGetRoutesOK) Error() string
- func (o *HeadscaleServiceGetRoutesOK) GetPayload() *models.V1GetRoutesResponse
- func (o *HeadscaleServiceGetRoutesOK) IsClientError() bool
- func (o *HeadscaleServiceGetRoutesOK) IsCode(code int) bool
- func (o *HeadscaleServiceGetRoutesOK) IsRedirect() bool
- func (o *HeadscaleServiceGetRoutesOK) IsServerError() bool
- func (o *HeadscaleServiceGetRoutesOK) IsSuccess() bool
- func (o *HeadscaleServiceGetRoutesOK) String() string
- type HeadscaleServiceGetRoutesParams
- func NewHeadscaleServiceGetRoutesParams() *HeadscaleServiceGetRoutesParams
- func NewHeadscaleServiceGetRoutesParamsWithContext(ctx context.Context) *HeadscaleServiceGetRoutesParams
- func NewHeadscaleServiceGetRoutesParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetRoutesParams
- func NewHeadscaleServiceGetRoutesParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetRoutesParams
- func (o *HeadscaleServiceGetRoutesParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceGetRoutesParams) SetDefaults()
- func (o *HeadscaleServiceGetRoutesParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceGetRoutesParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceGetRoutesParams) WithContext(ctx context.Context) *HeadscaleServiceGetRoutesParams
- func (o *HeadscaleServiceGetRoutesParams) WithDefaults() *HeadscaleServiceGetRoutesParams
- func (o *HeadscaleServiceGetRoutesParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetRoutesParams
- func (o *HeadscaleServiceGetRoutesParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetRoutesParams
- func (o *HeadscaleServiceGetRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceGetRoutesReader
- type HeadscaleServiceGetUserDefault
- func (o *HeadscaleServiceGetUserDefault) Code() int
- func (o *HeadscaleServiceGetUserDefault) Error() string
- func (o *HeadscaleServiceGetUserDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceGetUserDefault) IsClientError() bool
- func (o *HeadscaleServiceGetUserDefault) IsCode(code int) bool
- func (o *HeadscaleServiceGetUserDefault) IsRedirect() bool
- func (o *HeadscaleServiceGetUserDefault) IsServerError() bool
- func (o *HeadscaleServiceGetUserDefault) IsSuccess() bool
- func (o *HeadscaleServiceGetUserDefault) String() string
- type HeadscaleServiceGetUserOK
- func (o *HeadscaleServiceGetUserOK) Error() string
- func (o *HeadscaleServiceGetUserOK) GetPayload() *models.V1GetUserResponse
- func (o *HeadscaleServiceGetUserOK) IsClientError() bool
- func (o *HeadscaleServiceGetUserOK) IsCode(code int) bool
- func (o *HeadscaleServiceGetUserOK) IsRedirect() bool
- func (o *HeadscaleServiceGetUserOK) IsServerError() bool
- func (o *HeadscaleServiceGetUserOK) IsSuccess() bool
- func (o *HeadscaleServiceGetUserOK) String() string
- type HeadscaleServiceGetUserParams
- func NewHeadscaleServiceGetUserParams() *HeadscaleServiceGetUserParams
- func NewHeadscaleServiceGetUserParamsWithContext(ctx context.Context) *HeadscaleServiceGetUserParams
- func NewHeadscaleServiceGetUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceGetUserParams
- func NewHeadscaleServiceGetUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceGetUserParams
- func (o *HeadscaleServiceGetUserParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceGetUserParams) SetDefaults()
- func (o *HeadscaleServiceGetUserParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceGetUserParams) SetName(name string)
- func (o *HeadscaleServiceGetUserParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceGetUserParams) WithContext(ctx context.Context) *HeadscaleServiceGetUserParams
- func (o *HeadscaleServiceGetUserParams) WithDefaults() *HeadscaleServiceGetUserParams
- func (o *HeadscaleServiceGetUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetUserParams
- func (o *HeadscaleServiceGetUserParams) WithName(name string) *HeadscaleServiceGetUserParams
- func (o *HeadscaleServiceGetUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetUserParams
- func (o *HeadscaleServiceGetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceGetUserReader
- type HeadscaleServiceListAPIKeysDefault
- func (o *HeadscaleServiceListAPIKeysDefault) Code() int
- func (o *HeadscaleServiceListAPIKeysDefault) Error() string
- func (o *HeadscaleServiceListAPIKeysDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceListAPIKeysDefault) IsClientError() bool
- func (o *HeadscaleServiceListAPIKeysDefault) IsCode(code int) bool
- func (o *HeadscaleServiceListAPIKeysDefault) IsRedirect() bool
- func (o *HeadscaleServiceListAPIKeysDefault) IsServerError() bool
- func (o *HeadscaleServiceListAPIKeysDefault) IsSuccess() bool
- func (o *HeadscaleServiceListAPIKeysDefault) String() string
- type HeadscaleServiceListAPIKeysOK
- func (o *HeadscaleServiceListAPIKeysOK) Error() string
- func (o *HeadscaleServiceListAPIKeysOK) GetPayload() *models.V1ListAPIKeysResponse
- func (o *HeadscaleServiceListAPIKeysOK) IsClientError() bool
- func (o *HeadscaleServiceListAPIKeysOK) IsCode(code int) bool
- func (o *HeadscaleServiceListAPIKeysOK) IsRedirect() bool
- func (o *HeadscaleServiceListAPIKeysOK) IsServerError() bool
- func (o *HeadscaleServiceListAPIKeysOK) IsSuccess() bool
- func (o *HeadscaleServiceListAPIKeysOK) String() string
- type HeadscaleServiceListAPIKeysParams
- func NewHeadscaleServiceListAPIKeysParams() *HeadscaleServiceListAPIKeysParams
- func NewHeadscaleServiceListAPIKeysParamsWithContext(ctx context.Context) *HeadscaleServiceListAPIKeysParams
- func NewHeadscaleServiceListAPIKeysParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListAPIKeysParams
- func NewHeadscaleServiceListAPIKeysParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListAPIKeysParams
- func (o *HeadscaleServiceListAPIKeysParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceListAPIKeysParams) SetDefaults()
- func (o *HeadscaleServiceListAPIKeysParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceListAPIKeysParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceListAPIKeysParams) WithContext(ctx context.Context) *HeadscaleServiceListAPIKeysParams
- func (o *HeadscaleServiceListAPIKeysParams) WithDefaults() *HeadscaleServiceListAPIKeysParams
- func (o *HeadscaleServiceListAPIKeysParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListAPIKeysParams
- func (o *HeadscaleServiceListAPIKeysParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListAPIKeysParams
- func (o *HeadscaleServiceListAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceListAPIKeysReader
- type HeadscaleServiceListMachinesDefault
- func (o *HeadscaleServiceListMachinesDefault) Code() int
- func (o *HeadscaleServiceListMachinesDefault) Error() string
- func (o *HeadscaleServiceListMachinesDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceListMachinesDefault) IsClientError() bool
- func (o *HeadscaleServiceListMachinesDefault) IsCode(code int) bool
- func (o *HeadscaleServiceListMachinesDefault) IsRedirect() bool
- func (o *HeadscaleServiceListMachinesDefault) IsServerError() bool
- func (o *HeadscaleServiceListMachinesDefault) IsSuccess() bool
- func (o *HeadscaleServiceListMachinesDefault) String() string
- type HeadscaleServiceListMachinesOK
- func (o *HeadscaleServiceListMachinesOK) Error() string
- func (o *HeadscaleServiceListMachinesOK) GetPayload() *models.V1ListMachinesResponse
- func (o *HeadscaleServiceListMachinesOK) IsClientError() bool
- func (o *HeadscaleServiceListMachinesOK) IsCode(code int) bool
- func (o *HeadscaleServiceListMachinesOK) IsRedirect() bool
- func (o *HeadscaleServiceListMachinesOK) IsServerError() bool
- func (o *HeadscaleServiceListMachinesOK) IsSuccess() bool
- func (o *HeadscaleServiceListMachinesOK) String() string
- type HeadscaleServiceListMachinesParams
- func NewHeadscaleServiceListMachinesParams() *HeadscaleServiceListMachinesParams
- func NewHeadscaleServiceListMachinesParamsWithContext(ctx context.Context) *HeadscaleServiceListMachinesParams
- func NewHeadscaleServiceListMachinesParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListMachinesParams
- func NewHeadscaleServiceListMachinesParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListMachinesParams
- func (o *HeadscaleServiceListMachinesParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceListMachinesParams) SetDefaults()
- func (o *HeadscaleServiceListMachinesParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceListMachinesParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceListMachinesParams) SetUser(user *string)
- func (o *HeadscaleServiceListMachinesParams) WithContext(ctx context.Context) *HeadscaleServiceListMachinesParams
- func (o *HeadscaleServiceListMachinesParams) WithDefaults() *HeadscaleServiceListMachinesParams
- func (o *HeadscaleServiceListMachinesParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListMachinesParams
- func (o *HeadscaleServiceListMachinesParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListMachinesParams
- func (o *HeadscaleServiceListMachinesParams) WithUser(user *string) *HeadscaleServiceListMachinesParams
- func (o *HeadscaleServiceListMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceListMachinesReader
- type HeadscaleServiceListPreAuthKeysDefault
- func (o *HeadscaleServiceListPreAuthKeysDefault) Code() int
- func (o *HeadscaleServiceListPreAuthKeysDefault) Error() string
- func (o *HeadscaleServiceListPreAuthKeysDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceListPreAuthKeysDefault) IsClientError() bool
- func (o *HeadscaleServiceListPreAuthKeysDefault) IsCode(code int) bool
- func (o *HeadscaleServiceListPreAuthKeysDefault) IsRedirect() bool
- func (o *HeadscaleServiceListPreAuthKeysDefault) IsServerError() bool
- func (o *HeadscaleServiceListPreAuthKeysDefault) IsSuccess() bool
- func (o *HeadscaleServiceListPreAuthKeysDefault) String() string
- type HeadscaleServiceListPreAuthKeysOK
- func (o *HeadscaleServiceListPreAuthKeysOK) Error() string
- func (o *HeadscaleServiceListPreAuthKeysOK) GetPayload() *models.V1ListPreAuthKeysResponse
- func (o *HeadscaleServiceListPreAuthKeysOK) IsClientError() bool
- func (o *HeadscaleServiceListPreAuthKeysOK) IsCode(code int) bool
- func (o *HeadscaleServiceListPreAuthKeysOK) IsRedirect() bool
- func (o *HeadscaleServiceListPreAuthKeysOK) IsServerError() bool
- func (o *HeadscaleServiceListPreAuthKeysOK) IsSuccess() bool
- func (o *HeadscaleServiceListPreAuthKeysOK) String() string
- type HeadscaleServiceListPreAuthKeysParams
- func NewHeadscaleServiceListPreAuthKeysParams() *HeadscaleServiceListPreAuthKeysParams
- func NewHeadscaleServiceListPreAuthKeysParamsWithContext(ctx context.Context) *HeadscaleServiceListPreAuthKeysParams
- func NewHeadscaleServiceListPreAuthKeysParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListPreAuthKeysParams
- func NewHeadscaleServiceListPreAuthKeysParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListPreAuthKeysParams
- func (o *HeadscaleServiceListPreAuthKeysParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceListPreAuthKeysParams) SetDefaults()
- func (o *HeadscaleServiceListPreAuthKeysParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceListPreAuthKeysParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceListPreAuthKeysParams) SetUser(user *string)
- func (o *HeadscaleServiceListPreAuthKeysParams) WithContext(ctx context.Context) *HeadscaleServiceListPreAuthKeysParams
- func (o *HeadscaleServiceListPreAuthKeysParams) WithDefaults() *HeadscaleServiceListPreAuthKeysParams
- func (o *HeadscaleServiceListPreAuthKeysParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListPreAuthKeysParams
- func (o *HeadscaleServiceListPreAuthKeysParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListPreAuthKeysParams
- func (o *HeadscaleServiceListPreAuthKeysParams) WithUser(user *string) *HeadscaleServiceListPreAuthKeysParams
- func (o *HeadscaleServiceListPreAuthKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceListPreAuthKeysReader
- type HeadscaleServiceListUsersDefault
- func (o *HeadscaleServiceListUsersDefault) Code() int
- func (o *HeadscaleServiceListUsersDefault) Error() string
- func (o *HeadscaleServiceListUsersDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceListUsersDefault) IsClientError() bool
- func (o *HeadscaleServiceListUsersDefault) IsCode(code int) bool
- func (o *HeadscaleServiceListUsersDefault) IsRedirect() bool
- func (o *HeadscaleServiceListUsersDefault) IsServerError() bool
- func (o *HeadscaleServiceListUsersDefault) IsSuccess() bool
- func (o *HeadscaleServiceListUsersDefault) String() string
- type HeadscaleServiceListUsersOK
- func (o *HeadscaleServiceListUsersOK) Error() string
- func (o *HeadscaleServiceListUsersOK) GetPayload() *models.V1ListUsersResponse
- func (o *HeadscaleServiceListUsersOK) IsClientError() bool
- func (o *HeadscaleServiceListUsersOK) IsCode(code int) bool
- func (o *HeadscaleServiceListUsersOK) IsRedirect() bool
- func (o *HeadscaleServiceListUsersOK) IsServerError() bool
- func (o *HeadscaleServiceListUsersOK) IsSuccess() bool
- func (o *HeadscaleServiceListUsersOK) String() string
- type HeadscaleServiceListUsersParams
- func NewHeadscaleServiceListUsersParams() *HeadscaleServiceListUsersParams
- func NewHeadscaleServiceListUsersParamsWithContext(ctx context.Context) *HeadscaleServiceListUsersParams
- func NewHeadscaleServiceListUsersParamsWithHTTPClient(client *http.Client) *HeadscaleServiceListUsersParams
- func NewHeadscaleServiceListUsersParamsWithTimeout(timeout time.Duration) *HeadscaleServiceListUsersParams
- func (o *HeadscaleServiceListUsersParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceListUsersParams) SetDefaults()
- func (o *HeadscaleServiceListUsersParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceListUsersParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceListUsersParams) WithContext(ctx context.Context) *HeadscaleServiceListUsersParams
- func (o *HeadscaleServiceListUsersParams) WithDefaults() *HeadscaleServiceListUsersParams
- func (o *HeadscaleServiceListUsersParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListUsersParams
- func (o *HeadscaleServiceListUsersParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListUsersParams
- func (o *HeadscaleServiceListUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceListUsersReader
- type HeadscaleServiceMoveMachineDefault
- func (o *HeadscaleServiceMoveMachineDefault) Code() int
- func (o *HeadscaleServiceMoveMachineDefault) Error() string
- func (o *HeadscaleServiceMoveMachineDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceMoveMachineDefault) IsClientError() bool
- func (o *HeadscaleServiceMoveMachineDefault) IsCode(code int) bool
- func (o *HeadscaleServiceMoveMachineDefault) IsRedirect() bool
- func (o *HeadscaleServiceMoveMachineDefault) IsServerError() bool
- func (o *HeadscaleServiceMoveMachineDefault) IsSuccess() bool
- func (o *HeadscaleServiceMoveMachineDefault) String() string
- type HeadscaleServiceMoveMachineOK
- func (o *HeadscaleServiceMoveMachineOK) Error() string
- func (o *HeadscaleServiceMoveMachineOK) GetPayload() *models.V1MoveMachineResponse
- func (o *HeadscaleServiceMoveMachineOK) IsClientError() bool
- func (o *HeadscaleServiceMoveMachineOK) IsCode(code int) bool
- func (o *HeadscaleServiceMoveMachineOK) IsRedirect() bool
- func (o *HeadscaleServiceMoveMachineOK) IsServerError() bool
- func (o *HeadscaleServiceMoveMachineOK) IsSuccess() bool
- func (o *HeadscaleServiceMoveMachineOK) String() string
- type HeadscaleServiceMoveMachineParams
- func NewHeadscaleServiceMoveMachineParams() *HeadscaleServiceMoveMachineParams
- func NewHeadscaleServiceMoveMachineParamsWithContext(ctx context.Context) *HeadscaleServiceMoveMachineParams
- func NewHeadscaleServiceMoveMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceMoveMachineParams
- func NewHeadscaleServiceMoveMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceMoveMachineParams
- func (o *HeadscaleServiceMoveMachineParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceMoveMachineParams) SetDefaults()
- func (o *HeadscaleServiceMoveMachineParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceMoveMachineParams) SetMachineID(machineID string)
- func (o *HeadscaleServiceMoveMachineParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceMoveMachineParams) SetUser(user *string)
- func (o *HeadscaleServiceMoveMachineParams) WithContext(ctx context.Context) *HeadscaleServiceMoveMachineParams
- func (o *HeadscaleServiceMoveMachineParams) WithDefaults() *HeadscaleServiceMoveMachineParams
- func (o *HeadscaleServiceMoveMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceMoveMachineParams
- func (o *HeadscaleServiceMoveMachineParams) WithMachineID(machineID string) *HeadscaleServiceMoveMachineParams
- func (o *HeadscaleServiceMoveMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceMoveMachineParams
- func (o *HeadscaleServiceMoveMachineParams) WithUser(user *string) *HeadscaleServiceMoveMachineParams
- func (o *HeadscaleServiceMoveMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceMoveMachineReader
- type HeadscaleServiceRegisterMachineDefault
- func (o *HeadscaleServiceRegisterMachineDefault) Code() int
- func (o *HeadscaleServiceRegisterMachineDefault) Error() string
- func (o *HeadscaleServiceRegisterMachineDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceRegisterMachineDefault) IsClientError() bool
- func (o *HeadscaleServiceRegisterMachineDefault) IsCode(code int) bool
- func (o *HeadscaleServiceRegisterMachineDefault) IsRedirect() bool
- func (o *HeadscaleServiceRegisterMachineDefault) IsServerError() bool
- func (o *HeadscaleServiceRegisterMachineDefault) IsSuccess() bool
- func (o *HeadscaleServiceRegisterMachineDefault) String() string
- type HeadscaleServiceRegisterMachineOK
- func (o *HeadscaleServiceRegisterMachineOK) Error() string
- func (o *HeadscaleServiceRegisterMachineOK) GetPayload() *models.V1RegisterMachineResponse
- func (o *HeadscaleServiceRegisterMachineOK) IsClientError() bool
- func (o *HeadscaleServiceRegisterMachineOK) IsCode(code int) bool
- func (o *HeadscaleServiceRegisterMachineOK) IsRedirect() bool
- func (o *HeadscaleServiceRegisterMachineOK) IsServerError() bool
- func (o *HeadscaleServiceRegisterMachineOK) IsSuccess() bool
- func (o *HeadscaleServiceRegisterMachineOK) String() string
- type HeadscaleServiceRegisterMachineParams
- func NewHeadscaleServiceRegisterMachineParams() *HeadscaleServiceRegisterMachineParams
- func NewHeadscaleServiceRegisterMachineParamsWithContext(ctx context.Context) *HeadscaleServiceRegisterMachineParams
- func NewHeadscaleServiceRegisterMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceRegisterMachineParams
- func NewHeadscaleServiceRegisterMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceRegisterMachineParams
- func (o *HeadscaleServiceRegisterMachineParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceRegisterMachineParams) SetDefaults()
- func (o *HeadscaleServiceRegisterMachineParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceRegisterMachineParams) SetKey(key *string)
- func (o *HeadscaleServiceRegisterMachineParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceRegisterMachineParams) SetUser(user *string)
- func (o *HeadscaleServiceRegisterMachineParams) WithContext(ctx context.Context) *HeadscaleServiceRegisterMachineParams
- func (o *HeadscaleServiceRegisterMachineParams) WithDefaults() *HeadscaleServiceRegisterMachineParams
- func (o *HeadscaleServiceRegisterMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceRegisterMachineParams
- func (o *HeadscaleServiceRegisterMachineParams) WithKey(key *string) *HeadscaleServiceRegisterMachineParams
- func (o *HeadscaleServiceRegisterMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceRegisterMachineParams
- func (o *HeadscaleServiceRegisterMachineParams) WithUser(user *string) *HeadscaleServiceRegisterMachineParams
- func (o *HeadscaleServiceRegisterMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceRegisterMachineReader
- type HeadscaleServiceRenameMachineDefault
- func (o *HeadscaleServiceRenameMachineDefault) Code() int
- func (o *HeadscaleServiceRenameMachineDefault) Error() string
- func (o *HeadscaleServiceRenameMachineDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceRenameMachineDefault) IsClientError() bool
- func (o *HeadscaleServiceRenameMachineDefault) IsCode(code int) bool
- func (o *HeadscaleServiceRenameMachineDefault) IsRedirect() bool
- func (o *HeadscaleServiceRenameMachineDefault) IsServerError() bool
- func (o *HeadscaleServiceRenameMachineDefault) IsSuccess() bool
- func (o *HeadscaleServiceRenameMachineDefault) String() string
- type HeadscaleServiceRenameMachineOK
- func (o *HeadscaleServiceRenameMachineOK) Error() string
- func (o *HeadscaleServiceRenameMachineOK) GetPayload() *models.V1RenameMachineResponse
- func (o *HeadscaleServiceRenameMachineOK) IsClientError() bool
- func (o *HeadscaleServiceRenameMachineOK) IsCode(code int) bool
- func (o *HeadscaleServiceRenameMachineOK) IsRedirect() bool
- func (o *HeadscaleServiceRenameMachineOK) IsServerError() bool
- func (o *HeadscaleServiceRenameMachineOK) IsSuccess() bool
- func (o *HeadscaleServiceRenameMachineOK) String() string
- type HeadscaleServiceRenameMachineParams
- func NewHeadscaleServiceRenameMachineParams() *HeadscaleServiceRenameMachineParams
- func NewHeadscaleServiceRenameMachineParamsWithContext(ctx context.Context) *HeadscaleServiceRenameMachineParams
- func NewHeadscaleServiceRenameMachineParamsWithHTTPClient(client *http.Client) *HeadscaleServiceRenameMachineParams
- func NewHeadscaleServiceRenameMachineParamsWithTimeout(timeout time.Duration) *HeadscaleServiceRenameMachineParams
- func (o *HeadscaleServiceRenameMachineParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceRenameMachineParams) SetDefaults()
- func (o *HeadscaleServiceRenameMachineParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceRenameMachineParams) SetMachineID(machineID string)
- func (o *HeadscaleServiceRenameMachineParams) SetNewName(newName string)
- func (o *HeadscaleServiceRenameMachineParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceRenameMachineParams) WithContext(ctx context.Context) *HeadscaleServiceRenameMachineParams
- func (o *HeadscaleServiceRenameMachineParams) WithDefaults() *HeadscaleServiceRenameMachineParams
- func (o *HeadscaleServiceRenameMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceRenameMachineParams
- func (o *HeadscaleServiceRenameMachineParams) WithMachineID(machineID string) *HeadscaleServiceRenameMachineParams
- func (o *HeadscaleServiceRenameMachineParams) WithNewName(newName string) *HeadscaleServiceRenameMachineParams
- func (o *HeadscaleServiceRenameMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceRenameMachineParams
- func (o *HeadscaleServiceRenameMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceRenameMachineReader
- type HeadscaleServiceRenameUserDefault
- func (o *HeadscaleServiceRenameUserDefault) Code() int
- func (o *HeadscaleServiceRenameUserDefault) Error() string
- func (o *HeadscaleServiceRenameUserDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceRenameUserDefault) IsClientError() bool
- func (o *HeadscaleServiceRenameUserDefault) IsCode(code int) bool
- func (o *HeadscaleServiceRenameUserDefault) IsRedirect() bool
- func (o *HeadscaleServiceRenameUserDefault) IsServerError() bool
- func (o *HeadscaleServiceRenameUserDefault) IsSuccess() bool
- func (o *HeadscaleServiceRenameUserDefault) String() string
- type HeadscaleServiceRenameUserOK
- func (o *HeadscaleServiceRenameUserOK) Error() string
- func (o *HeadscaleServiceRenameUserOK) GetPayload() *models.V1RenameUserResponse
- func (o *HeadscaleServiceRenameUserOK) IsClientError() bool
- func (o *HeadscaleServiceRenameUserOK) IsCode(code int) bool
- func (o *HeadscaleServiceRenameUserOK) IsRedirect() bool
- func (o *HeadscaleServiceRenameUserOK) IsServerError() bool
- func (o *HeadscaleServiceRenameUserOK) IsSuccess() bool
- func (o *HeadscaleServiceRenameUserOK) String() string
- type HeadscaleServiceRenameUserParams
- func NewHeadscaleServiceRenameUserParams() *HeadscaleServiceRenameUserParams
- func NewHeadscaleServiceRenameUserParamsWithContext(ctx context.Context) *HeadscaleServiceRenameUserParams
- func NewHeadscaleServiceRenameUserParamsWithHTTPClient(client *http.Client) *HeadscaleServiceRenameUserParams
- func NewHeadscaleServiceRenameUserParamsWithTimeout(timeout time.Duration) *HeadscaleServiceRenameUserParams
- func (o *HeadscaleServiceRenameUserParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceRenameUserParams) SetDefaults()
- func (o *HeadscaleServiceRenameUserParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceRenameUserParams) SetNewName(newName string)
- func (o *HeadscaleServiceRenameUserParams) SetOldName(oldName string)
- func (o *HeadscaleServiceRenameUserParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceRenameUserParams) WithContext(ctx context.Context) *HeadscaleServiceRenameUserParams
- func (o *HeadscaleServiceRenameUserParams) WithDefaults() *HeadscaleServiceRenameUserParams
- func (o *HeadscaleServiceRenameUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceRenameUserParams
- func (o *HeadscaleServiceRenameUserParams) WithNewName(newName string) *HeadscaleServiceRenameUserParams
- func (o *HeadscaleServiceRenameUserParams) WithOldName(oldName string) *HeadscaleServiceRenameUserParams
- func (o *HeadscaleServiceRenameUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceRenameUserParams
- func (o *HeadscaleServiceRenameUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceRenameUserReader
- type HeadscaleServiceSetTagsBody
- func (o *HeadscaleServiceSetTagsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *HeadscaleServiceSetTagsBody) MarshalBinary() ([]byte, error)
- func (o *HeadscaleServiceSetTagsBody) UnmarshalBinary(b []byte) error
- func (o *HeadscaleServiceSetTagsBody) Validate(formats strfmt.Registry) error
- type HeadscaleServiceSetTagsDefault
- func (o *HeadscaleServiceSetTagsDefault) Code() int
- func (o *HeadscaleServiceSetTagsDefault) Error() string
- func (o *HeadscaleServiceSetTagsDefault) GetPayload() *models.RPCStatus
- func (o *HeadscaleServiceSetTagsDefault) IsClientError() bool
- func (o *HeadscaleServiceSetTagsDefault) IsCode(code int) bool
- func (o *HeadscaleServiceSetTagsDefault) IsRedirect() bool
- func (o *HeadscaleServiceSetTagsDefault) IsServerError() bool
- func (o *HeadscaleServiceSetTagsDefault) IsSuccess() bool
- func (o *HeadscaleServiceSetTagsDefault) String() string
- type HeadscaleServiceSetTagsOK
- func (o *HeadscaleServiceSetTagsOK) Error() string
- func (o *HeadscaleServiceSetTagsOK) GetPayload() *models.V1SetTagsResponse
- func (o *HeadscaleServiceSetTagsOK) IsClientError() bool
- func (o *HeadscaleServiceSetTagsOK) IsCode(code int) bool
- func (o *HeadscaleServiceSetTagsOK) IsRedirect() bool
- func (o *HeadscaleServiceSetTagsOK) IsServerError() bool
- func (o *HeadscaleServiceSetTagsOK) IsSuccess() bool
- func (o *HeadscaleServiceSetTagsOK) String() string
- type HeadscaleServiceSetTagsParams
- func NewHeadscaleServiceSetTagsParams() *HeadscaleServiceSetTagsParams
- func NewHeadscaleServiceSetTagsParamsWithContext(ctx context.Context) *HeadscaleServiceSetTagsParams
- func NewHeadscaleServiceSetTagsParamsWithHTTPClient(client *http.Client) *HeadscaleServiceSetTagsParams
- func NewHeadscaleServiceSetTagsParamsWithTimeout(timeout time.Duration) *HeadscaleServiceSetTagsParams
- func (o *HeadscaleServiceSetTagsParams) SetBody(body HeadscaleServiceSetTagsBody)
- func (o *HeadscaleServiceSetTagsParams) SetContext(ctx context.Context)
- func (o *HeadscaleServiceSetTagsParams) SetDefaults()
- func (o *HeadscaleServiceSetTagsParams) SetHTTPClient(client *http.Client)
- func (o *HeadscaleServiceSetTagsParams) SetMachineID(machineID string)
- func (o *HeadscaleServiceSetTagsParams) SetTimeout(timeout time.Duration)
- func (o *HeadscaleServiceSetTagsParams) WithBody(body HeadscaleServiceSetTagsBody) *HeadscaleServiceSetTagsParams
- func (o *HeadscaleServiceSetTagsParams) WithContext(ctx context.Context) *HeadscaleServiceSetTagsParams
- func (o *HeadscaleServiceSetTagsParams) WithDefaults() *HeadscaleServiceSetTagsParams
- func (o *HeadscaleServiceSetTagsParams) WithHTTPClient(client *http.Client) *HeadscaleServiceSetTagsParams
- func (o *HeadscaleServiceSetTagsParams) WithMachineID(machineID string) *HeadscaleServiceSetTagsParams
- func (o *HeadscaleServiceSetTagsParams) WithTimeout(timeout time.Duration) *HeadscaleServiceSetTagsParams
- func (o *HeadscaleServiceSetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadscaleServiceSetTagsReader
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 ¶
func (o *HeadscaleServiceCreateAPIKeyDefault) Code() int
Code gets the status code for the headscale service create Api key default response
func (*HeadscaleServiceCreateAPIKeyDefault) Error ¶
func (o *HeadscaleServiceCreateAPIKeyDefault) Error() string
func (*HeadscaleServiceCreateAPIKeyDefault) GetPayload ¶
func (o *HeadscaleServiceCreateAPIKeyDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceCreateAPIKeyDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceCreateAPIKeyDefault) IsSuccess() bool
IsSuccess returns true when this headscale service create Api key default response has a 2xx status code
func (*HeadscaleServiceCreateAPIKeyDefault) String ¶
func (o *HeadscaleServiceCreateAPIKeyDefault) String() 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 (o *HeadscaleServiceCreateAPIKeyOK) Error() string
func (*HeadscaleServiceCreateAPIKeyOK) GetPayload ¶
func (o *HeadscaleServiceCreateAPIKeyOK) GetPayload() *models.V1CreateAPIKeyResponse
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 ¶
func (o *HeadscaleServiceCreateAPIKeyOK) String() 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 ¶
func (o *HeadscaleServiceCreateAPIKeyParams) SetBody(body *models.V1CreateAPIKeyRequest)
SetBody adds the body to the headscale service create Api key params
func (*HeadscaleServiceCreateAPIKeyParams) SetContext ¶
func (o *HeadscaleServiceCreateAPIKeyParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceCreateAPIKeyParams) WithBody(body *models.V1CreateAPIKeyRequest) *HeadscaleServiceCreateAPIKeyParams
WithBody adds the body to the headscale service create Api key params
func (*HeadscaleServiceCreateAPIKeyParams) WithContext ¶
func (o *HeadscaleServiceCreateAPIKeyParams) WithContext(ctx context.Context) *HeadscaleServiceCreateAPIKeyParams
WithContext adds the context to the headscale service create Api key params
func (*HeadscaleServiceCreateAPIKeyParams) WithDefaults ¶
func (o *HeadscaleServiceCreateAPIKeyParams) WithDefaults() *HeadscaleServiceCreateAPIKeyParams
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 ¶
func (o *HeadscaleServiceCreateAPIKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceCreateAPIKeyParams
WithHTTPClient adds the HTTPClient to the headscale service create Api key params
func (*HeadscaleServiceCreateAPIKeyParams) WithTimeout ¶
func (o *HeadscaleServiceCreateAPIKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceCreateAPIKeyParams
WithTimeout adds the timeout to the headscale service create Api key params
func (*HeadscaleServiceCreateAPIKeyParams) WriteToRequest ¶
func (o *HeadscaleServiceCreateAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyDefault) Code() int
Code gets the status code for the headscale service create pre auth key default response
func (*HeadscaleServiceCreatePreAuthKeyDefault) Error ¶
func (o *HeadscaleServiceCreatePreAuthKeyDefault) Error() string
func (*HeadscaleServiceCreatePreAuthKeyDefault) GetPayload ¶
func (o *HeadscaleServiceCreatePreAuthKeyDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsCode(code int) bool
IsCode returns true when this headscale service create pre auth key default response a status code equal to that given
func (*HeadscaleServiceCreatePreAuthKeyDefault) IsRedirect ¶
func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyDefault) IsSuccess() bool
IsSuccess returns true when this headscale service create pre auth key default response has a 2xx status code
func (*HeadscaleServiceCreatePreAuthKeyDefault) String ¶
func (o *HeadscaleServiceCreatePreAuthKeyDefault) String() 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 (o *HeadscaleServiceCreatePreAuthKeyOK) Error() string
func (*HeadscaleServiceCreatePreAuthKeyOK) GetPayload ¶
func (o *HeadscaleServiceCreatePreAuthKeyOK) GetPayload() *models.V1CreatePreAuthKeyResponse
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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyOK) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyOK) IsSuccess() bool
IsSuccess returns true when this headscale service create pre auth key o k response has a 2xx status code
func (*HeadscaleServiceCreatePreAuthKeyOK) String ¶
func (o *HeadscaleServiceCreatePreAuthKeyOK) String() 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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) SetBody(body *models.V1CreatePreAuthKeyRequest)
SetBody adds the body to the headscale service create pre auth key params
func (*HeadscaleServiceCreatePreAuthKeyParams) SetContext ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) WithBody(body *models.V1CreatePreAuthKeyRequest) *HeadscaleServiceCreatePreAuthKeyParams
WithBody adds the body to the headscale service create pre auth key params
func (*HeadscaleServiceCreatePreAuthKeyParams) WithContext ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) WithContext(ctx context.Context) *HeadscaleServiceCreatePreAuthKeyParams
WithContext adds the context to the headscale service create pre auth key params
func (*HeadscaleServiceCreatePreAuthKeyParams) WithDefaults ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) WithDefaults() *HeadscaleServiceCreatePreAuthKeyParams
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 ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceCreatePreAuthKeyParams
WithHTTPClient adds the HTTPClient to the headscale service create pre auth key params
func (*HeadscaleServiceCreatePreAuthKeyParams) WithTimeout ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceCreatePreAuthKeyParams
WithTimeout adds the timeout to the headscale service create pre auth key params
func (*HeadscaleServiceCreatePreAuthKeyParams) WriteToRequest ¶
func (o *HeadscaleServiceCreatePreAuthKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceCreateUserDefault) Code() int
Code gets the status code for the headscale service create user default response
func (*HeadscaleServiceCreateUserDefault) Error ¶
func (o *HeadscaleServiceCreateUserDefault) Error() string
func (*HeadscaleServiceCreateUserDefault) GetPayload ¶
func (o *HeadscaleServiceCreateUserDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceCreateUserDefault) String() 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 (o *HeadscaleServiceCreateUserOK) Error() string
func (*HeadscaleServiceCreateUserOK) GetPayload ¶
func (o *HeadscaleServiceCreateUserOK) GetPayload() *models.V1CreateUserResponse
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 ¶
func (o *HeadscaleServiceCreateUserOK) String() 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 ¶
func (o *HeadscaleServiceCreateUserParams) SetBody(body *models.V1CreateUserRequest)
SetBody adds the body to the headscale service create user params
func (*HeadscaleServiceCreateUserParams) SetContext ¶
func (o *HeadscaleServiceCreateUserParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceCreateUserParams) WithBody(body *models.V1CreateUserRequest) *HeadscaleServiceCreateUserParams
WithBody adds the body to the headscale service create user params
func (*HeadscaleServiceCreateUserParams) WithContext ¶
func (o *HeadscaleServiceCreateUserParams) WithContext(ctx context.Context) *HeadscaleServiceCreateUserParams
WithContext adds the context to the headscale service create user params
func (*HeadscaleServiceCreateUserParams) WithDefaults ¶
func (o *HeadscaleServiceCreateUserParams) WithDefaults() *HeadscaleServiceCreateUserParams
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 ¶
func (o *HeadscaleServiceCreateUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceCreateUserParams
WithHTTPClient adds the HTTPClient to the headscale service create user params
func (*HeadscaleServiceCreateUserParams) WithTimeout ¶
func (o *HeadscaleServiceCreateUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceCreateUserParams
WithTimeout adds the timeout to the headscale service create user params
func (*HeadscaleServiceCreateUserParams) WriteToRequest ¶
func (o *HeadscaleServiceCreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) Code() int
Code gets the status code for the headscale service debug create machine default response
func (*HeadscaleServiceDebugCreateMachineDefault) Error ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) Error() string
func (*HeadscaleServiceDebugCreateMachineDefault) GetPayload ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) GetPayload() *models.RPCStatus
func (*HeadscaleServiceDebugCreateMachineDefault) IsClientError ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) IsClientError() bool
IsClientError returns true when this headscale service debug create machine default response has a 4xx status code
func (*HeadscaleServiceDebugCreateMachineDefault) IsCode ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) IsCode(code int) bool
IsCode returns true when this headscale service debug create machine default response a status code equal to that given
func (*HeadscaleServiceDebugCreateMachineDefault) IsRedirect ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) IsRedirect() bool
IsRedirect returns true when this headscale service debug create machine default response has a 3xx status code
func (*HeadscaleServiceDebugCreateMachineDefault) IsServerError ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) IsServerError() bool
IsServerError returns true when this headscale service debug create machine default response has a 5xx status code
func (*HeadscaleServiceDebugCreateMachineDefault) IsSuccess ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) IsSuccess() bool
IsSuccess returns true when this headscale service debug create machine default response has a 2xx status code
func (*HeadscaleServiceDebugCreateMachineDefault) String ¶
func (o *HeadscaleServiceDebugCreateMachineDefault) String() 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 (o *HeadscaleServiceDebugCreateMachineOK) Error() string
func (*HeadscaleServiceDebugCreateMachineOK) GetPayload ¶
func (o *HeadscaleServiceDebugCreateMachineOK) GetPayload() *models.V1DebugCreateMachineResponse
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 ¶
func (o *HeadscaleServiceDebugCreateMachineOK) IsCode(code int) bool
IsCode returns true when this headscale service debug create machine o k response a status code equal to that given
func (*HeadscaleServiceDebugCreateMachineOK) IsRedirect ¶
func (o *HeadscaleServiceDebugCreateMachineOK) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceDebugCreateMachineOK) IsSuccess() bool
IsSuccess returns true when this headscale service debug create machine o k response has a 2xx status code
func (*HeadscaleServiceDebugCreateMachineOK) String ¶
func (o *HeadscaleServiceDebugCreateMachineOK) String() 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 ¶
func (o *HeadscaleServiceDebugCreateMachineParams) SetBody(body *models.V1DebugCreateMachineRequest)
SetBody adds the body to the headscale service debug create machine params
func (*HeadscaleServiceDebugCreateMachineParams) SetContext ¶
func (o *HeadscaleServiceDebugCreateMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the headscale service debug create machine params
func (*HeadscaleServiceDebugCreateMachineParams) SetDefaults ¶
func (o *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 ¶
func (o *HeadscaleServiceDebugCreateMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the headscale service debug create machine params
func (*HeadscaleServiceDebugCreateMachineParams) WithBody ¶
func (o *HeadscaleServiceDebugCreateMachineParams) WithBody(body *models.V1DebugCreateMachineRequest) *HeadscaleServiceDebugCreateMachineParams
WithBody adds the body to the headscale service debug create machine params
func (*HeadscaleServiceDebugCreateMachineParams) WithContext ¶
func (o *HeadscaleServiceDebugCreateMachineParams) WithContext(ctx context.Context) *HeadscaleServiceDebugCreateMachineParams
WithContext adds the context to the headscale service debug create machine params
func (*HeadscaleServiceDebugCreateMachineParams) WithDefaults ¶
func (o *HeadscaleServiceDebugCreateMachineParams) WithDefaults() *HeadscaleServiceDebugCreateMachineParams
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 ¶
func (o *HeadscaleServiceDebugCreateMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDebugCreateMachineParams
WithHTTPClient adds the HTTPClient to the headscale service debug create machine params
func (*HeadscaleServiceDebugCreateMachineParams) WithTimeout ¶
func (o *HeadscaleServiceDebugCreateMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDebugCreateMachineParams
WithTimeout adds the timeout to the headscale service debug create machine params
func (*HeadscaleServiceDebugCreateMachineParams) WriteToRequest ¶
func (o *HeadscaleServiceDebugCreateMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceDeleteMachineDefault) Code() int
Code gets the status code for the headscale service delete machine default response
func (*HeadscaleServiceDeleteMachineDefault) Error ¶
func (o *HeadscaleServiceDeleteMachineDefault) Error() string
func (*HeadscaleServiceDeleteMachineDefault) GetPayload ¶
func (o *HeadscaleServiceDeleteMachineDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceDeleteMachineDefault) IsCode(code int) bool
IsCode returns true when this headscale service delete machine default response a status code equal to that given
func (*HeadscaleServiceDeleteMachineDefault) IsRedirect ¶
func (o *HeadscaleServiceDeleteMachineDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceDeleteMachineDefault) IsSuccess() bool
IsSuccess returns true when this headscale service delete machine default response has a 2xx status code
func (*HeadscaleServiceDeleteMachineDefault) String ¶
func (o *HeadscaleServiceDeleteMachineDefault) String() 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 (o *HeadscaleServiceDeleteMachineOK) Error() string
func (*HeadscaleServiceDeleteMachineOK) GetPayload ¶
func (o *HeadscaleServiceDeleteMachineOK) GetPayload() models.V1DeleteMachineResponse
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 ¶
func (o *HeadscaleServiceDeleteMachineOK) String() 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 ¶
func (o *HeadscaleServiceDeleteMachineParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceDeleteMachineParams) WithContext(ctx context.Context) *HeadscaleServiceDeleteMachineParams
WithContext adds the context to the headscale service delete machine params
func (*HeadscaleServiceDeleteMachineParams) WithDefaults ¶
func (o *HeadscaleServiceDeleteMachineParams) WithDefaults() *HeadscaleServiceDeleteMachineParams
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 ¶
func (o *HeadscaleServiceDeleteMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDeleteMachineParams
WithHTTPClient adds the HTTPClient to the headscale service delete machine params
func (*HeadscaleServiceDeleteMachineParams) WithMachineID ¶
func (o *HeadscaleServiceDeleteMachineParams) WithMachineID(machineID string) *HeadscaleServiceDeleteMachineParams
WithMachineID adds the machineID to the headscale service delete machine params
func (*HeadscaleServiceDeleteMachineParams) WithTimeout ¶
func (o *HeadscaleServiceDeleteMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDeleteMachineParams
WithTimeout adds the timeout to the headscale service delete machine params
func (*HeadscaleServiceDeleteMachineParams) WriteToRequest ¶
func (o *HeadscaleServiceDeleteMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceDeleteRouteDefault) Code() int
Code gets the status code for the headscale service delete route default response
func (*HeadscaleServiceDeleteRouteDefault) Error ¶
func (o *HeadscaleServiceDeleteRouteDefault) Error() string
func (*HeadscaleServiceDeleteRouteDefault) GetPayload ¶
func (o *HeadscaleServiceDeleteRouteDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceDeleteRouteDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceDeleteRouteDefault) IsSuccess() bool
IsSuccess returns true when this headscale service delete route default response has a 2xx status code
func (*HeadscaleServiceDeleteRouteDefault) String ¶
func (o *HeadscaleServiceDeleteRouteDefault) String() 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 (o *HeadscaleServiceDeleteRouteOK) Error() string
func (*HeadscaleServiceDeleteRouteOK) GetPayload ¶
func (o *HeadscaleServiceDeleteRouteOK) GetPayload() models.V1DeleteRouteResponse
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 ¶
func (o *HeadscaleServiceDeleteRouteOK) String() 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 ¶
func (o *HeadscaleServiceDeleteRouteParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceDeleteRouteParams) WithContext(ctx context.Context) *HeadscaleServiceDeleteRouteParams
WithContext adds the context to the headscale service delete route params
func (*HeadscaleServiceDeleteRouteParams) WithDefaults ¶
func (o *HeadscaleServiceDeleteRouteParams) WithDefaults() *HeadscaleServiceDeleteRouteParams
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 ¶
func (o *HeadscaleServiceDeleteRouteParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDeleteRouteParams
WithHTTPClient adds the HTTPClient to the headscale service delete route params
func (*HeadscaleServiceDeleteRouteParams) WithRouteID ¶
func (o *HeadscaleServiceDeleteRouteParams) WithRouteID(routeID string) *HeadscaleServiceDeleteRouteParams
WithRouteID adds the routeID to the headscale service delete route params
func (*HeadscaleServiceDeleteRouteParams) WithTimeout ¶
func (o *HeadscaleServiceDeleteRouteParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDeleteRouteParams
WithTimeout adds the timeout to the headscale service delete route params
func (*HeadscaleServiceDeleteRouteParams) WriteToRequest ¶
func (o *HeadscaleServiceDeleteRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceDeleteUserDefault) Code() int
Code gets the status code for the headscale service delete user default response
func (*HeadscaleServiceDeleteUserDefault) Error ¶
func (o *HeadscaleServiceDeleteUserDefault) Error() string
func (*HeadscaleServiceDeleteUserDefault) GetPayload ¶
func (o *HeadscaleServiceDeleteUserDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceDeleteUserDefault) String() 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 (o *HeadscaleServiceDeleteUserOK) Error() string
func (*HeadscaleServiceDeleteUserOK) GetPayload ¶
func (o *HeadscaleServiceDeleteUserOK) GetPayload() models.V1DeleteUserResponse
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 ¶
func (o *HeadscaleServiceDeleteUserOK) String() 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 ¶
func (o *HeadscaleServiceDeleteUserParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceDeleteUserParams) WithContext(ctx context.Context) *HeadscaleServiceDeleteUserParams
WithContext adds the context to the headscale service delete user params
func (*HeadscaleServiceDeleteUserParams) WithDefaults ¶
func (o *HeadscaleServiceDeleteUserParams) WithDefaults() *HeadscaleServiceDeleteUserParams
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 ¶
func (o *HeadscaleServiceDeleteUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDeleteUserParams
WithHTTPClient adds the HTTPClient to the headscale service delete user params
func (*HeadscaleServiceDeleteUserParams) WithName ¶
func (o *HeadscaleServiceDeleteUserParams) WithName(name string) *HeadscaleServiceDeleteUserParams
WithName adds the name to the headscale service delete user params
func (*HeadscaleServiceDeleteUserParams) WithTimeout ¶
func (o *HeadscaleServiceDeleteUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDeleteUserParams
WithTimeout adds the timeout to the headscale service delete user params
func (*HeadscaleServiceDeleteUserParams) WriteToRequest ¶
func (o *HeadscaleServiceDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceDisableRouteDefault) Code() int
Code gets the status code for the headscale service disable route default response
func (*HeadscaleServiceDisableRouteDefault) Error ¶
func (o *HeadscaleServiceDisableRouteDefault) Error() string
func (*HeadscaleServiceDisableRouteDefault) GetPayload ¶
func (o *HeadscaleServiceDisableRouteDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceDisableRouteDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceDisableRouteDefault) IsSuccess() bool
IsSuccess returns true when this headscale service disable route default response has a 2xx status code
func (*HeadscaleServiceDisableRouteDefault) String ¶
func (o *HeadscaleServiceDisableRouteDefault) String() 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 (o *HeadscaleServiceDisableRouteOK) Error() string
func (*HeadscaleServiceDisableRouteOK) GetPayload ¶
func (o *HeadscaleServiceDisableRouteOK) GetPayload() models.V1DisableRouteResponse
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 ¶
func (o *HeadscaleServiceDisableRouteOK) String() 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 ¶
func (o *HeadscaleServiceDisableRouteParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceDisableRouteParams) WithContext(ctx context.Context) *HeadscaleServiceDisableRouteParams
WithContext adds the context to the headscale service disable route params
func (*HeadscaleServiceDisableRouteParams) WithDefaults ¶
func (o *HeadscaleServiceDisableRouteParams) WithDefaults() *HeadscaleServiceDisableRouteParams
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 ¶
func (o *HeadscaleServiceDisableRouteParams) WithHTTPClient(client *http.Client) *HeadscaleServiceDisableRouteParams
WithHTTPClient adds the HTTPClient to the headscale service disable route params
func (*HeadscaleServiceDisableRouteParams) WithRouteID ¶
func (o *HeadscaleServiceDisableRouteParams) WithRouteID(routeID string) *HeadscaleServiceDisableRouteParams
WithRouteID adds the routeID to the headscale service disable route params
func (*HeadscaleServiceDisableRouteParams) WithTimeout ¶
func (o *HeadscaleServiceDisableRouteParams) WithTimeout(timeout time.Duration) *HeadscaleServiceDisableRouteParams
WithTimeout adds the timeout to the headscale service disable route params
func (*HeadscaleServiceDisableRouteParams) WriteToRequest ¶
func (o *HeadscaleServiceDisableRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceEnableRouteDefault) Code() int
Code gets the status code for the headscale service enable route default response
func (*HeadscaleServiceEnableRouteDefault) Error ¶
func (o *HeadscaleServiceEnableRouteDefault) Error() string
func (*HeadscaleServiceEnableRouteDefault) GetPayload ¶
func (o *HeadscaleServiceEnableRouteDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceEnableRouteDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceEnableRouteDefault) IsSuccess() bool
IsSuccess returns true when this headscale service enable route default response has a 2xx status code
func (*HeadscaleServiceEnableRouteDefault) String ¶
func (o *HeadscaleServiceEnableRouteDefault) String() 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 (o *HeadscaleServiceEnableRouteOK) Error() string
func (*HeadscaleServiceEnableRouteOK) GetPayload ¶
func (o *HeadscaleServiceEnableRouteOK) GetPayload() models.V1EnableRouteResponse
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 ¶
func (o *HeadscaleServiceEnableRouteOK) String() 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 ¶
func (o *HeadscaleServiceEnableRouteParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceEnableRouteParams) WithContext(ctx context.Context) *HeadscaleServiceEnableRouteParams
WithContext adds the context to the headscale service enable route params
func (*HeadscaleServiceEnableRouteParams) WithDefaults ¶
func (o *HeadscaleServiceEnableRouteParams) WithDefaults() *HeadscaleServiceEnableRouteParams
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 ¶
func (o *HeadscaleServiceEnableRouteParams) WithHTTPClient(client *http.Client) *HeadscaleServiceEnableRouteParams
WithHTTPClient adds the HTTPClient to the headscale service enable route params
func (*HeadscaleServiceEnableRouteParams) WithRouteID ¶
func (o *HeadscaleServiceEnableRouteParams) WithRouteID(routeID string) *HeadscaleServiceEnableRouteParams
WithRouteID adds the routeID to the headscale service enable route params
func (*HeadscaleServiceEnableRouteParams) WithTimeout ¶
func (o *HeadscaleServiceEnableRouteParams) WithTimeout(timeout time.Duration) *HeadscaleServiceEnableRouteParams
WithTimeout adds the timeout to the headscale service enable route params
func (*HeadscaleServiceEnableRouteParams) WriteToRequest ¶
func (o *HeadscaleServiceEnableRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceExpireAPIKeyDefault) Code() int
Code gets the status code for the headscale service expire Api key default response
func (*HeadscaleServiceExpireAPIKeyDefault) Error ¶
func (o *HeadscaleServiceExpireAPIKeyDefault) Error() string
func (*HeadscaleServiceExpireAPIKeyDefault) GetPayload ¶
func (o *HeadscaleServiceExpireAPIKeyDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceExpireAPIKeyDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceExpireAPIKeyDefault) IsSuccess() bool
IsSuccess returns true when this headscale service expire Api key default response has a 2xx status code
func (*HeadscaleServiceExpireAPIKeyDefault) String ¶
func (o *HeadscaleServiceExpireAPIKeyDefault) String() 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 (o *HeadscaleServiceExpireAPIKeyOK) Error() string
func (*HeadscaleServiceExpireAPIKeyOK) GetPayload ¶
func (o *HeadscaleServiceExpireAPIKeyOK) GetPayload() models.V1ExpireAPIKeyResponse
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 ¶
func (o *HeadscaleServiceExpireAPIKeyOK) String() 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 ¶
func (o *HeadscaleServiceExpireAPIKeyParams) SetBody(body *models.V1ExpireAPIKeyRequest)
SetBody adds the body to the headscale service expire Api key params
func (*HeadscaleServiceExpireAPIKeyParams) SetContext ¶
func (o *HeadscaleServiceExpireAPIKeyParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceExpireAPIKeyParams) WithBody(body *models.V1ExpireAPIKeyRequest) *HeadscaleServiceExpireAPIKeyParams
WithBody adds the body to the headscale service expire Api key params
func (*HeadscaleServiceExpireAPIKeyParams) WithContext ¶
func (o *HeadscaleServiceExpireAPIKeyParams) WithContext(ctx context.Context) *HeadscaleServiceExpireAPIKeyParams
WithContext adds the context to the headscale service expire Api key params
func (*HeadscaleServiceExpireAPIKeyParams) WithDefaults ¶
func (o *HeadscaleServiceExpireAPIKeyParams) WithDefaults() *HeadscaleServiceExpireAPIKeyParams
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 ¶
func (o *HeadscaleServiceExpireAPIKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceExpireAPIKeyParams
WithHTTPClient adds the HTTPClient to the headscale service expire Api key params
func (*HeadscaleServiceExpireAPIKeyParams) WithTimeout ¶
func (o *HeadscaleServiceExpireAPIKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceExpireAPIKeyParams
WithTimeout adds the timeout to the headscale service expire Api key params
func (*HeadscaleServiceExpireAPIKeyParams) WriteToRequest ¶
func (o *HeadscaleServiceExpireAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceExpireMachineDefault) Code() int
Code gets the status code for the headscale service expire machine default response
func (*HeadscaleServiceExpireMachineDefault) Error ¶
func (o *HeadscaleServiceExpireMachineDefault) Error() string
func (*HeadscaleServiceExpireMachineDefault) GetPayload ¶
func (o *HeadscaleServiceExpireMachineDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceExpireMachineDefault) IsCode(code int) bool
IsCode returns true when this headscale service expire machine default response a status code equal to that given
func (*HeadscaleServiceExpireMachineDefault) IsRedirect ¶
func (o *HeadscaleServiceExpireMachineDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceExpireMachineDefault) IsSuccess() bool
IsSuccess returns true when this headscale service expire machine default response has a 2xx status code
func (*HeadscaleServiceExpireMachineDefault) String ¶
func (o *HeadscaleServiceExpireMachineDefault) String() 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 (o *HeadscaleServiceExpireMachineOK) Error() string
func (*HeadscaleServiceExpireMachineOK) GetPayload ¶
func (o *HeadscaleServiceExpireMachineOK) GetPayload() *models.V1ExpireMachineResponse
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 ¶
func (o *HeadscaleServiceExpireMachineOK) String() 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 ¶
func (o *HeadscaleServiceExpireMachineParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceExpireMachineParams) WithContext(ctx context.Context) *HeadscaleServiceExpireMachineParams
WithContext adds the context to the headscale service expire machine params
func (*HeadscaleServiceExpireMachineParams) WithDefaults ¶
func (o *HeadscaleServiceExpireMachineParams) WithDefaults() *HeadscaleServiceExpireMachineParams
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 ¶
func (o *HeadscaleServiceExpireMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceExpireMachineParams
WithHTTPClient adds the HTTPClient to the headscale service expire machine params
func (*HeadscaleServiceExpireMachineParams) WithMachineID ¶
func (o *HeadscaleServiceExpireMachineParams) WithMachineID(machineID string) *HeadscaleServiceExpireMachineParams
WithMachineID adds the machineID to the headscale service expire machine params
func (*HeadscaleServiceExpireMachineParams) WithTimeout ¶
func (o *HeadscaleServiceExpireMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceExpireMachineParams
WithTimeout adds the timeout to the headscale service expire machine params
func (*HeadscaleServiceExpireMachineParams) WriteToRequest ¶
func (o *HeadscaleServiceExpireMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyDefault) Code() int
Code gets the status code for the headscale service expire pre auth key default response
func (*HeadscaleServiceExpirePreAuthKeyDefault) Error ¶
func (o *HeadscaleServiceExpirePreAuthKeyDefault) Error() string
func (*HeadscaleServiceExpirePreAuthKeyDefault) GetPayload ¶
func (o *HeadscaleServiceExpirePreAuthKeyDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsCode(code int) bool
IsCode returns true when this headscale service expire pre auth key default response a status code equal to that given
func (*HeadscaleServiceExpirePreAuthKeyDefault) IsRedirect ¶
func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyDefault) IsSuccess() bool
IsSuccess returns true when this headscale service expire pre auth key default response has a 2xx status code
func (*HeadscaleServiceExpirePreAuthKeyDefault) String ¶
func (o *HeadscaleServiceExpirePreAuthKeyDefault) String() 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 (o *HeadscaleServiceExpirePreAuthKeyOK) Error() string
func (*HeadscaleServiceExpirePreAuthKeyOK) GetPayload ¶
func (o *HeadscaleServiceExpirePreAuthKeyOK) GetPayload() models.V1ExpirePreAuthKeyResponse
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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyOK) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyOK) IsSuccess() bool
IsSuccess returns true when this headscale service expire pre auth key o k response has a 2xx status code
func (*HeadscaleServiceExpirePreAuthKeyOK) String ¶
func (o *HeadscaleServiceExpirePreAuthKeyOK) String() 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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) SetBody(body *models.V1ExpirePreAuthKeyRequest)
SetBody adds the body to the headscale service expire pre auth key params
func (*HeadscaleServiceExpirePreAuthKeyParams) SetContext ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) WithBody(body *models.V1ExpirePreAuthKeyRequest) *HeadscaleServiceExpirePreAuthKeyParams
WithBody adds the body to the headscale service expire pre auth key params
func (*HeadscaleServiceExpirePreAuthKeyParams) WithContext ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) WithContext(ctx context.Context) *HeadscaleServiceExpirePreAuthKeyParams
WithContext adds the context to the headscale service expire pre auth key params
func (*HeadscaleServiceExpirePreAuthKeyParams) WithDefaults ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) WithDefaults() *HeadscaleServiceExpirePreAuthKeyParams
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 ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) WithHTTPClient(client *http.Client) *HeadscaleServiceExpirePreAuthKeyParams
WithHTTPClient adds the HTTPClient to the headscale service expire pre auth key params
func (*HeadscaleServiceExpirePreAuthKeyParams) WithTimeout ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) WithTimeout(timeout time.Duration) *HeadscaleServiceExpirePreAuthKeyParams
WithTimeout adds the timeout to the headscale service expire pre auth key params
func (*HeadscaleServiceExpirePreAuthKeyParams) WriteToRequest ¶
func (o *HeadscaleServiceExpirePreAuthKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceGetMachineDefault) Code() int
Code gets the status code for the headscale service get machine default response
func (*HeadscaleServiceGetMachineDefault) Error ¶
func (o *HeadscaleServiceGetMachineDefault) Error() string
func (*HeadscaleServiceGetMachineDefault) GetPayload ¶
func (o *HeadscaleServiceGetMachineDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceGetMachineDefault) String() 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 (o *HeadscaleServiceGetMachineOK) Error() string
func (*HeadscaleServiceGetMachineOK) GetPayload ¶
func (o *HeadscaleServiceGetMachineOK) GetPayload() *models.V1GetMachineResponse
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 ¶
func (o *HeadscaleServiceGetMachineOK) String() 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 ¶
func (o *HeadscaleServiceGetMachineParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceGetMachineParams) WithContext(ctx context.Context) *HeadscaleServiceGetMachineParams
WithContext adds the context to the headscale service get machine params
func (*HeadscaleServiceGetMachineParams) WithDefaults ¶
func (o *HeadscaleServiceGetMachineParams) WithDefaults() *HeadscaleServiceGetMachineParams
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 ¶
func (o *HeadscaleServiceGetMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineParams
WithHTTPClient adds the HTTPClient to the headscale service get machine params
func (*HeadscaleServiceGetMachineParams) WithMachineID ¶
func (o *HeadscaleServiceGetMachineParams) WithMachineID(machineID string) *HeadscaleServiceGetMachineParams
WithMachineID adds the machineID to the headscale service get machine params
func (*HeadscaleServiceGetMachineParams) WithTimeout ¶
func (o *HeadscaleServiceGetMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineParams
WithTimeout adds the timeout to the headscale service get machine params
func (*HeadscaleServiceGetMachineParams) WriteToRequest ¶
func (o *HeadscaleServiceGetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceGetMachineRoutesDefault) Code() int
Code gets the status code for the headscale service get machine routes default response
func (*HeadscaleServiceGetMachineRoutesDefault) Error ¶
func (o *HeadscaleServiceGetMachineRoutesDefault) Error() string
func (*HeadscaleServiceGetMachineRoutesDefault) GetPayload ¶
func (o *HeadscaleServiceGetMachineRoutesDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceGetMachineRoutesDefault) IsCode(code int) bool
IsCode returns true when this headscale service get machine routes default response a status code equal to that given
func (*HeadscaleServiceGetMachineRoutesDefault) IsRedirect ¶
func (o *HeadscaleServiceGetMachineRoutesDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceGetMachineRoutesDefault) IsSuccess() bool
IsSuccess returns true when this headscale service get machine routes default response has a 2xx status code
func (*HeadscaleServiceGetMachineRoutesDefault) String ¶
func (o *HeadscaleServiceGetMachineRoutesDefault) String() 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 (o *HeadscaleServiceGetMachineRoutesOK) Error() string
func (*HeadscaleServiceGetMachineRoutesOK) GetPayload ¶
func (o *HeadscaleServiceGetMachineRoutesOK) GetPayload() *models.V1GetMachineRoutesResponse
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 ¶
func (o *HeadscaleServiceGetMachineRoutesOK) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceGetMachineRoutesOK) IsSuccess() bool
IsSuccess returns true when this headscale service get machine routes o k response has a 2xx status code
func (*HeadscaleServiceGetMachineRoutesOK) String ¶
func (o *HeadscaleServiceGetMachineRoutesOK) String() 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 ¶
func (o *HeadscaleServiceGetMachineRoutesParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceGetMachineRoutesParams) WithContext(ctx context.Context) *HeadscaleServiceGetMachineRoutesParams
WithContext adds the context to the headscale service get machine routes params
func (*HeadscaleServiceGetMachineRoutesParams) WithDefaults ¶
func (o *HeadscaleServiceGetMachineRoutesParams) WithDefaults() *HeadscaleServiceGetMachineRoutesParams
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 ¶
func (o *HeadscaleServiceGetMachineRoutesParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetMachineRoutesParams
WithHTTPClient adds the HTTPClient to the headscale service get machine routes params
func (*HeadscaleServiceGetMachineRoutesParams) WithMachineID ¶
func (o *HeadscaleServiceGetMachineRoutesParams) WithMachineID(machineID string) *HeadscaleServiceGetMachineRoutesParams
WithMachineID adds the machineID to the headscale service get machine routes params
func (*HeadscaleServiceGetMachineRoutesParams) WithTimeout ¶
func (o *HeadscaleServiceGetMachineRoutesParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetMachineRoutesParams
WithTimeout adds the timeout to the headscale service get machine routes params
func (*HeadscaleServiceGetMachineRoutesParams) WriteToRequest ¶
func (o *HeadscaleServiceGetMachineRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceGetRoutesDefault) Code() int
Code gets the status code for the headscale service get routes default response
func (*HeadscaleServiceGetRoutesDefault) Error ¶
func (o *HeadscaleServiceGetRoutesDefault) Error() string
func (*HeadscaleServiceGetRoutesDefault) GetPayload ¶
func (o *HeadscaleServiceGetRoutesDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceGetRoutesDefault) String() 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 (o *HeadscaleServiceGetRoutesOK) Error() string
func (*HeadscaleServiceGetRoutesOK) GetPayload ¶
func (o *HeadscaleServiceGetRoutesOK) GetPayload() *models.V1GetRoutesResponse
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 ¶
func (o *HeadscaleServiceGetRoutesParams) WithContext(ctx context.Context) *HeadscaleServiceGetRoutesParams
WithContext adds the context to the headscale service get routes params
func (*HeadscaleServiceGetRoutesParams) WithDefaults ¶
func (o *HeadscaleServiceGetRoutesParams) WithDefaults() *HeadscaleServiceGetRoutesParams
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 ¶
func (o *HeadscaleServiceGetRoutesParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetRoutesParams
WithHTTPClient adds the HTTPClient to the headscale service get routes params
func (*HeadscaleServiceGetRoutesParams) WithTimeout ¶
func (o *HeadscaleServiceGetRoutesParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetRoutesParams
WithTimeout adds the timeout to the headscale service get routes params
func (*HeadscaleServiceGetRoutesParams) WriteToRequest ¶
func (o *HeadscaleServiceGetRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceGetUserDefault) Code() int
Code gets the status code for the headscale service get user default response
func (*HeadscaleServiceGetUserDefault) Error ¶
func (o *HeadscaleServiceGetUserDefault) Error() string
func (*HeadscaleServiceGetUserDefault) GetPayload ¶
func (o *HeadscaleServiceGetUserDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceGetUserDefault) String() 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 (o *HeadscaleServiceGetUserOK) GetPayload() *models.V1GetUserResponse
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 ¶
func (o *HeadscaleServiceGetUserParams) WithContext(ctx context.Context) *HeadscaleServiceGetUserParams
WithContext adds the context to the headscale service get user params
func (*HeadscaleServiceGetUserParams) WithDefaults ¶
func (o *HeadscaleServiceGetUserParams) WithDefaults() *HeadscaleServiceGetUserParams
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 ¶
func (o *HeadscaleServiceGetUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceGetUserParams
WithHTTPClient adds the HTTPClient to the headscale service get user params
func (*HeadscaleServiceGetUserParams) WithName ¶
func (o *HeadscaleServiceGetUserParams) WithName(name string) *HeadscaleServiceGetUserParams
WithName adds the name to the headscale service get user params
func (*HeadscaleServiceGetUserParams) WithTimeout ¶
func (o *HeadscaleServiceGetUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceGetUserParams
WithTimeout adds the timeout to the headscale service get user params
func (*HeadscaleServiceGetUserParams) WriteToRequest ¶
func (o *HeadscaleServiceGetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceListAPIKeysDefault) Code() int
Code gets the status code for the headscale service list Api keys default response
func (*HeadscaleServiceListAPIKeysDefault) Error ¶
func (o *HeadscaleServiceListAPIKeysDefault) Error() string
func (*HeadscaleServiceListAPIKeysDefault) GetPayload ¶
func (o *HeadscaleServiceListAPIKeysDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceListAPIKeysDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceListAPIKeysDefault) IsSuccess() bool
IsSuccess returns true when this headscale service list Api keys default response has a 2xx status code
func (*HeadscaleServiceListAPIKeysDefault) String ¶
func (o *HeadscaleServiceListAPIKeysDefault) String() 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 (o *HeadscaleServiceListAPIKeysOK) Error() string
func (*HeadscaleServiceListAPIKeysOK) GetPayload ¶
func (o *HeadscaleServiceListAPIKeysOK) GetPayload() *models.V1ListAPIKeysResponse
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 ¶
func (o *HeadscaleServiceListAPIKeysOK) String() 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 ¶
func (o *HeadscaleServiceListAPIKeysParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceListAPIKeysParams) WithContext(ctx context.Context) *HeadscaleServiceListAPIKeysParams
WithContext adds the context to the headscale service list Api keys params
func (*HeadscaleServiceListAPIKeysParams) WithDefaults ¶
func (o *HeadscaleServiceListAPIKeysParams) WithDefaults() *HeadscaleServiceListAPIKeysParams
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 ¶
func (o *HeadscaleServiceListAPIKeysParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListAPIKeysParams
WithHTTPClient adds the HTTPClient to the headscale service list Api keys params
func (*HeadscaleServiceListAPIKeysParams) WithTimeout ¶
func (o *HeadscaleServiceListAPIKeysParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListAPIKeysParams
WithTimeout adds the timeout to the headscale service list Api keys params
func (*HeadscaleServiceListAPIKeysParams) WriteToRequest ¶
func (o *HeadscaleServiceListAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceListMachinesDefault) Code() int
Code gets the status code for the headscale service list machines default response
func (*HeadscaleServiceListMachinesDefault) Error ¶
func (o *HeadscaleServiceListMachinesDefault) Error() string
func (*HeadscaleServiceListMachinesDefault) GetPayload ¶
func (o *HeadscaleServiceListMachinesDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceListMachinesDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceListMachinesDefault) IsSuccess() bool
IsSuccess returns true when this headscale service list machines default response has a 2xx status code
func (*HeadscaleServiceListMachinesDefault) String ¶
func (o *HeadscaleServiceListMachinesDefault) String() 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 (o *HeadscaleServiceListMachinesOK) Error() string
func (*HeadscaleServiceListMachinesOK) GetPayload ¶
func (o *HeadscaleServiceListMachinesOK) GetPayload() *models.V1ListMachinesResponse
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 ¶
func (o *HeadscaleServiceListMachinesOK) String() 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 ¶
func (o *HeadscaleServiceListMachinesParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceListMachinesParams) WithContext(ctx context.Context) *HeadscaleServiceListMachinesParams
WithContext adds the context to the headscale service list machines params
func (*HeadscaleServiceListMachinesParams) WithDefaults ¶
func (o *HeadscaleServiceListMachinesParams) WithDefaults() *HeadscaleServiceListMachinesParams
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 ¶
func (o *HeadscaleServiceListMachinesParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListMachinesParams
WithHTTPClient adds the HTTPClient to the headscale service list machines params
func (*HeadscaleServiceListMachinesParams) WithTimeout ¶
func (o *HeadscaleServiceListMachinesParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListMachinesParams
WithTimeout adds the timeout to the headscale service list machines params
func (*HeadscaleServiceListMachinesParams) WithUser ¶
func (o *HeadscaleServiceListMachinesParams) WithUser(user *string) *HeadscaleServiceListMachinesParams
WithUser adds the user to the headscale service list machines params
func (*HeadscaleServiceListMachinesParams) WriteToRequest ¶
func (o *HeadscaleServiceListMachinesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceListPreAuthKeysDefault) Code() int
Code gets the status code for the headscale service list pre auth keys default response
func (*HeadscaleServiceListPreAuthKeysDefault) Error ¶
func (o *HeadscaleServiceListPreAuthKeysDefault) Error() string
func (*HeadscaleServiceListPreAuthKeysDefault) GetPayload ¶
func (o *HeadscaleServiceListPreAuthKeysDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceListPreAuthKeysDefault) IsCode(code int) bool
IsCode returns true when this headscale service list pre auth keys default response a status code equal to that given
func (*HeadscaleServiceListPreAuthKeysDefault) IsRedirect ¶
func (o *HeadscaleServiceListPreAuthKeysDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceListPreAuthKeysDefault) IsSuccess() bool
IsSuccess returns true when this headscale service list pre auth keys default response has a 2xx status code
func (*HeadscaleServiceListPreAuthKeysDefault) String ¶
func (o *HeadscaleServiceListPreAuthKeysDefault) String() 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 (o *HeadscaleServiceListPreAuthKeysOK) Error() string
func (*HeadscaleServiceListPreAuthKeysOK) GetPayload ¶
func (o *HeadscaleServiceListPreAuthKeysOK) GetPayload() *models.V1ListPreAuthKeysResponse
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 ¶
func (o *HeadscaleServiceListPreAuthKeysOK) String() 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 ¶
func (o *HeadscaleServiceListPreAuthKeysParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceListPreAuthKeysParams) SetUser(user *string)
SetUser adds the user to the headscale service list pre auth keys params
func (*HeadscaleServiceListPreAuthKeysParams) WithContext ¶
func (o *HeadscaleServiceListPreAuthKeysParams) WithContext(ctx context.Context) *HeadscaleServiceListPreAuthKeysParams
WithContext adds the context to the headscale service list pre auth keys params
func (*HeadscaleServiceListPreAuthKeysParams) WithDefaults ¶
func (o *HeadscaleServiceListPreAuthKeysParams) WithDefaults() *HeadscaleServiceListPreAuthKeysParams
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 ¶
func (o *HeadscaleServiceListPreAuthKeysParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListPreAuthKeysParams
WithHTTPClient adds the HTTPClient to the headscale service list pre auth keys params
func (*HeadscaleServiceListPreAuthKeysParams) WithTimeout ¶
func (o *HeadscaleServiceListPreAuthKeysParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListPreAuthKeysParams
WithTimeout adds the timeout to the headscale service list pre auth keys params
func (*HeadscaleServiceListPreAuthKeysParams) WithUser ¶
func (o *HeadscaleServiceListPreAuthKeysParams) WithUser(user *string) *HeadscaleServiceListPreAuthKeysParams
WithUser adds the user to the headscale service list pre auth keys params
func (*HeadscaleServiceListPreAuthKeysParams) WriteToRequest ¶
func (o *HeadscaleServiceListPreAuthKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceListUsersDefault) Code() int
Code gets the status code for the headscale service list users default response
func (*HeadscaleServiceListUsersDefault) Error ¶
func (o *HeadscaleServiceListUsersDefault) Error() string
func (*HeadscaleServiceListUsersDefault) GetPayload ¶
func (o *HeadscaleServiceListUsersDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceListUsersDefault) String() 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 (o *HeadscaleServiceListUsersOK) Error() string
func (*HeadscaleServiceListUsersOK) GetPayload ¶
func (o *HeadscaleServiceListUsersOK) GetPayload() *models.V1ListUsersResponse
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 ¶
func (o *HeadscaleServiceListUsersParams) WithContext(ctx context.Context) *HeadscaleServiceListUsersParams
WithContext adds the context to the headscale service list users params
func (*HeadscaleServiceListUsersParams) WithDefaults ¶
func (o *HeadscaleServiceListUsersParams) WithDefaults() *HeadscaleServiceListUsersParams
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 ¶
func (o *HeadscaleServiceListUsersParams) WithHTTPClient(client *http.Client) *HeadscaleServiceListUsersParams
WithHTTPClient adds the HTTPClient to the headscale service list users params
func (*HeadscaleServiceListUsersParams) WithTimeout ¶
func (o *HeadscaleServiceListUsersParams) WithTimeout(timeout time.Duration) *HeadscaleServiceListUsersParams
WithTimeout adds the timeout to the headscale service list users params
func (*HeadscaleServiceListUsersParams) WriteToRequest ¶
func (o *HeadscaleServiceListUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceMoveMachineDefault) Code() int
Code gets the status code for the headscale service move machine default response
func (*HeadscaleServiceMoveMachineDefault) Error ¶
func (o *HeadscaleServiceMoveMachineDefault) Error() string
func (*HeadscaleServiceMoveMachineDefault) GetPayload ¶
func (o *HeadscaleServiceMoveMachineDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceMoveMachineDefault) IsCode(code int) bool
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 ¶
func (o *HeadscaleServiceMoveMachineDefault) IsSuccess() bool
IsSuccess returns true when this headscale service move machine default response has a 2xx status code
func (*HeadscaleServiceMoveMachineDefault) String ¶
func (o *HeadscaleServiceMoveMachineDefault) String() 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 (o *HeadscaleServiceMoveMachineOK) Error() string
func (*HeadscaleServiceMoveMachineOK) GetPayload ¶
func (o *HeadscaleServiceMoveMachineOK) GetPayload() *models.V1MoveMachineResponse
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 ¶
func (o *HeadscaleServiceMoveMachineOK) String() 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 ¶
func (o *HeadscaleServiceMoveMachineParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceMoveMachineParams) WithContext(ctx context.Context) *HeadscaleServiceMoveMachineParams
WithContext adds the context to the headscale service move machine params
func (*HeadscaleServiceMoveMachineParams) WithDefaults ¶
func (o *HeadscaleServiceMoveMachineParams) WithDefaults() *HeadscaleServiceMoveMachineParams
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 ¶
func (o *HeadscaleServiceMoveMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceMoveMachineParams
WithHTTPClient adds the HTTPClient to the headscale service move machine params
func (*HeadscaleServiceMoveMachineParams) WithMachineID ¶
func (o *HeadscaleServiceMoveMachineParams) WithMachineID(machineID string) *HeadscaleServiceMoveMachineParams
WithMachineID adds the machineID to the headscale service move machine params
func (*HeadscaleServiceMoveMachineParams) WithTimeout ¶
func (o *HeadscaleServiceMoveMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceMoveMachineParams
WithTimeout adds the timeout to the headscale service move machine params
func (*HeadscaleServiceMoveMachineParams) WithUser ¶
func (o *HeadscaleServiceMoveMachineParams) WithUser(user *string) *HeadscaleServiceMoveMachineParams
WithUser adds the user to the headscale service move machine params
func (*HeadscaleServiceMoveMachineParams) WriteToRequest ¶
func (o *HeadscaleServiceMoveMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceRegisterMachineDefault) Code() int
Code gets the status code for the headscale service register machine default response
func (*HeadscaleServiceRegisterMachineDefault) Error ¶
func (o *HeadscaleServiceRegisterMachineDefault) Error() string
func (*HeadscaleServiceRegisterMachineDefault) GetPayload ¶
func (o *HeadscaleServiceRegisterMachineDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceRegisterMachineDefault) IsCode(code int) bool
IsCode returns true when this headscale service register machine default response a status code equal to that given
func (*HeadscaleServiceRegisterMachineDefault) IsRedirect ¶
func (o *HeadscaleServiceRegisterMachineDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceRegisterMachineDefault) IsSuccess() bool
IsSuccess returns true when this headscale service register machine default response has a 2xx status code
func (*HeadscaleServiceRegisterMachineDefault) String ¶
func (o *HeadscaleServiceRegisterMachineDefault) String() 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 (o *HeadscaleServiceRegisterMachineOK) Error() string
func (*HeadscaleServiceRegisterMachineOK) GetPayload ¶
func (o *HeadscaleServiceRegisterMachineOK) GetPayload() *models.V1RegisterMachineResponse
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 ¶
func (o *HeadscaleServiceRegisterMachineOK) String() 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 ¶
func (o *HeadscaleServiceRegisterMachineParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceRegisterMachineParams) SetKey(key *string)
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 ¶
func (o *HeadscaleServiceRegisterMachineParams) SetUser(user *string)
SetUser adds the user to the headscale service register machine params
func (*HeadscaleServiceRegisterMachineParams) WithContext ¶
func (o *HeadscaleServiceRegisterMachineParams) WithContext(ctx context.Context) *HeadscaleServiceRegisterMachineParams
WithContext adds the context to the headscale service register machine params
func (*HeadscaleServiceRegisterMachineParams) WithDefaults ¶
func (o *HeadscaleServiceRegisterMachineParams) WithDefaults() *HeadscaleServiceRegisterMachineParams
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 ¶
func (o *HeadscaleServiceRegisterMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceRegisterMachineParams
WithHTTPClient adds the HTTPClient to the headscale service register machine params
func (*HeadscaleServiceRegisterMachineParams) WithKey ¶
func (o *HeadscaleServiceRegisterMachineParams) WithKey(key *string) *HeadscaleServiceRegisterMachineParams
WithKey adds the key to the headscale service register machine params
func (*HeadscaleServiceRegisterMachineParams) WithTimeout ¶
func (o *HeadscaleServiceRegisterMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceRegisterMachineParams
WithTimeout adds the timeout to the headscale service register machine params
func (*HeadscaleServiceRegisterMachineParams) WithUser ¶
func (o *HeadscaleServiceRegisterMachineParams) WithUser(user *string) *HeadscaleServiceRegisterMachineParams
WithUser adds the user to the headscale service register machine params
func (*HeadscaleServiceRegisterMachineParams) WriteToRequest ¶
func (o *HeadscaleServiceRegisterMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceRenameMachineDefault) Code() int
Code gets the status code for the headscale service rename machine default response
func (*HeadscaleServiceRenameMachineDefault) Error ¶
func (o *HeadscaleServiceRenameMachineDefault) Error() string
func (*HeadscaleServiceRenameMachineDefault) GetPayload ¶
func (o *HeadscaleServiceRenameMachineDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceRenameMachineDefault) IsCode(code int) bool
IsCode returns true when this headscale service rename machine default response a status code equal to that given
func (*HeadscaleServiceRenameMachineDefault) IsRedirect ¶
func (o *HeadscaleServiceRenameMachineDefault) IsRedirect() bool
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 ¶
func (o *HeadscaleServiceRenameMachineDefault) IsSuccess() bool
IsSuccess returns true when this headscale service rename machine default response has a 2xx status code
func (*HeadscaleServiceRenameMachineDefault) String ¶
func (o *HeadscaleServiceRenameMachineDefault) String() 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 (o *HeadscaleServiceRenameMachineOK) Error() string
func (*HeadscaleServiceRenameMachineOK) GetPayload ¶
func (o *HeadscaleServiceRenameMachineOK) GetPayload() *models.V1RenameMachineResponse
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 ¶
func (o *HeadscaleServiceRenameMachineOK) String() 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 ¶
func (o *HeadscaleServiceRenameMachineParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceRenameMachineParams) WithContext(ctx context.Context) *HeadscaleServiceRenameMachineParams
WithContext adds the context to the headscale service rename machine params
func (*HeadscaleServiceRenameMachineParams) WithDefaults ¶
func (o *HeadscaleServiceRenameMachineParams) WithDefaults() *HeadscaleServiceRenameMachineParams
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 ¶
func (o *HeadscaleServiceRenameMachineParams) WithHTTPClient(client *http.Client) *HeadscaleServiceRenameMachineParams
WithHTTPClient adds the HTTPClient to the headscale service rename machine params
func (*HeadscaleServiceRenameMachineParams) WithMachineID ¶
func (o *HeadscaleServiceRenameMachineParams) WithMachineID(machineID string) *HeadscaleServiceRenameMachineParams
WithMachineID adds the machineID to the headscale service rename machine params
func (*HeadscaleServiceRenameMachineParams) WithNewName ¶
func (o *HeadscaleServiceRenameMachineParams) WithNewName(newName string) *HeadscaleServiceRenameMachineParams
WithNewName adds the newName to the headscale service rename machine params
func (*HeadscaleServiceRenameMachineParams) WithTimeout ¶
func (o *HeadscaleServiceRenameMachineParams) WithTimeout(timeout time.Duration) *HeadscaleServiceRenameMachineParams
WithTimeout adds the timeout to the headscale service rename machine params
func (*HeadscaleServiceRenameMachineParams) WriteToRequest ¶
func (o *HeadscaleServiceRenameMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HeadscaleServiceRenameUserDefault) Code() int
Code gets the status code for the headscale service rename user default response
func (*HeadscaleServiceRenameUserDefault) Error ¶
func (o *HeadscaleServiceRenameUserDefault) Error() string
func (*HeadscaleServiceRenameUserDefault) GetPayload ¶
func (o *HeadscaleServiceRenameUserDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceRenameUserDefault) String() 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 (o *HeadscaleServiceRenameUserOK) Error() string
func (*HeadscaleServiceRenameUserOK) GetPayload ¶
func (o *HeadscaleServiceRenameUserOK) GetPayload() *models.V1RenameUserResponse
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 ¶
func (o *HeadscaleServiceRenameUserOK) String() 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 ¶
func (o *HeadscaleServiceRenameUserParams) SetContext(ctx context.Context)
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 ¶
func (o *HeadscaleServiceRenameUserParams) WithContext(ctx context.Context) *HeadscaleServiceRenameUserParams
WithContext adds the context to the headscale service rename user params
func (*HeadscaleServiceRenameUserParams) WithDefaults ¶
func (o *HeadscaleServiceRenameUserParams) WithDefaults() *HeadscaleServiceRenameUserParams
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 ¶
func (o *HeadscaleServiceRenameUserParams) WithHTTPClient(client *http.Client) *HeadscaleServiceRenameUserParams
WithHTTPClient adds the HTTPClient to the headscale service rename user params
func (*HeadscaleServiceRenameUserParams) WithNewName ¶
func (o *HeadscaleServiceRenameUserParams) WithNewName(newName string) *HeadscaleServiceRenameUserParams
WithNewName adds the newName to the headscale service rename user params
func (*HeadscaleServiceRenameUserParams) WithOldName ¶
func (o *HeadscaleServiceRenameUserParams) WithOldName(oldName string) *HeadscaleServiceRenameUserParams
WithOldName adds the oldName to the headscale service rename user params
func (*HeadscaleServiceRenameUserParams) WithTimeout ¶
func (o *HeadscaleServiceRenameUserParams) WithTimeout(timeout time.Duration) *HeadscaleServiceRenameUserParams
WithTimeout adds the timeout to the headscale service rename user params
func (*HeadscaleServiceRenameUserParams) WriteToRequest ¶
func (o *HeadscaleServiceRenameUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *HeadscaleServiceSetTagsDefault) Code() int
Code gets the status code for the headscale service set tags default response
func (*HeadscaleServiceSetTagsDefault) Error ¶
func (o *HeadscaleServiceSetTagsDefault) Error() string
func (*HeadscaleServiceSetTagsDefault) GetPayload ¶
func (o *HeadscaleServiceSetTagsDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *HeadscaleServiceSetTagsDefault) String() 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 (o *HeadscaleServiceSetTagsOK) GetPayload() *models.V1SetTagsResponse
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 ¶
func (o *HeadscaleServiceSetTagsParams) SetBody(body HeadscaleServiceSetTagsBody)
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 ¶
func (o *HeadscaleServiceSetTagsParams) WithBody(body HeadscaleServiceSetTagsBody) *HeadscaleServiceSetTagsParams
WithBody adds the body to the headscale service set tags params
func (*HeadscaleServiceSetTagsParams) WithContext ¶
func (o *HeadscaleServiceSetTagsParams) WithContext(ctx context.Context) *HeadscaleServiceSetTagsParams
WithContext adds the context to the headscale service set tags params
func (*HeadscaleServiceSetTagsParams) WithDefaults ¶
func (o *HeadscaleServiceSetTagsParams) WithDefaults() *HeadscaleServiceSetTagsParams
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 ¶
func (o *HeadscaleServiceSetTagsParams) WithHTTPClient(client *http.Client) *HeadscaleServiceSetTagsParams
WithHTTPClient adds the HTTPClient to the headscale service set tags params
func (*HeadscaleServiceSetTagsParams) WithMachineID ¶
func (o *HeadscaleServiceSetTagsParams) WithMachineID(machineID string) *HeadscaleServiceSetTagsParams
WithMachineID adds the machineID to the headscale service set tags params
func (*HeadscaleServiceSetTagsParams) WithTimeout ¶
func (o *HeadscaleServiceSetTagsParams) WithTimeout(timeout time.Duration) *HeadscaleServiceSetTagsParams
WithTimeout adds the timeout to the headscale service set tags params
func (*HeadscaleServiceSetTagsParams) WriteToRequest ¶
func (o *HeadscaleServiceSetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
- headscale_service_client.go
- headscale_service_create_api_key_parameters.go
- headscale_service_create_api_key_responses.go
- headscale_service_create_pre_auth_key_parameters.go
- headscale_service_create_pre_auth_key_responses.go
- headscale_service_create_user_parameters.go
- headscale_service_create_user_responses.go
- headscale_service_debug_create_machine_parameters.go
- headscale_service_debug_create_machine_responses.go
- headscale_service_delete_machine_parameters.go
- headscale_service_delete_machine_responses.go
- headscale_service_delete_route_parameters.go
- headscale_service_delete_route_responses.go
- headscale_service_delete_user_parameters.go
- headscale_service_delete_user_responses.go
- headscale_service_disable_route_parameters.go
- headscale_service_disable_route_responses.go
- headscale_service_enable_route_parameters.go
- headscale_service_enable_route_responses.go
- headscale_service_expire_api_key_parameters.go
- headscale_service_expire_api_key_responses.go
- headscale_service_expire_machine_parameters.go
- headscale_service_expire_machine_responses.go
- headscale_service_expire_pre_auth_key_parameters.go
- headscale_service_expire_pre_auth_key_responses.go
- headscale_service_get_machine_parameters.go
- headscale_service_get_machine_responses.go
- headscale_service_get_machine_routes_parameters.go
- headscale_service_get_machine_routes_responses.go
- headscale_service_get_routes_parameters.go
- headscale_service_get_routes_responses.go
- headscale_service_get_user_parameters.go
- headscale_service_get_user_responses.go
- headscale_service_list_api_keys_parameters.go
- headscale_service_list_api_keys_responses.go
- headscale_service_list_machines_parameters.go
- headscale_service_list_machines_responses.go
- headscale_service_list_pre_auth_keys_parameters.go
- headscale_service_list_pre_auth_keys_responses.go
- headscale_service_list_users_parameters.go
- headscale_service_list_users_responses.go
- headscale_service_move_machine_parameters.go
- headscale_service_move_machine_responses.go
- headscale_service_register_machine_parameters.go
- headscale_service_register_machine_responses.go
- headscale_service_rename_machine_parameters.go
- headscale_service_rename_machine_responses.go
- headscale_service_rename_user_parameters.go
- headscale_service_rename_user_responses.go
- headscale_service_set_tags_parameters.go
- headscale_service_set_tags_responses.go