Documentation
¶
Overview ¶
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 ¶
Code generated by mockery v1.0.0 ¶
Code generated by mockery v1.0.0
Index ¶
- type Client
- func (_m *Client) Deploy(_a0 types.LeaseID, _a1 *types.ManifestGroup) error
- func (_m *Client) Deployments() ([]cluster.Deployment, error)
- func (_m *Client) LeaseStatus(_a0 types.LeaseID) (*types.LeaseStatusResponse, error)
- func (_m *Client) ServiceLogs(_a0 context.Context, _a1 types.LeaseID, _a2 int64, _a3 bool) ([]*cluster.ServiceLog, error)
- func (_m *Client) ServiceStatus(_a0 types.LeaseID, _a1 string) (*types.ServiceStatusResponse, error)
- func (_m *Client) TeardownLease(_a0 types.LeaseID) error
- func (_m *Client) TeardownNamespace(_a0 string) error
- type Cluster
- type Deployment
- 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) Deployments ¶ added in v0.0.9
func (_m *Client) Deployments() ([]cluster.Deployment, error)
Deployments provides a mock function with given fields:
func (*Client) LeaseStatus ¶ added in v0.2.2
LeaseStatus provides a mock function with given fields: _a0
func (*Client) ServiceLogs ¶ added in v0.2.2
func (_m *Client) ServiceLogs(_a0 context.Context, _a1 types.LeaseID, _a2 int64, _a3 bool) ([]*cluster.ServiceLog, error)
ServiceLogs provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Client) ServiceStatus ¶ added in v0.2.2
func (_m *Client) ServiceStatus(_a0 types.LeaseID, _a1 string) (*types.ServiceStatusResponse, error)
ServiceStatus provides a mock function with given fields: _a0, _a1
func (*Client) TeardownLease ¶ added in v0.2.2
TeardownLease provides a mock function with given fields: _a0
func (*Client) TeardownNamespace ¶ added in v0.2.2
TeardownNamespace provides a mock function with given fields: _a0
type Cluster ¶
Cluster is an autogenerated mock type for the Cluster type
func (*Cluster) Reserve ¶
func (_m *Cluster) Reserve(_a0 types.OrderID, _a1 *types.DeploymentGroup) (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() *types.ManifestGroup
ManifestGroup provides a mock function with given fields:
type Reservation ¶
Reservation is an autogenerated mock type for the Reservation type
func (*Reservation) Group ¶
func (_m *Reservation) Group() *types.DeploymentGroup
Group provides a mock function with given fields:
func (*Reservation) OrderID ¶
func (_m *Reservation) OrderID() types.OrderID
OrderID provides a mock function with given fields: