Documentation ¶
Overview ¶
Package mock_dynamic is a generated GoMock package.
Index ¶
- type MockDynamic
- func (m *MockDynamic) EXPECT() *MockDynamicMockRecorder
- func (m *MockDynamic) ValidateClusterUserAssignedIdentity(ctx context.Context, ...) error
- func (m *MockDynamic) ValidateDiskEncryptionSets(ctx context.Context, oc *api.OpenShiftCluster) error
- func (m *MockDynamic) ValidateEncryptionAtHost(ctx context.Context, oc *api.OpenShiftCluster) error
- func (m *MockDynamic) ValidateLoadBalancerProfile(ctx context.Context, oc *api.OpenShiftCluster) error
- func (m *MockDynamic) ValidatePlatformWorkloadIdentityProfile(ctx context.Context, oc *api.OpenShiftCluster, ...) error
- func (m *MockDynamic) ValidatePreConfiguredNSGs(ctx context.Context, oc *api.OpenShiftCluster, subnets []dynamic.Subnet) error
- func (m *MockDynamic) ValidateServicePrincipal(ctx context.Context, spTokenCredential azcore.TokenCredential) error
- func (m *MockDynamic) ValidateSubnets(ctx context.Context, oc *api.OpenShiftCluster, subnets []dynamic.Subnet) error
- func (m *MockDynamic) ValidateVnet(ctx context.Context, location string, subnets []dynamic.Subnet, ...) error
- type MockDynamicMockRecorder
- func (mr *MockDynamicMockRecorder) ValidateClusterUserAssignedIdentity(ctx, platformIdentities, roleDefinitions any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidateDiskEncryptionSets(ctx, oc any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidateEncryptionAtHost(ctx, oc any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidateLoadBalancerProfile(ctx, oc any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidatePlatformWorkloadIdentityProfile(ctx, oc, platformWorkloadIdentityRolesByRoleName, roleDefinitions, ... any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidatePreConfiguredNSGs(ctx, oc, subnets any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidateServicePrincipal(ctx, spTokenCredential any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidateSubnets(ctx, oc, subnets any) *gomock.Call
- func (mr *MockDynamicMockRecorder) ValidateVnet(ctx, location, subnets any, additionalCIDRs ...any) *gomock.Call
- type MockServicePrincipalValidator
- type MockServicePrincipalValidatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDynamic ¶
type MockDynamic struct {
// contains filtered or unexported fields
}
MockDynamic is a mock of Dynamic interface.
func NewMockDynamic ¶
func NewMockDynamic(ctrl *gomock.Controller) *MockDynamic
NewMockDynamic creates a new mock instance.
func (*MockDynamic) EXPECT ¶
func (m *MockDynamic) EXPECT() *MockDynamicMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDynamic) ValidateClusterUserAssignedIdentity ¶
func (m *MockDynamic) ValidateClusterUserAssignedIdentity(ctx context.Context, platformIdentities map[string]api.PlatformWorkloadIdentity, roleDefinitions armauthorization.RoleDefinitionsClient) error
ValidateClusterUserAssignedIdentity mocks base method.
func (*MockDynamic) ValidateDiskEncryptionSets ¶
func (m *MockDynamic) ValidateDiskEncryptionSets(ctx context.Context, oc *api.OpenShiftCluster) error
ValidateDiskEncryptionSets mocks base method.
func (*MockDynamic) ValidateEncryptionAtHost ¶
func (m *MockDynamic) ValidateEncryptionAtHost(ctx context.Context, oc *api.OpenShiftCluster) error
ValidateEncryptionAtHost mocks base method.
func (*MockDynamic) ValidateLoadBalancerProfile ¶
func (m *MockDynamic) ValidateLoadBalancerProfile(ctx context.Context, oc *api.OpenShiftCluster) error
ValidateLoadBalancerProfile mocks base method.
func (*MockDynamic) ValidatePlatformWorkloadIdentityProfile ¶
func (m *MockDynamic) ValidatePlatformWorkloadIdentityProfile(ctx context.Context, oc *api.OpenShiftCluster, platformWorkloadIdentityRolesByRoleName map[string]api.PlatformWorkloadIdentityRole, roleDefinitions armauthorization.RoleDefinitionsClient, clusterMsiFederatedIdentityCredentials armmsi.FederatedIdentityCredentialsClient) error
ValidatePlatformWorkloadIdentityProfile mocks base method.
func (*MockDynamic) ValidatePreConfiguredNSGs ¶
func (m *MockDynamic) ValidatePreConfiguredNSGs(ctx context.Context, oc *api.OpenShiftCluster, subnets []dynamic.Subnet) error
ValidatePreConfiguredNSGs mocks base method.
func (*MockDynamic) ValidateServicePrincipal ¶
func (m *MockDynamic) ValidateServicePrincipal(ctx context.Context, spTokenCredential azcore.TokenCredential) error
ValidateServicePrincipal mocks base method.
func (*MockDynamic) ValidateSubnets ¶
func (m *MockDynamic) ValidateSubnets(ctx context.Context, oc *api.OpenShiftCluster, subnets []dynamic.Subnet) error
ValidateSubnets mocks base method.
func (*MockDynamic) ValidateVnet ¶
func (m *MockDynamic) ValidateVnet(ctx context.Context, location string, subnets []dynamic.Subnet, additionalCIDRs ...string) error
ValidateVnet mocks base method.
type MockDynamicMockRecorder ¶
type MockDynamicMockRecorder struct {
// contains filtered or unexported fields
}
MockDynamicMockRecorder is the mock recorder for MockDynamic.
func (*MockDynamicMockRecorder) ValidateClusterUserAssignedIdentity ¶
func (mr *MockDynamicMockRecorder) ValidateClusterUserAssignedIdentity(ctx, platformIdentities, roleDefinitions any) *gomock.Call
ValidateClusterUserAssignedIdentity indicates an expected call of ValidateClusterUserAssignedIdentity.
func (*MockDynamicMockRecorder) ValidateDiskEncryptionSets ¶
func (mr *MockDynamicMockRecorder) ValidateDiskEncryptionSets(ctx, oc any) *gomock.Call
ValidateDiskEncryptionSets indicates an expected call of ValidateDiskEncryptionSets.
func (*MockDynamicMockRecorder) ValidateEncryptionAtHost ¶
func (mr *MockDynamicMockRecorder) ValidateEncryptionAtHost(ctx, oc any) *gomock.Call
ValidateEncryptionAtHost indicates an expected call of ValidateEncryptionAtHost.
func (*MockDynamicMockRecorder) ValidateLoadBalancerProfile ¶
func (mr *MockDynamicMockRecorder) ValidateLoadBalancerProfile(ctx, oc any) *gomock.Call
ValidateLoadBalancerProfile indicates an expected call of ValidateLoadBalancerProfile.
func (*MockDynamicMockRecorder) ValidatePlatformWorkloadIdentityProfile ¶
func (mr *MockDynamicMockRecorder) ValidatePlatformWorkloadIdentityProfile(ctx, oc, platformWorkloadIdentityRolesByRoleName, roleDefinitions, clusterMsiFederatedIdentityCredentials any) *gomock.Call
ValidatePlatformWorkloadIdentityProfile indicates an expected call of ValidatePlatformWorkloadIdentityProfile.
func (*MockDynamicMockRecorder) ValidatePreConfiguredNSGs ¶
func (mr *MockDynamicMockRecorder) ValidatePreConfiguredNSGs(ctx, oc, subnets any) *gomock.Call
ValidatePreConfiguredNSGs indicates an expected call of ValidatePreConfiguredNSGs.
func (*MockDynamicMockRecorder) ValidateServicePrincipal ¶
func (mr *MockDynamicMockRecorder) ValidateServicePrincipal(ctx, spTokenCredential any) *gomock.Call
ValidateServicePrincipal indicates an expected call of ValidateServicePrincipal.
func (*MockDynamicMockRecorder) ValidateSubnets ¶
func (mr *MockDynamicMockRecorder) ValidateSubnets(ctx, oc, subnets any) *gomock.Call
ValidateSubnets indicates an expected call of ValidateSubnets.
func (*MockDynamicMockRecorder) ValidateVnet ¶
func (mr *MockDynamicMockRecorder) ValidateVnet(ctx, location, subnets any, additionalCIDRs ...any) *gomock.Call
ValidateVnet indicates an expected call of ValidateVnet.
type MockServicePrincipalValidator ¶
type MockServicePrincipalValidator struct {
// contains filtered or unexported fields
}
MockServicePrincipalValidator is a mock of ServicePrincipalValidator interface.
func NewMockServicePrincipalValidator ¶
func NewMockServicePrincipalValidator(ctrl *gomock.Controller) *MockServicePrincipalValidator
NewMockServicePrincipalValidator creates a new mock instance.
func (*MockServicePrincipalValidator) EXPECT ¶
func (m *MockServicePrincipalValidator) EXPECT() *MockServicePrincipalValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServicePrincipalValidator) ValidateServicePrincipal ¶
func (m *MockServicePrincipalValidator) ValidateServicePrincipal(ctx context.Context, spTokenCredential azcore.TokenCredential) error
ValidateServicePrincipal mocks base method.
type MockServicePrincipalValidatorMockRecorder ¶
type MockServicePrincipalValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockServicePrincipalValidatorMockRecorder is the mock recorder for MockServicePrincipalValidator.
func (*MockServicePrincipalValidatorMockRecorder) ValidateServicePrincipal ¶
func (mr *MockServicePrincipalValidatorMockRecorder) ValidateServicePrincipal(ctx, spTokenCredential any) *gomock.Call
ValidateServicePrincipal indicates an expected call of ValidateServicePrincipal.