Documentation ¶
Index ¶
- type Client
- func (_m *Client) Deploy(_a0 context.Context, _a1 types.LeaseID, _a2 *manifest.Group) error
- func (_m *Client) Deployments(_a0 context.Context) ([]clustertypes.Deployment, error)
- func (_m *Client) Inventory(_a0 context.Context) ([]clustertypes.Node, error)
- func (_m *Client) LeaseEvents(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool) (clustertypes.EventsWatcher, error)
- func (_m *Client) LeaseLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*clustertypes.ServiceLog, error)
- func (_m *Client) LeaseStatus(_a0 context.Context, _a1 types.LeaseID) (*clustertypes.LeaseStatus, error)
- func (_m *Client) ServiceStatus(_a0 context.Context, _a1 types.LeaseID, _a2 string) (*clustertypes.ServiceStatus, error)
- func (_m *Client) TeardownLease(_a0 context.Context, _a1 types.LeaseID) error
- type Cluster
- type Deployment
- type ReadClient
- func (_m *ReadClient) LeaseEvents(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool) (cluster.EventsWatcher, error)
- func (_m *ReadClient) LeaseLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*cluster.ServiceLog, error)
- func (_m *ReadClient) LeaseStatus(_a0 context.Context, _a1 types.LeaseID) (*cluster.LeaseStatus, error)
- func (_m *ReadClient) ServiceStatus(_a0 context.Context, _a1 types.LeaseID, _a2 string) (*cluster.ServiceStatus, error)
- type Reservation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.0.9
Client is an autogenerated mock type for the Client type
func (*Client) Deploy ¶ added in v0.0.9
Deploy provides a mock function with given fields: _a0, _a1, _a2
func (*Client) Deployments ¶ added in v0.0.9
func (_m *Client) Deployments(_a0 context.Context) ([]clustertypes.Deployment, error)
Deployments provides a mock function with given fields: _a0
func (*Client) Inventory ¶ added in v0.2.4
Inventory provides a mock function with given fields: _a0
func (*Client) LeaseEvents ¶ added in v0.10.1
func (_m *Client) LeaseEvents(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool) (clustertypes.EventsWatcher, error)
LeaseEvents provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Client) LeaseLogs ¶ added in v0.10.1
func (_m *Client) LeaseLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*clustertypes.ServiceLog, error)
LeaseLogs provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Client) LeaseStatus ¶ added in v0.2.2
func (_m *Client) LeaseStatus(_a0 context.Context, _a1 types.LeaseID) (*clustertypes.LeaseStatus, error)
LeaseStatus provides a mock function with given fields: _a0, _a1
func (*Client) ServiceStatus ¶ added in v0.2.2
func (_m *Client) ServiceStatus(_a0 context.Context, _a1 types.LeaseID, _a2 string) (*clustertypes.ServiceStatus, error)
ServiceStatus provides a mock function with given fields: _a0, _a1, _a2
type Cluster ¶
Cluster is an autogenerated mock type for the Cluster type
func (*Cluster) Reserve ¶
func (_m *Cluster) Reserve(_a0 types.OrderID, _a1 akashtypes.ResourceGroup) (cluster.Reservation, error)
Reserve provides a mock function with given fields: _a0, _a1
type Deployment ¶ added in v0.0.9
Deployment is an autogenerated mock type for the Deployment type
func (*Deployment) LeaseID ¶ added in v0.0.9
func (_m *Deployment) LeaseID() types.LeaseID
LeaseID provides a mock function with given fields:
func (*Deployment) ManifestGroup ¶ added in v0.0.9
func (_m *Deployment) ManifestGroup() manifest.Group
ManifestGroup provides a mock function with given fields:
type ReadClient ¶ added in v0.7.3
ReadClient is an autogenerated mock type for the ReadClient type
func (*ReadClient) LeaseEvents ¶ added in v0.10.1
func (_m *ReadClient) LeaseEvents(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool) (cluster.EventsWatcher, error)
LeaseEvents provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*ReadClient) LeaseLogs ¶ added in v0.10.1
func (_m *ReadClient) LeaseLogs(_a0 context.Context, _a1 types.LeaseID, _a2 string, _a3 bool, _a4 *int64) ([]*cluster.ServiceLog, error)
LeaseLogs provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*ReadClient) LeaseStatus ¶ added in v0.7.3
func (_m *ReadClient) LeaseStatus(_a0 context.Context, _a1 types.LeaseID) (*cluster.LeaseStatus, error)
LeaseStatus provides a mock function with given fields: _a0, _a1
func (*ReadClient) ServiceStatus ¶ added in v0.7.3
func (_m *ReadClient) ServiceStatus(_a0 context.Context, _a1 types.LeaseID, _a2 string) (*cluster.ServiceStatus, error)
ServiceStatus provides a mock function with given fields: _a0, _a1, _a2
type Reservation ¶
Reservation is an autogenerated mock type for the Reservation type
func (*Reservation) OrderID ¶
func (_m *Reservation) OrderID() types.OrderID
OrderID provides a mock function with given fields:
func (*Reservation) Resources ¶ added in v0.3.0
func (_m *Reservation) Resources() akashtypes.ResourceGroup
Resources provides a mock function with given fields: