models

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

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

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary

func (m *RPCStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary

func (m *RPCStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCStatus) Validate

func (m *RPCStatus) Validate(formats strfmt.Registry) error

Validate validates this rpc status

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

func (m *V1APIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 Api key based on context it is used

func (*V1APIKey) MarshalBinary

func (m *V1APIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1APIKey) UnmarshalBinary

func (m *V1APIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1APIKey) Validate

func (m *V1APIKey) Validate(formats strfmt.Registry) error

Validate validates this v1 Api key

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

func (m *V1CreateAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1CreateAPIKeyRequest) Validate

func (m *V1CreateAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create Api key request

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

func (*V1CreateAPIKeyResponse) Validate

func (m *V1CreateAPIKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 create Api key response

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

func (*V1CreatePreAuthKeyRequest) Validate

func (m *V1CreatePreAuthKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create pre auth key request

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

func (*V1CreatePreAuthKeyResponse) Validate

func (m *V1CreatePreAuthKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 create pre auth key response

type V1CreateUserRequest

type V1CreateUserRequest struct {

	// name
	Name string `json:"name,omitempty"`
}

V1CreateUserRequest v1 create user request

swagger:model v1CreateUserRequest

func (*V1CreateUserRequest) ContextValidate

func (m *V1CreateUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1CreateUserRequest) Validate

func (m *V1CreateUserRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 create user request

type V1CreateUserResponse

type V1CreateUserResponse struct {

	// user
	User *V1User `json:"user,omitempty"`
}

V1CreateUserResponse v1 create user response

swagger:model v1CreateUserResponse

func (*V1CreateUserResponse) ContextValidate

func (m *V1CreateUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1CreateUserResponse) Validate

func (m *V1CreateUserResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 create user response

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

func (*V1DebugCreateMachineRequest) Validate

func (m *V1DebugCreateMachineRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 debug create machine request

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

func (*V1DebugCreateMachineResponse) Validate

func (m *V1DebugCreateMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 debug create machine response

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

func (m *V1ExpireAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ExpireAPIKeyRequest) Validate

func (m *V1ExpireAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 expire Api key request

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

func (*V1ExpireMachineResponse) Validate

func (m *V1ExpireMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 expire machine response

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

func (*V1ExpirePreAuthKeyRequest) Validate

func (m *V1ExpirePreAuthKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 expire pre auth key request

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

func (m *V1GetMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1GetMachineResponse) Validate

func (m *V1GetMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get machine response

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

func (*V1GetMachineRoutesResponse) Validate

func (m *V1GetMachineRoutesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get machine routes response

type V1GetRoutesResponse

type V1GetRoutesResponse struct {

	// routes
	Routes []*V1Route `json:"routes"`
}

V1GetRoutesResponse v1 get routes response

swagger:model v1GetRoutesResponse

func (*V1GetRoutesResponse) ContextValidate

func (m *V1GetRoutesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1GetRoutesResponse) Validate

func (m *V1GetRoutesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get routes response

type V1GetUserResponse

type V1GetUserResponse struct {

	// user
	User *V1User `json:"user,omitempty"`
}

V1GetUserResponse v1 get user response

swagger:model v1GetUserResponse

func (*V1GetUserResponse) ContextValidate

func (m *V1GetUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1GetUserResponse) Validate

func (m *V1GetUserResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 get user response

type V1ListAPIKeysResponse

type V1ListAPIKeysResponse struct {

	// api keys
	APIKeys []*V1APIKey `json:"apiKeys"`
}

V1ListAPIKeysResponse v1 list Api keys response

swagger:model v1ListApiKeysResponse

func (*V1ListAPIKeysResponse) ContextValidate

func (m *V1ListAPIKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ListAPIKeysResponse) Validate

func (m *V1ListAPIKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list Api keys response

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

func (*V1ListMachinesResponse) Validate

func (m *V1ListMachinesResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list machines response

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

func (*V1ListPreAuthKeysResponse) Validate

func (m *V1ListPreAuthKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list pre auth keys response

type V1ListUsersResponse

type V1ListUsersResponse struct {

	// users
	Users []*V1User `json:"users"`
}

V1ListUsersResponse v1 list users response

swagger:model v1ListUsersResponse

func (*V1ListUsersResponse) ContextValidate

func (m *V1ListUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ListUsersResponse) Validate

func (m *V1ListUsersResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 list users response

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

func (m *V1Machine) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 machine based on the context it is used

func (*V1Machine) MarshalBinary

func (m *V1Machine) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Machine) UnmarshalBinary

func (m *V1Machine) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Machine) Validate

func (m *V1Machine) Validate(formats strfmt.Registry) error

Validate validates this v1 machine

type V1MoveMachineResponse

type V1MoveMachineResponse struct {

	// machine
	Machine *V1Machine `json:"machine,omitempty"`
}

V1MoveMachineResponse v1 move machine response

swagger:model v1MoveMachineResponse

func (*V1MoveMachineResponse) ContextValidate

func (m *V1MoveMachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MoveMachineResponse) Validate

func (m *V1MoveMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 move machine response

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

func (m *V1PreAuthKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1PreAuthKey) Validate

func (m *V1PreAuthKey) Validate(formats strfmt.Registry) error

Validate validates this v1 pre auth key

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

func (*V1RegisterMachineResponse) Validate

func (m *V1RegisterMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 register machine response

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

func (m V1RegisterMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (V1RegisterMethod) Validate

func (m V1RegisterMethod) Validate(formats strfmt.Registry) error

Validate validates this v1 register method

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

func (*V1RenameMachineResponse) Validate

func (m *V1RenameMachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 rename machine response

type V1RenameUserResponse

type V1RenameUserResponse struct {

	// user
	User *V1User `json:"user,omitempty"`
}

V1RenameUserResponse v1 rename user response

swagger:model v1RenameUserResponse

func (*V1RenameUserResponse) ContextValidate

func (m *V1RenameUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1RenameUserResponse) Validate

func (m *V1RenameUserResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 rename user response

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

func (m *V1Route) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 route based on the context it is used

func (*V1Route) MarshalBinary

func (m *V1Route) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Route) UnmarshalBinary

func (m *V1Route) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Route) Validate

func (m *V1Route) Validate(formats strfmt.Registry) error

Validate validates this v1 route

type V1SetTagsResponse

type V1SetTagsResponse struct {

	// machine
	Machine *V1Machine `json:"machine,omitempty"`
}

V1SetTagsResponse v1 set tags response

swagger:model v1SetTagsResponse

func (*V1SetTagsResponse) ContextValidate

func (m *V1SetTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SetTagsResponse) Validate

func (m *V1SetTagsResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 set tags response

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

func (m *V1User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 user based on context it is used

func (*V1User) MarshalBinary

func (m *V1User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1User) UnmarshalBinary

func (m *V1User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1User) Validate

func (m *V1User) Validate(formats strfmt.Registry) error

Validate validates this v1 user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL