1
0
mirror of https://github.com/rancher/types.git synced 2025-07-16 22:41:03 +00:00

go generate

This commit is contained in:
kinarashah 2019-07-10 14:56:32 -07:00 committed by Alena Prokharchyk
parent 80ba3fa874
commit d8241faa37

View File

@ -73,6 +73,8 @@ type KontainerDriverOperations interface {
ActionActivate(resource *KontainerDriver) error
ActionDeactivate(resource *KontainerDriver) error
CollectionActionRefresh(resource *KontainerDriverCollection) error
}
func newKontainerDriverClient(apiClient *Client) *KontainerDriverClient {
@ -135,3 +137,8 @@ func (c *KontainerDriverClient) ActionDeactivate(resource *KontainerDriver) erro
err := c.apiClient.Ops.DoAction(KontainerDriverType, "deactivate", &resource.Resource, nil, nil)
return err
}
func (c *KontainerDriverClient) CollectionActionRefresh(resource *KontainerDriverCollection) error {
err := c.apiClient.Ops.DoCollectionAction(KontainerDriverType, "refresh", &resource.Collection, nil, nil)
return err
}