Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnrichedStatus ¶
type EnrichedStatus struct { Type string `json:"seal_type"` Initialized string `json:"initialized"` Sealed string `json:"sealed"` T string `json:"total_recovery_shares"` N string `json:"threshold"` Progress string `json:"unseal_progress,omitempty"` Nonce string `json:"unseal_nonce,omitempty"` Version string `json:"version"` Migration string `json:"migration,omitempty"` ClusterName string `json:"cluster_name,omitempty"` ClusterID string `json:"cluster_id,omitempty"` RecoverySeal string `json:"recovery_seal,omitempty"` StorageType string `json:"storage_type,omitempty"` HAEnabled string `json:"ha_enabled"` HAMode string `json:"ha_mode,omitempty"` HACluster string `json:"ha_cluster,omitempty"` IsSelf string `json:"is_self,omitempty"` ActiveTime string `json:"active_time,omitempty"` LeaderAddress string `json:"leader_address,omitempty"` LeaderClusterAddress string `json:"leader_cluster_address,omitempty"` PerfStandby string `json:"performance_standby,omitempty"` PerfStandbyLastRemoteWAL string `json:"performance_standby_last_remote_wal,omitempty"` LastWAL string `json:"last_wal,omitempty"` RaftCommittedIndex string `json:"raft_committed_index,omitempty"` RaftAppliedIndex string `json:"raft_applied_index,omitempty"` }
type RequestBody ¶
type RequestBody struct {
Endpoint string `json:"endpoint"`
}
type Response ¶
type Response struct { Payload EnrichedStatus `json:"payload"` Headers map[string][]string `json:"headers"` }
Click to show internal directories.
Click to hide internal directories.