rest_model

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 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 APIError

type APIError struct {

	// args
	Args *APIErrorArgs `json:"args,omitempty"`

	// cause
	Cause *APIErrorCause `json:"cause,omitempty"`

	// cause message
	CauseMessage string `json:"causeMessage,omitempty"`

	// code
	Code string `json:"code,omitempty"`

	// data
	Data interface{} `json:"data,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// request Id
	RequestID string `json:"requestId,omitempty"`
}

APIError api error

swagger:model apiError

func (*APIError) ContextValidate

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

ContextValidate validate this api error based on the context it is used

func (*APIError) MarshalBinary

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

MarshalBinary interface implementation

func (*APIError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIError) Validate

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

Validate validates this api error

type APIErrorArgs

type APIErrorArgs struct {

	// url vars
	URLVars map[string]string `json:"urlVars,omitempty"`
}

APIErrorArgs api error args

swagger:model apiErrorArgs

func (*APIErrorArgs) ContextValidate

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

ContextValidate validates this api error args based on context it is used

func (*APIErrorArgs) MarshalBinary

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

MarshalBinary interface implementation

func (*APIErrorArgs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIErrorArgs) Validate

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

Validate validates this api error args

type APIErrorCause

type APIErrorCause struct {
	APIFieldError

	APIError
}

APIErrorCause api error cause

swagger:model apiErrorCause

func (*APIErrorCause) ContextValidate

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

ContextValidate validate this api error cause based on the context it is used

func (*APIErrorCause) MarshalBinary

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

MarshalBinary interface implementation

func (APIErrorCause) MarshalJSON

func (m APIErrorCause) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*APIErrorCause) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIErrorCause) UnmarshalJSON

func (m *APIErrorCause) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*APIErrorCause) Validate

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

Validate validates this api error cause

type APIErrorEnvelope

type APIErrorEnvelope struct {

	// error
	// Required: true
	Error *APIError `json:"error"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

APIErrorEnvelope api error envelope

swagger:model apiErrorEnvelope

func (*APIErrorEnvelope) ContextValidate

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

ContextValidate validate this api error envelope based on the context it is used

func (*APIErrorEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*APIErrorEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIErrorEnvelope) Validate

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

Validate validates this api error envelope

type APIFieldError

type APIFieldError struct {

	// field
	Field string `json:"field,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

APIFieldError api field error

swagger:model apiFieldError

func (*APIFieldError) ContextValidate

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

ContextValidate validates this api field error based on context it is used

func (*APIFieldError) MarshalBinary

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

MarshalBinary interface implementation

func (*APIFieldError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIFieldError) Validate

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

Validate validates this api field error

type BaseEntity

type BaseEntity struct {

	// links
	// Required: true
	Links Links `json:"_links"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// id
	// Required: true
	ID *string `json:"id"`

	// tags
	// Required: true
	Tags *Tags `json:"tags"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

BaseEntity Fields shared by all Edge API entities

swagger:model baseEntity

func (*BaseEntity) ContextValidate

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

ContextValidate validate this base entity based on the context it is used

func (*BaseEntity) MarshalBinary

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

MarshalBinary interface implementation

func (*BaseEntity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BaseEntity) Validate

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

Validate validates this base entity

type CircuitDelete

type CircuitDelete struct {

	// immediate
	Immediate bool `json:"immediate,omitempty"`
}

CircuitDelete circuit delete

swagger:model circuitDelete

func (*CircuitDelete) ContextValidate

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

ContextValidate validates this circuit delete based on context it is used

func (*CircuitDelete) MarshalBinary

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

MarshalBinary interface implementation

func (*CircuitDelete) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CircuitDelete) Validate

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

Validate validates this circuit delete

type CircuitDetail

type CircuitDetail struct {
	BaseEntity

	// client Id
	ClientID string `json:"clientId,omitempty"`

	// path
	// Required: true
	Path *Path `json:"path"`

	// service
	// Required: true
	Service *EntityRef `json:"service"`

	// terminator
	// Required: true
	Terminator *EntityRef `json:"terminator"`
}

CircuitDetail circuit detail

swagger:model circuitDetail

func (*CircuitDetail) ContextValidate

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

ContextValidate validate this circuit detail based on the context it is used

func (*CircuitDetail) MarshalBinary

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

MarshalBinary interface implementation

func (CircuitDetail) MarshalJSON added in v0.31.1

func (m CircuitDetail) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*CircuitDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CircuitDetail) UnmarshalJSON added in v0.31.1

func (m *CircuitDetail) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*CircuitDetail) Validate

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

Validate validates this circuit detail

type CircuitList

type CircuitList []*CircuitDetail

CircuitList circuit list

swagger:model circuitList

func (CircuitList) ContextValidate

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

ContextValidate validate this circuit list based on the context it is used

func (CircuitList) Validate

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

Validate validates this circuit list

type CreateEnvelope

type CreateEnvelope struct {

	// data
	Data *CreateLocation `json:"data,omitempty"`

	// meta
	Meta *Meta `json:"meta,omitempty"`
}

CreateEnvelope create envelope

swagger:model createEnvelope

func (*CreateEnvelope) ContextValidate

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

ContextValidate validate this create envelope based on the context it is used

func (*CreateEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateEnvelope) Validate

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

Validate validates this create envelope

type CreateLocation

type CreateLocation struct {

	// links
	Links Links `json:"_links"`

	// id
	ID string `json:"id,omitempty"`
}

CreateLocation create location

swagger:model createLocation

func (*CreateLocation) ContextValidate

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

ContextValidate validate this create location based on the context it is used

func (*CreateLocation) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateLocation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateLocation) Validate

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

Validate validates this create location

type DataIntegrityCheckDetail

type DataIntegrityCheckDetail struct {

	// description
	// Required: true
	Description *string `json:"description"`

	// fixed
	// Required: true
	Fixed *bool `json:"fixed"`
}

DataIntegrityCheckDetail data integrity check detail

swagger:model dataIntegrityCheckDetail

func (*DataIntegrityCheckDetail) ContextValidate

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

ContextValidate validates this data integrity check detail based on context it is used

func (*DataIntegrityCheckDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*DataIntegrityCheckDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataIntegrityCheckDetail) Validate

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

Validate validates this data integrity check detail

type DataIntegrityCheckDetailList

type DataIntegrityCheckDetailList []*DataIntegrityCheckDetail

DataIntegrityCheckDetailList data integrity check detail list

swagger:model dataIntegrityCheckDetailList

func (DataIntegrityCheckDetailList) ContextValidate

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

ContextValidate validate this data integrity check detail list based on the context it is used

func (DataIntegrityCheckDetailList) Validate

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

Validate validates this data integrity check detail list

type DataIntegrityCheckDetails

type DataIntegrityCheckDetails struct {

	// end time
	// Required: true
	// Format: date-time
	EndTime *strfmt.DateTime `json:"endTime"`

	// error
	// Required: true
	Error *string `json:"error"`

	// fixing errors
	// Required: true
	FixingErrors *bool `json:"fixingErrors"`

	// in progress
	// Required: true
	InProgress *bool `json:"inProgress"`

	// results
	// Required: true
	Results DataIntegrityCheckDetailList `json:"results"`

	// start time
	// Required: true
	// Format: date-time
	StartTime *strfmt.DateTime `json:"startTime"`

	// too many errors
	// Required: true
	TooManyErrors *bool `json:"tooManyErrors"`
}

DataIntegrityCheckDetails data integrity check details

swagger:model dataIntegrityCheckDetails

func (*DataIntegrityCheckDetails) ContextValidate

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

ContextValidate validate this data integrity check details based on the context it is used

func (*DataIntegrityCheckDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*DataIntegrityCheckDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataIntegrityCheckDetails) Validate

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

Validate validates this data integrity check details

type DataIntegrityCheckResultEnvelope

type DataIntegrityCheckResultEnvelope struct {

	// data
	// Required: true
	Data *DataIntegrityCheckDetails `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

DataIntegrityCheckResultEnvelope data integrity check result envelope

swagger:model dataIntegrityCheckResultEnvelope

func (*DataIntegrityCheckResultEnvelope) ContextValidate

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

ContextValidate validate this data integrity check result envelope based on the context it is used

func (*DataIntegrityCheckResultEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*DataIntegrityCheckResultEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataIntegrityCheckResultEnvelope) Validate

Validate validates this data integrity check result envelope

type DatabaseSnapshotCreate

type DatabaseSnapshotCreate struct {

	// path
	Path string `json:"path,omitempty"`
}

DatabaseSnapshotCreate database snapshot create

swagger:model databaseSnapshotCreate

func (*DatabaseSnapshotCreate) ContextValidate

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

ContextValidate validates this database snapshot create based on context it is used

func (*DatabaseSnapshotCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseSnapshotCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseSnapshotCreate) Validate

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

Validate validates this database snapshot create

type DatabaseSnapshotCreateDetails

type DatabaseSnapshotCreateDetails struct {

	// path
	// Required: true
	Path *string `json:"path"`
}

DatabaseSnapshotCreateDetails database snapshot create details

swagger:model databaseSnapshotCreateDetails

func (*DatabaseSnapshotCreateDetails) ContextValidate

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

ContextValidate validates this database snapshot create details based on context it is used

func (*DatabaseSnapshotCreateDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseSnapshotCreateDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseSnapshotCreateDetails) Validate

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

Validate validates this database snapshot create details

type DatabaseSnapshotCreateResultEnvelope

type DatabaseSnapshotCreateResultEnvelope struct {

	// data
	// Required: true
	Data *DatabaseSnapshotCreateDetails `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

DatabaseSnapshotCreateResultEnvelope database snapshot create result envelope

swagger:model databaseSnapshotCreateResultEnvelope

func (*DatabaseSnapshotCreateResultEnvelope) ContextValidate

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

ContextValidate validate this database snapshot create result envelope based on the context it is used

func (*DatabaseSnapshotCreateResultEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseSnapshotCreateResultEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseSnapshotCreateResultEnvelope) Validate

Validate validates this database snapshot create result envelope

type DetailCircuitEnvelope

type DetailCircuitEnvelope struct {

	// data
	// Required: true
	Data *CircuitDetail `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

DetailCircuitEnvelope detail circuit envelope

swagger:model detailCircuitEnvelope

func (*DetailCircuitEnvelope) ContextValidate

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

ContextValidate validate this detail circuit envelope based on the context it is used

func (*DetailCircuitEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*DetailCircuitEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DetailCircuitEnvelope) Validate

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

Validate validates this detail circuit envelope

type DetailLinkEnvelope

type DetailLinkEnvelope struct {

	// data
	// Required: true
	Data *LinkDetail `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

DetailLinkEnvelope detail link envelope

swagger:model detailLinkEnvelope

func (*DetailLinkEnvelope) ContextValidate

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

ContextValidate validate this detail link envelope based on the context it is used

func (*DetailLinkEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*DetailLinkEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DetailLinkEnvelope) Validate

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

Validate validates this detail link envelope

type DetailRouterEnvelope

type DetailRouterEnvelope struct {

	// data
	// Required: true
	Data *RouterDetail `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

DetailRouterEnvelope detail router envelope

swagger:model detailRouterEnvelope

func (*DetailRouterEnvelope) ContextValidate

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

ContextValidate validate this detail router envelope based on the context it is used

func (*DetailRouterEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*DetailRouterEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DetailRouterEnvelope) Validate

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

Validate validates this detail router envelope

type DetailServiceEnvelope

type DetailServiceEnvelope struct {

	// data
	// Required: true
	Data *ServiceDetail `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

DetailServiceEnvelope detail service envelope

swagger:model detailServiceEnvelope

func (*DetailServiceEnvelope) ContextValidate

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

ContextValidate validate this detail service envelope based on the context it is used

func (*DetailServiceEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*DetailServiceEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DetailServiceEnvelope) Validate

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

Validate validates this detail service envelope

type DetailTerminatorEnvelope

type DetailTerminatorEnvelope struct {

	// data
	// Required: true
	Data *TerminatorDetail `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

DetailTerminatorEnvelope detail terminator envelope

swagger:model detailTerminatorEnvelope

func (*DetailTerminatorEnvelope) ContextValidate

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

ContextValidate validate this detail terminator envelope based on the context it is used

func (*DetailTerminatorEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*DetailTerminatorEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DetailTerminatorEnvelope) Validate

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

Validate validates this detail terminator envelope

type Empty

type Empty struct {

	// data
	// Example: {}
	// Required: true
	Data interface{} `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

Empty empty

swagger:model empty

func (*Empty) ContextValidate

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

ContextValidate validate this empty based on the context it is used

func (*Empty) MarshalBinary

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

MarshalBinary interface implementation

func (*Empty) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Empty) Validate

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

Validate validates this empty

type EntityRef

type EntityRef struct {

	// links
	Links Links `json:"_links"`

	// entity
	Entity string `json:"entity,omitempty"`

	// id
	ID string `json:"id,omitempty"`

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

EntityRef A reference to another resource and links to interact with it

swagger:model entityRef

func (*EntityRef) ContextValidate

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

ContextValidate validate this entity ref based on the context it is used

func (*EntityRef) MarshalBinary

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

MarshalBinary interface implementation

func (*EntityRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EntityRef) Validate

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

Validate validates this entity ref

type InspectRequest

type InspectRequest struct {

	// app regex
	// Required: true
	AppRegex *string `json:"appRegex"`

	// requested values
	// Required: true
	RequestedValues []string `json:"requestedValues"`
}

InspectRequest inspect request

swagger:model inspectRequest

func (*InspectRequest) ContextValidate

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

ContextValidate validates this inspect request based on context it is used

func (*InspectRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*InspectRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InspectRequest) Validate

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

Validate validates this inspect request

type InspectResponse

type InspectResponse struct {

	// errors
	Errors []string `json:"errors"`

	// success
	// Required: true
	Success *bool `json:"success"`

	// values
	Values []*InspectResponseValue `json:"values"`
}

InspectResponse inspect response

swagger:model inspectResponse

func (*InspectResponse) ContextValidate

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

ContextValidate validate this inspect response based on the context it is used

func (*InspectResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*InspectResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InspectResponse) Validate

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

Validate validates this inspect response

type InspectResponseValue

type InspectResponseValue struct {

	// app Id
	// Required: true
	AppID *string `json:"appId"`

	// name
	// Required: true
	Name *string `json:"name"`

	// value
	// Required: true
	Value interface{} `json:"value"`
}

InspectResponseValue inspect response value

swagger:model inspectResponseValue

func (*InspectResponseValue) ContextValidate

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

ContextValidate validates this inspect response value based on context it is used

func (*InspectResponseValue) MarshalBinary

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

MarshalBinary interface implementation

func (*InspectResponseValue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InspectResponseValue) Validate

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

Validate validates this inspect response value

type Link struct {

	// comment
	Comment string `json:"comment,omitempty"`

	// href
	// Required: true
	// Format: uri
	Href *strfmt.URI `json:"href"`

	// method
	Method string `json:"method,omitempty"`
}

Link A link to another resource

swagger:model link

func (*Link) ContextValidate

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

ContextValidate validates this link based on context it is used

func (*Link) MarshalBinary

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

MarshalBinary interface implementation

func (*Link) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Link) Validate

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

Validate validates this link

type LinkDetail

type LinkDetail struct {

	// cost
	// Required: true
	Cost *int64 `json:"cost"`

	// dest latency
	// Required: true
	DestLatency *int64 `json:"destLatency"`

	// dest router
	// Required: true
	DestRouter *EntityRef `json:"destRouter"`

	// down
	// Required: true
	Down *bool `json:"down"`

	// id
	// Required: true
	ID *string `json:"id"`

	// iteration
	// Required: true
	Iteration *int64 `json:"iteration"`

	// protocol
	// Required: true
	Protocol *string `json:"protocol"`

	// source latency
	// Required: true
	SourceLatency *int64 `json:"sourceLatency"`

	// source router
	// Required: true
	SourceRouter *EntityRef `json:"sourceRouter"`

	// state
	// Required: true
	State *string `json:"state"`

	// static cost
	// Required: true
	StaticCost *int64 `json:"staticCost"`
}

LinkDetail link detail

swagger:model linkDetail

func (*LinkDetail) ContextValidate

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

ContextValidate validate this link detail based on the context it is used

func (*LinkDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*LinkDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LinkDetail) Validate

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

Validate validates this link detail

type LinkList []*LinkDetail

LinkList link list

swagger:model linkList

func (LinkList) ContextValidate

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

ContextValidate validate this link list based on the context it is used

func (LinkList) Validate

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

Validate validates this link list

type LinkPatch

type LinkPatch struct {

	// down
	Down bool `json:"down,omitempty"`

	// static cost
	StaticCost int64 `json:"staticCost,omitempty"`
}

LinkPatch link patch

swagger:model linkPatch

func (*LinkPatch) ContextValidate

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

ContextValidate validates this link patch based on context it is used

func (*LinkPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*LinkPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LinkPatch) Validate

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

Validate validates this link patch

type Links map[string]Link

Links A map of named links

swagger:model links

func (Links) ContextValidate

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

ContextValidate validate this links based on the context it is used

func (Links) Validate

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

Validate validates this links

type ListCircuitsEnvelope

type ListCircuitsEnvelope struct {

	// data
	// Required: true
	Data CircuitList `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

ListCircuitsEnvelope list circuits envelope

swagger:model listCircuitsEnvelope

func (*ListCircuitsEnvelope) ContextValidate

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

ContextValidate validate this list circuits envelope based on the context it is used

func (*ListCircuitsEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*ListCircuitsEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListCircuitsEnvelope) Validate

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

Validate validates this list circuits envelope

type ListLinksEnvelope

type ListLinksEnvelope struct {

	// data
	// Required: true
	Data LinkList `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

ListLinksEnvelope list links envelope

swagger:model listLinksEnvelope

func (*ListLinksEnvelope) ContextValidate

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

ContextValidate validate this list links envelope based on the context it is used

func (*ListLinksEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*ListLinksEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListLinksEnvelope) Validate

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

Validate validates this list links envelope

type ListRoutersEnvelope

type ListRoutersEnvelope struct {

	// data
	// Required: true
	Data RouterList `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

ListRoutersEnvelope list routers envelope

swagger:model listRoutersEnvelope

func (*ListRoutersEnvelope) ContextValidate

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

ContextValidate validate this list routers envelope based on the context it is used

func (*ListRoutersEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*ListRoutersEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListRoutersEnvelope) Validate

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

Validate validates this list routers envelope

type ListServicesEnvelope

type ListServicesEnvelope struct {

	// data
	// Required: true
	Data ServiceList `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

ListServicesEnvelope list services envelope

swagger:model listServicesEnvelope

func (*ListServicesEnvelope) ContextValidate

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

ContextValidate validate this list services envelope based on the context it is used

func (*ListServicesEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesEnvelope) Validate

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

Validate validates this list services envelope

type ListTerminatorsEnvelope

type ListTerminatorsEnvelope struct {

	// data
	// Required: true
	Data TerminatorList `json:"data"`

	// meta
	// Required: true
	Meta *Meta `json:"meta"`
}

ListTerminatorsEnvelope list terminators envelope

swagger:model listTerminatorsEnvelope

func (*ListTerminatorsEnvelope) ContextValidate

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

ContextValidate validate this list terminators envelope based on the context it is used

func (*ListTerminatorsEnvelope) MarshalBinary

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

MarshalBinary interface implementation

func (*ListTerminatorsEnvelope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListTerminatorsEnvelope) Validate

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

Validate validates this list terminators envelope

type Meta

type Meta struct {

	// api enrollment version
	APIEnrollmentVersion string `json:"apiEnrollmentVersion,omitempty"`

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// filterable fields
	FilterableFields []string `json:"filterableFields,omitempty"`

	// pagination
	Pagination *Pagination `json:"pagination,omitempty"`
}

Meta meta

swagger:model meta

func (*Meta) ContextValidate

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

ContextValidate validate this meta based on the context it is used

func (*Meta) MarshalBinary

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

MarshalBinary interface implementation

func (*Meta) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Meta) Validate

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

Validate validates this meta

type Pagination

type Pagination struct {

	// limit
	// Required: true
	Limit *int64 `json:"limit"`

	// offset
	// Required: true
	Offset *int64 `json:"offset"`

	// total count
	// Required: true
	TotalCount *int64 `json:"totalCount"`
}

Pagination pagination

swagger:model pagination

func (*Pagination) ContextValidate

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

ContextValidate validates this pagination based on context it is used

func (*Pagination) MarshalBinary

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

MarshalBinary interface implementation

func (*Pagination) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Pagination) Validate

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

Validate validates this pagination

type Path added in v0.31.1

type Path struct {

	// links
	Links []*EntityRef `json:"links"`

	// nodes
	Nodes []*EntityRef `json:"nodes"`
}

Path path

swagger:model path

func (*Path) ContextValidate added in v0.31.1

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

ContextValidate validate this path based on the context it is used

func (*Path) MarshalBinary added in v0.31.1

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

MarshalBinary interface implementation

func (*Path) UnmarshalBinary added in v0.31.1

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

UnmarshalBinary interface implementation

func (*Path) Validate added in v0.31.1

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

Validate validates this path

type RaftMemberAdd added in v0.31.3

type RaftMemberAdd struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// is voter
	// Required: true
	IsVoter *bool `json:"isVoter"`
}

RaftMemberAdd raft member add

swagger:model raftMemberAdd

func (*RaftMemberAdd) ContextValidate added in v0.31.3

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

ContextValidate validates this raft member add based on context it is used

func (*RaftMemberAdd) MarshalBinary added in v0.31.3

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

MarshalBinary interface implementation

func (*RaftMemberAdd) UnmarshalBinary added in v0.31.3

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

UnmarshalBinary interface implementation

func (*RaftMemberAdd) Validate added in v0.31.3

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

Validate validates this raft member add

type RaftMemberListRequest

type RaftMemberListRequest interface{}

RaftMemberListRequest raft member list request

swagger:model raftMemberListRequest

type RaftMemberListResponse

type RaftMemberListResponse struct {

	// values
	Values []*RaftMemberListValue `json:"values"`
}

RaftMemberListResponse raft member list response

swagger:model raftMemberListResponse

func (*RaftMemberListResponse) ContextValidate

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

ContextValidate validate this raft member list response based on the context it is used

func (*RaftMemberListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RaftMemberListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RaftMemberListResponse) Validate

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

Validate validates this raft member list response

type RaftMemberListValue

type RaftMemberListValue struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// connected
	// Required: true
	Connected *bool `json:"connected"`

	// id
	// Required: true
	ID *string `json:"id"`

	// leader
	// Required: true
	Leader *bool `json:"leader"`

	// version
	// Required: true
	Version *string `json:"version"`

	// voter
	// Required: true
	Voter *bool `json:"voter"`
}

RaftMemberListValue raft member list value

swagger:model raftMemberListValue

func (*RaftMemberListValue) ContextValidate

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

ContextValidate validates this raft member list value based on context it is used

func (*RaftMemberListValue) MarshalBinary

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

MarshalBinary interface implementation

func (*RaftMemberListValue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RaftMemberListValue) Validate

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

Validate validates this raft member list value

type RaftMemberRemove added in v0.31.3

type RaftMemberRemove struct {

	// id
	// Required: true
	ID *string `json:"id"`
}

RaftMemberRemove raft member remove

swagger:model raftMemberRemove

func (*RaftMemberRemove) ContextValidate added in v0.31.3

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

ContextValidate validates this raft member remove based on context it is used

func (*RaftMemberRemove) MarshalBinary added in v0.31.3

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

MarshalBinary interface implementation

func (*RaftMemberRemove) UnmarshalBinary added in v0.31.3

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

UnmarshalBinary interface implementation

func (*RaftMemberRemove) Validate added in v0.31.3

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

Validate validates this raft member remove

type RaftTransferLeadership added in v0.31.3

type RaftTransferLeadership struct {

	// new leader Id
	NewLeaderID string `json:"newLeaderId,omitempty"`
}

RaftTransferLeadership raft transfer leadership

swagger:model raftTransferLeadership

func (*RaftTransferLeadership) ContextValidate added in v0.31.3

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

ContextValidate validates this raft transfer leadership based on context it is used

func (*RaftTransferLeadership) MarshalBinary added in v0.31.3

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

MarshalBinary interface implementation

func (*RaftTransferLeadership) UnmarshalBinary added in v0.31.3

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

UnmarshalBinary interface implementation

func (*RaftTransferLeadership) Validate added in v0.31.3

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

Validate validates this raft transfer leadership

type RouterCreate

type RouterCreate struct {

	// cost
	// Required: true
	// Maximum: 65535
	// Minimum: 0
	Cost *int64 `json:"cost"`

	// disabled
	Disabled *bool `json:"disabled,omitempty"`

	// fingerprint
	Fingerprint *string `json:"fingerprint,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// name
	// Required: true
	Name *string `json:"name"`

	// no traversal
	// Required: true
	NoTraversal *bool `json:"noTraversal"`

	// tags
	Tags *Tags `json:"tags,omitempty"`
}

RouterCreate router create

swagger:model routerCreate

func (*RouterCreate) ContextValidate

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

ContextValidate validate this router create based on the context it is used

func (*RouterCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*RouterCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouterCreate) Validate

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

Validate validates this router create

type RouterDetail

type RouterDetail struct {
	BaseEntity

	// connected
	// Required: true
	Connected *bool `json:"connected"`

	// cost
	// Required: true
	// Maximum: 65535
	// Minimum: 0
	Cost *int64 `json:"cost"`

	// disabled
	// Required: true
	Disabled *bool `json:"disabled"`

	// fingerprint
	// Required: true
	Fingerprint *string `json:"fingerprint"`

	// listener addresses
	ListenerAddresses []*RouterListener `json:"listenerAddresses"`

	// name
	// Required: true
	Name *string `json:"name"`

	// no traversal
	// Required: true
	NoTraversal *bool `json:"noTraversal"`

	// version info
	VersionInfo *VersionInfo `json:"versionInfo,omitempty"`
}

RouterDetail router detail

swagger:model routerDetail

func (*RouterDetail) ContextValidate

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

ContextValidate validate this router detail based on the context it is used

func (*RouterDetail) MarshalBinary

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

MarshalBinary interface implementation

func (RouterDetail) MarshalJSON

func (m RouterDetail) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*RouterDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouterDetail) UnmarshalJSON

func (m *RouterDetail) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*RouterDetail) Validate

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

Validate validates this router detail

type RouterList

type RouterList []*RouterDetail

RouterList router list

swagger:model routerList

func (RouterList) ContextValidate

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

ContextValidate validate this router list based on the context it is used

func (RouterList) Validate

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

Validate validates this router list

type RouterListener

type RouterListener struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// protocol
	// Required: true
	Protocol *string `json:"protocol"`
}

RouterListener router listener

swagger:model routerListener

func (*RouterListener) ContextValidate

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

ContextValidate validates this router listener based on context it is used

func (*RouterListener) MarshalBinary

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

MarshalBinary interface implementation

func (*RouterListener) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouterListener) Validate

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

Validate validates this router listener

type RouterPatch

type RouterPatch struct {

	// cost
	// Maximum: 65535
	// Minimum: 0
	Cost *int64 `json:"cost,omitempty"`

	// disabled
	Disabled *bool `json:"disabled,omitempty"`

	// fingerprint
	Fingerprint *string `json:"fingerprint,omitempty"`

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

	// no traversal
	NoTraversal *bool `json:"noTraversal,omitempty"`

	// tags
	Tags *Tags `json:"tags,omitempty"`
}

RouterPatch router patch

swagger:model routerPatch

func (*RouterPatch) ContextValidate

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

ContextValidate validate this router patch based on the context it is used

func (*RouterPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*RouterPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouterPatch) Validate

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

Validate validates this router patch

type RouterUpdate

type RouterUpdate struct {

	// cost
	// Required: true
	// Maximum: 65535
	// Minimum: 0
	Cost *int64 `json:"cost"`

	// disabled
	Disabled *bool `json:"disabled,omitempty"`

	// fingerprint
	// Required: true
	Fingerprint *string `json:"fingerprint"`

	// name
	// Required: true
	Name *string `json:"name"`

	// no traversal
	// Required: true
	NoTraversal *bool `json:"noTraversal"`

	// tags
	Tags *Tags `json:"tags,omitempty"`
}

RouterUpdate router update

swagger:model routerUpdate

func (*RouterUpdate) ContextValidate

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

ContextValidate validate this router update based on the context it is used

func (*RouterUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*RouterUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouterUpdate) Validate

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

Validate validates this router update

type ServiceCreate

type ServiceCreate struct {

	// name
	// Required: true
	Name *string `json:"name"`

	// tags
	Tags *Tags `json:"tags,omitempty"`

	// terminator strategy
	TerminatorStrategy string `json:"terminatorStrategy,omitempty"`
}

ServiceCreate service create

swagger:model serviceCreate

func (*ServiceCreate) ContextValidate

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

ContextValidate validate this service create based on the context it is used

func (*ServiceCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceCreate) Validate

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

Validate validates this service create

type ServiceDetail

type ServiceDetail struct {
	BaseEntity

	// name
	// Required: true
	Name *string `json:"name"`

	// terminator strategy
	// Required: true
	TerminatorStrategy *string `json:"terminatorStrategy"`
}

ServiceDetail service detail

swagger:model serviceDetail

func (*ServiceDetail) ContextValidate

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

ContextValidate validate this service detail based on the context it is used

func (*ServiceDetail) MarshalBinary

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

MarshalBinary interface implementation

func (ServiceDetail) MarshalJSON

func (m ServiceDetail) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ServiceDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceDetail) UnmarshalJSON

func (m *ServiceDetail) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ServiceDetail) Validate

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

Validate validates this service detail

type ServiceList

type ServiceList []*ServiceDetail

ServiceList service list

swagger:model serviceList

func (ServiceList) ContextValidate

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

ContextValidate validate this service list based on the context it is used

func (ServiceList) Validate

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

Validate validates this service list

type ServicePatch

type ServicePatch struct {

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

	// tags
	Tags *Tags `json:"tags,omitempty"`

	// terminator strategy
	TerminatorStrategy string `json:"terminatorStrategy,omitempty"`
}

ServicePatch service patch

swagger:model servicePatch

func (*ServicePatch) ContextValidate

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

ContextValidate validate this service patch based on the context it is used

func (*ServicePatch) MarshalBinary

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

MarshalBinary interface implementation

func (*ServicePatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServicePatch) Validate

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

Validate validates this service patch

type ServiceUpdate

type ServiceUpdate struct {

	// name
	// Required: true
	Name *string `json:"name"`

	// tags
	Tags *Tags `json:"tags,omitempty"`

	// terminator strategy
	TerminatorStrategy string `json:"terminatorStrategy,omitempty"`
}

ServiceUpdate service update

swagger:model serviceUpdate

func (*ServiceUpdate) ContextValidate

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

ContextValidate validate this service update based on the context it is used

func (*ServiceUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceUpdate) Validate

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

Validate validates this service update

type SubTags

type SubTags map[string]interface{}

SubTags sub tags

swagger:model subTags

func (SubTags) ContextValidate

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

ContextValidate validates this sub tags based on context it is used

func (SubTags) Validate

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

Validate validates this sub tags

type Tags

type Tags struct {
	SubTags
}

Tags A map of user defined fields and values. The values are limited to the following types/values: null, string, boolean

swagger:model tags

func (*Tags) ContextValidate

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

ContextValidate validate this tags based on the context it is used

func (*Tags) MarshalBinary

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

MarshalBinary interface implementation

func (Tags) MarshalJSON

func (m Tags) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Tags) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Tags) UnmarshalJSON

func (m *Tags) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Tags) Validate

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

Validate validates this tags

type TerminatorCost

type TerminatorCost int64

TerminatorCost terminator cost

swagger:model terminatorCost

func (TerminatorCost) ContextValidate

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

ContextValidate validates this terminator cost based on context it is used

func (TerminatorCost) Validate

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

Validate validates this terminator cost

type TerminatorCostMap

type TerminatorCostMap map[string]*TerminatorCost

TerminatorCostMap terminator cost map

swagger:model terminatorCostMap

func (TerminatorCostMap) ContextValidate

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

ContextValidate validate this terminator cost map based on the context it is used

func (TerminatorCostMap) Validate

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

Validate validates this terminator cost map

type TerminatorCreate

type TerminatorCreate struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// binding
	// Required: true
	Binding *string `json:"binding"`

	// cost
	Cost *TerminatorCost `json:"cost,omitempty"`

	// host Id
	HostID string `json:"hostId,omitempty"`

	// instance Id
	InstanceID string `json:"instanceId,omitempty"`

	// instance secret
	// Format: byte
	InstanceSecret strfmt.Base64 `json:"instanceSecret,omitempty"`

	// precedence
	Precedence TerminatorPrecedence `json:"precedence,omitempty"`

	// router
	// Required: true
	Router *string `json:"router"`

	// service
	// Required: true
	Service *string `json:"service"`

	// tags
	Tags *Tags `json:"tags,omitempty"`
}

TerminatorCreate terminator create

swagger:model terminatorCreate

func (*TerminatorCreate) ContextValidate

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

ContextValidate validate this terminator create based on the context it is used

func (*TerminatorCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*TerminatorCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TerminatorCreate) Validate

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

Validate validates this terminator create

type TerminatorDetail

type TerminatorDetail struct {
	BaseEntity

	// address
	// Required: true
	Address *string `json:"address"`

	// binding
	// Required: true
	Binding *string `json:"binding"`

	// cost
	// Required: true
	Cost *TerminatorCost `json:"cost"`

	// dynamic cost
	// Required: true
	DynamicCost *TerminatorCost `json:"dynamicCost"`

	// host Id
	// Required: true
	HostID *string `json:"hostId"`

	// instance Id
	// Required: true
	InstanceID *string `json:"instanceId"`

	// precedence
	// Required: true
	Precedence *TerminatorPrecedence `json:"precedence"`

	// router
	// Required: true
	Router *EntityRef `json:"router"`

	// router Id
	// Required: true
	RouterID *string `json:"routerId"`

	// service
	// Required: true
	Service *EntityRef `json:"service"`

	// service Id
	// Required: true
	ServiceID *string `json:"serviceId"`
}

TerminatorDetail terminator detail

swagger:model terminatorDetail

func (*TerminatorDetail) ContextValidate

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

ContextValidate validate this terminator detail based on the context it is used

func (*TerminatorDetail) MarshalBinary

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

MarshalBinary interface implementation

func (TerminatorDetail) MarshalJSON

func (m TerminatorDetail) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*TerminatorDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TerminatorDetail) UnmarshalJSON

func (m *TerminatorDetail) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*TerminatorDetail) Validate

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

Validate validates this terminator detail

type TerminatorList

type TerminatorList []*TerminatorDetail

TerminatorList terminator list

swagger:model terminatorList

func (TerminatorList) ContextValidate

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

ContextValidate validate this terminator list based on the context it is used

func (TerminatorList) Validate

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

Validate validates this terminator list

type TerminatorPatch

type TerminatorPatch struct {

	// address
	Address string `json:"address,omitempty"`

	// binding
	Binding string `json:"binding,omitempty"`

	// cost
	Cost *TerminatorCost `json:"cost,omitempty"`

	// host Id
	HostID string `json:"hostId,omitempty"`

	// precedence
	Precedence TerminatorPrecedence `json:"precedence,omitempty"`

	// router
	Router string `json:"router,omitempty"`

	// service
	Service string `json:"service,omitempty"`

	// tags
	Tags *Tags `json:"tags,omitempty"`
}

TerminatorPatch terminator patch

swagger:model terminatorPatch

func (*TerminatorPatch) ContextValidate

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

ContextValidate validate this terminator patch based on the context it is used

func (*TerminatorPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*TerminatorPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TerminatorPatch) Validate

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

Validate validates this terminator patch

type TerminatorPrecedence

type TerminatorPrecedence string

TerminatorPrecedence terminator precedence

swagger:model terminatorPrecedence

const (

	// TerminatorPrecedenceDefault captures enum value "default"
	TerminatorPrecedenceDefault TerminatorPrecedence = "default"

	// TerminatorPrecedenceRequired captures enum value "required"
	TerminatorPrecedenceRequired TerminatorPrecedence = "required"

	// TerminatorPrecedenceFailed captures enum value "failed"
	TerminatorPrecedenceFailed TerminatorPrecedence = "failed"
)

func NewTerminatorPrecedence

func NewTerminatorPrecedence(value TerminatorPrecedence) *TerminatorPrecedence

func (TerminatorPrecedence) ContextValidate

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

ContextValidate validates this terminator precedence based on context it is used

func (TerminatorPrecedence) Pointer

Pointer returns a pointer to a freshly-allocated TerminatorPrecedence.

func (TerminatorPrecedence) Validate

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

Validate validates this terminator precedence

type TerminatorPrecedenceMap

type TerminatorPrecedenceMap map[string]TerminatorPrecedence

TerminatorPrecedenceMap terminator precedence map

swagger:model terminatorPrecedenceMap

func (TerminatorPrecedenceMap) ContextValidate

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

ContextValidate validate this terminator precedence map based on the context it is used

func (TerminatorPrecedenceMap) Validate

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

Validate validates this terminator precedence map

type TerminatorUpdate

type TerminatorUpdate struct {

	// address
	// Required: true
	Address *string `json:"address"`

	// binding
	// Required: true
	Binding *string `json:"binding"`

	// cost
	Cost *TerminatorCost `json:"cost,omitempty"`

	// host Id
	HostID string `json:"hostId,omitempty"`

	// precedence
	Precedence TerminatorPrecedence `json:"precedence,omitempty"`

	// router
	// Required: true
	Router *string `json:"router"`

	// service
	// Required: true
	Service *string `json:"service"`

	// tags
	Tags *Tags `json:"tags,omitempty"`
}

TerminatorUpdate terminator update

swagger:model terminatorUpdate

func (*TerminatorUpdate) ContextValidate

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

ContextValidate validate this terminator update based on the context it is used

func (*TerminatorUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*TerminatorUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TerminatorUpdate) Validate

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

Validate validates this terminator update

type VersionInfo

type VersionInfo struct {

	// arch
	Arch string `json:"arch,omitempty"`

	// build date
	BuildDate string `json:"buildDate,omitempty"`

	// os
	Os string `json:"os,omitempty"`

	// revision
	Revision string `json:"revision,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

VersionInfo Application build information

swagger:model versionInfo

func (*VersionInfo) ContextValidate

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

ContextValidate validates this version info based on context it is used

func (*VersionInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionInfo) Validate

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

Validate validates this version info

Jump to

Keyboard shortcuts

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