Documentation ¶
Index ¶
- type APIError
- type APIErrorArgs
- type APIErrorCause
- func (m *APIErrorCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *APIErrorCause) MarshalBinary() ([]byte, error)
- func (m APIErrorCause) MarshalJSON() ([]byte, error)
- func (m *APIErrorCause) UnmarshalBinary(b []byte) error
- func (m *APIErrorCause) UnmarshalJSON(raw []byte) error
- func (m *APIErrorCause) Validate(formats strfmt.Registry) error
- type APIErrorEnvelope
- type APIFieldError
- type BaseEntity
- type CircuitDelete
- type CircuitDetail
- type CircuitDetailPath
- type CircuitList
- type CreateEnvelope
- type CreateLocation
- type DetailCircuitEnvelope
- type DetailLinkEnvelope
- type DetailRouterEnvelope
- type DetailServiceEnvelope
- type DetailTerminatorEnvelope
- func (m *DetailTerminatorEnvelope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DetailTerminatorEnvelope) MarshalBinary() ([]byte, error)
- func (m *DetailTerminatorEnvelope) UnmarshalBinary(b []byte) error
- func (m *DetailTerminatorEnvelope) Validate(formats strfmt.Registry) error
- type Empty
- type EntityRef
- type InspectRequest
- type InspectResponse
- type InspectResponseValue
- type Link
- type LinkDetail
- type LinkList
- type LinkPatch
- type Links
- type ListCircuitsEnvelope
- type ListLinksEnvelope
- type ListRoutersEnvelope
- type ListServicesEnvelope
- type ListTerminatorsEnvelope
- func (m *ListTerminatorsEnvelope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListTerminatorsEnvelope) MarshalBinary() ([]byte, error)
- func (m *ListTerminatorsEnvelope) UnmarshalBinary(b []byte) error
- func (m *ListTerminatorsEnvelope) Validate(formats strfmt.Registry) error
- type Meta
- type Pagination
- type RouterCreate
- type RouterDetail
- func (m *RouterDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RouterDetail) MarshalBinary() ([]byte, error)
- func (m RouterDetail) MarshalJSON() ([]byte, error)
- func (m *RouterDetail) UnmarshalBinary(b []byte) error
- func (m *RouterDetail) UnmarshalJSON(raw []byte) error
- func (m *RouterDetail) Validate(formats strfmt.Registry) error
- type RouterList
- type RouterListener
- type RouterPatch
- type RouterUpdate
- type ServiceCreate
- type ServiceDetail
- func (m *ServiceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceDetail) MarshalBinary() ([]byte, error)
- func (m ServiceDetail) MarshalJSON() ([]byte, error)
- func (m *ServiceDetail) UnmarshalBinary(b []byte) error
- func (m *ServiceDetail) UnmarshalJSON(raw []byte) error
- func (m *ServiceDetail) Validate(formats strfmt.Registry) error
- type ServiceList
- type ServicePatch
- type ServiceUpdate
- type SubTags
- type Tags
- func (m *Tags) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Tags) MarshalBinary() ([]byte, error)
- func (m Tags) MarshalJSON() ([]byte, error)
- func (m *Tags) UnmarshalBinary(b []byte) error
- func (m *Tags) UnmarshalJSON(raw []byte) error
- func (m *Tags) Validate(formats strfmt.Registry) error
- type TerminatorCost
- type TerminatorCostMap
- type TerminatorCreate
- type TerminatorDetail
- func (m *TerminatorDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TerminatorDetail) MarshalBinary() ([]byte, error)
- func (m TerminatorDetail) MarshalJSON() ([]byte, error)
- func (m *TerminatorDetail) UnmarshalBinary(b []byte) error
- func (m *TerminatorDetail) UnmarshalJSON(raw []byte) error
- func (m *TerminatorDetail) Validate(formats strfmt.Registry) error
- type TerminatorList
- type TerminatorPatch
- type TerminatorPrecedence
- type TerminatorPrecedenceMap
- type TerminatorUpdate
- type VersionInfo
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 ¶
ContextValidate validate this api error based on the context it is used
func (*APIError) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type APIErrorArgs ¶
APIErrorArgs api error args
swagger:model apiErrorArgs
func (*APIErrorArgs) ContextValidate ¶
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
type APIErrorCause ¶
type APIErrorCause struct { APIFieldError APIError }
APIErrorCause api error cause
swagger:model apiErrorCause
func (*APIErrorCause) ContextValidate ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type CircuitDelete ¶
type CircuitDelete struct { // immediate Immediate bool `json:"immediate,omitempty"` }
CircuitDelete circuit delete
swagger:model circuitDelete
func (*CircuitDelete) ContextValidate ¶
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
type CircuitDetail ¶
type CircuitDetail struct { // client Id ClientID string `json:"clientId,omitempty"` // id // Required: true ID *string `json:"id"` // path // Required: true Path *CircuitDetailPath `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 ¶
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) UnmarshalBinary ¶
func (m *CircuitDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CircuitDetailPath ¶
type CircuitDetailPath struct { // links Links []*EntityRef `json:"links"` // nodes Nodes []*EntityRef `json:"nodes"` }
CircuitDetailPath circuit detail path
swagger:model CircuitDetailPath
func (*CircuitDetailPath) ContextValidate ¶
ContextValidate validate this circuit detail path based on the context it is used
func (*CircuitDetailPath) MarshalBinary ¶
func (m *CircuitDetailPath) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CircuitDetailPath) UnmarshalBinary ¶
func (m *CircuitDetailPath) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CircuitList ¶
type CircuitList []*CircuitDetail
CircuitList circuit list
swagger:model circuitList
func (CircuitList) ContextValidate ¶
ContextValidate validate this circuit list based on the context it is used
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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
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 ¶
ContextValidate validate this empty based on the context it is used
func (*Empty) MarshalBinary ¶
MarshalBinary interface implementation
func (*Empty) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this entity ref based on the context it is used
func (*EntityRef) MarshalBinary ¶
MarshalBinary interface implementation
func (*EntityRef) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type InspectRequest ¶ added in v0.17.9
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 ¶ added in v0.17.9
ContextValidate validates this inspect request based on context it is used
func (*InspectRequest) MarshalBinary ¶ added in v0.17.9
func (m *InspectRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InspectRequest) UnmarshalBinary ¶ added in v0.17.9
func (m *InspectRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InspectResponse ¶ added in v0.17.9
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 ¶ added in v0.17.9
ContextValidate validate this inspect response based on the context it is used
func (*InspectResponse) MarshalBinary ¶ added in v0.17.9
func (m *InspectResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InspectResponse) UnmarshalBinary ¶ added in v0.17.9
func (m *InspectResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InspectResponseValue ¶ added in v0.17.9
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 ¶ added in v0.17.9
ContextValidate validates this inspect response value based on context it is used
func (*InspectResponseValue) MarshalBinary ¶ added in v0.17.9
func (m *InspectResponseValue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InspectResponseValue) UnmarshalBinary ¶ added in v0.17.9
func (m *InspectResponseValue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Link ¶
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 ¶
ContextValidate validates this link based on context it is used
func (*Link) MarshalBinary ¶
MarshalBinary interface implementation
func (*Link) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // 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"` // type // Required: true Type *string `json:"type"` }
LinkDetail link detail
swagger:model linkDetail
func (*LinkDetail) ContextValidate ¶
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
type LinkList ¶
type LinkList []*LinkDetail
LinkList link list
swagger:model linkList
func (LinkList) ContextValidate ¶
ContextValidate validate this link list based on the context it is used
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 ¶
ContextValidate validates this link patch based on context it is used
func (*LinkPatch) MarshalBinary ¶
MarshalBinary interface implementation
func (*LinkPatch) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Links ¶
Links A map of named links
swagger:model links
func (Links) ContextValidate ¶
ContextValidate validate this links based on the context it is used
type ListCircuitsEnvelope ¶
type ListCircuitsEnvelope struct { // data // Required: true Data LinkList `json:"data"` // meta // Required: true Meta *Meta `json:"meta"` }
ListCircuitsEnvelope list circuits envelope
swagger:model listCircuitsEnvelope
func (*ListCircuitsEnvelope) ContextValidate ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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
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 ¶
ContextValidate validate this meta based on the context it is used
func (*Meta) MarshalBinary ¶
MarshalBinary interface implementation
func (*Meta) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
type RouterCreate ¶
type RouterCreate struct { // cost // Required: true // Maximum: 65535 // Minimum: 0 Cost *int64 `json:"cost"` // 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 ¶
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
type RouterDetail ¶
type RouterDetail struct { BaseEntity // connected // Required: true Connected *bool `json:"connected"` // cost // Required: true // Maximum: 65535 // Minimum: 0 Cost *int64 `json:"cost"` // 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 ¶
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
type RouterList ¶
type RouterList []*RouterDetail
RouterList router list
swagger:model routerList
func (RouterList) ContextValidate ¶
ContextValidate validate this router list based on the context it is used
type RouterListener ¶ added in v0.17.60
type RouterListener struct { // address // Required: true Address *string `json:"address"` // type // Required: true Type *string `json:"type"` }
RouterListener router listener
swagger:model routerListener
func (*RouterListener) ContextValidate ¶ added in v0.17.60
ContextValidate validates this router listener based on context it is used
func (*RouterListener) MarshalBinary ¶ added in v0.17.60
func (m *RouterListener) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouterListener) UnmarshalBinary ¶ added in v0.17.60
func (m *RouterListener) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouterPatch ¶
type RouterPatch struct { // cost // Maximum: 65535 // Minimum: 0 Cost *int64 `json:"cost,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 ¶
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
type RouterUpdate ¶
type RouterUpdate struct { // cost // Required: true // Maximum: 65535 // Minimum: 0 Cost *int64 `json:"cost"` // 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 ¶
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
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 ¶
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
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 ¶
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
type ServiceList ¶
type ServiceList []*ServiceDetail
ServiceList service list
swagger:model serviceList
func (ServiceList) ContextValidate ¶
ContextValidate validate this service list based on the context it is used
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 ¶
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
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 ¶
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
type SubTags ¶
type SubTags map[string]interface{}
SubTags sub tags
swagger:model subTags
func (SubTags) ContextValidate ¶
ContextValidate validates this sub tags based on context it is used
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 ¶
ContextValidate validate this tags based on the context it is used
func (*Tags) MarshalBinary ¶
MarshalBinary interface implementation
func (Tags) MarshalJSON ¶
MarshalJSON marshals this object to a JSON structure
func (*Tags) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Tags) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object from a JSON structure
type TerminatorCost ¶
type TerminatorCost int64
TerminatorCost terminator cost
swagger:model terminatorCost
func (TerminatorCost) ContextValidate ¶
ContextValidate validates this terminator cost based on context it is used
type TerminatorCostMap ¶
type TerminatorCostMap map[string]*TerminatorCost
TerminatorCostMap terminator cost map
swagger:model terminatorCostMap
func (TerminatorCostMap) ContextValidate ¶
ContextValidate validate this terminator cost map based on the context it is used
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"` // identity Identity string `json:"identity,omitempty"` // identity secret // Format: byte IdentitySecret strfmt.Base64 `json:"identitySecret,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 ¶
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
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"` // identity // Required: true Identity *string `json:"identity"` // 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 ¶
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
type TerminatorList ¶
type TerminatorList []*TerminatorDetail
TerminatorList terminator list
swagger:model terminatorList
func (TerminatorList) ContextValidate ¶
ContextValidate validate this terminator list based on the context it is used
type TerminatorPatch ¶
type TerminatorPatch struct { // address Address string `json:"address,omitempty"` // binding Binding string `json:"binding,omitempty"` // cost Cost *TerminatorCost `json:"cost,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 ¶
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
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 ¶
ContextValidate validates this terminator precedence based on context it is used
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
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"` // 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 ¶
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
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 ¶
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
Source Files ¶
- api_error.go
- api_error_args.go
- api_error_cause.go
- api_error_envelope.go
- api_field_error.go
- base_entity.go
- circuit_delete.go
- circuit_detail.go
- circuit_list.go
- create_envelope.go
- create_location.go
- detail_circuit_envelope.go
- detail_link_envelope.go
- detail_router_envelope.go
- detail_service_envelope.go
- detail_terminator_envelope.go
- empty.go
- entity_ref.go
- inspect_request.go
- inspect_response.go
- inspect_response_value.go
- link.go
- link_detail.go
- link_list.go
- link_patch.go
- links.go
- list_circuits_envelope.go
- list_links_envelope.go
- list_routers_envelope.go
- list_services_envelope.go
- list_terminators_envelope.go
- meta.go
- pagination.go
- router_create.go
- router_detail.go
- router_list.go
- router_listener.go
- router_patch.go
- router_update.go
- service_create.go
- service_detail.go
- service_list.go
- service_patch.go
- service_update.go
- sub_tags.go
- tags.go
- terminator_cost.go
- terminator_cost_map.go
- terminator_create.go
- terminator_detail.go
- terminator_list.go
- terminator_patch.go
- terminator_precedence.go
- terminator_precedence_map.go
- terminator_update.go
- version_info.go