Documentation ¶
Overview ¶
Package mock_agentpools is a generated GoMock package.
Index ¶
- type MockAgentPoolScope
- func (m *MockAgentPoolScope) ASOOwner() client.Object
- func (m *MockAgentPoolScope) AgentPoolSpec() azure.ASOResourceSpecGetter[genruntime.MetaObject]
- func (m *MockAgentPoolScope) ClusterName() string
- func (m *MockAgentPoolScope) DefaultedAzureCallTimeout() time.Duration
- func (m *MockAgentPoolScope) DefaultedAzureServiceReconcileTimeout() time.Duration
- func (m *MockAgentPoolScope) DefaultedReconcilerRequeue() time.Duration
- func (m *MockAgentPoolScope) DeleteLongRunningOperationState(arg0, arg1, arg2 string)
- func (m *MockAgentPoolScope) EXPECT() *MockAgentPoolScopeMockRecorder
- func (m *MockAgentPoolScope) GetClient() client.Client
- func (m *MockAgentPoolScope) GetLongRunningOperationState(arg0, arg1, arg2 string) *v1beta1.Future
- func (m *MockAgentPoolScope) IsPreviewEnabled() bool
- func (m *MockAgentPoolScope) Name() string
- func (m *MockAgentPoolScope) NodeResourceGroup() string
- func (m *MockAgentPoolScope) RemoveCAPIMachinePoolAnnotation(key string)
- func (m *MockAgentPoolScope) SetAgentPoolProviderIDList(arg0 []string)
- func (m *MockAgentPoolScope) SetAgentPoolReady(arg0 bool)
- func (m *MockAgentPoolScope) SetAgentPoolReplicas(arg0 int32)
- func (m *MockAgentPoolScope) SetCAPIMachinePoolAnnotation(key, value string)
- func (m *MockAgentPoolScope) SetCAPIMachinePoolReplicas(replicas *int)
- func (m *MockAgentPoolScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockAgentPoolScope) SetSubnetName()
- func (m *MockAgentPoolScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockAgentPoolScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockAgentPoolScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- type MockAgentPoolScopeMockRecorder
- func (mr *MockAgentPoolScopeMockRecorder) ASOOwner() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) AgentPoolSpec() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) DefaultedAzureCallTimeout() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) DefaultedAzureServiceReconcileTimeout() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) DefaultedReconcilerRequeue() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) GetClient() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) IsPreviewEnabled() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) Name() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) NodeResourceGroup() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) RemoveCAPIMachinePoolAnnotation(key any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) SetAgentPoolProviderIDList(arg0 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) SetAgentPoolReady(arg0 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) SetAgentPoolReplicas(arg0 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) SetCAPIMachinePoolAnnotation(key, value any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) SetCAPIMachinePoolReplicas(replicas any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) SetSubnetName() *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockAgentPoolScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAgentPoolScope ¶ added in v1.5.0
type MockAgentPoolScope struct {
// contains filtered or unexported fields
}
MockAgentPoolScope is a mock of AgentPoolScope interface.
func NewMockAgentPoolScope ¶ added in v1.5.0
func NewMockAgentPoolScope(ctrl *gomock.Controller) *MockAgentPoolScope
NewMockAgentPoolScope creates a new mock instance.
func (*MockAgentPoolScope) ASOOwner ¶ added in v1.14.0
func (m *MockAgentPoolScope) ASOOwner() client.Object
ASOOwner mocks base method.
func (*MockAgentPoolScope) AgentPoolSpec ¶ added in v1.5.0
func (m *MockAgentPoolScope) AgentPoolSpec() azure.ASOResourceSpecGetter[genruntime.MetaObject]
AgentPoolSpec mocks base method.
func (*MockAgentPoolScope) ClusterName ¶ added in v1.5.0
func (m *MockAgentPoolScope) ClusterName() string
ClusterName mocks base method.
func (*MockAgentPoolScope) DefaultedAzureCallTimeout ¶ added in v1.13.0
func (m *MockAgentPoolScope) DefaultedAzureCallTimeout() time.Duration
DefaultedAzureCallTimeout mocks base method.
func (*MockAgentPoolScope) DefaultedAzureServiceReconcileTimeout ¶ added in v1.13.0
func (m *MockAgentPoolScope) DefaultedAzureServiceReconcileTimeout() time.Duration
DefaultedAzureServiceReconcileTimeout mocks base method.
func (*MockAgentPoolScope) DefaultedReconcilerRequeue ¶ added in v1.13.0
func (m *MockAgentPoolScope) DefaultedReconcilerRequeue() time.Duration
DefaultedReconcilerRequeue mocks base method.
func (*MockAgentPoolScope) DeleteLongRunningOperationState ¶ added in v1.5.0
func (m *MockAgentPoolScope) DeleteLongRunningOperationState(arg0, arg1, arg2 string)
DeleteLongRunningOperationState mocks base method.
func (*MockAgentPoolScope) EXPECT ¶ added in v1.5.0
func (m *MockAgentPoolScope) EXPECT() *MockAgentPoolScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentPoolScope) GetClient ¶ added in v1.12.0
func (m *MockAgentPoolScope) GetClient() client.Client
GetClient mocks base method.
func (*MockAgentPoolScope) GetLongRunningOperationState ¶ added in v1.5.0
func (m *MockAgentPoolScope) GetLongRunningOperationState(arg0, arg1, arg2 string) *v1beta1.Future
GetLongRunningOperationState mocks base method.
func (*MockAgentPoolScope) IsPreviewEnabled ¶ added in v1.14.0
func (m *MockAgentPoolScope) IsPreviewEnabled() bool
IsPreviewEnabled mocks base method.
func (*MockAgentPoolScope) Name ¶ added in v1.5.0
func (m *MockAgentPoolScope) Name() string
Name mocks base method.
func (*MockAgentPoolScope) NodeResourceGroup ¶ added in v1.5.0
func (m *MockAgentPoolScope) NodeResourceGroup() string
NodeResourceGroup mocks base method.
func (*MockAgentPoolScope) RemoveCAPIMachinePoolAnnotation ¶ added in v1.5.0
func (m *MockAgentPoolScope) RemoveCAPIMachinePoolAnnotation(key string)
RemoveCAPIMachinePoolAnnotation mocks base method.
func (*MockAgentPoolScope) SetAgentPoolProviderIDList ¶ added in v1.5.0
func (m *MockAgentPoolScope) SetAgentPoolProviderIDList(arg0 []string)
SetAgentPoolProviderIDList mocks base method.
func (*MockAgentPoolScope) SetAgentPoolReady ¶ added in v1.5.0
func (m *MockAgentPoolScope) SetAgentPoolReady(arg0 bool)
SetAgentPoolReady mocks base method.
func (*MockAgentPoolScope) SetAgentPoolReplicas ¶ added in v1.5.0
func (m *MockAgentPoolScope) SetAgentPoolReplicas(arg0 int32)
SetAgentPoolReplicas mocks base method.
func (*MockAgentPoolScope) SetCAPIMachinePoolAnnotation ¶ added in v1.5.0
func (m *MockAgentPoolScope) SetCAPIMachinePoolAnnotation(key, value string)
SetCAPIMachinePoolAnnotation mocks base method.
func (*MockAgentPoolScope) SetCAPIMachinePoolReplicas ¶ added in v1.5.0
func (m *MockAgentPoolScope) SetCAPIMachinePoolReplicas(replicas *int)
SetCAPIMachinePoolReplicas mocks base method.
func (*MockAgentPoolScope) SetLongRunningOperationState ¶ added in v1.5.0
func (m *MockAgentPoolScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
SetLongRunningOperationState mocks base method.
func (*MockAgentPoolScope) SetSubnetName ¶ added in v1.9.0
func (m *MockAgentPoolScope) SetSubnetName()
SetSubnetName mocks base method.
func (*MockAgentPoolScope) UpdateDeleteStatus ¶ added in v1.5.0
func (m *MockAgentPoolScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdateDeleteStatus mocks base method.
func (*MockAgentPoolScope) UpdatePatchStatus ¶ added in v1.5.0
func (m *MockAgentPoolScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePatchStatus mocks base method.
func (*MockAgentPoolScope) UpdatePutStatus ¶ added in v1.5.0
func (m *MockAgentPoolScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePutStatus mocks base method.
type MockAgentPoolScopeMockRecorder ¶ added in v1.5.0
type MockAgentPoolScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentPoolScopeMockRecorder is the mock recorder for MockAgentPoolScope.
func (*MockAgentPoolScopeMockRecorder) ASOOwner ¶ added in v1.14.0
func (mr *MockAgentPoolScopeMockRecorder) ASOOwner() *gomock.Call
ASOOwner indicates an expected call of ASOOwner.
func (*MockAgentPoolScopeMockRecorder) AgentPoolSpec ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) AgentPoolSpec() *gomock.Call
AgentPoolSpec indicates an expected call of AgentPoolSpec.
func (*MockAgentPoolScopeMockRecorder) ClusterName ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockAgentPoolScopeMockRecorder) DefaultedAzureCallTimeout ¶ added in v1.13.0
func (mr *MockAgentPoolScopeMockRecorder) DefaultedAzureCallTimeout() *gomock.Call
DefaultedAzureCallTimeout indicates an expected call of DefaultedAzureCallTimeout.
func (*MockAgentPoolScopeMockRecorder) DefaultedAzureServiceReconcileTimeout ¶ added in v1.13.0
func (mr *MockAgentPoolScopeMockRecorder) DefaultedAzureServiceReconcileTimeout() *gomock.Call
DefaultedAzureServiceReconcileTimeout indicates an expected call of DefaultedAzureServiceReconcileTimeout.
func (*MockAgentPoolScopeMockRecorder) DefaultedReconcilerRequeue ¶ added in v1.13.0
func (mr *MockAgentPoolScopeMockRecorder) DefaultedReconcilerRequeue() *gomock.Call
DefaultedReconcilerRequeue indicates an expected call of DefaultedReconcilerRequeue.
func (*MockAgentPoolScopeMockRecorder) DeleteLongRunningOperationState ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockAgentPoolScopeMockRecorder) GetClient ¶ added in v1.12.0
func (mr *MockAgentPoolScopeMockRecorder) GetClient() *gomock.Call
GetClient indicates an expected call of GetClient.
func (*MockAgentPoolScopeMockRecorder) GetLongRunningOperationState ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call
GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.
func (*MockAgentPoolScopeMockRecorder) IsPreviewEnabled ¶ added in v1.14.0
func (mr *MockAgentPoolScopeMockRecorder) IsPreviewEnabled() *gomock.Call
IsPreviewEnabled indicates an expected call of IsPreviewEnabled.
func (*MockAgentPoolScopeMockRecorder) Name ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockAgentPoolScopeMockRecorder) NodeResourceGroup ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) NodeResourceGroup() *gomock.Call
NodeResourceGroup indicates an expected call of NodeResourceGroup.
func (*MockAgentPoolScopeMockRecorder) RemoveCAPIMachinePoolAnnotation ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) RemoveCAPIMachinePoolAnnotation(key any) *gomock.Call
RemoveCAPIMachinePoolAnnotation indicates an expected call of RemoveCAPIMachinePoolAnnotation.
func (*MockAgentPoolScopeMockRecorder) SetAgentPoolProviderIDList ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) SetAgentPoolProviderIDList(arg0 any) *gomock.Call
SetAgentPoolProviderIDList indicates an expected call of SetAgentPoolProviderIDList.
func (*MockAgentPoolScopeMockRecorder) SetAgentPoolReady ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) SetAgentPoolReady(arg0 any) *gomock.Call
SetAgentPoolReady indicates an expected call of SetAgentPoolReady.
func (*MockAgentPoolScopeMockRecorder) SetAgentPoolReplicas ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) SetAgentPoolReplicas(arg0 any) *gomock.Call
SetAgentPoolReplicas indicates an expected call of SetAgentPoolReplicas.
func (*MockAgentPoolScopeMockRecorder) SetCAPIMachinePoolAnnotation ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) SetCAPIMachinePoolAnnotation(key, value any) *gomock.Call
SetCAPIMachinePoolAnnotation indicates an expected call of SetCAPIMachinePoolAnnotation.
func (*MockAgentPoolScopeMockRecorder) SetCAPIMachinePoolReplicas ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) SetCAPIMachinePoolReplicas(replicas any) *gomock.Call
SetCAPIMachinePoolReplicas indicates an expected call of SetCAPIMachinePoolReplicas.
func (*MockAgentPoolScopeMockRecorder) SetLongRunningOperationState ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call
SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
func (*MockAgentPoolScopeMockRecorder) SetSubnetName ¶ added in v1.9.0
func (mr *MockAgentPoolScopeMockRecorder) SetSubnetName() *gomock.Call
SetSubnetName indicates an expected call of SetSubnetName.
func (*MockAgentPoolScopeMockRecorder) UpdateDeleteStatus ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call
UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
func (*MockAgentPoolScopeMockRecorder) UpdatePatchStatus ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call
UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
func (*MockAgentPoolScopeMockRecorder) UpdatePutStatus ¶ added in v1.5.0
func (mr *MockAgentPoolScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *gomock.Call
UpdatePutStatus indicates an expected call of UpdatePutStatus.