Versions in this module Expand all Collapse all v0 v0.8.1 Aug 1, 2018 v0.8.0 Jul 18, 2018 Changes in this version + const CustomResourceName + const CustomResourceNamePlural + var VolumeResource = opkit.CustomResource + type Attachment interface + Create func(volumeAttachment *rookalpha.Volume) error + Delete func(namespace, name string) error + Get func(namespace, name string) (*rookalpha.Volume, error) + List func(namespace string) (*rookalpha.VolumeList, error) + Update func(volumeAttachment *rookalpha.Volume) error + func New(context *clusterd.Context) (Attachment, error) + type MockAttachment struct + MockCreate func(volumeAttachment *rookalpha.Volume) error + MockDelete func(namespace, name string) error + MockGet func(namespace, name string) (*rookalpha.Volume, error) + MockList func(namespace string) (*rookalpha.VolumeList, error) + MockUpdate func(volumeAttachment *rookalpha.Volume) error + func (m *MockAttachment) Create(volumeAttachment *rookalpha.Volume) error + func (m *MockAttachment) Delete(namespace, name string) error + func (m *MockAttachment) Get(namespace, name string) (*rookalpha.Volume, error) + func (m *MockAttachment) List(namespace string) (*rookalpha.VolumeList, error) + func (m *MockAttachment) Update(volumeAttachment *rookalpha.Volume) error