Versions in this module Expand all Collapse all v0 v0.7.1 Mar 9, 2018 v0.7.0 Feb 21, 2018 Changes in this version + const CustomResourceName + const CustomResourceNamePlural + var VolumeAttachmentResource = opkit.CustomResource + type Attachment interface + Create func(volumeAttachment *rookalpha.VolumeAttachment) error + Delete func(namespace, name string) error + Get func(namespace, name string) (*rookalpha.VolumeAttachment, error) + List func(namespace string) (*rookalpha.VolumeAttachmentList, error) + Update func(volumeAttachment *rookalpha.VolumeAttachment) error + func New(context *clusterd.Context) (Attachment, error) + type MockAttachment struct + MockCreate func(volumeAttachment *rookalpha.VolumeAttachment) error + MockDelete func(namespace, name string) error + MockGet func(namespace, name string) (*rookalpha.VolumeAttachment, error) + MockList func(namespace string) (*rookalpha.VolumeAttachmentList, error) + MockUpdate func(volumeAttachment *rookalpha.VolumeAttachment) error + func (m *MockAttachment) Create(volumeAttachment *rookalpha.VolumeAttachment) error + func (m *MockAttachment) Delete(namespace, name string) error + func (m *MockAttachment) Get(namespace, name string) (*rookalpha.VolumeAttachment, error) + func (m *MockAttachment) List(namespace string) (*rookalpha.VolumeAttachmentList, error) + func (m *MockAttachment) Update(volumeAttachment *rookalpha.VolumeAttachment) error