X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=RSM%2Fmocks%2Frnib_reader_mock.go;h=3d2fff94a5c454445c42a384254eed45ad25f4da;hb=refs%2Fchanges%2F70%2F2070%2F1;hp=7d18fe741d40a1671bcb1c30c5c40a4a60e4579e;hpb=7b80668df78103cebafdfb7caa0070dc92ed3779;p=ric-plt%2Fresource-status-manager.git diff --git a/RSM/mocks/rnib_reader_mock.go b/RSM/mocks/rnib_reader_mock.go index 7d18fe7..3d2fff9 100644 --- a/RSM/mocks/rnib_reader_mock.go +++ b/RSM/mocks/rnib_reader_mock.go @@ -13,7 +13,10 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// + +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package mocks import ( @@ -146,3 +149,18 @@ func (m *RnibReaderMock) GetRanLoadInformation(inventoryName string) (*entities. return args.Get(0).(*entities.RanLoadInformation), nil } + +func (m *RnibReaderMock) GetE2TInstance(e2taddress string) (*entities.E2TInstance, error) { + args := m.Called(e2taddress) + return args.Get(0).(*entities.E2TInstance), args.Error(1) +} + +func (m *RnibReaderMock) GetE2TInstances(addresses []string) ([]*entities.E2TInstance, error) { + args := m.Called(addresses) + return args.Get(0).([]*entities.E2TInstance), args.Error(1) +} + +func (m *RnibReaderMock) GetE2TAddresses() ([]string, error) { + args := m.Called() + return args.Get(0).([]string), args.Error(1) +}