Documentation ¶
Index ¶
- type Client
- func (c Client) GetRepoInfo() (info session.RepoInfo, err error)
- func (c Client) GetVersion() (res string, err error)
- func (c Client) KV(key string) (res session.KVState, err error)
- func (c Client) KVCAS(key string, expected, desired any) (res session.KVCompareAndSwapResult, err error)
- func (c Client) KVCreate(key string, value any) (res uint64, err error)
- func (c Client) KVList() (res []string, err error)
- func (c Client) KVPurge(key string) (res struct{}, err error)
- func (c Client) KVPut(key string, value any) (res uint64, err error)
- func (c Client) KVSet(key string, value any, revision uint64) (res uint64, err error)
- func (c Client) Lambdas() (res map[string]session.Lambda, err error)
- func (c Client) Peers() (res []xpost.Peer, err error)
- func (c Client) PeersAlive() (res []xpost.Peer, err error)
- func (c Client) Ping() (res string, err error)
- func (c Client) Publish(topic string, p any) (ack jetstream.PubAck, err error)
- func (c Client) QueryIP(ip string) (info session.IPInfoResult, err error)
- func (c Client) Reload(invalidate bool) (err error)
- func (c Client) Result(stream string, seq int) (res json.RawMessage, err error)
- func (c Client) ServiceHealth(name string) (h session.ServiceHealth, err error)
- func (c Client) ServiceHealthMap() (h map[string]session.ServiceHealth, err error)
- func (c Client) ServiceMetrics(name string) (m session.ServiceMetrics, err error)
- func (c Client) ServiceMetricsMap() (m map[string]session.ServiceMetrics, err error)
- func (c Client) ServiceRestart(name string, invalidate bool) (res session.ServiceCommandResult, err error)
- func (c Client) ServiceRestartAll(invalidate bool) (res session.ServiceCommandResult, err error)
- func (c Client) ServiceStop(name string) (res session.ServiceCommandResult, err error)
- func (c Client) ServiceStopAll() (res session.ServiceCommandResult, err error)
- func (c Client) Services() (res map[string]snowflake.ID, err error)
- func (c Client) SessionMetrics() (m session.SessionMetrics, err error)
- func (c Client) Shutdown() (err error)
- func (c Client) SignURL(p urlsigner.Options) (res string, err error)
- func (c Client) SystemMetrics() (m session.SystemMetrics, err error)
- func (c Client) Tail(to xlog.TailOptions, out io.Writer) error
- func (c Client) TailContext(ctx context.Context, to xlog.TailOptions, out io.Writer) error
- func (c Client) UpdateRepo(p session.UpdateParams) (res session.PullResult, err error)
- func (c Client) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) GetVersion ¶ added in v0.2.2
func (Client) ServiceHealth ¶
func (c Client) ServiceHealth(name string) (h session.ServiceHealth, err error)
func (Client) ServiceHealthMap ¶
func (c Client) ServiceHealthMap() (h map[string]session.ServiceHealth, err error)
func (Client) ServiceMetrics ¶
func (c Client) ServiceMetrics(name string) (m session.ServiceMetrics, err error)
func (Client) ServiceMetricsMap ¶
func (c Client) ServiceMetricsMap() (m map[string]session.ServiceMetrics, err error)
func (Client) ServiceRestart ¶
func (Client) ServiceRestartAll ¶
func (c Client) ServiceRestartAll(invalidate bool) (res session.ServiceCommandResult, err error)
func (Client) ServiceStop ¶
func (c Client) ServiceStop(name string) (res session.ServiceCommandResult, err error)
func (Client) ServiceStopAll ¶
func (c Client) ServiceStopAll() (res session.ServiceCommandResult, err error)
func (Client) SessionMetrics ¶
func (c Client) SessionMetrics() (m session.SessionMetrics, err error)
func (Client) SystemMetrics ¶
func (c Client) SystemMetrics() (m session.SystemMetrics, err error)
func (Client) TailContext ¶
func (Client) UpdateRepo ¶
func (c Client) UpdateRepo(p session.UpdateParams) (res session.PullResult, err error)
Click to show internal directories.
Click to hide internal directories.