Documentation
¶
Index ¶
- Constants
- type AppsWatcher
- type BackupctlWatcher
- type Client
- func (cli *Client) AppnameGet(ip string) (*pb.AppnameReply, error)
- func (cli *Client) AppsGet() (*pb.AppsReply, error)
- func (cli *Client) AppsWatch() (*AppsWatcher, error)
- func (cli *Client) BackupctlGet(appname string) (*pb.BackupctlReply, error)
- func (cli *Client) BackupctlWatch(appname string) (*BackupctlWatcher, error)
- func (cli *Client) ConfigGet(target string) (*pb.ConfigReply, error)
- func (cli *Client) ConfigWatch(target string) (*ConfigWatcher, error)
- func (cli *Client) ContainersGet(nodename string) (*pb.ContainersReply, error)
- func (cli *Client) ContainersWatch(nodename string) (*ContainersWatcher, error)
- func (cli *Client) CoreinfoGet(appname string) (*pb.CoreinfoReply, error)
- func (cli *Client) CoreinfoWatch(appname string) (*CoreinfoWatcher, error)
- func (cli *Client) DependsGet(target string) (*pb.DependsReply, error)
- func (cli *Client) DependsWatch(target string) (*DependsWatcher, error)
- func (cli *Client) LocalspecGet(nodeip string) (*pb.LocalspecReply, error)
- func (cli *Client) NodesGet(name string) (*pb.NodesReply, error)
- func (cli *Client) NodesWatch(name string) (*NodesWatcher, error)
- func (cli *Client) PodgroupGet(appname string) (*pb.PodgroupReply, error)
- func (cli *Client) PodgroupWatch(appname string) (*PodgroupWatcher, error)
- func (cli *Client) ProxyGet(appname string) (*pb.ProxyReply, error)
- func (cli *Client) ProxyWatch(appname string) (*ProxyWatcher, error)
- func (cli *Client) RebellionLocalprocsGet(appname string) (*pb.RebellionLocalprocsReply, error)
- func (cli *Client) RebellionLocalprocsWatch(appname string) (*RebellionLocalprocsWatcher, error)
- func (cli *Client) Status() (*pb.StatusReply, error)
- func (cli *Client) StreamrouterPortsGet(appname string) (*pb.StreamrouterPortsReply, error)
- func (cli *Client) StreamrouterPortsWatch(appname string) (*StreamrouterPortsWatcher, error)
- func (cli *Client) StreamrouterStreamprocsGet(appname string) (*pb.StreamrouterStreamprocsReply, error)
- func (cli *Client) StreamrouterStreamprocsWatch(appname string) (*StreamrouterStreamprocsWatcher, error)
- func (cli *Client) Version() (*pb.VersionReply, error)
- func (cli *Client) WebrouterWebprocsGet(appname string) (*pb.WebrouterWebprocsReply, error)
- func (cli *Client) WebrouterWebprocsWatch(appname string) (*WebrouterWebprocsWatcher, error)
- type Config
- type ConfigWatcher
- type ContainersWatcher
- type CoreinfoWatcher
- type DependsWatcher
- type NodesWatcher
- type PodgroupWatcher
- type ProxyWatcher
- type RebellionLocalprocsWatcher
- type StreamrouterPortsWatcher
- type StreamrouterStreamprocsWatcher
- type WebrouterWebprocsWatcher
Constants ¶
const (
RPC_TIMEOUT = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsWatcher ¶
type BackupctlWatcher ¶
func (*BackupctlWatcher) Next ¶
func (wch *BackupctlWatcher) Next() (*pb.BackupctlReply, error)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AppnameGet ¶
func (cli *Client) AppnameGet(ip string) (*pb.AppnameReply, error)
Appname only has Get rpc
func (*Client) AppsWatch ¶
func (cli *Client) AppsWatch() (*AppsWatcher, error)
func (*Client) BackupctlGet ¶
func (cli *Client) BackupctlGet(appname string) (*pb.BackupctlReply, error)
CODE GENERATION Apps END CODE GENERATION Backupctl START
func (*Client) BackupctlWatch ¶
func (cli *Client) BackupctlWatch(appname string) (*BackupctlWatcher, error)
func (*Client) ConfigGet ¶
func (cli *Client) ConfigGet(target string) (*pb.ConfigReply, error)
CODE GENERATION Backupctl END CODE GENERATION Config START
func (*Client) ConfigWatch ¶
func (cli *Client) ConfigWatch(target string) (*ConfigWatcher, error)
func (*Client) ContainersGet ¶
func (cli *Client) ContainersGet(nodename string) (*pb.ContainersReply, error)
CODE GENERATION Config END CODE GENERATION Containers START
func (*Client) ContainersWatch ¶
func (cli *Client) ContainersWatch(nodename string) (*ContainersWatcher, error)
func (*Client) CoreinfoGet ¶
func (cli *Client) CoreinfoGet(appname string) (*pb.CoreinfoReply, error)
CODE GENERATION Containers END CODE GENERATION Coreinfo START
func (*Client) CoreinfoWatch ¶
func (cli *Client) CoreinfoWatch(appname string) (*CoreinfoWatcher, error)
func (*Client) DependsGet ¶
func (cli *Client) DependsGet(target string) (*pb.DependsReply, error)
CODE GENERATION Depends START
func (*Client) DependsWatch ¶
func (cli *Client) DependsWatch(target string) (*DependsWatcher, error)
func (*Client) LocalspecGet ¶
func (cli *Client) LocalspecGet(nodeip string) (*pb.LocalspecReply, error)
Localspec only has Get rpc
func (*Client) NodesGet ¶
func (cli *Client) NodesGet(name string) (*pb.NodesReply, error)
CODE GENERATION Coreinfo END CODE GENERATION Nodes START
func (*Client) NodesWatch ¶
func (cli *Client) NodesWatch(name string) (*NodesWatcher, error)
func (*Client) PodgroupGet ¶
func (cli *Client) PodgroupGet(appname string) (*pb.PodgroupReply, error)
CODE GENERATION Nodes END CODE GENERATION Podgroup START
func (*Client) PodgroupWatch ¶
func (cli *Client) PodgroupWatch(appname string) (*PodgroupWatcher, error)
func (*Client) ProxyGet ¶
func (cli *Client) ProxyGet(appname string) (*pb.ProxyReply, error)
CODE GENERATION Podgroup END CODE GENERATION Proxy START
func (*Client) ProxyWatch ¶
func (cli *Client) ProxyWatch(appname string) (*ProxyWatcher, error)
func (*Client) RebellionLocalprocsGet ¶
func (cli *Client) RebellionLocalprocsGet(appname string) (*pb.RebellionLocalprocsReply, error)
CODE GENERATION Proxy END CODE GENERATION RebellionLocalprocs START
func (*Client) RebellionLocalprocsWatch ¶
func (cli *Client) RebellionLocalprocsWatch(appname string) (*RebellionLocalprocsWatcher, error)
func (*Client) StreamrouterPortsGet ¶
func (cli *Client) StreamrouterPortsGet(appname string) (*pb.StreamrouterPortsReply, error)
CODE GENERATION RebellionLocalprocs END CODE GENERATION StreamrouterPorts START
func (*Client) StreamrouterPortsWatch ¶
func (cli *Client) StreamrouterPortsWatch(appname string) (*StreamrouterPortsWatcher, error)
func (*Client) StreamrouterStreamprocsGet ¶
func (cli *Client) StreamrouterStreamprocsGet(appname string) (*pb.StreamrouterStreamprocsReply, error)
CODE GENERATION StreamrouterPorts END CODE GENERATION StreamrouterStreamprocs START
func (*Client) StreamrouterStreamprocsWatch ¶
func (cli *Client) StreamrouterStreamprocsWatch(appname string) (*StreamrouterStreamprocsWatcher, error)
func (*Client) WebrouterWebprocsGet ¶
func (cli *Client) WebrouterWebprocsGet(appname string) (*pb.WebrouterWebprocsReply, error)
CODE GENERATION StreamrouterStreamprocs END CODE GENERATION WebrouterWebprocs START
func (*Client) WebrouterWebprocsWatch ¶
func (cli *Client) WebrouterWebprocsWatch(appname string) (*WebrouterWebprocsWatcher, error)
type ConfigWatcher ¶
func (*ConfigWatcher) Next ¶
func (wch *ConfigWatcher) Next() (*pb.ConfigReply, error)
type ContainersWatcher ¶
func (*ContainersWatcher) Next ¶
func (wch *ContainersWatcher) Next() (*pb.ContainersReply, error)
type CoreinfoWatcher ¶
func (*CoreinfoWatcher) Next ¶
func (wch *CoreinfoWatcher) Next() (*pb.CoreinfoReply, error)
type DependsWatcher ¶
func (*DependsWatcher) Next ¶
func (wch *DependsWatcher) Next() (*pb.DependsReply, error)
type NodesWatcher ¶
func (*NodesWatcher) Next ¶
func (wch *NodesWatcher) Next() (*pb.NodesReply, error)
type PodgroupWatcher ¶
func (*PodgroupWatcher) Next ¶
func (wch *PodgroupWatcher) Next() (*pb.PodgroupReply, error)
type ProxyWatcher ¶
func (*ProxyWatcher) Next ¶
func (wch *ProxyWatcher) Next() (*pb.ProxyReply, error)
type RebellionLocalprocsWatcher ¶
func (*RebellionLocalprocsWatcher) Next ¶
func (wch *RebellionLocalprocsWatcher) Next() (*pb.RebellionLocalprocsReply, error)
type StreamrouterPortsWatcher ¶
func (*StreamrouterPortsWatcher) Next ¶
func (wch *StreamrouterPortsWatcher) Next() (*pb.StreamrouterPortsReply, error)
type StreamrouterStreamprocsWatcher ¶
type StreamrouterStreamprocsWatcher struct { sync.RWMutex // contains filtered or unexported fields }
func (*StreamrouterStreamprocsWatcher) Next ¶
func (wch *StreamrouterStreamprocsWatcher) Next() (*pb.StreamrouterStreamprocsReply, error)
type WebrouterWebprocsWatcher ¶
func (*WebrouterWebprocsWatcher) Next ¶
func (wch *WebrouterWebprocsWatcher) Next() (*pb.WebrouterWebprocsReply, error)