models

package
v1.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectdMetricStatus

type CollectdMetricStatus struct {

	// Is the metric enabled
	Enable bool `json:"enable,omitempty"`

	// id
	ID *TypeInstanceID `json:"id,omitempty"`
}

CollectdMetricStatus collectd_metric_status

Holds a collectd id and an enable flag swagger:model collectd_metric_status

func (*CollectdMetricStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectdMetricStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectdMetricStatus) Validate

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

Validate validates this collectd metric status

type CollectdValue

type CollectdValue struct {

	// An array of values
	Values []interface{} `json:"values"`
}

CollectdValue collectd_value

Holds a collectd value swagger:model collectd_value

func (*CollectdValue) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectdValue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectdValue) Validate

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

Validate validates this collectd value

type ColumnFamilyInfo

type ColumnFamilyInfo struct {

	// The column family
	Cf string `json:"cf,omitempty"`

	// The Keyspace
	Ks string `json:"ks,omitempty"`

	// The column family type
	Type string `json:"type,omitempty"`
}

ColumnFamilyInfo column_family_info

Information about column family swagger:model column_family_info

func (*ColumnFamilyInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ColumnFamilyInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ColumnFamilyInfo) Validate

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

Validate validates this column family info

type CompactionInfo

type CompactionInfo struct {

	// The current completed
	Completed interface{} `json:"completed,omitempty"`

	// The operation type
	OperationType string `json:"operation_type,omitempty"`

	// The total to compact
	Total interface{} `json:"total,omitempty"`

	// The compacted unit
	Unit string `json:"unit,omitempty"`
}

CompactionInfo compaction_info

A key value mapping swagger:model compaction_info

func (*CompactionInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*CompactionInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CompactionInfo) Validate

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

Validate validates this compaction info

type Direction

type Direction string

Direction Direction

The file name swagger:model Direction

const (

	// DirectionOUT captures enum value "OUT"
	DirectionOUT Direction = "OUT"

	// DirectionIN captures enum value "IN"
	DirectionIN Direction = "IN"
)

func (Direction) Validate

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

Validate validates this direction

type EndpointDetail

type EndpointDetail struct {

	// The endpoint datacenter
	Datacenter string `json:"datacenter,omitempty"`

	// The endpoint host
	Host string `json:"host,omitempty"`

	// The endpoint rack
	Rack string `json:"rack,omitempty"`
}

EndpointDetail endpoint_detail

Endpoint detail swagger:model endpoint_detail

func (*EndpointDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*EndpointDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EndpointDetail) Validate

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

Validate validates this endpoint detail

type EndpointPhiValue

type EndpointPhiValue struct {

	// end point address
	Endpoint string `json:"endpoint,omitempty"`

	// Phi value
	Phi interface{} `json:"phi,omitempty"`
}

EndpointPhiValue endpoint_phi_value

Holds phi value for a single end point swagger:model endpoint_phi_value

func (*EndpointPhiValue) MarshalBinary

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

MarshalBinary interface implementation

func (*EndpointPhiValue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EndpointPhiValue) Validate

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

Validate validates this endpoint phi value

type EndpointState

type EndpointState struct {

	// The endpoint address
	Addrs string `json:"addrs,omitempty"`

	// Is the endpoint alive
	ApplicationState []*VersionValue `json:"application_state"`

	// The heart beat generation
	Generation int32 `json:"generation,omitempty"`

	// Is the endpoint alive
	IsAlive bool `json:"is_alive,omitempty"`

	// The update timestamp
	UpdateTime interface{} `json:"update_time,omitempty"`

	// The heart beat version
	Version int32 `json:"version,omitempty"`
}

EndpointState endpoint_state

Holds an endpoint state swagger:model endpoint_state

func (*EndpointState) MarshalBinary

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

MarshalBinary interface implementation

func (*EndpointState) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EndpointState) Validate

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

Validate validates this endpoint state

type ErrorModel

type ErrorModel struct {

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

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

ErrorModel error model swagger:model ErrorModel

func (*ErrorModel) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorModel) Validate

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

Validate validates this error model

type EstimatedHistogram

type EstimatedHistogram struct {

	// The series of values to which the counts in `buckets` correspond
	BucketOffsets []interface{} `json:"bucket_offsets"`

	// The histogram buckets
	Buckets []interface{} `json:"buckets"`
}

EstimatedHistogram estimated_histogram

An estimated histogram values swagger:model estimated_histogram

func (*EstimatedHistogram) MarshalBinary

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

MarshalBinary interface implementation

func (*EstimatedHistogram) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EstimatedHistogram) Validate

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

Validate validates this estimated histogram

type Histogram

type Histogram struct {

	// Total count so far
	Count interface{} `json:"count,omitempty"`

	// The max so far
	Max interface{} `json:"max,omitempty"`

	// The mean
	Mean interface{} `json:"mean,omitempty"`

	// The min so far
	Min interface{} `json:"min,omitempty"`

	// A sample containing the last n elements
	Sample []interface{} `json:"sample"`

	// Total sum so far
	Sum interface{} `json:"sum,omitempty"`

	// The variance
	Variance interface{} `json:"variance,omitempty"`
}

Histogram histogram

A histogram values swagger:model histogram

func (*Histogram) MarshalBinary

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

MarshalBinary interface implementation

func (*Histogram) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Histogram) Validate

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

Validate validates this histogram

type History

type History struct {

	// Bytes in
	BytesIn interface{} `json:"bytes_in,omitempty"`

	// Bytes out
	BytesOut interface{} `json:"bytes_out,omitempty"`

	// The column family name
	Cf string `json:"cf,omitempty"`

	// The time of compaction
	CompactedAt interface{} `json:"compacted_at,omitempty"`

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

	// The keyspace name
	Ks string `json:"ks,omitempty"`

	// The merged rows
	RowsMerged []*RowMerged `json:"rows_merged"`
}

History history

Compaction history information swagger:model history

func (*History) MarshalBinary

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

MarshalBinary interface implementation

func (*History) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*History) Validate

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

Validate validates this history

type Level

type Level string

Level level swagger:model level

const (

	// LevelError captures enum value "error"
	LevelError Level = "error"

	// LevelWarn captures enum value "warn"
	LevelWarn Level = "warn"

	// LevelInfo captures enum value "info"
	LevelInfo Level = "info"

	// LevelDebug captures enum value "debug"
	LevelDebug Level = "debug"

	// LevelTrace captures enum value "trace"
	LevelTrace Level = "trace"
)

func (Level) Validate

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

Validate validates this level

type MapStringDouble

type MapStringDouble struct {

	// The key
	Key string `json:"key,omitempty"`

	// The value
	Value interface{} `json:"value,omitempty"`
}

MapStringDouble map_string_double

A key value mapping between a string and a double swagger:model map_string_double

func (*MapStringDouble) MarshalBinary

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

MarshalBinary interface implementation

func (*MapStringDouble) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MapStringDouble) Validate

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

Validate validates this map string double

type MaplistMapper

type MaplistMapper struct {

	// The key
	Key []string `json:"key"`

	// The value
	Value []string `json:"value"`
}

MaplistMapper maplist_mapper

A key value mapping, where key and value are list swagger:model maplist_mapper

func (*MaplistMapper) MarshalBinary

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

MarshalBinary interface implementation

func (*MaplistMapper) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MaplistMapper) Validate

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

Validate validates this maplist mapper

type Mapper

type Mapper struct {

	// The key
	Key string `json:"key,omitempty"`

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

Mapper mapper

A key value mapping swagger:model mapper

func (*Mapper) MarshalBinary

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

MarshalBinary interface implementation

func (*Mapper) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Mapper) Validate

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

Validate validates this mapper

type MapperList

type MapperList struct {

	// The key
	Key string `json:"key,omitempty"`

	// The value
	Value []string `json:"value"`
}

MapperList mapper_list

Holds a key value which is a list swagger:model mapper_list

func (*MapperList) MarshalBinary

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

MarshalBinary interface implementation

func (*MapperList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MapperList) Validate

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

Validate validates this mapper list

type MessageCounter

type MessageCounter struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value interface{} `json:"value,omitempty"`
}

MessageCounter message_counter

Holds command counters swagger:model message_counter

func (*MessageCounter) MarshalBinary

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

MarshalBinary interface implementation

func (*MessageCounter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MessageCounter) Validate

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

Validate validates this message counter

type ProgressInfo

type ProgressInfo struct {

	// The current bytes
	CurrentBytes interface{} `json:"current_bytes,omitempty"`

	// direction
	Direction Direction `json:"direction,omitempty"`

	// The file name
	FileName string `json:"file_name,omitempty"`

	// The peer address
	Peer string `json:"peer,omitempty"`

	// The session index
	SessionIndex int32 `json:"session_index,omitempty"`

	// The total bytes
	TotalBytes interface{} `json:"total_bytes,omitempty"`
}

ProgressInfo progress_info

File transfer progress swagger:model progress_info

func (*ProgressInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ProgressInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProgressInfo) Validate

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

Validate validates this progress info

type ProgressInfoMapper

type ProgressInfoMapper struct {

	// The key
	Key string `json:"key,omitempty"`

	// value
	Value *ProgressInfo `json:"value,omitempty"`
}

ProgressInfoMapper progress_info_mapper

A mapping between file and its progress info swagger:model progress_info_mapper

func (*ProgressInfoMapper) MarshalBinary

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

MarshalBinary interface implementation

func (*ProgressInfoMapper) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProgressInfoMapper) Validate

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

Validate validates this progress info mapper

type RateMovingAverage

type RateMovingAverage struct {

	// Total number of events from startup
	Count interface{} `json:"count,omitempty"`

	// The mean rate from startup
	MeanRate interface{} `json:"mean_rate,omitempty"`

	// One, five and fifteen mintues rates
	Rates []interface{} `json:"rates"`
}

RateMovingAverage rate_moving_average

A meter metric which measures mean throughput and one, five, and fifteen-minute exponentially-weighted moving average throughputs swagger:model rate_moving_average

func (*RateMovingAverage) MarshalBinary

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

MarshalBinary interface implementation

func (*RateMovingAverage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RateMovingAverage) Validate

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

Validate validates this rate moving average

type RateMovingAverageAndHistogram

type RateMovingAverageAndHistogram struct {

	// hist
	Hist *Histogram `json:"hist,omitempty"`

	// meter
	Meter *RateMovingAverage `json:"meter,omitempty"`
}

RateMovingAverageAndHistogram rate_moving_average_and_histogram

A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics swagger:model rate_moving_average_and_histogram

func (*RateMovingAverageAndHistogram) MarshalBinary

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

MarshalBinary interface implementation

func (*RateMovingAverageAndHistogram) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RateMovingAverageAndHistogram) Validate

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

Validate validates this rate moving average and histogram

type RepairAsyncStatusResponse

type RepairAsyncStatusResponse string

RepairAsyncStatusResponse repair_async_statusResponse swagger:model repair_async_statusResponse

const (

	// RepairAsyncStatusResponseRUNNING captures enum value "RUNNING"
	RepairAsyncStatusResponseRUNNING RepairAsyncStatusResponse = "RUNNING"

	// RepairAsyncStatusResponseSUCCESSFUL captures enum value "SUCCESSFUL"
	RepairAsyncStatusResponseSUCCESSFUL RepairAsyncStatusResponse = "SUCCESSFUL"

	// RepairAsyncStatusResponseFAILED captures enum value "FAILED"
	RepairAsyncStatusResponseFAILED RepairAsyncStatusResponse = "FAILED"
)

func (RepairAsyncStatusResponse) Validate

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

Validate validates this repair async status response

type RowMerged

type RowMerged struct {

	// The number of sstable
	Key int32 `json:"key,omitempty"`

	// The number or row compacted
	Value interface{} `json:"value,omitempty"`
}

RowMerged row_merged

A row merged information swagger:model row_merged

func (*RowMerged) MarshalBinary

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

MarshalBinary interface implementation

func (*RowMerged) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RowMerged) Validate

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

Validate validates this row merged

type SlowQueryInfo

type SlowQueryInfo struct {

	// Is slow query logging enable or disable
	Enable bool `json:"enable,omitempty"`

	// The slow query logging threshold in microseconds. Queries that takes longer, will be logged
	Threshold interface{} `json:"threshold,omitempty"`

	// The slow query TTL in seconds
	TTL interface{} `json:"ttl,omitempty"`
}

SlowQueryInfo slow_query_info

Slow query triggering information swagger:model slow_query_info

func (*SlowQueryInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*SlowQueryInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SlowQueryInfo) Validate

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

Validate validates this slow query info

type Snapshot

type Snapshot struct {

	// The column family
	Cf string `json:"cf,omitempty"`

	// The key space snapshot key
	Ks string `json:"ks,omitempty"`

	// The live snapshot size
	Live interface{} `json:"live,omitempty"`

	// The total snapshot size
	Total interface{} `json:"total,omitempty"`
}

Snapshot snapshot

Snapshot detail swagger:model snapshot

func (*Snapshot) MarshalBinary

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

MarshalBinary interface implementation

func (*Snapshot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Snapshot) Validate

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

Validate validates this snapshot

type Snapshots

type Snapshots struct {

	// The snapshot key
	Key string `json:"key,omitempty"`

	// The column family
	Value []*Snapshot `json:"value"`
}

Snapshots snapshots

List of Snapshot detail swagger:model snapshots

func (*Snapshots) MarshalBinary

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

MarshalBinary interface implementation

func (*Snapshots) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Snapshots) Validate

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

Validate validates this snapshots

type State

type State string

State State

Current session state swagger:model State

const (

	// StateINITIALIZED captures enum value "INITIALIZED"
	StateINITIALIZED State = "INITIALIZED"

	// StatePREPARING captures enum value "PREPARING"
	StatePREPARING State = "PREPARING"

	// StateSTREAMING captures enum value "STREAMING"
	StateSTREAMING State = "STREAMING"

	// StateWAITCOMPLETE captures enum value "WAIT_COMPLETE"
	StateWAITCOMPLETE State = "WAIT_COMPLETE"

	// StateCOMPLETE captures enum value "COMPLETE"
	StateCOMPLETE State = "COMPLETE"

	// StateFAILED captures enum value "FAILED"
	StateFAILED State = "FAILED"
)

func (State) Validate

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

Validate validates this state

type StreamInfo

type StreamInfo struct {

	// connecting
	Connecting string `json:"connecting,omitempty"`

	// The peer
	Peer string `json:"peer,omitempty"`

	// Receiving files
	ReceivingFiles []*ProgressInfoMapper `json:"receiving_files"`

	// Receiving summaries
	ReceivingSummaries []*StreamSummary `json:"receiving_summaries"`

	// Sending files
	SendingFiles []*ProgressInfoMapper `json:"sending_files"`

	// Sending summaries
	SendingSummaries []*StreamSummary `json:"sending_summaries"`

	// The session index
	SessionIndex int32 `json:"session_index,omitempty"`

	// state
	State State `json:"state,omitempty"`
}

StreamInfo stream_info

Stream session info swagger:model stream_info

func (*StreamInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*StreamInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StreamInfo) Validate

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

Validate validates this stream info

type StreamState

type StreamState struct {

	// The stream description
	Description string `json:"description,omitempty"`

	// Plan UUID
	PlanID string `json:"plan_id,omitempty"`

	// The sessions info
	Sessions []*StreamInfo `json:"sessions"`
}

StreamState stream_state

Current snapshot of streaming progress swagger:model stream_state

func (*StreamState) MarshalBinary

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

MarshalBinary interface implementation

func (*StreamState) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StreamState) Validate

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

Validate validates this stream state

type StreamSummary

type StreamSummary struct {

	// The ID
	CfID string `json:"cf_id,omitempty"`

	// Number of files to transfer. Can be 0 if nothing to transfer for some streaming request.
	Files int32 `json:"files,omitempty"`

	// total size
	TotalSize interface{} `json:"total_size,omitempty"`
}

StreamSummary stream_summary

Stream summary info swagger:model stream_summary

func (*StreamSummary) MarshalBinary

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

MarshalBinary interface implementation

func (*StreamSummary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StreamSummary) Validate

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

Validate validates this stream summary

type Summary

type Summary struct {

	// The column family name
	Cf string `json:"cf,omitempty"`

	// The number of units completed
	Completed interface{} `json:"completed,omitempty"`

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

	// The keyspace name
	Ks string `json:"ks,omitempty"`

	// The task compaction type
	TaskType string `json:"task_type,omitempty"`

	// The total number of units
	Total interface{} `json:"total,omitempty"`

	// The units being used
	Unit string `json:"unit,omitempty"`
}

Summary summary

A compaction summary object swagger:model summary

func (*Summary) MarshalBinary

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

MarshalBinary interface implementation

func (*Summary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Summary) Validate

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

Validate validates this summary

type TokenRange

type TokenRange struct {

	// The range start token
	EndToken string `json:"end_token,omitempty"`

	// The endpoint details
	EndpointDetails []*EndpointDetail `json:"endpoint_details"`

	// The endpoints
	Endpoints []string `json:"endpoints"`

	// The rpc endpoints
	RPCEndpoints []string `json:"rpc_endpoints"`

	// The range start token
	StartToken string `json:"start_token,omitempty"`
}

TokenRange token_range

Endpoint range information swagger:model token_range

func (*TokenRange) MarshalBinary

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

MarshalBinary interface implementation

func (*TokenRange) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TokenRange) Validate

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

Validate validates this token range

type Type

type Type string

Type type swagger:model type

const (

	// TypeAll captures enum value "all"
	TypeAll Type = "all"

	// TypeUser captures enum value "user"
	TypeUser Type = "user"

	// TypeNonLocalStrategy captures enum value "non_local_strategy"
	TypeNonLocalStrategy Type = "non_local_strategy"
)

func (Type) Validate

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

Validate validates this type

type TypeInstanceID

type TypeInstanceID struct {

	// The plugin ID
	Plugin string `json:"plugin,omitempty"`

	// The plugin instance
	PluginInstance string `json:"plugin_instance,omitempty"`

	// The plugin type
	Type string `json:"type,omitempty"`

	// The plugin type instance
	TypeInstance string `json:"type_instance,omitempty"`
}

TypeInstanceID type_instance_id

A type instance ID swagger:model type_instance_id

func (*TypeInstanceID) MarshalBinary

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

MarshalBinary interface implementation

func (*TypeInstanceID) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TypeInstanceID) Validate

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

Validate validates this type instance id

type Verb

type Verb string

Verb Verb swagger:model Verb

const (

	// VerbCLIENTID captures enum value "CLIENT_ID"
	VerbCLIENTID Verb = "CLIENT_ID"

	// VerbMUTATION captures enum value "MUTATION"
	VerbMUTATION Verb = "MUTATION"

	// VerbMUTATIONDONE captures enum value "MUTATION_DONE"
	VerbMUTATIONDONE Verb = "MUTATION_DONE"

	// VerbREADDATA captures enum value "READ_DATA"
	VerbREADDATA Verb = "READ_DATA"

	// VerbREADMUTATIONDATA captures enum value "READ_MUTATION_DATA"
	VerbREADMUTATIONDATA Verb = "READ_MUTATION_DATA"

	// VerbREADDIGEST captures enum value "READ_DIGEST"
	VerbREADDIGEST Verb = "READ_DIGEST"

	// VerbGOSSIPECHO captures enum value "GOSSIP_ECHO"
	VerbGOSSIPECHO Verb = "GOSSIP_ECHO"

	// VerbGOSSIPDIGESTSYN captures enum value "GOSSIP_DIGEST_SYN"
	VerbGOSSIPDIGESTSYN Verb = "GOSSIP_DIGEST_SYN"

	// VerbGOSSIPDIGESTACK2 captures enum value "GOSSIP_DIGEST_ACK2"
	VerbGOSSIPDIGESTACK2 Verb = "GOSSIP_DIGEST_ACK2"

	// VerbGOSSIPSHUTDOWN captures enum value "GOSSIP_SHUTDOWN"
	VerbGOSSIPSHUTDOWN Verb = "GOSSIP_SHUTDOWN"

	// VerbDEFINITIONSUPDATE captures enum value "DEFINITIONS_UPDATE"
	VerbDEFINITIONSUPDATE Verb = "DEFINITIONS_UPDATE"

	// VerbTRUNCATE captures enum value "TRUNCATE"
	VerbTRUNCATE Verb = "TRUNCATE"

	// VerbREPLICATIONFINISHED captures enum value "REPLICATION_FINISHED"
	VerbREPLICATIONFINISHED Verb = "REPLICATION_FINISHED"

	// VerbMIGRATIONREQUEST captures enum value "MIGRATION_REQUEST"
	VerbMIGRATIONREQUEST Verb = "MIGRATION_REQUEST"

	// VerbPREPAREMESSAGE captures enum value "PREPARE_MESSAGE"
	VerbPREPAREMESSAGE Verb = "PREPARE_MESSAGE"

	// VerbPREPAREDONEMESSAGE captures enum value "PREPARE_DONE_MESSAGE"
	VerbPREPAREDONEMESSAGE Verb = "PREPARE_DONE_MESSAGE"

	// VerbSTREAMMUTATION captures enum value "STREAM_MUTATION"
	VerbSTREAMMUTATION Verb = "STREAM_MUTATION"

	// VerbSTREAMMUTATIONDONE captures enum value "STREAM_MUTATION_DONE"
	VerbSTREAMMUTATIONDONE Verb = "STREAM_MUTATION_DONE"

	// VerbCOMPLETEMESSAGE captures enum value "COMPLETE_MESSAGE"
	VerbCOMPLETEMESSAGE Verb = "COMPLETE_MESSAGE"

	// VerbREPAIRCHECKSUMRANGE captures enum value "REPAIR_CHECKSUM_RANGE"
	VerbREPAIRCHECKSUMRANGE Verb = "REPAIR_CHECKSUM_RANGE"

	// VerbGETSCHEMAVERSION captures enum value "GET_SCHEMA_VERSION"
	VerbGETSCHEMAVERSION Verb = "GET_SCHEMA_VERSION"
)

func (Verb) Validate

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

Validate validates this verb

type VerbCounter

type VerbCounter struct {

	// count
	Count interface{} `json:"count,omitempty"`

	// verb
	Verb Verb `json:"verb,omitempty"`
}

VerbCounter verb_counter

Holds verb counters swagger:model verb_counter

func (*VerbCounter) MarshalBinary

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

MarshalBinary interface implementation

func (*VerbCounter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VerbCounter) Validate

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

Validate validates this verb counter

type VersionValue

type VersionValue struct {

	// The application state enum index
	ApplicationState int32 `json:"application_state,omitempty"`

	// The version value
	Value string `json:"value,omitempty"`

	// The application state version
	Version int32 `json:"version,omitempty"`
}

VersionValue version_value

Holds a version value for an application state swagger:model version_value

func (*VersionValue) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionValue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionValue) Validate

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

Validate validates this version value

Jump to

Keyboard shortcuts

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