From 8c3c498053d55761f657637800aa54c67689765b Mon Sep 17 00:00:00 2001 From: shysank Date: Mon, 21 Mar 2022 22:32:59 -0700 Subject: [PATCH] add generated mocks --- azure/mock_azure/azure_mock.go | 66 +++++++++++++++++++ .../availabilitysets_mock.go | 14 ++++ .../mocks_bastionhosts/bastionhosts_mock.go | 14 ++++ azure/services/disks/mock_disks/disks_mock.go | 14 ++++ .../inboundnatrules_mock.go | 14 ++++ .../mock_loadbalancers/loadbalancers_mock.go | 14 ++++ .../managedclusters_mock.go | 14 ++++ .../mock_natgateways/natgateways_mock.go | 14 ++++ .../networkinterfaces_mock.go | 14 ++++ .../mock_privatedns/privatedns_mock.go | 14 ++++ .../mock_publicips/publicips_mock.go | 14 ++++ .../roleassignments_mock.go | 14 ++++ .../mock_scalesets/scalesets_mock.go | 14 ++++ .../mock_scalesetvms/scalesetvms_mock.go | 14 ++++ .../subnets/mock_subnets/subnets_mock.go | 14 ++++ .../mock_vmextensions/vmextensions_mock.go | 14 ++++ .../vmssextensions_mock.go | 14 ++++ 17 files changed, 290 insertions(+) diff --git a/azure/mock_azure/azure_mock.go b/azure/mock_azure/azure_mock.go index 0f1d092bf186..0bc76a3d2215 100644 --- a/azure/mock_azure/azure_mock.go +++ b/azure/mock_azure/azure_mock.go @@ -746,6 +746,20 @@ func (mr *MockClusterDescriberMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockClusterDescriber)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockClusterDescriber) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockClusterDescriberMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockClusterDescriber)(nil).SecureBootstrapEnabled)) +} + // SubscriptionID mocks base method. func (m *MockClusterDescriber) SubscriptionID() string { m.ctrl.T.Helper() @@ -1244,6 +1258,20 @@ func (mr *MockClusterScoperMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockClusterScoper)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockClusterScoper) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockClusterScoperMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockClusterScoper)(nil).SecureBootstrapEnabled)) +} + // SetSubnet mocks base method. func (m *MockClusterScoper) SetSubnet(arg0 v1beta1.SubnetSpec) { m.ctrl.T.Helper() @@ -1405,3 +1433,41 @@ func (mr *MockResourceSpecGetterMockRecorder) ResourceName() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceName", reflect.TypeOf((*MockResourceSpecGetter)(nil).ResourceName)) } + +// MockUserDataResolver is a mock of UserDataResolver interface. +type MockUserDataResolver struct { + ctrl *gomock.Controller + recorder *MockUserDataResolverMockRecorder +} + +// MockUserDataResolverMockRecorder is the mock recorder for MockUserDataResolver. +type MockUserDataResolverMockRecorder struct { + mock *MockUserDataResolver +} + +// NewMockUserDataResolver creates a new mock instance. +func NewMockUserDataResolver(ctrl *gomock.Controller) *MockUserDataResolver { + mock := &MockUserDataResolver{ctrl: ctrl} + mock.recorder = &MockUserDataResolverMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockUserDataResolver) EXPECT() *MockUserDataResolverMockRecorder { + return m.recorder +} + +// ResolveUserData mocks base method. +func (m *MockUserDataResolver) ResolveUserData() ([]byte, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ResolveUserData") + ret0, _ := ret[0].([]byte) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ResolveUserData indicates an expected call of ResolveUserData. +func (mr *MockUserDataResolverMockRecorder) ResolveUserData() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResolveUserData", reflect.TypeOf((*MockUserDataResolver)(nil).ResolveUserData)) +} diff --git a/azure/services/availabilitysets/mock_availabilitysets/availabilitysets_mock.go b/azure/services/availabilitysets/mock_availabilitysets/availabilitysets_mock.go index 58aaf983974d..5c0ba9696e53 100644 --- a/azure/services/availabilitysets/mock_availabilitysets/availabilitysets_mock.go +++ b/azure/services/availabilitysets/mock_availabilitysets/availabilitysets_mock.go @@ -275,6 +275,20 @@ func (mr *MockAvailabilitySetScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockAvailabilitySetScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockAvailabilitySetScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockAvailabilitySetScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockAvailabilitySetScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockAvailabilitySetScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/bastionhosts/mocks_bastionhosts/bastionhosts_mock.go b/azure/services/bastionhosts/mocks_bastionhosts/bastionhosts_mock.go index b618546fd1f2..2e231f0970b2 100644 --- a/azure/services/bastionhosts/mocks_bastionhosts/bastionhosts_mock.go +++ b/azure/services/bastionhosts/mocks_bastionhosts/bastionhosts_mock.go @@ -443,6 +443,20 @@ func (mr *MockBastionScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockBastionScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockBastionScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockBastionScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockBastionScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockBastionScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/disks/mock_disks/disks_mock.go b/azure/services/disks/mock_disks/disks_mock.go index 0d6e14b30bb5..3e6948f050a9 100644 --- a/azure/services/disks/mock_disks/disks_mock.go +++ b/azure/services/disks/mock_disks/disks_mock.go @@ -275,6 +275,20 @@ func (mr *MockDiskScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockDiskScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockDiskScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockDiskScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockDiskScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockDiskScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/inboundnatrules/mock_inboundnatrules/inboundnatrules_mock.go b/azure/services/inboundnatrules/mock_inboundnatrules/inboundnatrules_mock.go index 9cb5e890bc5a..b6753bbe1228 100644 --- a/azure/services/inboundnatrules/mock_inboundnatrules/inboundnatrules_mock.go +++ b/azure/services/inboundnatrules/mock_inboundnatrules/inboundnatrules_mock.go @@ -289,6 +289,20 @@ func (mr *MockInboundNatScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockInboundNatScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockInboundNatScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockInboundNatScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockInboundNatScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockInboundNatScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/loadbalancers/mock_loadbalancers/loadbalancers_mock.go b/azure/services/loadbalancers/mock_loadbalancers/loadbalancers_mock.go index 8bec59fd9d44..069f4d464ac3 100644 --- a/azure/services/loadbalancers/mock_loadbalancers/loadbalancers_mock.go +++ b/azure/services/loadbalancers/mock_loadbalancers/loadbalancers_mock.go @@ -443,6 +443,20 @@ func (mr *MockLBScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockLBScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockLBScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockLBScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockLBScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockLBScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/managedclusters/mock_managedclusters/managedclusters_mock.go b/azure/services/managedclusters/mock_managedclusters/managedclusters_mock.go index 6dc606e5652c..b6d996efcc77 100644 --- a/azure/services/managedclusters/mock_managedclusters/managedclusters_mock.go +++ b/azure/services/managedclusters/mock_managedclusters/managedclusters_mock.go @@ -309,6 +309,20 @@ func (mr *MockManagedClusterScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockManagedClusterScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockManagedClusterScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockManagedClusterScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockManagedClusterScope)(nil).SecureBootstrapEnabled)) +} + // SetControlPlaneEndpoint mocks base method. func (m *MockManagedClusterScope) SetControlPlaneEndpoint(arg0 v1beta10.APIEndpoint) { m.ctrl.T.Helper() diff --git a/azure/services/natgateways/mock_natgateways/natgateways_mock.go b/azure/services/natgateways/mock_natgateways/natgateways_mock.go index af547f8ebcab..540a7938adca 100644 --- a/azure/services/natgateways/mock_natgateways/natgateways_mock.go +++ b/azure/services/natgateways/mock_natgateways/natgateways_mock.go @@ -443,6 +443,20 @@ func (mr *MockNatGatewayScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockNatGatewayScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockNatGatewayScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockNatGatewayScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockNatGatewayScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockNatGatewayScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/networkinterfaces/mock_networkinterfaces/networkinterfaces_mock.go b/azure/services/networkinterfaces/mock_networkinterfaces/networkinterfaces_mock.go index 0abcd0143ee2..eec15b18255b 100644 --- a/azure/services/networkinterfaces/mock_networkinterfaces/networkinterfaces_mock.go +++ b/azure/services/networkinterfaces/mock_networkinterfaces/networkinterfaces_mock.go @@ -275,6 +275,20 @@ func (mr *MockNICScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockNICScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockNICScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockNICScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockNICScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockNICScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/privatedns/mock_privatedns/privatedns_mock.go b/azure/services/privatedns/mock_privatedns/privatedns_mock.go index b071e4e5e1f2..7e7d6b7a88e5 100644 --- a/azure/services/privatedns/mock_privatedns/privatedns_mock.go +++ b/azure/services/privatedns/mock_privatedns/privatedns_mock.go @@ -248,6 +248,20 @@ func (mr *MockScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockScope)(nil).SecureBootstrapEnabled)) +} + // SubscriptionID mocks base method. func (m *MockScope) SubscriptionID() string { m.ctrl.T.Helper() diff --git a/azure/services/publicips/mock_publicips/publicips_mock.go b/azure/services/publicips/mock_publicips/publicips_mock.go index 3e2c9c22195e..8740eeb6fe33 100644 --- a/azure/services/publicips/mock_publicips/publicips_mock.go +++ b/azure/services/publicips/mock_publicips/publicips_mock.go @@ -248,6 +248,20 @@ func (mr *MockPublicIPScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockPublicIPScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockPublicIPScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockPublicIPScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockPublicIPScope)(nil).SecureBootstrapEnabled)) +} + // SubscriptionID mocks base method. func (m *MockPublicIPScope) SubscriptionID() string { m.ctrl.T.Helper() diff --git a/azure/services/roleassignments/mock_roleassignments/roleassignments_mock.go b/azure/services/roleassignments/mock_roleassignments/roleassignments_mock.go index 5f2b86d03f45..cb588287d959 100644 --- a/azure/services/roleassignments/mock_roleassignments/roleassignments_mock.go +++ b/azure/services/roleassignments/mock_roleassignments/roleassignments_mock.go @@ -248,6 +248,20 @@ func (mr *MockRoleAssignmentScopeMockRecorder) RoleAssignmentSpecs() *gomock.Cal return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleAssignmentSpecs", reflect.TypeOf((*MockRoleAssignmentScope)(nil).RoleAssignmentSpecs)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockRoleAssignmentScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockRoleAssignmentScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockRoleAssignmentScope)(nil).SecureBootstrapEnabled)) +} + // SubscriptionID mocks base method. func (m *MockRoleAssignmentScope) SubscriptionID() string { m.ctrl.T.Helper() diff --git a/azure/services/scalesets/mock_scalesets/scalesets_mock.go b/azure/services/scalesets/mock_scalesets/scalesets_mock.go index 623a616200f5..6f3f4e35cc09 100644 --- a/azure/services/scalesets/mock_scalesets/scalesets_mock.go +++ b/azure/services/scalesets/mock_scalesets/scalesets_mock.go @@ -333,6 +333,20 @@ func (mr *MockScaleSetScopeMockRecorder) ScaleSetSpec() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ScaleSetSpec", reflect.TypeOf((*MockScaleSetScope)(nil).ScaleSetSpec)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockScaleSetScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockScaleSetScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockScaleSetScope)(nil).SecureBootstrapEnabled)) +} + // SetAnnotation mocks base method. func (m *MockScaleSetScope) SetAnnotation(arg0, arg1 string) { m.ctrl.T.Helper() diff --git a/azure/services/scalesetvms/mock_scalesetvms/scalesetvms_mock.go b/azure/services/scalesetvms/mock_scalesetvms/scalesetvms_mock.go index b87598c14263..27cfd1aaf929 100644 --- a/azure/services/scalesetvms/mock_scalesetvms/scalesetvms_mock.go +++ b/azure/services/scalesetvms/mock_scalesetvms/scalesetvms_mock.go @@ -289,6 +289,20 @@ func (mr *MockScaleSetVMScopeMockRecorder) ScaleSetName() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ScaleSetName", reflect.TypeOf((*MockScaleSetVMScope)(nil).ScaleSetName)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockScaleSetVMScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockScaleSetVMScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockScaleSetVMScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockScaleSetVMScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/subnets/mock_subnets/subnets_mock.go b/azure/services/subnets/mock_subnets/subnets_mock.go index 8d787dd8e434..c6595afed142 100644 --- a/azure/services/subnets/mock_subnets/subnets_mock.go +++ b/azure/services/subnets/mock_subnets/subnets_mock.go @@ -429,6 +429,20 @@ func (mr *MockSubnetScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockSubnetScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockSubnetScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockSubnetScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockSubnetScope)(nil).SecureBootstrapEnabled)) +} + // SetLongRunningOperationState mocks base method. func (m *MockSubnetScope) SetLongRunningOperationState(arg0 *v1beta1.Future) { m.ctrl.T.Helper() diff --git a/azure/services/vmextensions/mock_vmextensions/vmextensions_mock.go b/azure/services/vmextensions/mock_vmextensions/vmextensions_mock.go index 298108959a82..d72eb15cd351 100644 --- a/azure/services/vmextensions/mock_vmextensions/vmextensions_mock.go +++ b/azure/services/vmextensions/mock_vmextensions/vmextensions_mock.go @@ -235,6 +235,20 @@ func (mr *MockVMExtensionScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockVMExtensionScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockVMExtensionScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockVMExtensionScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockVMExtensionScope)(nil).SecureBootstrapEnabled)) +} + // SetBootstrapConditions mocks base method. func (m *MockVMExtensionScope) SetBootstrapConditions(arg0 context.Context, arg1, arg2 string) error { m.ctrl.T.Helper() diff --git a/azure/services/vmssextensions/mock_vmssextensions/vmssextensions_mock.go b/azure/services/vmssextensions/mock_vmssextensions/vmssextensions_mock.go index 40b2cb626e9f..9ed2b64f3eb2 100644 --- a/azure/services/vmssextensions/mock_vmssextensions/vmssextensions_mock.go +++ b/azure/services/vmssextensions/mock_vmssextensions/vmssextensions_mock.go @@ -235,6 +235,20 @@ func (mr *MockVMSSExtensionScopeMockRecorder) ResourceGroup() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResourceGroup", reflect.TypeOf((*MockVMSSExtensionScope)(nil).ResourceGroup)) } +// SecureBootstrapEnabled mocks base method. +func (m *MockVMSSExtensionScope) SecureBootstrapEnabled() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SecureBootstrapEnabled") + ret0, _ := ret[0].(bool) + return ret0 +} + +// SecureBootstrapEnabled indicates an expected call of SecureBootstrapEnabled. +func (mr *MockVMSSExtensionScopeMockRecorder) SecureBootstrapEnabled() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecureBootstrapEnabled", reflect.TypeOf((*MockVMSSExtensionScope)(nil).SecureBootstrapEnabled)) +} + // SetBootstrapConditions mocks base method. func (m *MockVMSSExtensionScope) SetBootstrapConditions(arg0 context.Context, arg1, arg2 string) error { m.ctrl.T.Helper()