id
int32
0
167k
repo
stringlengths
5
54
path
stringlengths
4
155
func_name
stringlengths
1
118
original_string
stringlengths
52
85.5k
language
stringclasses
1 value
code
stringlengths
52
85.5k
code_tokens
list
docstring
stringlengths
6
2.61k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
85
252
21,800
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupDelete
func (m *MockVolumeDriver) CloudBackupDelete(arg0 *api.CloudBackupDeleteRequest) error { ret := m.ctrl.Call(m, "CloudBackupDelete", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockVolumeDriver) CloudBackupDelete(arg0 *api.CloudBackupDeleteRequest) error { ret := m.ctrl.Call(m, "CloudBackupDelete", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupDelete", "(", "arg0", "*", "api", ".", "CloudBackupDeleteRequest", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", "...
// CloudBackupDelete mocks base method
[ "CloudBackupDelete", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L102-L106
21,801
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupDeleteAll
func (m *MockVolumeDriver) CloudBackupDeleteAll(arg0 *api.CloudBackupDeleteAllRequest) error { ret := m.ctrl.Call(m, "CloudBackupDeleteAll", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockVolumeDriver) CloudBackupDeleteAll(arg0 *api.CloudBackupDeleteAllRequest) error { ret := m.ctrl.Call(m, "CloudBackupDeleteAll", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupDeleteAll", "(", "arg0", "*", "api", ".", "CloudBackupDeleteAllRequest", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0...
// CloudBackupDeleteAll mocks base method
[ "CloudBackupDeleteAll", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L114-L118
21,802
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupEnumerate
func (m *MockVolumeDriver) CloudBackupEnumerate(arg0 *api.CloudBackupEnumerateRequest) (*api.CloudBackupEnumerateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupEnumerate", arg0) ret0, _ := ret[0].(*api.CloudBackupEnumerateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupEnumerate(arg0 *api.CloudBackupEnumerateRequest) (*api.CloudBackupEnumerateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupEnumerate", arg0) ret0, _ := ret[0].(*api.CloudBackupEnumerateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupEnumerate", "(", "arg0", "*", "api", ".", "CloudBackupEnumerateRequest", ")", "(", "*", "api", ".", "CloudBackupEnumerateResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call"...
// CloudBackupEnumerate mocks base method
[ "CloudBackupEnumerate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L126-L131
21,803
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupGroupCreate
func (m *MockVolumeDriver) CloudBackupGroupCreate(arg0 *api.CloudBackupGroupCreateRequest) (*api.CloudBackupGroupCreateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupGroupCreate", arg0) ret0, _ := ret[0].(*api.CloudBackupGroupCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupGroupCreate(arg0 *api.CloudBackupGroupCreateRequest) (*api.CloudBackupGroupCreateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupGroupCreate", arg0) ret0, _ := ret[0].(*api.CloudBackupGroupCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupGroupCreate", "(", "arg0", "*", "api", ".", "CloudBackupGroupCreateRequest", ")", "(", "*", "api", ".", "CloudBackupGroupCreateResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", ...
// CloudBackupGroupCreate mocks base method
[ "CloudBackupGroupCreate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L139-L144
21,804
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupGroupSchedCreate
func (m *MockVolumeDriver) CloudBackupGroupSchedCreate(arg0 *api.CloudBackupGroupSchedCreateRequest) (*api.CloudBackupSchedCreateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupGroupSchedCreate", arg0) ret0, _ := ret[0].(*api.CloudBackupSchedCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupGroupSchedCreate(arg0 *api.CloudBackupGroupSchedCreateRequest) (*api.CloudBackupSchedCreateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupGroupSchedCreate", arg0) ret0, _ := ret[0].(*api.CloudBackupSchedCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupGroupSchedCreate", "(", "arg0", "*", "api", ".", "CloudBackupGroupSchedCreateRequest", ")", "(", "*", "api", ".", "CloudBackupSchedCreateResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl",...
// CloudBackupGroupSchedCreate mocks base method
[ "CloudBackupGroupSchedCreate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L152-L157
21,805
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupGroupSchedCreate
func (mr *MockVolumeDriverMockRecorder) CloudBackupGroupSchedCreate(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloudBackupGroupSchedCreate", reflect.TypeOf((*MockVolumeDriver)(nil).CloudBackupGroupSchedCreate), arg0) }
go
func (mr *MockVolumeDriverMockRecorder) CloudBackupGroupSchedCreate(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloudBackupGroupSchedCreate", reflect.TypeOf((*MockVolumeDriver)(nil).CloudBackupGroupSchedCreate), arg0) }
[ "func", "(", "mr", "*", "MockVolumeDriverMockRecorder", ")", "CloudBackupGroupSchedCreate", "(", "arg0", "interface", "{", "}", ")", "*", "gomock", ".", "Call", "{", "return", "mr", ".", "mock", ".", "ctrl", ".", "RecordCallWithMethodType", "(", "mr", ".", "...
// CloudBackupGroupSchedCreate indicates an expected call of CloudBackupGroupSchedCreate
[ "CloudBackupGroupSchedCreate", "indicates", "an", "expected", "call", "of", "CloudBackupGroupSchedCreate" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L160-L162
21,806
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupHistory
func (m *MockVolumeDriver) CloudBackupHistory(arg0 *api.CloudBackupHistoryRequest) (*api.CloudBackupHistoryResponse, error) { ret := m.ctrl.Call(m, "CloudBackupHistory", arg0) ret0, _ := ret[0].(*api.CloudBackupHistoryResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupHistory(arg0 *api.CloudBackupHistoryRequest) (*api.CloudBackupHistoryResponse, error) { ret := m.ctrl.Call(m, "CloudBackupHistory", arg0) ret0, _ := ret[0].(*api.CloudBackupHistoryResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupHistory", "(", "arg0", "*", "api", ".", "CloudBackupHistoryRequest", ")", "(", "*", "api", ".", "CloudBackupHistoryResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(...
// CloudBackupHistory mocks base method
[ "CloudBackupHistory", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L165-L170
21,807
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupRestore
func (m *MockVolumeDriver) CloudBackupRestore(arg0 *api.CloudBackupRestoreRequest) (*api.CloudBackupRestoreResponse, error) { ret := m.ctrl.Call(m, "CloudBackupRestore", arg0) ret0, _ := ret[0].(*api.CloudBackupRestoreResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupRestore(arg0 *api.CloudBackupRestoreRequest) (*api.CloudBackupRestoreResponse, error) { ret := m.ctrl.Call(m, "CloudBackupRestore", arg0) ret0, _ := ret[0].(*api.CloudBackupRestoreResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupRestore", "(", "arg0", "*", "api", ".", "CloudBackupRestoreRequest", ")", "(", "*", "api", ".", "CloudBackupRestoreResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(...
// CloudBackupRestore mocks base method
[ "CloudBackupRestore", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L178-L183
21,808
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupSchedCreate
func (m *MockVolumeDriver) CloudBackupSchedCreate(arg0 *api.CloudBackupSchedCreateRequest) (*api.CloudBackupSchedCreateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupSchedCreate", arg0) ret0, _ := ret[0].(*api.CloudBackupSchedCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupSchedCreate(arg0 *api.CloudBackupSchedCreateRequest) (*api.CloudBackupSchedCreateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupSchedCreate", arg0) ret0, _ := ret[0].(*api.CloudBackupSchedCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupSchedCreate", "(", "arg0", "*", "api", ".", "CloudBackupSchedCreateRequest", ")", "(", "*", "api", ".", "CloudBackupSchedCreateResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", ...
// CloudBackupSchedCreate mocks base method
[ "CloudBackupSchedCreate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L191-L196
21,809
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupSchedDelete
func (m *MockVolumeDriver) CloudBackupSchedDelete(arg0 *api.CloudBackupSchedDeleteRequest) error { ret := m.ctrl.Call(m, "CloudBackupSchedDelete", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockVolumeDriver) CloudBackupSchedDelete(arg0 *api.CloudBackupSchedDeleteRequest) error { ret := m.ctrl.Call(m, "CloudBackupSchedDelete", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupSchedDelete", "(", "arg0", "*", "api", ".", "CloudBackupSchedDeleteRequest", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "...
// CloudBackupSchedDelete mocks base method
[ "CloudBackupSchedDelete", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L204-L208
21,810
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupSchedEnumerate
func (m *MockVolumeDriver) CloudBackupSchedEnumerate() (*api.CloudBackupSchedEnumerateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupSchedEnumerate") ret0, _ := ret[0].(*api.CloudBackupSchedEnumerateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupSchedEnumerate() (*api.CloudBackupSchedEnumerateResponse, error) { ret := m.ctrl.Call(m, "CloudBackupSchedEnumerate") ret0, _ := ret[0].(*api.CloudBackupSchedEnumerateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupSchedEnumerate", "(", ")", "(", "*", "api", ".", "CloudBackupSchedEnumerateResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", ...
// CloudBackupSchedEnumerate mocks base method
[ "CloudBackupSchedEnumerate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L216-L221
21,811
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupStateChange
func (m *MockVolumeDriver) CloudBackupStateChange(arg0 *api.CloudBackupStateChangeRequest) error { ret := m.ctrl.Call(m, "CloudBackupStateChange", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockVolumeDriver) CloudBackupStateChange(arg0 *api.CloudBackupStateChangeRequest) error { ret := m.ctrl.Call(m, "CloudBackupStateChange", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupStateChange", "(", "arg0", "*", "api", ".", "CloudBackupStateChangeRequest", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "...
// CloudBackupStateChange mocks base method
[ "CloudBackupStateChange", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L229-L233
21,812
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudBackupStatus
func (m *MockVolumeDriver) CloudBackupStatus(arg0 *api.CloudBackupStatusRequest) (*api.CloudBackupStatusResponse, error) { ret := m.ctrl.Call(m, "CloudBackupStatus", arg0) ret0, _ := ret[0].(*api.CloudBackupStatusResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudBackupStatus(arg0 *api.CloudBackupStatusRequest) (*api.CloudBackupStatusResponse, error) { ret := m.ctrl.Call(m, "CloudBackupStatus", arg0) ret0, _ := ret[0].(*api.CloudBackupStatusResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudBackupStatus", "(", "arg0", "*", "api", ".", "CloudBackupStatusRequest", ")", "(", "*", "api", ".", "CloudBackupStatusResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", ...
// CloudBackupStatus mocks base method
[ "CloudBackupStatus", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L241-L246
21,813
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudMigrateCancel
func (m *MockVolumeDriver) CloudMigrateCancel(arg0 *api.CloudMigrateCancelRequest) error { ret := m.ctrl.Call(m, "CloudMigrateCancel", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockVolumeDriver) CloudMigrateCancel(arg0 *api.CloudMigrateCancelRequest) error { ret := m.ctrl.Call(m, "CloudMigrateCancel", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudMigrateCancel", "(", "arg0", "*", "api", ".", "CloudMigrateCancelRequest", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ...
// CloudMigrateCancel mocks base method
[ "CloudMigrateCancel", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L254-L258
21,814
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudMigrateStart
func (m *MockVolumeDriver) CloudMigrateStart(arg0 *api.CloudMigrateStartRequest) (*api.CloudMigrateStartResponse, error) { ret := m.ctrl.Call(m, "CloudMigrateStart", arg0) ret0, _ := ret[0].(*api.CloudMigrateStartResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudMigrateStart(arg0 *api.CloudMigrateStartRequest) (*api.CloudMigrateStartResponse, error) { ret := m.ctrl.Call(m, "CloudMigrateStart", arg0) ret0, _ := ret[0].(*api.CloudMigrateStartResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudMigrateStart", "(", "arg0", "*", "api", ".", "CloudMigrateStartRequest", ")", "(", "*", "api", ".", "CloudMigrateStartResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", ...
// CloudMigrateStart mocks base method
[ "CloudMigrateStart", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L266-L271
21,815
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CloudMigrateStatus
func (m *MockVolumeDriver) CloudMigrateStatus(arg0 *api.CloudMigrateStatusRequest) (*api.CloudMigrateStatusResponse, error) { ret := m.ctrl.Call(m, "CloudMigrateStatus", arg0) ret0, _ := ret[0].(*api.CloudMigrateStatusResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CloudMigrateStatus(arg0 *api.CloudMigrateStatusRequest) (*api.CloudMigrateStatusResponse, error) { ret := m.ctrl.Call(m, "CloudMigrateStatus", arg0) ret0, _ := ret[0].(*api.CloudMigrateStatusResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CloudMigrateStatus", "(", "arg0", "*", "api", ".", "CloudMigrateStatusRequest", ")", "(", "*", "api", ".", "CloudMigrateStatusResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(...
// CloudMigrateStatus mocks base method
[ "CloudMigrateStatus", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L279-L284
21,816
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CredsCreate
func (m *MockVolumeDriver) CredsCreate(arg0 map[string]string) (string, error) { ret := m.ctrl.Call(m, "CredsCreate", arg0) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CredsCreate(arg0 map[string]string) (string, error) { ret := m.ctrl.Call(m, "CredsCreate", arg0) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CredsCreate", "(", "arg0", "map", "[", "string", "]", "string", ")", "(", "string", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", ...
// CredsCreate mocks base method
[ "CredsCreate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L305-L310
21,817
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
CredsEnumerate
func (m *MockVolumeDriver) CredsEnumerate() (map[string]interface{}, error) { ret := m.ctrl.Call(m, "CredsEnumerate") ret0, _ := ret[0].(map[string]interface{}) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) CredsEnumerate() (map[string]interface{}, error) { ret := m.ctrl.Call(m, "CredsEnumerate") ret0, _ := ret[0].(map[string]interface{}) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "CredsEnumerate", "(", ")", "(", "map", "[", "string", "]", "interface", "{", "}", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ...
// CredsEnumerate mocks base method
[ "CredsEnumerate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L330-L335
21,818
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
Detach
func (m *MockVolumeDriver) Detach(arg0 string, arg1 map[string]string) error { ret := m.ctrl.Call(m, "Detach", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockVolumeDriver) Detach(arg0 string, arg1 map[string]string) error { ret := m.ctrl.Call(m, "Detach", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "Detach", "(", "arg0", "string", ",", "arg1", "map", "[", "string", "]", "string", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ",", "arg1",...
// Detach mocks base method
[ "Detach", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L367-L371
21,819
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
GetActiveRequests
func (m *MockVolumeDriver) GetActiveRequests() (*api.ActiveRequests, error) { ret := m.ctrl.Call(m, "GetActiveRequests") ret0, _ := ret[0].(*api.ActiveRequests) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) GetActiveRequests() (*api.ActiveRequests, error) { ret := m.ctrl.Call(m, "GetActiveRequests") ret0, _ := ret[0].(*api.ActiveRequests) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "GetActiveRequests", "(", ")", "(", "*", "api", ".", "ActiveRequests", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=...
// GetActiveRequests mocks base method
[ "GetActiveRequests", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L404-L409
21,820
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
MountedAt
func (m *MockVolumeDriver) MountedAt(arg0 string) string { ret := m.ctrl.Call(m, "MountedAt", arg0) ret0, _ := ret[0].(string) return ret0 }
go
func (m *MockVolumeDriver) MountedAt(arg0 string) string { ret := m.ctrl.Call(m, "MountedAt", arg0) ret0, _ := ret[0].(string) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "MountedAt", "(", "arg0", "string", ")", "string", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ":=", "ret", "[", "0", "]",...
// MountedAt mocks base method
[ "MountedAt", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L442-L446
21,821
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
SnapEnumerate
func (m *MockVolumeDriver) SnapEnumerate(arg0 []string, arg1 map[string]string) ([]*api.Volume, error) { ret := m.ctrl.Call(m, "SnapEnumerate", arg0, arg1) ret0, _ := ret[0].([]*api.Volume) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) SnapEnumerate(arg0 []string, arg1 map[string]string) ([]*api.Volume, error) { ret := m.ctrl.Call(m, "SnapEnumerate", arg0, arg1) ret0, _ := ret[0].([]*api.Volume) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "SnapEnumerate", "(", "arg0", "[", "]", "string", ",", "arg1", "map", "[", "string", "]", "string", ")", "(", "[", "]", "*", "api", ".", "Volume", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctr...
// SnapEnumerate mocks base method
[ "SnapEnumerate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L525-L530
21,822
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
Snapshot
func (m *MockVolumeDriver) Snapshot(arg0 string, arg1 bool, arg2 *api.VolumeLocator, arg3 bool) (string, error) { ret := m.ctrl.Call(m, "Snapshot", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) Snapshot(arg0 string, arg1 bool, arg2 *api.VolumeLocator, arg3 bool) (string, error) { ret := m.ctrl.Call(m, "Snapshot", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "Snapshot", "(", "arg0", "string", ",", "arg1", "bool", ",", "arg2", "*", "api", ".", "VolumeLocator", ",", "arg3", "bool", ")", "(", "string", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", "...
// Snapshot mocks base method
[ "Snapshot", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L538-L543
21,823
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
SnapshotGroup
func (m *MockVolumeDriver) SnapshotGroup(arg0 string, arg1 map[string]string, arg2 []string) (*api.GroupSnapCreateResponse, error) { ret := m.ctrl.Call(m, "SnapshotGroup", arg0, arg1, arg2) ret0, _ := ret[0].(*api.GroupSnapCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) SnapshotGroup(arg0 string, arg1 map[string]string, arg2 []string) (*api.GroupSnapCreateResponse, error) { ret := m.ctrl.Call(m, "SnapshotGroup", arg0, arg1, arg2) ret0, _ := ret[0].(*api.GroupSnapCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "SnapshotGroup", "(", "arg0", "string", ",", "arg1", "map", "[", "string", "]", "string", ",", "arg2", "[", "]", "string", ")", "(", "*", "api", ".", "GroupSnapCreateResponse", ",", "error", ")", "{", "re...
// SnapshotGroup mocks base method
[ "SnapshotGroup", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L551-L556
21,824
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
Status
func (mr *MockVolumeDriverMockRecorder) Status() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Status", reflect.TypeOf((*MockVolumeDriver)(nil).Status)) }
go
func (mr *MockVolumeDriverMockRecorder) Status() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Status", reflect.TypeOf((*MockVolumeDriver)(nil).Status)) }
[ "func", "(", "mr", "*", "MockVolumeDriverMockRecorder", ")", "Status", "(", ")", "*", "gomock", ".", "Call", "{", "return", "mr", ".", "mock", ".", "ctrl", ".", "RecordCallWithMethodType", "(", "mr", ".", "mock", ",", "\"", "\"", ",", "reflect", ".", "...
// Status indicates an expected call of Status
[ "Status", "indicates", "an", "expected", "call", "of", "Status" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L584-L586
21,825
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
Unmount
func (m *MockVolumeDriver) Unmount(arg0, arg1 string, arg2 map[string]string) error { ret := m.ctrl.Call(m, "Unmount", arg0, arg1, arg2) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockVolumeDriver) Unmount(arg0, arg1 string, arg2 map[string]string) error { ret := m.ctrl.Call(m, "Unmount", arg0, arg1, arg2) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "Unmount", "(", "arg0", ",", "arg1", "string", ",", "arg2", "map", "[", "string", "]", "string", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0"...
// Unmount mocks base method
[ "Unmount", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L601-L605
21,826
libopenstorage/openstorage
volume/drivers/mock/driver.mock.go
UsedSize
func (m *MockVolumeDriver) UsedSize(arg0 string) (uint64, error) { ret := m.ctrl.Call(m, "UsedSize", arg0) ret0, _ := ret[0].(uint64) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockVolumeDriver) UsedSize(arg0 string) (uint64, error) { ret := m.ctrl.Call(m, "UsedSize", arg0) ret0, _ := ret[0].(uint64) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockVolumeDriver", ")", "UsedSize", "(", "arg0", "string", ")", "(", "uint64", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ":="...
// UsedSize mocks base method
[ "UsedSize", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/volume/drivers/mock/driver.mock.go#L625-L630
21,827
libopenstorage/openstorage
api/client/volume/volume.go
GetAuthSupportedDriverVersions
func GetAuthSupportedDriverVersions(driverName, host, authstring, accesstoken string, tlsConfig *tls.Config) ([]string, error) { // Get a client handler if host == "" { host = client.GetUnixServerPath(driverName, volume.DriverAPIBase) } client, err := client.NewAuthClient(host, "", authstring, accesstoken, "") ...
go
func GetAuthSupportedDriverVersions(driverName, host, authstring, accesstoken string, tlsConfig *tls.Config) ([]string, error) { // Get a client handler if host == "" { host = client.GetUnixServerPath(driverName, volume.DriverAPIBase) } client, err := client.NewAuthClient(host, "", authstring, accesstoken, "") ...
[ "func", "GetAuthSupportedDriverVersions", "(", "driverName", ",", "host", ",", "authstring", ",", "accesstoken", "string", ",", "tlsConfig", "*", "tls", ".", "Config", ")", "(", "[", "]", "string", ",", "error", ")", "{", "// Get a client handler", "if", "host...
// GetAuthSupportedDriverVersions returns a list of supported versions // for the provided driver. It uses the given security params and // server endpoint or the standard unix domain socket // authstring can be set to the JWT Token and accesstoken set to an empty string.
[ "GetAuthSupportedDriverVersions", "returns", "a", "list", "of", "supported", "versions", "for", "the", "provided", "driver", ".", "It", "uses", "the", "given", "security", "params", "and", "server", "endpoint", "or", "the", "standard", "unix", "domain", "socket", ...
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/volume/volume.go#L57-L77
21,828
libopenstorage/openstorage
api/client/volume/volume.go
GetSupportedDriverVersions
func GetSupportedDriverVersions(driverName, host string) ([]string, error) { // Get a client handler if host == "" { host = client.GetUnixServerPath(driverName, volume.DriverAPIBase) } client, err := client.NewClient(host, "", "") if err != nil { return []string{}, err } versions, err := client.Versions(api...
go
func GetSupportedDriverVersions(driverName, host string) ([]string, error) { // Get a client handler if host == "" { host = client.GetUnixServerPath(driverName, volume.DriverAPIBase) } client, err := client.NewClient(host, "", "") if err != nil { return []string{}, err } versions, err := client.Versions(api...
[ "func", "GetSupportedDriverVersions", "(", "driverName", ",", "host", "string", ")", "(", "[", "]", "string", ",", "error", ")", "{", "// Get a client handler", "if", "host", "==", "\"", "\"", "{", "host", "=", "client", ".", "GetUnixServerPath", "(", "drive...
// GetSupportedDriverVersions returns a list of supported versions // for the provided driver. It uses the given server endpoint or the // standard unix domain socket
[ "GetSupportedDriverVersions", "returns", "a", "list", "of", "supported", "versions", "for", "the", "provided", "driver", ".", "It", "uses", "the", "given", "server", "endpoint", "or", "the", "standard", "unix", "domain", "socket" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/volume/volume.go#L82-L97
21,829
libopenstorage/openstorage
pkg/clusterdomain/clusterdomain.go
GetActiveMapFromClusterDomainInfos
func GetActiveMapFromClusterDomainInfos(clusterDomainInfos []*ClusterDomainInfo) types.ClusterDomainsActiveMap { activeMap := make(types.ClusterDomainsActiveMap) for _, clusterDomainInfo := range clusterDomainInfos { activeMap[clusterDomainInfo.Name] = clusterDomainInfo.State } return activeMap }
go
func GetActiveMapFromClusterDomainInfos(clusterDomainInfos []*ClusterDomainInfo) types.ClusterDomainsActiveMap { activeMap := make(types.ClusterDomainsActiveMap) for _, clusterDomainInfo := range clusterDomainInfos { activeMap[clusterDomainInfo.Name] = clusterDomainInfo.State } return activeMap }
[ "func", "GetActiveMapFromClusterDomainInfos", "(", "clusterDomainInfos", "[", "]", "*", "ClusterDomainInfo", ")", "types", ".", "ClusterDomainsActiveMap", "{", "activeMap", ":=", "make", "(", "types", ".", "ClusterDomainsActiveMap", ")", "\n", "for", "_", ",", "clus...
// GetActiveMapFromClusterDomainInfos is a helper function that converts a list of ClusterDomainInfo // objects into a gossip cluster domain active map
[ "GetActiveMapFromClusterDomainInfos", "is", "a", "helper", "function", "that", "converts", "a", "list", "of", "ClusterDomainInfo", "objects", "into", "a", "gossip", "cluster", "domain", "active", "map" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/pkg/clusterdomain/clusterdomain.go#L84-L90
21,830
libopenstorage/openstorage
api/server/sdk/volume_snapshot.go
SnapshotCreate
func (s *VolumeServer) SnapshotCreate( ctx context.Context, req *api.SdkVolumeSnapshotCreateRequest, ) (*api.SdkVolumeSnapshotCreateResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetVolumeId()) == 0...
go
func (s *VolumeServer) SnapshotCreate( ctx context.Context, req *api.SdkVolumeSnapshotCreateRequest, ) (*api.SdkVolumeSnapshotCreateResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetVolumeId()) == 0...
[ "func", "(", "s", "*", "VolumeServer", ")", "SnapshotCreate", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkVolumeSnapshotCreateRequest", ",", ")", "(", "*", "api", ".", "SdkVolumeSnapshotCreateResponse", ",", "error", ")", "{", "if...
// SnapshotCreate creates a read-only snapshot of a volume
[ "SnapshotCreate", "creates", "a", "read", "-", "only", "snapshot", "of", "a", "volume" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/volume_snapshot.go#L30-L67
21,831
libopenstorage/openstorage
api/server/sdk/volume_snapshot.go
SnapshotRestore
func (s *VolumeServer) SnapshotRestore( ctx context.Context, req *api.SdkVolumeSnapshotRestoreRequest, ) (*api.SdkVolumeSnapshotRestoreResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetVolumeId()) =...
go
func (s *VolumeServer) SnapshotRestore( ctx context.Context, req *api.SdkVolumeSnapshotRestoreRequest, ) (*api.SdkVolumeSnapshotRestoreResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetVolumeId()) =...
[ "func", "(", "s", "*", "VolumeServer", ")", "SnapshotRestore", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkVolumeSnapshotRestoreRequest", ",", ")", "(", "*", "api", ".", "SdkVolumeSnapshotRestoreResponse", ",", "error", ")", "{", ...
// SnapshotRestore restores a volume to the specified snapshot id
[ "SnapshotRestore", "restores", "a", "volume", "to", "the", "specified", "snapshot", "id" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/volume_snapshot.go#L70-L106
21,832
libopenstorage/openstorage
api/server/sdk/volume_snapshot.go
SnapshotEnumerate
func (s *VolumeServer) SnapshotEnumerate( ctx context.Context, req *api.SdkVolumeSnapshotEnumerateRequest, ) (*api.SdkVolumeSnapshotEnumerateResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } resp, err := s.Snapsh...
go
func (s *VolumeServer) SnapshotEnumerate( ctx context.Context, req *api.SdkVolumeSnapshotEnumerateRequest, ) (*api.SdkVolumeSnapshotEnumerateResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } resp, err := s.Snapsh...
[ "func", "(", "s", "*", "VolumeServer", ")", "SnapshotEnumerate", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkVolumeSnapshotEnumerateRequest", ",", ")", "(", "*", "api", ".", "SdkVolumeSnapshotEnumerateResponse", ",", "error", ")", "...
// SnapshotEnumerate returns a list of snapshots for the specified volume
[ "SnapshotEnumerate", "returns", "a", "list", "of", "snapshots", "for", "the", "specified", "volume" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/volume_snapshot.go#L109-L131
21,833
libopenstorage/openstorage
api/server/sdk/volume_snapshot.go
SnapshotEnumerateWithFilters
func (s *VolumeServer) SnapshotEnumerateWithFilters( ctx context.Context, req *api.SdkVolumeSnapshotEnumerateWithFiltersRequest, ) (*api.SdkVolumeSnapshotEnumerateWithFiltersResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initial...
go
func (s *VolumeServer) SnapshotEnumerateWithFilters( ctx context.Context, req *api.SdkVolumeSnapshotEnumerateWithFiltersRequest, ) (*api.SdkVolumeSnapshotEnumerateWithFiltersResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initial...
[ "func", "(", "s", "*", "VolumeServer", ")", "SnapshotEnumerateWithFilters", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkVolumeSnapshotEnumerateWithFiltersRequest", ",", ")", "(", "*", "api", ".", "SdkVolumeSnapshotEnumerateWithFiltersRespon...
// SnapshotEnumerateWithFilters returns a list of snapshots for the specified // volume and labels
[ "SnapshotEnumerateWithFilters", "returns", "a", "list", "of", "snapshots", "for", "the", "specified", "volume", "and", "labels" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/volume_snapshot.go#L135-L174
21,834
libopenstorage/openstorage
api/server/sdk/volume_snapshot.go
SnapshotScheduleUpdate
func (s *VolumeServer) SnapshotScheduleUpdate( ctx context.Context, req *api.SdkVolumeSnapshotScheduleUpdateRequest, ) (*api.SdkVolumeSnapshotScheduleUpdateResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len...
go
func (s *VolumeServer) SnapshotScheduleUpdate( ctx context.Context, req *api.SdkVolumeSnapshotScheduleUpdateRequest, ) (*api.SdkVolumeSnapshotScheduleUpdateResponse, error) { if s.cluster() == nil || s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len...
[ "func", "(", "s", "*", "VolumeServer", ")", "SnapshotScheduleUpdate", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkVolumeSnapshotScheduleUpdateRequest", ",", ")", "(", "*", "api", ".", "SdkVolumeSnapshotScheduleUpdateResponse", ",", "err...
// SnapshotScheduleUpdate updates the snapshot schedule in the volume. // It only manages the PolicyTags
[ "SnapshotScheduleUpdate", "updates", "the", "snapshot", "schedule", "in", "the", "volume", ".", "It", "only", "manages", "the", "PolicyTags" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/volume_snapshot.go#L178-L251
21,835
libopenstorage/openstorage
api/server/sdk/credentials.go
Create
func (s *CredentialServer) Create( ctx context.Context, req *api.SdkCredentialCreateRequest, ) (*api.SdkCredentialCreateResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetName()) == 0 { return nil, status.Error(codes.In...
go
func (s *CredentialServer) Create( ctx context.Context, req *api.SdkCredentialCreateRequest, ) (*api.SdkCredentialCreateResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetName()) == 0 { return nil, status.Error(codes.In...
[ "func", "(", "s", "*", "CredentialServer", ")", "Create", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkCredentialCreateRequest", ",", ")", "(", "*", "api", ".", "SdkCredentialCreateResponse", ",", "error", ")", "{", "if", "s", ...
// Create method creates credentials
[ "Create", "method", "creates", "credentials" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/credentials.go#L42-L61
21,836
libopenstorage/openstorage
api/server/sdk/credentials.go
Validate
func (s *CredentialServer) Validate( ctx context.Context, req *api.SdkCredentialValidateRequest, ) (*api.SdkCredentialValidateResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetCredentialId()) == 0 { return nil, status....
go
func (s *CredentialServer) Validate( ctx context.Context, req *api.SdkCredentialValidateRequest, ) (*api.SdkCredentialValidateResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetCredentialId()) == 0 { return nil, status....
[ "func", "(", "s", "*", "CredentialServer", ")", "Validate", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkCredentialValidateRequest", ",", ")", "(", "*", "api", ".", "SdkCredentialValidateResponse", ",", "error", ")", "{", "if", "...
// Validate validates a specified Credential.
[ "Validate", "validates", "a", "specified", "Credential", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/credentials.go#L196-L225
21,837
libopenstorage/openstorage
api/server/sdk/credentials.go
Delete
func (s *CredentialServer) Delete( ctx context.Context, req *api.SdkCredentialDeleteRequest, ) (*api.SdkCredentialDeleteResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetCredentialId()) == 0 { return nil, status.Error(...
go
func (s *CredentialServer) Delete( ctx context.Context, req *api.SdkCredentialDeleteRequest, ) (*api.SdkCredentialDeleteResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetCredentialId()) == 0 { return nil, status.Error(...
[ "func", "(", "s", "*", "CredentialServer", ")", "Delete", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkCredentialDeleteRequest", ",", ")", "(", "*", "api", ".", "SdkCredentialDeleteResponse", ",", "error", ")", "{", "if", "s", ...
// Delete deletes a specified credential
[ "Delete", "deletes", "a", "specified", "credential" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/credentials.go#L228-L266
21,838
libopenstorage/openstorage
api/server/sdk/credentials.go
Enumerate
func (s *CredentialServer) Enumerate( ctx context.Context, req *api.SdkCredentialEnumerateRequest, ) (*api.SdkCredentialEnumerateResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } credList, err := s.driver(ctx).CredsEnumerate() if err...
go
func (s *CredentialServer) Enumerate( ctx context.Context, req *api.SdkCredentialEnumerateRequest, ) (*api.SdkCredentialEnumerateResponse, error) { if s.driver(ctx) == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } credList, err := s.driver(ctx).CredsEnumerate() if err...
[ "func", "(", "s", "*", "CredentialServer", ")", "Enumerate", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkCredentialEnumerateRequest", ",", ")", "(", "*", "api", ".", "SdkCredentialEnumerateResponse", ",", "error", ")", "{", "if", ...
// Enumerate returns a list credentials ids
[ "Enumerate", "returns", "a", "list", "credentials", "ids" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/credentials.go#L269-L296
21,839
libopenstorage/openstorage
api/client/cluster/client.go
Enumerate
func (c *clusterClient) Enumerate() (api.Cluster, error) { clusterInfo := api.Cluster{} if err := c.c.Get().Resource(clusterPath + "/enumerate").Do().Unmarshal(&clusterInfo); err != nil { return clusterInfo, err } return clusterInfo, nil }
go
func (c *clusterClient) Enumerate() (api.Cluster, error) { clusterInfo := api.Cluster{} if err := c.c.Get().Resource(clusterPath + "/enumerate").Do().Unmarshal(&clusterInfo); err != nil { return clusterInfo, err } return clusterInfo, nil }
[ "func", "(", "c", "*", "clusterClient", ")", "Enumerate", "(", ")", "(", "api", ".", "Cluster", ",", "error", ")", "{", "clusterInfo", ":=", "api", ".", "Cluster", "{", "}", "\n\n", "if", "err", ":=", "c", ".", "c", ".", "Get", "(", ")", ".", "...
// Enumerate returns information about the cluster and its nodes
[ "Enumerate", "returns", "information", "about", "the", "cluster", "and", "its", "nodes" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/cluster/client.go#L165-L172
21,840
libopenstorage/openstorage
api/client/cluster/client.go
SecretGetDefaultSecretKey
func (c *clusterClient) SecretGetDefaultSecretKey() (interface{}, error) { var defaultKeyResp interface{} path := clusterPath + secretPath + "/defaultsecretkey" request := c.c.Get().Resource(path) err := request.Do().Unmarshal(&defaultKeyResp) if err != nil { return defaultKeyResp, err } return defaultKeyResp,...
go
func (c *clusterClient) SecretGetDefaultSecretKey() (interface{}, error) { var defaultKeyResp interface{} path := clusterPath + secretPath + "/defaultsecretkey" request := c.c.Get().Resource(path) err := request.Do().Unmarshal(&defaultKeyResp) if err != nil { return defaultKeyResp, err } return defaultKeyResp,...
[ "func", "(", "c", "*", "clusterClient", ")", "SecretGetDefaultSecretKey", "(", ")", "(", "interface", "{", "}", ",", "error", ")", "{", "var", "defaultKeyResp", "interface", "{", "}", "\n", "path", ":=", "clusterPath", "+", "secretPath", "+", "\"", "\"", ...
// SecretGetDefaultSecretKey returns cluster wide secret key's value
[ "SecretGetDefaultSecretKey", "returns", "cluster", "wide", "secret", "key", "s", "value" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/cluster/client.go#L353-L362
21,841
libopenstorage/openstorage
api/client/cluster/client.go
SecretCheckLogin
func (c *clusterClient) SecretCheckLogin() error { path := clusterPath + secretPath + "/verify" request := c.c.Get().Resource(path) resp := request.Do() if resp.Error() != nil { return resp.FormatError() } return nil }
go
func (c *clusterClient) SecretCheckLogin() error { path := clusterPath + secretPath + "/verify" request := c.c.Get().Resource(path) resp := request.Do() if resp.Error() != nil { return resp.FormatError() } return nil }
[ "func", "(", "c", "*", "clusterClient", ")", "SecretCheckLogin", "(", ")", "error", "{", "path", ":=", "clusterPath", "+", "secretPath", "+", "\"", "\"", "\n", "request", ":=", "c", ".", "c", ".", "Get", "(", ")", ".", "Resource", "(", "path", ")", ...
// SecretCheckLogin validates session with secret store
[ "SecretCheckLogin", "validates", "session", "with", "secret", "store" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/cluster/client.go#L392-L400
21,842
libopenstorage/openstorage
api/client/cluster/client.go
SchedPolicyEnumerate
func (c *clusterClient) SchedPolicyEnumerate() ([]*sched.SchedPolicy, error) { var schedPolicies []*sched.SchedPolicy req := c.c.Get().Resource(clusterPath + SchedPath) if err := req.Do().Unmarshal(&schedPolicies); err != nil { return nil, err } return schedPolicies, nil }
go
func (c *clusterClient) SchedPolicyEnumerate() ([]*sched.SchedPolicy, error) { var schedPolicies []*sched.SchedPolicy req := c.c.Get().Resource(clusterPath + SchedPath) if err := req.Do().Unmarshal(&schedPolicies); err != nil { return nil, err } return schedPolicies, nil }
[ "func", "(", "c", "*", "clusterClient", ")", "SchedPolicyEnumerate", "(", ")", "(", "[", "]", "*", "sched", ".", "SchedPolicy", ",", "error", ")", "{", "var", "schedPolicies", "[", "]", "*", "sched", ".", "SchedPolicy", "\n", "req", ":=", "c", ".", "...
// SchedPolicyEnumerate enumerates all configured policies
[ "SchedPolicyEnumerate", "enumerates", "all", "configured", "policies" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/cluster/client.go#L418-L427
21,843
libopenstorage/openstorage
api/client/cluster/client.go
SchedPolicyCreate
func (c *clusterClient) SchedPolicyCreate(name, schedule string) error { request := &sched.SchedPolicy{ Name: name, Schedule: schedule, } req := c.c.Post().Resource(clusterPath + SchedPath).Body(request) res := req.Do() if res.Error() != nil { return res.FormatError() } return nil }
go
func (c *clusterClient) SchedPolicyCreate(name, schedule string) error { request := &sched.SchedPolicy{ Name: name, Schedule: schedule, } req := c.c.Post().Resource(clusterPath + SchedPath).Body(request) res := req.Do() if res.Error() != nil { return res.FormatError() } return nil }
[ "func", "(", "c", "*", "clusterClient", ")", "SchedPolicyCreate", "(", "name", ",", "schedule", "string", ")", "error", "{", "request", ":=", "&", "sched", ".", "SchedPolicy", "{", "Name", ":", "name", ",", "Schedule", ":", "schedule", ",", "}", "\n\n", ...
// SchedPolicyCreate creates a policy with given name and schedule
[ "SchedPolicyCreate", "creates", "a", "policy", "with", "given", "name", "and", "schedule" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/cluster/client.go#L430-L443
21,844
libopenstorage/openstorage
api/client/cluster/client.go
SchedPolicyDelete
func (c *clusterClient) SchedPolicyDelete(name string) error { req := c.c.Delete().Resource(clusterPath + SchedPath).Instance(name) res := req.Do() if res.Error() != nil { return res.FormatError() } return nil }
go
func (c *clusterClient) SchedPolicyDelete(name string) error { req := c.c.Delete().Resource(clusterPath + SchedPath).Instance(name) res := req.Do() if res.Error() != nil { return res.FormatError() } return nil }
[ "func", "(", "c", "*", "clusterClient", ")", "SchedPolicyDelete", "(", "name", "string", ")", "error", "{", "req", ":=", "c", ".", "c", ".", "Delete", "(", ")", ".", "Resource", "(", "clusterPath", "+", "SchedPath", ")", ".", "Instance", "(", "name", ...
// SchedPolicyDelete deletes a policy with given name
[ "SchedPolicyDelete", "deletes", "a", "policy", "with", "given", "name" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/client/cluster/client.go#L462-L471
21,845
libopenstorage/openstorage
alerts/mock/alerts.mock.go
NewMockFilterDeleter
func NewMockFilterDeleter(ctrl *gomock.Controller) *MockFilterDeleter { mock := &MockFilterDeleter{ctrl: ctrl} mock.recorder = &MockFilterDeleterMockRecorder{mock} return mock }
go
func NewMockFilterDeleter(ctrl *gomock.Controller) *MockFilterDeleter { mock := &MockFilterDeleter{ctrl: ctrl} mock.recorder = &MockFilterDeleterMockRecorder{mock} return mock }
[ "func", "NewMockFilterDeleter", "(", "ctrl", "*", "gomock", ".", "Controller", ")", "*", "MockFilterDeleter", "{", "mock", ":=", "&", "MockFilterDeleter", "{", "ctrl", ":", "ctrl", "}", "\n", "mock", ".", "recorder", "=", "&", "MockFilterDeleterMockRecorder", ...
// NewMockFilterDeleter creates a new mock instance
[ "NewMockFilterDeleter", "creates", "a", "new", "mock", "instance" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/alerts/mock/alerts.mock.go#L26-L30
21,846
libopenstorage/openstorage
alerts/mock/alerts.mock.go
Filter
func (mr *MockFilterDeleterMockRecorder) Filter(arg0 interface{}, arg1 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Filter", reflect.TypeOf((*MockFilterDeleter)(nil).Filter), varargs...) }
go
func (mr *MockFilterDeleterMockRecorder) Filter(arg0 interface{}, arg1 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Filter", reflect.TypeOf((*MockFilterDeleter)(nil).Filter), varargs...) }
[ "func", "(", "mr", "*", "MockFilterDeleterMockRecorder", ")", "Filter", "(", "arg0", "interface", "{", "}", ",", "arg1", "...", "interface", "{", "}", ")", "*", "gomock", ".", "Call", "{", "varargs", ":=", "append", "(", "[", "]", "interface", "{", "}"...
// Filter indicates an expected call of Filter
[ "Filter", "indicates", "an", "expected", "call", "of", "Filter" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/alerts/mock/alerts.mock.go#L83-L86
21,847
libopenstorage/openstorage
cluster/mock/cluster.mock.go
NewMockCluster
func NewMockCluster(ctrl *gomock.Controller) *MockCluster { mock := &MockCluster{ctrl: ctrl} mock.recorder = &MockClusterMockRecorder{mock} return mock }
go
func NewMockCluster(ctrl *gomock.Controller) *MockCluster { mock := &MockCluster{ctrl: ctrl} mock.recorder = &MockClusterMockRecorder{mock} return mock }
[ "func", "NewMockCluster", "(", "ctrl", "*", "gomock", ".", "Controller", ")", "*", "MockCluster", "{", "mock", ":=", "&", "MockCluster", "{", "ctrl", ":", "ctrl", "}", "\n", "mock", ".", "recorder", "=", "&", "MockClusterMockRecorder", "{", "mock", "}", ...
// NewMockCluster creates a new mock instance
[ "NewMockCluster", "creates", "a", "new", "mock", "instance" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L32-L36
21,848
libopenstorage/openstorage
cluster/mock/cluster.mock.go
AddEventListener
func (m *MockCluster) AddEventListener(arg0 cluster.ClusterListener) error { ret := m.ctrl.Call(m, "AddEventListener", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) AddEventListener(arg0 cluster.ClusterListener) error { ret := m.ctrl.Call(m, "AddEventListener", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "AddEventListener", "(", "arg0", "cluster", ".", "ClusterListener", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ":=",...
// AddEventListener mocks base method
[ "AddEventListener", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L44-L48
21,849
libopenstorage/openstorage
cluster/mock/cluster.mock.go
ClusterNotifyClusterDomainsUpdate
func (m *MockCluster) ClusterNotifyClusterDomainsUpdate(arg0 types.ClusterDomainsActiveMap) error { ret := m.ctrl.Call(m, "ClusterNotifyClusterDomainsUpdate", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) ClusterNotifyClusterDomainsUpdate(arg0 types.ClusterDomainsActiveMap) error { ret := m.ctrl.Call(m, "ClusterNotifyClusterDomainsUpdate", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "ClusterNotifyClusterDomainsUpdate", "(", "arg0", "types", ".", "ClusterDomainsActiveMap", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0"...
// ClusterNotifyClusterDomainsUpdate mocks base method
[ "ClusterNotifyClusterDomainsUpdate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L56-L60
21,850
libopenstorage/openstorage
cluster/mock/cluster.mock.go
CreatePair
func (m *MockCluster) CreatePair(arg0 *api.ClusterPairCreateRequest) (*api.ClusterPairCreateResponse, error) { ret := m.ctrl.Call(m, "CreatePair", arg0) ret0, _ := ret[0].(*api.ClusterPairCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) CreatePair(arg0 *api.ClusterPairCreateRequest) (*api.ClusterPairCreateResponse, error) { ret := m.ctrl.Call(m, "CreatePair", arg0) ret0, _ := ret[0].(*api.ClusterPairCreateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "CreatePair", "(", "arg0", "*", "api", ".", "ClusterPairCreateRequest", ")", "(", "*", "api", ".", "ClusterPairCreateResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ","...
// CreatePair mocks base method
[ "CreatePair", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L81-L86
21,851
libopenstorage/openstorage
cluster/mock/cluster.mock.go
EnumerateAlerts
func (m *MockCluster) EnumerateAlerts(arg0, arg1 time.Time, arg2 api.ResourceType) (*api.Alerts, error) { ret := m.ctrl.Call(m, "EnumerateAlerts", arg0, arg1, arg2) ret0, _ := ret[0].(*api.Alerts) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) EnumerateAlerts(arg0, arg1 time.Time, arg2 api.ResourceType) (*api.Alerts, error) { ret := m.ctrl.Call(m, "EnumerateAlerts", arg0, arg1, arg2) ret0, _ := ret[0].(*api.Alerts) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "EnumerateAlerts", "(", "arg0", ",", "arg1", "time", ".", "Time", ",", "arg2", "api", ".", "ResourceType", ")", "(", "*", "api", ".", "Alerts", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", ...
// EnumerateAlerts mocks base method
[ "EnumerateAlerts", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L167-L172
21,852
libopenstorage/openstorage
cluster/mock/cluster.mock.go
EnumerateNodeConf
func (m *MockCluster) EnumerateNodeConf() (*osdconfig.NodesConfig, error) { ret := m.ctrl.Call(m, "EnumerateNodeConf") ret0, _ := ret[0].(*osdconfig.NodesConfig) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) EnumerateNodeConf() (*osdconfig.NodesConfig, error) { ret := m.ctrl.Call(m, "EnumerateNodeConf") ret0, _ := ret[0].(*osdconfig.NodesConfig) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "EnumerateNodeConf", "(", ")", "(", "*", "osdconfig", ".", "NodesConfig", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=",...
// EnumerateNodeConf mocks base method
[ "EnumerateNodeConf", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L193-L198
21,853
libopenstorage/openstorage
cluster/mock/cluster.mock.go
EnumerateNodeConf
func (mr *MockClusterMockRecorder) EnumerateNodeConf() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnumerateNodeConf", reflect.TypeOf((*MockCluster)(nil).EnumerateNodeConf)) }
go
func (mr *MockClusterMockRecorder) EnumerateNodeConf() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnumerateNodeConf", reflect.TypeOf((*MockCluster)(nil).EnumerateNodeConf)) }
[ "func", "(", "mr", "*", "MockClusterMockRecorder", ")", "EnumerateNodeConf", "(", ")", "*", "gomock", ".", "Call", "{", "return", "mr", ".", "mock", ".", "ctrl", ".", "RecordCallWithMethodType", "(", "mr", ".", "mock", ",", "\"", "\"", ",", "reflect", "....
// EnumerateNodeConf indicates an expected call of EnumerateNodeConf
[ "EnumerateNodeConf", "indicates", "an", "expected", "call", "of", "EnumerateNodeConf" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L201-L203
21,854
libopenstorage/openstorage
cluster/mock/cluster.mock.go
EnumeratePairs
func (m *MockCluster) EnumeratePairs() (*api.ClusterPairsEnumerateResponse, error) { ret := m.ctrl.Call(m, "EnumeratePairs") ret0, _ := ret[0].(*api.ClusterPairsEnumerateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) EnumeratePairs() (*api.ClusterPairsEnumerateResponse, error) { ret := m.ctrl.Call(m, "EnumeratePairs") ret0, _ := ret[0].(*api.ClusterPairsEnumerateResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "EnumeratePairs", "(", ")", "(", "*", "api", ".", "ClusterPairsEnumerateResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_"...
// EnumeratePairs mocks base method
[ "EnumeratePairs", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L206-L211
21,855
libopenstorage/openstorage
cluster/mock/cluster.mock.go
EraseAlert
func (m *MockCluster) EraseAlert(arg0 api.ResourceType, arg1 int64) error { ret := m.ctrl.Call(m, "EraseAlert", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) EraseAlert(arg0 api.ResourceType, arg1 int64) error { ret := m.ctrl.Call(m, "EraseAlert", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "EraseAlert", "(", "arg0", "api", ".", "ResourceType", ",", "arg1", "int64", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ",", "arg1", ")", "\n",...
// EraseAlert mocks base method
[ "EraseAlert", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L219-L223
21,856
libopenstorage/openstorage
cluster/mock/cluster.mock.go
GetClusterConf
func (m *MockCluster) GetClusterConf() (*osdconfig.ClusterConfig, error) { ret := m.ctrl.Call(m, "GetClusterConf") ret0, _ := ret[0].(*osdconfig.ClusterConfig) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) GetClusterConf() (*osdconfig.ClusterConfig, error) { ret := m.ctrl.Call(m, "GetClusterConf") ret0, _ := ret[0].(*osdconfig.ClusterConfig) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "GetClusterConf", "(", ")", "(", "*", "osdconfig", ".", "ClusterConfig", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=", ...
// GetClusterConf mocks base method
[ "GetClusterConf", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L231-L236
21,857
libopenstorage/openstorage
cluster/mock/cluster.mock.go
GetData
func (m *MockCluster) GetData() (map[string]*api.Node, error) { ret := m.ctrl.Call(m, "GetData") ret0, _ := ret[0].(map[string]*api.Node) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) GetData() (map[string]*api.Node, error) { ret := m.ctrl.Call(m, "GetData") ret0, _ := ret[0].(map[string]*api.Node) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "GetData", "(", ")", "(", "map", "[", "string", "]", "*", "api", ".", "Node", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", ...
// GetData mocks base method
[ "GetData", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L244-L249
21,858
libopenstorage/openstorage
cluster/mock/cluster.mock.go
GetGossipState
func (m *MockCluster) GetGossipState() *cluster.ClusterState { ret := m.ctrl.Call(m, "GetGossipState") ret0, _ := ret[0].(*cluster.ClusterState) return ret0 }
go
func (m *MockCluster) GetGossipState() *cluster.ClusterState { ret := m.ctrl.Call(m, "GetGossipState") ret0, _ := ret[0].(*cluster.ClusterState) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "GetGossipState", "(", ")", "*", "cluster", ".", "ClusterState", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=", "ret", "[", "0", "]", "."...
// GetGossipState mocks base method
[ "GetGossipState", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L257-L261
21,859
libopenstorage/openstorage
cluster/mock/cluster.mock.go
GetNodeConf
func (m *MockCluster) GetNodeConf(arg0 string) (*osdconfig.NodeConfig, error) { ret := m.ctrl.Call(m, "GetNodeConf", arg0) ret0, _ := ret[0].(*osdconfig.NodeConfig) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) GetNodeConf(arg0 string) (*osdconfig.NodeConfig, error) { ret := m.ctrl.Call(m, "GetNodeConf", arg0) ret0, _ := ret[0].(*osdconfig.NodeConfig) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "GetNodeConf", "(", "arg0", "string", ")", "(", "*", "osdconfig", ".", "NodeConfig", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n",...
// GetNodeConf mocks base method
[ "GetNodeConf", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L269-L274
21,860
libopenstorage/openstorage
cluster/mock/cluster.mock.go
GetPair
func (m *MockCluster) GetPair(arg0 string) (*api.ClusterPairGetResponse, error) { ret := m.ctrl.Call(m, "GetPair", arg0) ret0, _ := ret[0].(*api.ClusterPairGetResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) GetPair(arg0 string) (*api.ClusterPairGetResponse, error) { ret := m.ctrl.Call(m, "GetPair", arg0) ret0, _ := ret[0].(*api.ClusterPairGetResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "GetPair", "(", "arg0", "string", ")", "(", "*", "api", ".", "ClusterPairGetResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n...
// GetPair mocks base method
[ "GetPair", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L295-L300
21,861
libopenstorage/openstorage
cluster/mock/cluster.mock.go
GetPairToken
func (m *MockCluster) GetPairToken(arg0 bool) (*api.ClusterPairTokenGetResponse, error) { ret := m.ctrl.Call(m, "GetPairToken", arg0) ret0, _ := ret[0].(*api.ClusterPairTokenGetResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) GetPairToken(arg0 bool) (*api.ClusterPairTokenGetResponse, error) { ret := m.ctrl.Call(m, "GetPairToken", arg0) ret0, _ := ret[0].(*api.ClusterPairTokenGetResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "GetPairToken", "(", "arg0", "bool", ")", "(", "*", "api", ".", "ClusterPairTokenGetResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")...
// GetPairToken mocks base method
[ "GetPairToken", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L308-L313
21,862
libopenstorage/openstorage
cluster/mock/cluster.mock.go
GetSelfDomain
func (m *MockCluster) GetSelfDomain() (*clusterdomain.ClusterDomainInfo, error) { ret := m.ctrl.Call(m, "GetSelfDomain") ret0, _ := ret[0].(*clusterdomain.ClusterDomainInfo) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) GetSelfDomain() (*clusterdomain.ClusterDomainInfo, error) { ret := m.ctrl.Call(m, "GetSelfDomain") ret0, _ := ret[0].(*clusterdomain.ClusterDomainInfo) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "GetSelfDomain", "(", ")", "(", "*", "clusterdomain", ".", "ClusterDomainInfo", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ...
// GetSelfDomain mocks base method
[ "GetSelfDomain", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L321-L326
21,863
libopenstorage/openstorage
cluster/mock/cluster.mock.go
InspectDomain
func (m *MockCluster) InspectDomain(arg0 string) (*clusterdomain.ClusterDomainInfo, error) { ret := m.ctrl.Call(m, "InspectDomain", arg0) ret0, _ := ret[0].(*clusterdomain.ClusterDomainInfo) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) InspectDomain(arg0 string) (*clusterdomain.ClusterDomainInfo, error) { ret := m.ctrl.Call(m, "InspectDomain", arg0) ret0, _ := ret[0].(*clusterdomain.ClusterDomainInfo) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "InspectDomain", "(", "arg0", "string", ")", "(", "*", "clusterdomain", ".", "ClusterDomainInfo", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ...
// InspectDomain mocks base method
[ "InspectDomain", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L347-L352
21,864
libopenstorage/openstorage
cluster/mock/cluster.mock.go
NodeRemoveDone
func (m *MockCluster) NodeRemoveDone(arg0 string, arg1 error) { m.ctrl.Call(m, "NodeRemoveDone", arg0, arg1) }
go
func (m *MockCluster) NodeRemoveDone(arg0 string, arg1 error) { m.ctrl.Call(m, "NodeRemoveDone", arg0, arg1) }
[ "func", "(", "m", "*", "MockCluster", ")", "NodeRemoveDone", "(", "arg0", "string", ",", "arg1", "error", ")", "{", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ",", "arg1", ")", "\n", "}" ]
// NodeRemoveDone mocks base method
[ "NodeRemoveDone", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L360-L362
21,865
libopenstorage/openstorage
cluster/mock/cluster.mock.go
NodeStatus
func (m *MockCluster) NodeStatus() (api.Status, error) { ret := m.ctrl.Call(m, "NodeStatus") ret0, _ := ret[0].(api.Status) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) NodeStatus() (api.Status, error) { ret := m.ctrl.Call(m, "NodeStatus") ret0, _ := ret[0].(api.Status) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "NodeStatus", "(", ")", "(", "api", ".", "Status", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=", "ret", "[", "0", ...
// NodeStatus mocks base method
[ "NodeStatus", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L370-L375
21,866
libopenstorage/openstorage
cluster/mock/cluster.mock.go
ObjectStoreDelete
func (m *MockCluster) ObjectStoreDelete(arg0 string) error { ret := m.ctrl.Call(m, "ObjectStoreDelete", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) ObjectStoreDelete(arg0 string) error { ret := m.ctrl.Call(m, "ObjectStoreDelete", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "ObjectStoreDelete", "(", "arg0", "string", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ":=", "ret", "[", "0", "]...
// ObjectStoreDelete mocks base method
[ "ObjectStoreDelete", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L396-L400
21,867
libopenstorage/openstorage
cluster/mock/cluster.mock.go
ObjectStoreInspect
func (m *MockCluster) ObjectStoreInspect(arg0 string) (*api.ObjectstoreInfo, error) { ret := m.ctrl.Call(m, "ObjectStoreInspect", arg0) ret0, _ := ret[0].(*api.ObjectstoreInfo) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) ObjectStoreInspect(arg0 string) (*api.ObjectstoreInfo, error) { ret := m.ctrl.Call(m, "ObjectStoreInspect", arg0) ret0, _ := ret[0].(*api.ObjectstoreInfo) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "ObjectStoreInspect", "(", "arg0", "string", ")", "(", "*", "api", ".", "ObjectstoreInfo", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", ...
// ObjectStoreInspect mocks base method
[ "ObjectStoreInspect", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L408-L413
21,868
libopenstorage/openstorage
cluster/mock/cluster.mock.go
PeerStatus
func (m *MockCluster) PeerStatus(arg0 string) (map[string]api.Status, error) { ret := m.ctrl.Call(m, "PeerStatus", arg0) ret0, _ := ret[0].(map[string]api.Status) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) PeerStatus(arg0 string) (map[string]api.Status, error) { ret := m.ctrl.Call(m, "PeerStatus", arg0) ret0, _ := ret[0].(map[string]api.Status) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "PeerStatus", "(", "arg0", "string", ")", "(", "map", "[", "string", "]", "api", ".", "Status", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0...
// PeerStatus mocks base method
[ "PeerStatus", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L433-L438
21,869
libopenstorage/openstorage
cluster/mock/cluster.mock.go
ProcessPairRequest
func (m *MockCluster) ProcessPairRequest(arg0 *api.ClusterPairProcessRequest) (*api.ClusterPairProcessResponse, error) { ret := m.ctrl.Call(m, "ProcessPairRequest", arg0) ret0, _ := ret[0].(*api.ClusterPairProcessResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) ProcessPairRequest(arg0 *api.ClusterPairProcessRequest) (*api.ClusterPairProcessResponse, error) { ret := m.ctrl.Call(m, "ProcessPairRequest", arg0) ret0, _ := ret[0].(*api.ClusterPairProcessResponse) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "ProcessPairRequest", "(", "arg0", "*", "api", ".", "ClusterPairProcessRequest", ")", "(", "*", "api", ".", "ClusterPairProcessResponse", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", ...
// ProcessPairRequest mocks base method
[ "ProcessPairRequest", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L446-L451
21,870
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SchedPolicyEnumerate
func (m *MockCluster) SchedPolicyEnumerate() ([]*schedpolicy.SchedPolicy, error) { ret := m.ctrl.Call(m, "SchedPolicyEnumerate") ret0, _ := ret[0].([]*schedpolicy.SchedPolicy) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) SchedPolicyEnumerate() ([]*schedpolicy.SchedPolicy, error) { ret := m.ctrl.Call(m, "SchedPolicyEnumerate") ret0, _ := ret[0].([]*schedpolicy.SchedPolicy) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "SchedPolicyEnumerate", "(", ")", "(", "[", "]", "*", "schedpolicy", ".", "SchedPolicy", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ...
// SchedPolicyEnumerate mocks base method
[ "SchedPolicyEnumerate", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L507-L512
21,871
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SchedPolicyGet
func (m *MockCluster) SchedPolicyGet(arg0 string) (*schedpolicy.SchedPolicy, error) { ret := m.ctrl.Call(m, "SchedPolicyGet", arg0) ret0, _ := ret[0].(*schedpolicy.SchedPolicy) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) SchedPolicyGet(arg0 string) (*schedpolicy.SchedPolicy, error) { ret := m.ctrl.Call(m, "SchedPolicyGet", arg0) ret0, _ := ret[0].(*schedpolicy.SchedPolicy) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "SchedPolicyGet", "(", "arg0", "string", ")", "(", "*", "schedpolicy", ".", "SchedPolicy", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", ...
// SchedPolicyGet mocks base method
[ "SchedPolicyGet", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L520-L525
21,872
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SecretGet
func (m *MockCluster) SecretGet(arg0 string) (interface{}, error) { ret := m.ctrl.Call(m, "SecretGet", arg0) ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) SecretGet(arg0 string) (interface{}, error) { ret := m.ctrl.Call(m, "SecretGet", arg0) ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "SecretGet", "(", "arg0", "string", ")", "(", "interface", "{", "}", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", ...
// SecretGet mocks base method
[ "SecretGet", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L557-L562
21,873
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SecretGetDefaultSecretKey
func (m *MockCluster) SecretGetDefaultSecretKey() (interface{}, error) { ret := m.ctrl.Call(m, "SecretGetDefaultSecretKey") ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 }
go
func (m *MockCluster) SecretGetDefaultSecretKey() (interface{}, error) { ret := m.ctrl.Call(m, "SecretGetDefaultSecretKey") ret0, _ := ret[0].(interface{}) ret1, _ := ret[1].(error) return ret0, ret1 }
[ "func", "(", "m", "*", "MockCluster", ")", "SecretGetDefaultSecretKey", "(", ")", "(", "interface", "{", "}", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=", "ret",...
// SecretGetDefaultSecretKey mocks base method
[ "SecretGetDefaultSecretKey", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L570-L575
21,874
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SecretSet
func (m *MockCluster) SecretSet(arg0 string, arg1 interface{}) error { ret := m.ctrl.Call(m, "SecretSet", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) SecretSet(arg0 string, arg1 interface{}) error { ret := m.ctrl.Call(m, "SecretSet", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "SecretSet", "(", "arg0", "string", ",", "arg1", "interface", "{", "}", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ",", "arg1", ")", "\n", "r...
// SecretSet mocks base method
[ "SecretSet", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L595-L599
21,875
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SecretSet
func (mr *MockClusterMockRecorder) SecretSet(arg0, arg1 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretSet", reflect.TypeOf((*MockCluster)(nil).SecretSet), arg0, arg1) }
go
func (mr *MockClusterMockRecorder) SecretSet(arg0, arg1 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretSet", reflect.TypeOf((*MockCluster)(nil).SecretSet), arg0, arg1) }
[ "func", "(", "mr", "*", "MockClusterMockRecorder", ")", "SecretSet", "(", "arg0", ",", "arg1", "interface", "{", "}", ")", "*", "gomock", ".", "Call", "{", "return", "mr", ".", "mock", ".", "ctrl", ".", "RecordCallWithMethodType", "(", "mr", ".", "mock",...
// SecretSet indicates an expected call of SecretSet
[ "SecretSet", "indicates", "an", "expected", "call", "of", "SecretSet" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L602-L604
21,876
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SecretSetDefaultSecretKey
func (m *MockCluster) SecretSetDefaultSecretKey(arg0 string, arg1 bool) error { ret := m.ctrl.Call(m, "SecretSetDefaultSecretKey", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) SecretSetDefaultSecretKey(arg0 string, arg1 bool) error { ret := m.ctrl.Call(m, "SecretSetDefaultSecretKey", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "SecretSetDefaultSecretKey", "(", "arg0", "string", ",", "arg1", "bool", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ",", "arg1", ")", "\n", "ret0...
// SecretSetDefaultSecretKey mocks base method
[ "SecretSetDefaultSecretKey", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L607-L611
21,877
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SetClusterConf
func (m *MockCluster) SetClusterConf(arg0 *osdconfig.ClusterConfig) error { ret := m.ctrl.Call(m, "SetClusterConf", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) SetClusterConf(arg0 *osdconfig.ClusterConfig) error { ret := m.ctrl.Call(m, "SetClusterConf", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "SetClusterConf", "(", "arg0", "*", "osdconfig", ".", "ClusterConfig", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ...
// SetClusterConf mocks base method
[ "SetClusterConf", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L619-L623
21,878
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SetNodeConf
func (m *MockCluster) SetNodeConf(arg0 *osdconfig.NodeConfig) error { ret := m.ctrl.Call(m, "SetNodeConf", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) SetNodeConf(arg0 *osdconfig.NodeConfig) error { ret := m.ctrl.Call(m, "SetNodeConf", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "SetNodeConf", "(", "arg0", "*", "osdconfig", ".", "NodeConfig", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ":=", ...
// SetNodeConf mocks base method
[ "SetNodeConf", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L631-L635
21,879
libopenstorage/openstorage
cluster/mock/cluster.mock.go
SetSize
func (m *MockCluster) SetSize(arg0 int) error { ret := m.ctrl.Call(m, "SetSize", arg0) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) SetSize(arg0 int) error { ret := m.ctrl.Call(m, "SetSize", arg0) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "SetSize", "(", "arg0", "int", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ":=", "ret", "[", "0", "]", ".", "...
// SetSize mocks base method
[ "SetSize", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L643-L647
21,880
libopenstorage/openstorage
cluster/mock/cluster.mock.go
StartWithConfiguration
func (m *MockCluster) StartWithConfiguration(arg0 int, arg1 bool, arg2 string, arg3 []string, arg4 string, arg5 *cluster.ClusterServerConfiguration) error { ret := m.ctrl.Call(m, "StartWithConfiguration", arg0, arg1, arg2, arg3, arg4, arg5) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) StartWithConfiguration(arg0 int, arg1 bool, arg2 string, arg3 []string, arg4 string, arg5 *cluster.ClusterServerConfiguration) error { ret := m.ctrl.Call(m, "StartWithConfiguration", arg0, arg1, arg2, arg3, arg4, arg5) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "StartWithConfiguration", "(", "arg0", "int", ",", "arg1", "bool", ",", "arg2", "string", ",", "arg3", "[", "]", "string", ",", "arg4", "string", ",", "arg5", "*", "cluster", ".", "ClusterServerConfiguration", ")"...
// StartWithConfiguration mocks base method
[ "StartWithConfiguration", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L679-L683
21,881
libopenstorage/openstorage
cluster/mock/cluster.mock.go
StartWithConfiguration
func (mr *MockClusterMockRecorder) StartWithConfiguration(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartWithConfiguration", reflect.TypeOf((*MockCluster)(nil).StartWithConfiguration), arg0, arg1, arg2, arg3, arg4, arg5) }
go
func (mr *MockClusterMockRecorder) StartWithConfiguration(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartWithConfiguration", reflect.TypeOf((*MockCluster)(nil).StartWithConfiguration), arg0, arg1, arg2, arg3, arg4, arg5) }
[ "func", "(", "mr", "*", "MockClusterMockRecorder", ")", "StartWithConfiguration", "(", "arg0", ",", "arg1", ",", "arg2", ",", "arg3", ",", "arg4", ",", "arg5", "interface", "{", "}", ")", "*", "gomock", ".", "Call", "{", "return", "mr", ".", "mock", "....
// StartWithConfiguration indicates an expected call of StartWithConfiguration
[ "StartWithConfiguration", "indicates", "an", "expected", "call", "of", "StartWithConfiguration" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L686-L688
21,882
libopenstorage/openstorage
cluster/mock/cluster.mock.go
UpdateDomainState
func (m *MockCluster) UpdateDomainState(arg0 string, arg1 types.ClusterDomainState) error { ret := m.ctrl.Call(m, "UpdateDomainState", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
go
func (m *MockCluster) UpdateDomainState(arg0 string, arg1 types.ClusterDomainState) error { ret := m.ctrl.Call(m, "UpdateDomainState", arg0, arg1) ret0, _ := ret[0].(error) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "UpdateDomainState", "(", "arg0", "string", ",", "arg1", "types", ".", "ClusterDomainState", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ",", "arg1"...
// UpdateDomainState mocks base method
[ "UpdateDomainState", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L703-L707
21,883
libopenstorage/openstorage
cluster/mock/cluster.mock.go
Uuid
func (m *MockCluster) Uuid() string { ret := m.ctrl.Call(m, "Uuid") ret0, _ := ret[0].(string) return ret0 }
go
func (m *MockCluster) Uuid() string { ret := m.ctrl.Call(m, "Uuid") ret0, _ := ret[0].(string) return ret0 }
[ "func", "(", "m", "*", "MockCluster", ")", "Uuid", "(", ")", "string", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=", "ret", "[", "0", "]", ".", "(", "string", ")", "\n", "retu...
// Uuid mocks base method
[ "Uuid", "mocks", "base", "method" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/cluster/mock/cluster.mock.go#L739-L743
21,884
libopenstorage/openstorage
api/server/sdk/node.go
Enumerate
func (s *NodeServer) Enumerate( ctx context.Context, req *api.SdkNodeEnumerateRequest, ) (*api.SdkNodeEnumerateResponse, error) { if s.cluster() == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } c, err := s.cluster().Enumerate() if err != nil { return nil, status.Erro...
go
func (s *NodeServer) Enumerate( ctx context.Context, req *api.SdkNodeEnumerateRequest, ) (*api.SdkNodeEnumerateResponse, error) { if s.cluster() == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } c, err := s.cluster().Enumerate() if err != nil { return nil, status.Erro...
[ "func", "(", "s", "*", "NodeServer", ")", "Enumerate", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkNodeEnumerateRequest", ",", ")", "(", "*", "api", ".", "SdkNodeEnumerateResponse", ",", "error", ")", "{", "if", "s", ".", "c...
// Enumerate returns the ids of all the nodes in the cluster
[ "Enumerate", "returns", "the", "ids", "of", "all", "the", "nodes", "in", "the", "cluster" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/node.go#L39-L59
21,885
libopenstorage/openstorage
api/server/sdk/node.go
Inspect
func (s *NodeServer) Inspect( ctx context.Context, req *api.SdkNodeInspectRequest, ) (*api.SdkNodeInspectResponse, error) { if s.cluster() == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetNodeId()) == 0 { return nil, status.Error(codes.InvalidArgument, ...
go
func (s *NodeServer) Inspect( ctx context.Context, req *api.SdkNodeInspectRequest, ) (*api.SdkNodeInspectResponse, error) { if s.cluster() == nil { return nil, status.Error(codes.Unavailable, "Resource has not been initialized") } if len(req.GetNodeId()) == 0 { return nil, status.Error(codes.InvalidArgument, ...
[ "func", "(", "s", "*", "NodeServer", ")", "Inspect", "(", "ctx", "context", ".", "Context", ",", "req", "*", "api", ".", "SdkNodeInspectRequest", ",", ")", "(", "*", "api", ".", "SdkNodeInspectResponse", ",", "error", ")", "{", "if", "s", ".", "cluster...
// Inspect returns information about a specific node
[ "Inspect", "returns", "information", "about", "a", "specific", "node" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/server/sdk/node.go#L62-L88
21,886
libopenstorage/openstorage
pkg/auth/claims.go
getUsername
func getUsername(usernameClaim UsernameClaimType, claims *Claims) string { switch usernameClaim { case UsernameClaimTypeEmail: return claims.Email case UsernameClaimTypeName: return claims.Name } return claims.Subject }
go
func getUsername(usernameClaim UsernameClaimType, claims *Claims) string { switch usernameClaim { case UsernameClaimTypeEmail: return claims.Email case UsernameClaimTypeName: return claims.Name } return claims.Subject }
[ "func", "getUsername", "(", "usernameClaim", "UsernameClaimType", ",", "claims", "*", "Claims", ")", "string", "{", "switch", "usernameClaim", "{", "case", "UsernameClaimTypeEmail", ":", "return", "claims", ".", "Email", "\n", "case", "UsernameClaimTypeName", ":", ...
// utility function to get username
[ "utility", "function", "to", "get", "username" ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/pkg/auth/claims.go#L49-L57
21,887
libopenstorage/openstorage
pkg/flexvolume/flexvolume.go
BytesToJSONOptions
func BytesToJSONOptions(value []byte) (map[string]string, error) { if value == nil || len(value) == 0 { return nil, nil } m := make(map[string]string) if err := json.Unmarshal(value, &m); err != nil { return nil, err } return m, nil }
go
func BytesToJSONOptions(value []byte) (map[string]string, error) { if value == nil || len(value) == 0 { return nil, nil } m := make(map[string]string) if err := json.Unmarshal(value, &m); err != nil { return nil, err } return m, nil }
[ "func", "BytesToJSONOptions", "(", "value", "[", "]", "byte", ")", "(", "map", "[", "string", "]", "string", ",", "error", ")", "{", "if", "value", "==", "nil", "||", "len", "(", "value", ")", "==", "0", "{", "return", "nil", ",", "nil", "\n", "}...
// BytesToJSONOptions converts a JSON string to a map of JSON options.
[ "BytesToJSONOptions", "converts", "a", "JSON", "string", "to", "a", "map", "of", "JSON", "options", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/pkg/flexvolume/flexvolume.go#L38-L47
21,888
libopenstorage/openstorage
pkg/flexvolume/flexvolume.go
JSONOptionsToBytes
func JSONOptionsToBytes(jsonOptions map[string]string) ([]byte, error) { if jsonOptions == nil || len(jsonOptions) == 0 { return nil, nil } return json.Marshal(jsonOptions) }
go
func JSONOptionsToBytes(jsonOptions map[string]string) ([]byte, error) { if jsonOptions == nil || len(jsonOptions) == 0 { return nil, nil } return json.Marshal(jsonOptions) }
[ "func", "JSONOptionsToBytes", "(", "jsonOptions", "map", "[", "string", "]", "string", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "if", "jsonOptions", "==", "nil", "||", "len", "(", "jsonOptions", ")", "==", "0", "{", "return", "nil", ",", "...
// JSONOptionsToBytes converts a map of JSON Options to a JSON string.
[ "JSONOptionsToBytes", "converts", "a", "map", "of", "JSON", "Options", "to", "a", "JSON", "string", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/pkg/flexvolume/flexvolume.go#L50-L55
21,889
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageAlertsHandler
func RegisterOpenStorageAlertsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageAlertsHandlerClient(ctx, mux, NewOpenStorageAlertsClient(conn)) }
go
func RegisterOpenStorageAlertsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageAlertsHandlerClient(ctx, mux, NewOpenStorageAlertsClient(conn)) }
[ "func", "RegisterOpenStorageAlertsHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageAlertsHandlerClient", "(", "ctx", ",", "...
// RegisterOpenStorageAlertsHandler registers the http handlers for service OpenStorageAlerts to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageAlertsHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageAlerts", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L1491-L1493
21,890
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageRoleHandler
func RegisterOpenStorageRoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageRoleHandlerClient(ctx, mux, NewOpenStorageRoleClient(conn)) }
go
func RegisterOpenStorageRoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageRoleHandlerClient(ctx, mux, NewOpenStorageRoleClient(conn)) }
[ "func", "RegisterOpenStorageRoleHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageRoleHandlerClient", "(", "ctx", ",", "mux"...
// RegisterOpenStorageRoleHandler registers the http handlers for service OpenStorageRole to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageRoleHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageRole", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L1602-L1604
21,891
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageIdentityHandler
func RegisterOpenStorageIdentityHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageIdentityHandlerClient(ctx, mux, NewOpenStorageIdentityClient(conn)) }
go
func RegisterOpenStorageIdentityHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageIdentityHandlerClient(ctx, mux, NewOpenStorageIdentityClient(conn)) }
[ "func", "RegisterOpenStorageIdentityHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageIdentityHandlerClient", "(", "ctx", ",",...
// RegisterOpenStorageIdentityHandler registers the http handlers for service OpenStorageIdentity to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageIdentityHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageIdentity", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L1812-L1814
21,892
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageClusterHandlerFromEndpoint
func RegisterOpenStorageClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { grpclog.Printf...
go
func RegisterOpenStorageClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { grpclog.Printf...
[ "func", "RegisterOpenStorageClusterHandlerFromEndpoint", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "endpoint", "string", ",", "opts", "[", "]", "grpc", ".", "DialOption", ")", "(", "err", "error", ")", "{", "con...
// RegisterOpenStorageClusterHandlerFromEndpoint is same as RegisterOpenStorageClusterHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done.
[ "RegisterOpenStorageClusterHandlerFromEndpoint", "is", "same", "as", "RegisterOpenStorageClusterHandler", "but", "automatically", "dials", "to", "endpoint", "and", "closes", "the", "connection", "when", "ctx", "gets", "done", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L1898-L1919
21,893
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageClusterHandler
func RegisterOpenStorageClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageClusterHandlerClient(ctx, mux, NewOpenStorageClusterClient(conn)) }
go
func RegisterOpenStorageClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageClusterHandlerClient(ctx, mux, NewOpenStorageClusterClient(conn)) }
[ "func", "RegisterOpenStorageClusterHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageClusterHandlerClient", "(", "ctx", ",", ...
// RegisterOpenStorageClusterHandler registers the http handlers for service OpenStorageCluster to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageClusterHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageCluster", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L1923-L1925
21,894
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageClusterPairHandler
func RegisterOpenStorageClusterPairHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageClusterPairHandlerClient(ctx, mux, NewOpenStorageClusterPairClient(conn)) }
go
func RegisterOpenStorageClusterPairHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageClusterPairHandlerClient(ctx, mux, NewOpenStorageClusterPairClient(conn)) }
[ "func", "RegisterOpenStorageClusterPairHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageClusterPairHandlerClient", "(", "ctx", ...
// RegisterOpenStorageClusterPairHandler registers the http handlers for service OpenStorageClusterPair to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageClusterPairHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageClusterPair", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L2001-L2003
21,895
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageClusterDomainsHandler
func RegisterOpenStorageClusterDomainsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageClusterDomainsHandlerClient(ctx, mux, NewOpenStorageClusterDomainsClient(conn)) }
go
func RegisterOpenStorageClusterDomainsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageClusterDomainsHandlerClient(ctx, mux, NewOpenStorageClusterDomainsClient(conn)) }
[ "func", "RegisterOpenStorageClusterDomainsHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageClusterDomainsHandlerClient", "(", "...
// RegisterOpenStorageClusterDomainsHandler registers the http handlers for service OpenStorageClusterDomains to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageClusterDomainsHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageClusterDomains", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L2244-L2246
21,896
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageNodeHandler
func RegisterOpenStorageNodeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageNodeHandlerClient(ctx, mux, NewOpenStorageNodeClient(conn)) }
go
func RegisterOpenStorageNodeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageNodeHandlerClient(ctx, mux, NewOpenStorageNodeClient(conn)) }
[ "func", "RegisterOpenStorageNodeHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageNodeHandlerClient", "(", "ctx", ",", "mux"...
// RegisterOpenStorageNodeHandler registers the http handlers for service OpenStorageNode to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageNodeHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageNode", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L2421-L2423
21,897
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageVolumeHandler
func RegisterOpenStorageVolumeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageVolumeHandlerClient(ctx, mux, NewOpenStorageVolumeClient(conn)) }
go
func RegisterOpenStorageVolumeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageVolumeHandlerClient(ctx, mux, NewOpenStorageVolumeClient(conn)) }
[ "func", "RegisterOpenStorageVolumeHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageVolumeHandlerClient", "(", "ctx", ",", "...
// RegisterOpenStorageVolumeHandler registers the http handlers for service OpenStorageVolume to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageVolumeHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageVolume", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L2565-L2567
21,898
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageMountAttachHandler
func RegisterOpenStorageMountAttachHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageMountAttachHandlerClient(ctx, mux, NewOpenStorageMountAttachClient(conn)) }
go
func RegisterOpenStorageMountAttachHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageMountAttachHandlerClient(ctx, mux, NewOpenStorageMountAttachClient(conn)) }
[ "func", "RegisterOpenStorageMountAttachHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageMountAttachHandlerClient", "(", "ctx", ...
// RegisterOpenStorageMountAttachHandler registers the http handlers for service OpenStorageMountAttach to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageMountAttachHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageMountAttach", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L3105-L3107
21,899
libopenstorage/openstorage
api/api.pb.gw.go
RegisterOpenStorageMigrateHandler
func RegisterOpenStorageMigrateHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageMigrateHandlerClient(ctx, mux, NewOpenStorageMigrateClient(conn)) }
go
func RegisterOpenStorageMigrateHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { return RegisterOpenStorageMigrateHandlerClient(ctx, mux, NewOpenStorageMigrateClient(conn)) }
[ "func", "RegisterOpenStorageMigrateHandler", "(", "ctx", "context", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterOpenStorageMigrateHandlerClient", "(", "ctx", ",", ...
// RegisterOpenStorageMigrateHandler registers the http handlers for service OpenStorageMigrate to "mux". // The handlers forward requests to the grpc endpoint over "conn".
[ "RegisterOpenStorageMigrateHandler", "registers", "the", "http", "handlers", "for", "service", "OpenStorageMigrate", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
71b7f37f99c70e697aa31ca57fa8fb1404629329
https://github.com/libopenstorage/openstorage/blob/71b7f37f99c70e697aa31ca57fa8fb1404629329/api/api.pb.gw.go#L3282-L3284