Documentation ¶
Index ¶
- type HeadscaleServiceSetTagsBody
- func (m *HeadscaleServiceSetTagsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HeadscaleServiceSetTagsBody) MarshalBinary() ([]byte, error)
- func (m *HeadscaleServiceSetTagsBody) UnmarshalBinary(b []byte) error
- func (m *HeadscaleServiceSetTagsBody) Validate(formats strfmt.Registry) error
- type ProtobufAny
- func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProtobufAny) MarshalBinary() ([]byte, error)
- func (m ProtobufAny) MarshalJSON() ([]byte, error)
- func (m *ProtobufAny) UnmarshalBinary(b []byte) error
- func (m *ProtobufAny) UnmarshalJSON(data []byte) error
- func (m *ProtobufAny) Validate(formats strfmt.Registry) error
- type RPCStatus
- type V1APIKey
- type V1BackfillNodeIPsResponse
- func (m *V1BackfillNodeIPsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1BackfillNodeIPsResponse) MarshalBinary() ([]byte, error)
- func (m *V1BackfillNodeIPsResponse) UnmarshalBinary(b []byte) error
- func (m *V1BackfillNodeIPsResponse) Validate(formats strfmt.Registry) error
- type V1CreateAPIKeyRequest
- type V1CreateAPIKeyResponse
- func (m *V1CreateAPIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1CreateAPIKeyResponse) MarshalBinary() ([]byte, error)
- func (m *V1CreateAPIKeyResponse) UnmarshalBinary(b []byte) error
- func (m *V1CreateAPIKeyResponse) Validate(formats strfmt.Registry) error
- type V1CreatePreAuthKeyRequest
- func (m *V1CreatePreAuthKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1CreatePreAuthKeyRequest) MarshalBinary() ([]byte, error)
- func (m *V1CreatePreAuthKeyRequest) UnmarshalBinary(b []byte) error
- func (m *V1CreatePreAuthKeyRequest) Validate(formats strfmt.Registry) error
- type V1CreatePreAuthKeyResponse
- func (m *V1CreatePreAuthKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1CreatePreAuthKeyResponse) MarshalBinary() ([]byte, error)
- func (m *V1CreatePreAuthKeyResponse) UnmarshalBinary(b []byte) error
- func (m *V1CreatePreAuthKeyResponse) Validate(formats strfmt.Registry) error
- type V1CreateUserRequest
- type V1CreateUserResponse
- type V1DebugCreateMachineRequest
- func (m *V1DebugCreateMachineRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1DebugCreateMachineRequest) MarshalBinary() ([]byte, error)
- func (m *V1DebugCreateMachineRequest) UnmarshalBinary(b []byte) error
- func (m *V1DebugCreateMachineRequest) Validate(formats strfmt.Registry) error
- type V1DebugCreateMachineResponse
- func (m *V1DebugCreateMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1DebugCreateMachineResponse) MarshalBinary() ([]byte, error)
- func (m *V1DebugCreateMachineResponse) UnmarshalBinary(b []byte) error
- func (m *V1DebugCreateMachineResponse) Validate(formats strfmt.Registry) error
- type V1DebugCreateNodeRequest
- func (m *V1DebugCreateNodeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1DebugCreateNodeRequest) MarshalBinary() ([]byte, error)
- func (m *V1DebugCreateNodeRequest) UnmarshalBinary(b []byte) error
- func (m *V1DebugCreateNodeRequest) Validate(formats strfmt.Registry) error
- type V1DebugCreateNodeResponse
- func (m *V1DebugCreateNodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1DebugCreateNodeResponse) MarshalBinary() ([]byte, error)
- func (m *V1DebugCreateNodeResponse) UnmarshalBinary(b []byte) error
- func (m *V1DebugCreateNodeResponse) Validate(formats strfmt.Registry) error
- type V1DeleteAPIKeyResponse
- type V1DeleteMachineResponse
- type V1DeleteNodeResponse
- type V1DeleteRouteResponse
- type V1DeleteUserResponse
- type V1DisableRouteResponse
- type V1EnableRouteResponse
- type V1ExpireAPIKeyRequest
- type V1ExpireAPIKeyResponse
- type V1ExpireMachineResponse
- func (m *V1ExpireMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ExpireMachineResponse) MarshalBinary() ([]byte, error)
- func (m *V1ExpireMachineResponse) UnmarshalBinary(b []byte) error
- func (m *V1ExpireMachineResponse) Validate(formats strfmt.Registry) error
- type V1ExpireNodeResponse
- type V1ExpirePreAuthKeyRequest
- func (m *V1ExpirePreAuthKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ExpirePreAuthKeyRequest) MarshalBinary() ([]byte, error)
- func (m *V1ExpirePreAuthKeyRequest) UnmarshalBinary(b []byte) error
- func (m *V1ExpirePreAuthKeyRequest) Validate(formats strfmt.Registry) error
- type V1ExpirePreAuthKeyResponse
- type V1GetMachineResponse
- type V1GetMachineRoutesResponse
- func (m *V1GetMachineRoutesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetMachineRoutesResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetMachineRoutesResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetMachineRoutesResponse) Validate(formats strfmt.Registry) error
- type V1GetNodeResponse
- type V1GetNodeRoutesResponse
- func (m *V1GetNodeRoutesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetNodeRoutesResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetNodeRoutesResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetNodeRoutesResponse) Validate(formats strfmt.Registry) error
- type V1GetPolicyResponse
- type V1GetRoutesResponse
- type V1GetUserResponse
- type V1ListAPIKeysResponse
- type V1ListMachinesResponse
- func (m *V1ListMachinesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListMachinesResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListMachinesResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListMachinesResponse) Validate(formats strfmt.Registry) error
- type V1ListNodesResponse
- type V1ListPreAuthKeysResponse
- func (m *V1ListPreAuthKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ListPreAuthKeysResponse) MarshalBinary() ([]byte, error)
- func (m *V1ListPreAuthKeysResponse) UnmarshalBinary(b []byte) error
- func (m *V1ListPreAuthKeysResponse) Validate(formats strfmt.Registry) error
- type V1ListUsersResponse
- type V1Machine
- type V1MoveMachineResponse
- type V1MoveNodeResponse
- type V1Node
- type V1PreAuthKey
- type V1RegisterMachineResponse
- func (m *V1RegisterMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RegisterMachineResponse) MarshalBinary() ([]byte, error)
- func (m *V1RegisterMachineResponse) UnmarshalBinary(b []byte) error
- func (m *V1RegisterMachineResponse) Validate(formats strfmt.Registry) error
- type V1RegisterMethod
- type V1RegisterNodeResponse
- func (m *V1RegisterNodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RegisterNodeResponse) MarshalBinary() ([]byte, error)
- func (m *V1RegisterNodeResponse) UnmarshalBinary(b []byte) error
- func (m *V1RegisterNodeResponse) Validate(formats strfmt.Registry) error
- type V1RenameMachineResponse
- func (m *V1RenameMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1RenameMachineResponse) MarshalBinary() ([]byte, error)
- func (m *V1RenameMachineResponse) UnmarshalBinary(b []byte) error
- func (m *V1RenameMachineResponse) Validate(formats strfmt.Registry) error
- type V1RenameNodeResponse
- type V1RenameUserResponse
- type V1Route
- type V1SetPolicyRequest
- type V1SetPolicyResponse
- type V1SetTagsResponse
- type V1User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeadscaleServiceSetTagsBody ¶ added in v0.2.0
type HeadscaleServiceSetTagsBody struct { // tags Tags []string `json:"tags"` }
HeadscaleServiceSetTagsBody headscale service set tags body
swagger:model HeadscaleServiceSetTagsBody
func (*HeadscaleServiceSetTagsBody) ContextValidate ¶ added in v0.2.0
func (m *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 ¶ added in v0.2.0
func (m *HeadscaleServiceSetTagsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HeadscaleServiceSetTagsBody) UnmarshalBinary ¶ added in v0.2.0
func (m *HeadscaleServiceSetTagsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` // protobuf any ProtobufAny map[string]interface{} `json:"-"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProtobufAny) MarshalJSON ¶ added in v0.1.8
func (m ProtobufAny) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProtobufAny) UnmarshalJSON ¶ added in v0.1.8
func (m *ProtobufAny) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type RPCStatus ¶
type RPCStatus struct { // code Code int32 `json:"code,omitempty"` // details Details []*ProtobufAny `json:"details"` // message Message string `json:"message,omitempty"` }
RPCStatus rpc status
swagger:model rpcStatus
func (*RPCStatus) ContextValidate ¶
ContextValidate validate this rpc status based on the context it is used
func (*RPCStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*RPCStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1APIKey ¶
type V1APIKey struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // expiration // Format: date-time Expiration strfmt.DateTime `json:"expiration,omitempty"` // id ID string `json:"id,omitempty"` // last seen // Format: date-time LastSeen strfmt.DateTime `json:"lastSeen,omitempty"` // prefix Prefix string `json:"prefix,omitempty"` }
V1APIKey v1 Api key
swagger:model v1ApiKey
func (*V1APIKey) ContextValidate ¶
ContextValidate validates this v1 Api key based on context it is used
func (*V1APIKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1APIKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1BackfillNodeIPsResponse ¶ added in v0.2.0
type V1BackfillNodeIPsResponse struct { // changes Changes []string `json:"changes"` }
V1BackfillNodeIPsResponse v1 backfill node i ps response
swagger:model v1BackfillNodeIPsResponse
func (*V1BackfillNodeIPsResponse) ContextValidate ¶ added in v0.2.0
func (m *V1BackfillNodeIPsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 backfill node i ps response based on context it is used
func (*V1BackfillNodeIPsResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1BackfillNodeIPsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1BackfillNodeIPsResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1BackfillNodeIPsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateAPIKeyRequest ¶
type V1CreateAPIKeyRequest struct { // expiration // Format: date-time Expiration strfmt.DateTime `json:"expiration,omitempty"` }
V1CreateAPIKeyRequest v1 create Api key request
swagger:model v1CreateApiKeyRequest
func (*V1CreateAPIKeyRequest) ContextValidate ¶
ContextValidate validates this v1 create Api key request based on context it is used
func (*V1CreateAPIKeyRequest) MarshalBinary ¶
func (m *V1CreateAPIKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateAPIKeyRequest) UnmarshalBinary ¶
func (m *V1CreateAPIKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateAPIKeyResponse ¶
type V1CreateAPIKeyResponse struct { // api key APIKey string `json:"apiKey,omitempty"` }
V1CreateAPIKeyResponse v1 create Api key response
swagger:model v1CreateApiKeyResponse
func (*V1CreateAPIKeyResponse) ContextValidate ¶
func (m *V1CreateAPIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 create Api key response based on context it is used
func (*V1CreateAPIKeyResponse) MarshalBinary ¶
func (m *V1CreateAPIKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateAPIKeyResponse) UnmarshalBinary ¶
func (m *V1CreateAPIKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreatePreAuthKeyRequest ¶
type V1CreatePreAuthKeyRequest struct { // acl tags ACLTags []string `json:"aclTags"` // ephemeral Ephemeral bool `json:"ephemeral,omitempty"` // expiration // Format: date-time Expiration strfmt.DateTime `json:"expiration,omitempty"` // reusable Reusable bool `json:"reusable,omitempty"` // user User string `json:"user,omitempty"` }
V1CreatePreAuthKeyRequest v1 create pre auth key request
swagger:model v1CreatePreAuthKeyRequest
func (*V1CreatePreAuthKeyRequest) ContextValidate ¶
func (m *V1CreatePreAuthKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 create pre auth key request based on context it is used
func (*V1CreatePreAuthKeyRequest) MarshalBinary ¶
func (m *V1CreatePreAuthKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreatePreAuthKeyRequest) UnmarshalBinary ¶
func (m *V1CreatePreAuthKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreatePreAuthKeyResponse ¶
type V1CreatePreAuthKeyResponse struct { // pre auth key PreAuthKey *V1PreAuthKey `json:"preAuthKey,omitempty"` }
V1CreatePreAuthKeyResponse v1 create pre auth key response
swagger:model v1CreatePreAuthKeyResponse
func (*V1CreatePreAuthKeyResponse) ContextValidate ¶
func (m *V1CreatePreAuthKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 create pre auth key response based on the context it is used
func (*V1CreatePreAuthKeyResponse) MarshalBinary ¶
func (m *V1CreatePreAuthKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreatePreAuthKeyResponse) UnmarshalBinary ¶
func (m *V1CreatePreAuthKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateUserRequest ¶
type V1CreateUserRequest struct { // name Name string `json:"name,omitempty"` }
V1CreateUserRequest v1 create user request
swagger:model v1CreateUserRequest
func (*V1CreateUserRequest) ContextValidate ¶
ContextValidate validates this v1 create user request based on context it is used
func (*V1CreateUserRequest) MarshalBinary ¶
func (m *V1CreateUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateUserRequest) UnmarshalBinary ¶
func (m *V1CreateUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateUserResponse ¶
type V1CreateUserResponse struct { // user User *V1User `json:"user,omitempty"` }
V1CreateUserResponse v1 create user response
swagger:model v1CreateUserResponse
func (*V1CreateUserResponse) ContextValidate ¶
ContextValidate validate this v1 create user response based on the context it is used
func (*V1CreateUserResponse) MarshalBinary ¶
func (m *V1CreateUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateUserResponse) UnmarshalBinary ¶
func (m *V1CreateUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DebugCreateMachineRequest ¶
type V1DebugCreateMachineRequest struct { // key Key string `json:"key,omitempty"` // name Name string `json:"name,omitempty"` // routes Routes []string `json:"routes"` // user User string `json:"user,omitempty"` }
V1DebugCreateMachineRequest v1 debug create machine request
swagger:model v1DebugCreateMachineRequest
func (*V1DebugCreateMachineRequest) ContextValidate ¶
func (m *V1DebugCreateMachineRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 debug create machine request based on context it is used
func (*V1DebugCreateMachineRequest) MarshalBinary ¶
func (m *V1DebugCreateMachineRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DebugCreateMachineRequest) UnmarshalBinary ¶
func (m *V1DebugCreateMachineRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DebugCreateMachineResponse ¶
type V1DebugCreateMachineResponse struct { // machine Machine *V1Machine `json:"machine,omitempty"` }
V1DebugCreateMachineResponse v1 debug create machine response
swagger:model v1DebugCreateMachineResponse
func (*V1DebugCreateMachineResponse) ContextValidate ¶
func (m *V1DebugCreateMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 debug create machine response based on the context it is used
func (*V1DebugCreateMachineResponse) MarshalBinary ¶
func (m *V1DebugCreateMachineResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DebugCreateMachineResponse) UnmarshalBinary ¶
func (m *V1DebugCreateMachineResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DebugCreateNodeRequest ¶ added in v0.2.0
type V1DebugCreateNodeRequest struct { // key Key string `json:"key,omitempty"` // name Name string `json:"name,omitempty"` // routes Routes []string `json:"routes"` // user User string `json:"user,omitempty"` }
V1DebugCreateNodeRequest v1 debug create node request
swagger:model v1DebugCreateNodeRequest
func (*V1DebugCreateNodeRequest) ContextValidate ¶ added in v0.2.0
func (m *V1DebugCreateNodeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 debug create node request based on context it is used
func (*V1DebugCreateNodeRequest) MarshalBinary ¶ added in v0.2.0
func (m *V1DebugCreateNodeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DebugCreateNodeRequest) UnmarshalBinary ¶ added in v0.2.0
func (m *V1DebugCreateNodeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DebugCreateNodeResponse ¶ added in v0.2.0
type V1DebugCreateNodeResponse struct { // node Node *V1Node `json:"node,omitempty"` }
V1DebugCreateNodeResponse v1 debug create node response
swagger:model v1DebugCreateNodeResponse
func (*V1DebugCreateNodeResponse) ContextValidate ¶ added in v0.2.0
func (m *V1DebugCreateNodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 debug create node response based on the context it is used
func (*V1DebugCreateNodeResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1DebugCreateNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DebugCreateNodeResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1DebugCreateNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DeleteAPIKeyResponse ¶ added in v0.2.0
type V1DeleteAPIKeyResponse interface{}
V1DeleteAPIKeyResponse v1 delete Api key response
swagger:model v1DeleteApiKeyResponse
type V1DeleteMachineResponse ¶
type V1DeleteMachineResponse interface{}
V1DeleteMachineResponse v1 delete machine response
swagger:model v1DeleteMachineResponse
type V1DeleteNodeResponse ¶ added in v0.2.0
type V1DeleteNodeResponse interface{}
V1DeleteNodeResponse v1 delete node response
swagger:model v1DeleteNodeResponse
type V1DeleteRouteResponse ¶
type V1DeleteRouteResponse interface{}
V1DeleteRouteResponse v1 delete route response
swagger:model v1DeleteRouteResponse
type V1DeleteUserResponse ¶
type V1DeleteUserResponse interface{}
V1DeleteUserResponse v1 delete user response
swagger:model v1DeleteUserResponse
type V1DisableRouteResponse ¶
type V1DisableRouteResponse interface{}
V1DisableRouteResponse v1 disable route response
swagger:model v1DisableRouteResponse
type V1EnableRouteResponse ¶
type V1EnableRouteResponse interface{}
V1EnableRouteResponse v1 enable route response
swagger:model v1EnableRouteResponse
type V1ExpireAPIKeyRequest ¶
type V1ExpireAPIKeyRequest struct { // prefix Prefix string `json:"prefix,omitempty"` }
V1ExpireAPIKeyRequest v1 expire Api key request
swagger:model v1ExpireApiKeyRequest
func (*V1ExpireAPIKeyRequest) ContextValidate ¶
ContextValidate validates this v1 expire Api key request based on context it is used
func (*V1ExpireAPIKeyRequest) MarshalBinary ¶
func (m *V1ExpireAPIKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ExpireAPIKeyRequest) UnmarshalBinary ¶
func (m *V1ExpireAPIKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ExpireAPIKeyResponse ¶
type V1ExpireAPIKeyResponse interface{}
V1ExpireAPIKeyResponse v1 expire Api key response
swagger:model v1ExpireApiKeyResponse
type V1ExpireMachineResponse ¶
type V1ExpireMachineResponse struct { // machine Machine *V1Machine `json:"machine,omitempty"` }
V1ExpireMachineResponse v1 expire machine response
swagger:model v1ExpireMachineResponse
func (*V1ExpireMachineResponse) ContextValidate ¶
func (m *V1ExpireMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 expire machine response based on the context it is used
func (*V1ExpireMachineResponse) MarshalBinary ¶
func (m *V1ExpireMachineResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ExpireMachineResponse) UnmarshalBinary ¶
func (m *V1ExpireMachineResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ExpireNodeResponse ¶ added in v0.2.0
type V1ExpireNodeResponse struct { // node Node *V1Node `json:"node,omitempty"` }
V1ExpireNodeResponse v1 expire node response
swagger:model v1ExpireNodeResponse
func (*V1ExpireNodeResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validate this v1 expire node response based on the context it is used
func (*V1ExpireNodeResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1ExpireNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ExpireNodeResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1ExpireNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ExpirePreAuthKeyRequest ¶
type V1ExpirePreAuthKeyRequest struct { // key Key string `json:"key,omitempty"` // user User string `json:"user,omitempty"` }
V1ExpirePreAuthKeyRequest v1 expire pre auth key request
swagger:model v1ExpirePreAuthKeyRequest
func (*V1ExpirePreAuthKeyRequest) ContextValidate ¶
func (m *V1ExpirePreAuthKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 expire pre auth key request based on context it is used
func (*V1ExpirePreAuthKeyRequest) MarshalBinary ¶
func (m *V1ExpirePreAuthKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ExpirePreAuthKeyRequest) UnmarshalBinary ¶
func (m *V1ExpirePreAuthKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ExpirePreAuthKeyResponse ¶
type V1ExpirePreAuthKeyResponse interface{}
V1ExpirePreAuthKeyResponse v1 expire pre auth key response
swagger:model v1ExpirePreAuthKeyResponse
type V1GetMachineResponse ¶
type V1GetMachineResponse struct { // machine Machine *V1Machine `json:"machine,omitempty"` }
V1GetMachineResponse v1 get machine response
swagger:model v1GetMachineResponse
func (*V1GetMachineResponse) ContextValidate ¶
ContextValidate validate this v1 get machine response based on the context it is used
func (*V1GetMachineResponse) MarshalBinary ¶
func (m *V1GetMachineResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetMachineResponse) UnmarshalBinary ¶
func (m *V1GetMachineResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetMachineRoutesResponse ¶
type V1GetMachineRoutesResponse struct { // routes Routes []*V1Route `json:"routes"` }
V1GetMachineRoutesResponse v1 get machine routes response
swagger:model v1GetMachineRoutesResponse
func (*V1GetMachineRoutesResponse) ContextValidate ¶
func (m *V1GetMachineRoutesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get machine routes response based on the context it is used
func (*V1GetMachineRoutesResponse) MarshalBinary ¶
func (m *V1GetMachineRoutesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetMachineRoutesResponse) UnmarshalBinary ¶
func (m *V1GetMachineRoutesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetNodeResponse ¶ added in v0.2.0
type V1GetNodeResponse struct { // node Node *V1Node `json:"node,omitempty"` }
V1GetNodeResponse v1 get node response
swagger:model v1GetNodeResponse
func (*V1GetNodeResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validate this v1 get node response based on the context it is used
func (*V1GetNodeResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1GetNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetNodeResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1GetNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetNodeRoutesResponse ¶ added in v0.2.0
type V1GetNodeRoutesResponse struct { // routes Routes []*V1Route `json:"routes"` }
V1GetNodeRoutesResponse v1 get node routes response
swagger:model v1GetNodeRoutesResponse
func (*V1GetNodeRoutesResponse) ContextValidate ¶ added in v0.2.0
func (m *V1GetNodeRoutesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get node routes response based on the context it is used
func (*V1GetNodeRoutesResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1GetNodeRoutesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetNodeRoutesResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1GetNodeRoutesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetPolicyResponse ¶ added in v0.2.0
type V1GetPolicyResponse struct { // policy Policy string `json:"policy,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
V1GetPolicyResponse v1 get policy response
swagger:model v1GetPolicyResponse
func (*V1GetPolicyResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validates this v1 get policy response based on context it is used
func (*V1GetPolicyResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1GetPolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetPolicyResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1GetPolicyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetRoutesResponse ¶
type V1GetRoutesResponse struct { // routes Routes []*V1Route `json:"routes"` }
V1GetRoutesResponse v1 get routes response
swagger:model v1GetRoutesResponse
func (*V1GetRoutesResponse) ContextValidate ¶
ContextValidate validate this v1 get routes response based on the context it is used
func (*V1GetRoutesResponse) MarshalBinary ¶
func (m *V1GetRoutesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetRoutesResponse) UnmarshalBinary ¶
func (m *V1GetRoutesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetUserResponse ¶
type V1GetUserResponse struct { // user User *V1User `json:"user,omitempty"` }
V1GetUserResponse v1 get user response
swagger:model v1GetUserResponse
func (*V1GetUserResponse) ContextValidate ¶
ContextValidate validate this v1 get user response based on the context it is used
func (*V1GetUserResponse) MarshalBinary ¶
func (m *V1GetUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetUserResponse) UnmarshalBinary ¶
func (m *V1GetUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ListAPIKeysResponse ¶
type V1ListAPIKeysResponse struct { // api keys APIKeys []*V1APIKey `json:"apiKeys"` }
V1ListAPIKeysResponse v1 list Api keys response
swagger:model v1ListApiKeysResponse
func (*V1ListAPIKeysResponse) ContextValidate ¶
ContextValidate validate this v1 list Api keys response based on the context it is used
func (*V1ListAPIKeysResponse) MarshalBinary ¶
func (m *V1ListAPIKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListAPIKeysResponse) UnmarshalBinary ¶
func (m *V1ListAPIKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ListMachinesResponse ¶
type V1ListMachinesResponse struct { // machines Machines []*V1Machine `json:"machines"` }
V1ListMachinesResponse v1 list machines response
swagger:model v1ListMachinesResponse
func (*V1ListMachinesResponse) ContextValidate ¶
func (m *V1ListMachinesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 list machines response based on the context it is used
func (*V1ListMachinesResponse) MarshalBinary ¶
func (m *V1ListMachinesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListMachinesResponse) UnmarshalBinary ¶
func (m *V1ListMachinesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ListNodesResponse ¶ added in v0.2.0
type V1ListNodesResponse struct { // nodes Nodes []*V1Node `json:"nodes"` }
V1ListNodesResponse v1 list nodes response
swagger:model v1ListNodesResponse
func (*V1ListNodesResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validate this v1 list nodes response based on the context it is used
func (*V1ListNodesResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1ListNodesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListNodesResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1ListNodesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ListPreAuthKeysResponse ¶
type V1ListPreAuthKeysResponse struct { // pre auth keys PreAuthKeys []*V1PreAuthKey `json:"preAuthKeys"` }
V1ListPreAuthKeysResponse v1 list pre auth keys response
swagger:model v1ListPreAuthKeysResponse
func (*V1ListPreAuthKeysResponse) ContextValidate ¶
func (m *V1ListPreAuthKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 list pre auth keys response based on the context it is used
func (*V1ListPreAuthKeysResponse) MarshalBinary ¶
func (m *V1ListPreAuthKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListPreAuthKeysResponse) UnmarshalBinary ¶
func (m *V1ListPreAuthKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ListUsersResponse ¶
type V1ListUsersResponse struct { // users Users []*V1User `json:"users"` }
V1ListUsersResponse v1 list users response
swagger:model v1ListUsersResponse
func (*V1ListUsersResponse) ContextValidate ¶
ContextValidate validate this v1 list users response based on the context it is used
func (*V1ListUsersResponse) MarshalBinary ¶
func (m *V1ListUsersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ListUsersResponse) UnmarshalBinary ¶
func (m *V1ListUsersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Machine ¶
type V1Machine struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // disco key DiscoKey string `json:"discoKey,omitempty"` // expiry // Format: date-time Expiry strfmt.DateTime `json:"expiry,omitempty"` // forced tags ForcedTags []string `json:"forcedTags"` // given name GivenName string `json:"givenName,omitempty"` // id ID string `json:"id,omitempty"` // invalid tags InvalidTags []string `json:"invalidTags"` // ip addresses IPAddresses []string `json:"ipAddresses"` // last seen // Format: date-time LastSeen strfmt.DateTime `json:"lastSeen,omitempty"` // last successful update // Format: date-time LastSuccessfulUpdate strfmt.DateTime `json:"lastSuccessfulUpdate,omitempty"` // machine key MachineKey string `json:"machineKey,omitempty"` // name Name string `json:"name,omitempty"` // node key NodeKey string `json:"nodeKey,omitempty"` // online Online bool `json:"online,omitempty"` // pre auth key PreAuthKey *V1PreAuthKey `json:"preAuthKey,omitempty"` // register method RegisterMethod *V1RegisterMethod `json:"registerMethod,omitempty"` // user User *V1User `json:"user,omitempty"` // valid tags ValidTags []string `json:"validTags"` }
V1Machine v1 machine
swagger:model v1Machine
func (*V1Machine) ContextValidate ¶
ContextValidate validate this v1 machine based on the context it is used
func (*V1Machine) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Machine) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1MoveMachineResponse ¶
type V1MoveMachineResponse struct { // machine Machine *V1Machine `json:"machine,omitempty"` }
V1MoveMachineResponse v1 move machine response
swagger:model v1MoveMachineResponse
func (*V1MoveMachineResponse) ContextValidate ¶
ContextValidate validate this v1 move machine response based on the context it is used
func (*V1MoveMachineResponse) MarshalBinary ¶
func (m *V1MoveMachineResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MoveMachineResponse) UnmarshalBinary ¶
func (m *V1MoveMachineResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MoveNodeResponse ¶ added in v0.2.0
type V1MoveNodeResponse struct { // node Node *V1Node `json:"node,omitempty"` }
V1MoveNodeResponse v1 move node response
swagger:model v1MoveNodeResponse
func (*V1MoveNodeResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validate this v1 move node response based on the context it is used
func (*V1MoveNodeResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1MoveNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MoveNodeResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1MoveNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Node ¶ added in v0.2.0
type V1Node struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // disco key DiscoKey string `json:"discoKey,omitempty"` // expiry // Format: date-time Expiry strfmt.DateTime `json:"expiry,omitempty"` // forced tags ForcedTags []string `json:"forcedTags"` // given name GivenName string `json:"givenName,omitempty"` // id ID string `json:"id,omitempty"` // invalid tags InvalidTags []string `json:"invalidTags"` // ip addresses IPAddresses []string `json:"ipAddresses"` // last seen // Format: date-time LastSeen strfmt.DateTime `json:"lastSeen,omitempty"` // machine key MachineKey string `json:"machineKey,omitempty"` // name Name string `json:"name,omitempty"` // node key NodeKey string `json:"nodeKey,omitempty"` // online Online bool `json:"online,omitempty"` // pre auth key PreAuthKey *V1PreAuthKey `json:"preAuthKey,omitempty"` // register method RegisterMethod *V1RegisterMethod `json:"registerMethod,omitempty"` // user User *V1User `json:"user,omitempty"` // valid tags ValidTags []string `json:"validTags"` }
V1Node v1 node
swagger:model v1Node
func (*V1Node) ContextValidate ¶ added in v0.2.0
ContextValidate validate this v1 node based on the context it is used
func (*V1Node) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (*V1Node) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
type V1PreAuthKey ¶
type V1PreAuthKey struct { // acl tags ACLTags []string `json:"aclTags"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // ephemeral Ephemeral bool `json:"ephemeral,omitempty"` // expiration // Format: date-time Expiration strfmt.DateTime `json:"expiration,omitempty"` // id ID string `json:"id,omitempty"` // key Key string `json:"key,omitempty"` // reusable Reusable bool `json:"reusable,omitempty"` // used Used bool `json:"used,omitempty"` // user User string `json:"user,omitempty"` }
V1PreAuthKey v1 pre auth key
swagger:model v1PreAuthKey
func (*V1PreAuthKey) ContextValidate ¶
ContextValidate validates this v1 pre auth key based on context it is used
func (*V1PreAuthKey) MarshalBinary ¶
func (m *V1PreAuthKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PreAuthKey) UnmarshalBinary ¶
func (m *V1PreAuthKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RegisterMachineResponse ¶
type V1RegisterMachineResponse struct { // machine Machine *V1Machine `json:"machine,omitempty"` }
V1RegisterMachineResponse v1 register machine response
swagger:model v1RegisterMachineResponse
func (*V1RegisterMachineResponse) ContextValidate ¶
func (m *V1RegisterMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 register machine response based on the context it is used
func (*V1RegisterMachineResponse) MarshalBinary ¶
func (m *V1RegisterMachineResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RegisterMachineResponse) UnmarshalBinary ¶
func (m *V1RegisterMachineResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RegisterMethod ¶
type V1RegisterMethod string
V1RegisterMethod v1 register method
swagger:model v1RegisterMethod
const ( // V1RegisterMethodREGISTERMETHODUNSPECIFIED captures enum value "REGISTER_METHOD_UNSPECIFIED" V1RegisterMethodREGISTERMETHODUNSPECIFIED V1RegisterMethod = "REGISTER_METHOD_UNSPECIFIED" // V1RegisterMethodREGISTERMETHODAUTHKEY captures enum value "REGISTER_METHOD_AUTH_KEY" V1RegisterMethodREGISTERMETHODAUTHKEY V1RegisterMethod = "REGISTER_METHOD_AUTH_KEY" // V1RegisterMethodREGISTERMETHODCLI captures enum value "REGISTER_METHOD_CLI" V1RegisterMethodREGISTERMETHODCLI V1RegisterMethod = "REGISTER_METHOD_CLI" // V1RegisterMethodREGISTERMETHODOIDC captures enum value "REGISTER_METHOD_OIDC" V1RegisterMethodREGISTERMETHODOIDC V1RegisterMethod = "REGISTER_METHOD_OIDC" )
func NewV1RegisterMethod ¶
func NewV1RegisterMethod(value V1RegisterMethod) *V1RegisterMethod
func (V1RegisterMethod) ContextValidate ¶
ContextValidate validates this v1 register method based on context it is used
func (V1RegisterMethod) Pointer ¶
func (m V1RegisterMethod) Pointer() *V1RegisterMethod
Pointer returns a pointer to a freshly-allocated V1RegisterMethod.
type V1RegisterNodeResponse ¶ added in v0.2.0
type V1RegisterNodeResponse struct { // node Node *V1Node `json:"node,omitempty"` }
V1RegisterNodeResponse v1 register node response
swagger:model v1RegisterNodeResponse
func (*V1RegisterNodeResponse) ContextValidate ¶ added in v0.2.0
func (m *V1RegisterNodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 register node response based on the context it is used
func (*V1RegisterNodeResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1RegisterNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RegisterNodeResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1RegisterNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RenameMachineResponse ¶
type V1RenameMachineResponse struct { // machine Machine *V1Machine `json:"machine,omitempty"` }
V1RenameMachineResponse v1 rename machine response
swagger:model v1RenameMachineResponse
func (*V1RenameMachineResponse) ContextValidate ¶
func (m *V1RenameMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 rename machine response based on the context it is used
func (*V1RenameMachineResponse) MarshalBinary ¶
func (m *V1RenameMachineResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RenameMachineResponse) UnmarshalBinary ¶
func (m *V1RenameMachineResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RenameNodeResponse ¶ added in v0.2.0
type V1RenameNodeResponse struct { // node Node *V1Node `json:"node,omitempty"` }
V1RenameNodeResponse v1 rename node response
swagger:model v1RenameNodeResponse
func (*V1RenameNodeResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validate this v1 rename node response based on the context it is used
func (*V1RenameNodeResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1RenameNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RenameNodeResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1RenameNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1RenameUserResponse ¶
type V1RenameUserResponse struct { // user User *V1User `json:"user,omitempty"` }
V1RenameUserResponse v1 rename user response
swagger:model v1RenameUserResponse
func (*V1RenameUserResponse) ContextValidate ¶
ContextValidate validate this v1 rename user response based on the context it is used
func (*V1RenameUserResponse) MarshalBinary ¶
func (m *V1RenameUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1RenameUserResponse) UnmarshalBinary ¶
func (m *V1RenameUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Route ¶
type V1Route struct { // advertised Advertised bool `json:"advertised,omitempty"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // deleted at // Format: date-time DeletedAt strfmt.DateTime `json:"deletedAt,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // id ID string `json:"id,omitempty"` // is primary IsPrimary bool `json:"isPrimary,omitempty"` // node Node *V1Node `json:"node,omitempty"` // prefix Prefix string `json:"prefix,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
V1Route v1 route
swagger:model v1Route
func (*V1Route) ContextValidate ¶
ContextValidate validate this v1 route based on the context it is used
func (*V1Route) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Route) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1SetPolicyRequest ¶ added in v0.2.0
type V1SetPolicyRequest struct { // policy Policy string `json:"policy,omitempty"` }
V1SetPolicyRequest v1 set policy request
swagger:model v1SetPolicyRequest
func (*V1SetPolicyRequest) ContextValidate ¶ added in v0.2.0
ContextValidate validates this v1 set policy request based on context it is used
func (*V1SetPolicyRequest) MarshalBinary ¶ added in v0.2.0
func (m *V1SetPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SetPolicyRequest) UnmarshalBinary ¶ added in v0.2.0
func (m *V1SetPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SetPolicyResponse ¶ added in v0.2.0
type V1SetPolicyResponse struct { // policy Policy string `json:"policy,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
V1SetPolicyResponse v1 set policy response
swagger:model v1SetPolicyResponse
func (*V1SetPolicyResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validates this v1 set policy response based on context it is used
func (*V1SetPolicyResponse) MarshalBinary ¶ added in v0.2.0
func (m *V1SetPolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SetPolicyResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *V1SetPolicyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SetTagsResponse ¶
type V1SetTagsResponse struct { // node Node *V1Node `json:"node,omitempty"` }
V1SetTagsResponse v1 set tags response
swagger:model v1SetTagsResponse
func (*V1SetTagsResponse) ContextValidate ¶
ContextValidate validate this v1 set tags response based on the context it is used
func (*V1SetTagsResponse) MarshalBinary ¶
func (m *V1SetTagsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SetTagsResponse) UnmarshalBinary ¶
func (m *V1SetTagsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1User ¶
type V1User struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
V1User v1 user
swagger:model v1User
func (*V1User) ContextValidate ¶
ContextValidate validates this v1 user based on context it is used
func (*V1User) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files ¶
- headscale_service_set_tags_body.go
- protobuf_any.go
- rpc_status.go
- v1_api_key.go
- v1_backfill_node_i_ps_response.go
- v1_create_api_key_request.go
- v1_create_api_key_response.go
- v1_create_pre_auth_key_request.go
- v1_create_pre_auth_key_response.go
- v1_create_user_request.go
- v1_create_user_response.go
- v1_debug_create_machine_request.go
- v1_debug_create_machine_response.go
- v1_debug_create_node_request.go
- v1_debug_create_node_response.go
- v1_delete_api_key_response.go
- v1_delete_machine_response.go
- v1_delete_node_response.go
- v1_delete_route_response.go
- v1_delete_user_response.go
- v1_disable_route_response.go
- v1_enable_route_response.go
- v1_expire_api_key_request.go
- v1_expire_api_key_response.go
- v1_expire_machine_response.go
- v1_expire_node_response.go
- v1_expire_pre_auth_key_request.go
- v1_expire_pre_auth_key_response.go
- v1_get_machine_response.go
- v1_get_machine_routes_response.go
- v1_get_node_response.go
- v1_get_node_routes_response.go
- v1_get_policy_response.go
- v1_get_routes_response.go
- v1_get_user_response.go
- v1_list_api_keys_response.go
- v1_list_machines_response.go
- v1_list_nodes_response.go
- v1_list_pre_auth_keys_response.go
- v1_list_users_response.go
- v1_machine.go
- v1_move_machine_response.go
- v1_move_node_response.go
- v1_node.go
- v1_pre_auth_key.go
- v1_register_machine_response.go
- v1_register_method.go
- v1_register_node_response.go
- v1_rename_machine_response.go
- v1_rename_node_response.go
- v1_rename_user_response.go
- v1_route.go
- v1_set_policy_request.go
- v1_set_policy_response.go
- v1_set_tags_response.go
- v1_user.go