MCPcopy Create free account
hub / github.com/convox/rack / SystemProcesses

Method SystemProcesses

sdk/methods.go:947–960  ·  view source on GitHub ↗
(opts structs.SystemProcessesOptions)

Source from the content-addressed store, hash-verified

945}
946
947func (c *Client) SystemProcesses(opts structs.SystemProcessesOptions) (structs.Processes, error) {
948 var err error
949
950 ro, err := stdsdk.MarshalOptions(opts)
951 if err != nil {
952 return nil, err
953 }
954
955 var v structs.Processes
956
957 err = c.Get(fmt.Sprintf("/system/processes"), ro, &v)
958
959 return v, err
960}
961
962func (c *Client) SystemReleases() (structs.Releases, error) {
963 var err error

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected