Documentation ¶
Index ¶
- type ProtobufAny
- type RPCStatus
- type V1APIKey
- 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 V1DeleteMachineResponse
- 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 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 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 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 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 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 V1RenameUserResponse
- type V1Route
- type V1SetTagsResponse
- type V1User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` }
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) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 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 V1DeleteMachineResponse ¶
type V1DeleteMachineResponse interface{}
V1DeleteMachineResponse v1 delete machine response
swagger:model v1DeleteMachineResponse
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 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 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 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 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 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 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"` // machine Machine *V1Machine `json:"machine,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 V1SetTagsResponse ¶
type V1SetTagsResponse struct { // machine Machine *V1Machine `json:"machine,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 ¶
- protobuf_any.go
- rpc_status.go
- v1_api_key.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_delete_machine_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_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_routes_response.go
- v1_get_user_response.go
- v1_list_api_keys_response.go
- v1_list_machines_response.go
- v1_list_pre_auth_keys_response.go
- v1_list_users_response.go
- v1_machine.go
- v1_move_machine_response.go
- v1_pre_auth_key.go
- v1_register_machine_response.go
- v1_register_method.go
- v1_rename_machine_response.go
- v1_rename_user_response.go
- v1_route.go
- v1_set_tags_response.go
- v1_user.go