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
- func (m *CircuitDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CircuitDetail) MarshalBinary() ([]byte, error)
- func (m CircuitDetail) MarshalJSON() ([]byte, error)
- func (m *CircuitDetail) UnmarshalBinary(b []byte) error
- func (m *CircuitDetail) UnmarshalJSON(raw []byte) error
- func (m *CircuitDetail) Validate(formats strfmt.Registry) error
- type CircuitList
- type CreateEnvelope
- type CreateLocation
- type DataIntegrityCheckDetail
- func (m *DataIntegrityCheckDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DataIntegrityCheckDetail) MarshalBinary() ([]byte, error)
- func (m *DataIntegrityCheckDetail) UnmarshalBinary(b []byte) error
- func (m *DataIntegrityCheckDetail) Validate(formats strfmt.Registry) error
- type DataIntegrityCheckDetailList
- type DataIntegrityCheckDetails
- func (m *DataIntegrityCheckDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DataIntegrityCheckDetails) MarshalBinary() ([]byte, error)
- func (m *DataIntegrityCheckDetails) UnmarshalBinary(b []byte) error
- func (m *DataIntegrityCheckDetails) Validate(formats strfmt.Registry) error
- type DataIntegrityCheckResultEnvelope
- func (m *DataIntegrityCheckResultEnvelope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DataIntegrityCheckResultEnvelope) MarshalBinary() ([]byte, error)
- func (m *DataIntegrityCheckResultEnvelope) UnmarshalBinary(b []byte) error
- func (m *DataIntegrityCheckResultEnvelope) Validate(formats strfmt.Registry) error
- type DatabaseSnapshotCreate
- func (m *DatabaseSnapshotCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatabaseSnapshotCreate) MarshalBinary() ([]byte, error)
- func (m *DatabaseSnapshotCreate) UnmarshalBinary(b []byte) error
- func (m *DatabaseSnapshotCreate) Validate(formats strfmt.Registry) error
- type DatabaseSnapshotCreateDetails
- func (m *DatabaseSnapshotCreateDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatabaseSnapshotCreateDetails) MarshalBinary() ([]byte, error)
- func (m *DatabaseSnapshotCreateDetails) UnmarshalBinary(b []byte) error
- func (m *DatabaseSnapshotCreateDetails) Validate(formats strfmt.Registry) error
- type DatabaseSnapshotCreateResultEnvelope
- func (m *DatabaseSnapshotCreateResultEnvelope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatabaseSnapshotCreateResultEnvelope) MarshalBinary() ([]byte, error)
- func (m *DatabaseSnapshotCreateResultEnvelope) UnmarshalBinary(b []byte) error
- func (m *DatabaseSnapshotCreateResultEnvelope) Validate(formats strfmt.Registry) error
- 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 Path
- type RaftMemberAdd
- type RaftMemberListResponse
- func (m *RaftMemberListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RaftMemberListResponse) MarshalBinary() ([]byte, error)
- func (m *RaftMemberListResponse) UnmarshalBinary(b []byte) error
- func (m *RaftMemberListResponse) Validate(formats strfmt.Registry) error
- type RaftMemberListValue
- type RaftMemberRemove
- type RaftTransferLeadership
- func (m *RaftTransferLeadership) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RaftTransferLeadership) MarshalBinary() ([]byte, error)
- func (m *RaftTransferLeadership) UnmarshalBinary(b []byte) error
- func (m *RaftTransferLeadership) Validate(formats strfmt.Registry) error
- 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 { 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 ¶
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
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 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
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
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
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
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
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
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
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 ¶
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 ¶
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
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 ¶
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
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 ¶
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
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"` // 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 ¶
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 CircuitList `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 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
ContextValidate validate this path based on the context it is used
func (*Path) MarshalBinary ¶ added in v0.31.1
MarshalBinary interface implementation
func (*Path) UnmarshalBinary ¶ added in v0.31.1
UnmarshalBinary interface implementation
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
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
type RaftMemberListResponse ¶
type RaftMemberListResponse struct { // data Data []*RaftMemberListValue `json:"data"` }
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
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"` // read only // Required: true ReadOnly *bool `json:"readOnly"` // 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 ¶
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
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
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
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
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 ¶
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"` // 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 ¶
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 ¶
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 ¶
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
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 ¶
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"` // 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 ¶
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"` // 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 ¶
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"` // 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 ¶
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"` // 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 ¶
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
func (TerminatorPrecedence) Pointer ¶
func (m TerminatorPrecedence) Pointer() *TerminatorPrecedence
Pointer returns a pointer to a freshly-allocated TerminatorPrecedence.
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"` // 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 ¶
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
- data_integrity_check_detail.go
- data_integrity_check_detail_list.go
- data_integrity_check_details.go
- data_integrity_check_result_envelope.go
- database_snapshot_create.go
- database_snapshot_create_details.go
- database_snapshot_create_result_envelope.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
- path.go
- raft_member_add.go
- raft_member_list_response.go
- raft_member_list_value.go
- raft_member_remove.go
- raft_transfer_leadership.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