github.com/openshift/installer@v1.4.17/pkg/asset/installconfig/powervs/mock/powervsmetadata_generated.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: ./metadata.go
     3  
     4  // Package mock is a generated GoMock package.
     5  package mock
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	gomock "github.com/golang/mock/gomock"
    12  )
    13  
    14  // MockMetadataAPI is a mock of MetadataAPI interface.
    15  type MockMetadataAPI struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockMetadataAPIMockRecorder
    18  }
    19  
    20  // MockMetadataAPIMockRecorder is the mock recorder for MockMetadataAPI.
    21  type MockMetadataAPIMockRecorder struct {
    22  	mock *MockMetadataAPI
    23  }
    24  
    25  // NewMockMetadataAPI creates a new mock instance.
    26  func NewMockMetadataAPI(ctrl *gomock.Controller) *MockMetadataAPI {
    27  	mock := &MockMetadataAPI{ctrl: ctrl}
    28  	mock.recorder = &MockMetadataAPIMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockMetadataAPI) EXPECT() *MockMetadataAPIMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // APIKey mocks base method.
    38  func (m *MockMetadataAPI) APIKey(ctx context.Context) (string, error) {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "APIKey", ctx)
    41  	ret0, _ := ret[0].(string)
    42  	ret1, _ := ret[1].(error)
    43  	return ret0, ret1
    44  }
    45  
    46  // APIKey indicates an expected call of APIKey.
    47  func (mr *MockMetadataAPIMockRecorder) APIKey(ctx interface{}) *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "APIKey", reflect.TypeOf((*MockMetadataAPI)(nil).APIKey), ctx)
    50  }
    51  
    52  // AccountID mocks base method.
    53  func (m *MockMetadataAPI) AccountID(ctx context.Context) (string, error) {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "AccountID", ctx)
    56  	ret0, _ := ret[0].(string)
    57  	ret1, _ := ret[1].(error)
    58  	return ret0, ret1
    59  }
    60  
    61  // AccountID indicates an expected call of AccountID.
    62  func (mr *MockMetadataAPIMockRecorder) AccountID(ctx interface{}) *gomock.Call {
    63  	mr.mock.ctrl.T.Helper()
    64  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AccountID", reflect.TypeOf((*MockMetadataAPI)(nil).AccountID), ctx)
    65  }
    66  
    67  // CISInstanceCRN mocks base method.
    68  func (m *MockMetadataAPI) CISInstanceCRN(ctx context.Context) (string, error) {
    69  	m.ctrl.T.Helper()
    70  	ret := m.ctrl.Call(m, "CISInstanceCRN", ctx)
    71  	ret0, _ := ret[0].(string)
    72  	ret1, _ := ret[1].(error)
    73  	return ret0, ret1
    74  }
    75  
    76  // CISInstanceCRN indicates an expected call of CISInstanceCRN.
    77  func (mr *MockMetadataAPIMockRecorder) CISInstanceCRN(ctx interface{}) *gomock.Call {
    78  	mr.mock.ctrl.T.Helper()
    79  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CISInstanceCRN", reflect.TypeOf((*MockMetadataAPI)(nil).CISInstanceCRN), ctx)
    80  }
    81  
    82  // DNSInstanceCRN mocks base method.
    83  func (m *MockMetadataAPI) DNSInstanceCRN(ctx context.Context) (string, error) {
    84  	m.ctrl.T.Helper()
    85  	ret := m.ctrl.Call(m, "DNSInstanceCRN", ctx)
    86  	ret0, _ := ret[0].(string)
    87  	ret1, _ := ret[1].(error)
    88  	return ret0, ret1
    89  }
    90  
    91  // DNSInstanceCRN indicates an expected call of DNSInstanceCRN.
    92  func (mr *MockMetadataAPIMockRecorder) DNSInstanceCRN(ctx interface{}) *gomock.Call {
    93  	mr.mock.ctrl.T.Helper()
    94  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DNSInstanceCRN", reflect.TypeOf((*MockMetadataAPI)(nil).DNSInstanceCRN), ctx)
    95  }