Skip to content
Snippets Groups Projects
Select Git revision
  • e913a252cd1557ac818d65f1f493ecf2df78f0bd
  • master default protected
  • prompt-none
  • connector-ldap-fix-tests
  • approval
  • also-push-image-with-commit-sha-tag
  • hdacloud
  • dependabot/go_modules/api/v2/google.golang.org/grpc-1.69.4
  • dependabot/go_modules/examples/google.golang.org/grpc-1.69.4
  • dependabot/docker/distroless/static-debian12-6ec5aa9
  • dependabot/docker/golang-2314d93
  • dependabot/go_modules/golang.org/x/net-0.34.0
  • dependabot/go_modules/google.golang.org/api-0.216.0
  • dependabot/github_actions/actions/cache-4.2.0
  • dependabot/github_actions/docker/setup-buildx-action-3.8.0
  • dependabot/github_actions/helm/kind-action-1.12.0
  • dependabot/github_actions/docker/setup-qemu-action-3.3.0
  • dependabot/github_actions/anchore/sbom-action-0.17.9
  • update-go
  • dependabot/go_modules/examples/go_modules-232a611e2d
  • dependabot/go_modules/go_modules-232a611e2d
  • api/v2.2.0
  • v2.41.1
  • v2.41.0
  • v2.40.0
  • v2.39.1
  • v2.39.0
  • v2.38.0
  • v2.37.0
  • v2.36.0
  • v2.35.3
  • v2.35.2
  • v2.35.1
  • v2.35.0
  • v2.32.1
  • v2.34.0
  • v2.33.1
  • v2.33.0
  • v2.32.0
  • v2.31.2
  • v2.31.1
41 results

api.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    PrincipalNetworkDomain.go 4.04 KiB
    // Code generated by mockery v2.6.0. DO NOT EDIT.
    
    package mocks
    
    import (
    	mock "github.com/stretchr/testify/mock"
    
    	uuid "github.com/google/uuid"
    )
    
    // PrincipalNetworkDomain is an autogenerated mock type for the PrincipalNetworkDomain type
    type PrincipalNetworkDomain struct {
    	mock.Mock
    }
    
    // AddDevice provides a mock function with given fields: _a0
    func (_m *PrincipalNetworkDomain) AddDevice(_a0 interface{}) error {
    	ret := _m.Called(_a0)
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func(interface{}) error); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }
    
    // AddSbi provides a mock function with given fields: _a0
    func (_m *PrincipalNetworkDomain) AddSbi(_a0 interface{}) error {
    	ret := _m.Called(_a0)
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func(interface{}) error); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }
    
    // ContainsDevice provides a mock function with given fields: _a0
    func (_m *PrincipalNetworkDomain) ContainsDevice(_a0 uuid.UUID) bool {
    	ret := _m.Called(_a0)
    
    	var r0 bool
    	if rf, ok := ret.Get(0).(func(uuid.UUID) bool); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Get(0).(bool)
    	}
    
    	return r0
    }
    
    // Destroy provides a mock function with given fields:
    func (_m *PrincipalNetworkDomain) Destroy() error {
    	ret := _m.Called()
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func() error); ok {
    		r0 = rf()
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }
    
    // GetDescription provides a mock function with given fields:
    func (_m *PrincipalNetworkDomain) GetDescription() string {
    	ret := _m.Called()
    
    	var r0 string
    	if rf, ok := ret.Get(0).(func() string); ok {
    		r0 = rf()
    	} else {
    		r0 = ret.Get(0).(string)
    	}
    
    	return r0
    }
    
    // GetName provides a mock function with given fields:
    func (_m *PrincipalNetworkDomain) GetName() string {
    	ret := _m.Called()
    
    	var r0 string
    	if rf, ok := ret.Get(0).(func() string); ok {
    		r0 = rf()
    	} else {
    		r0 = ret.Get(0).(string)
    	}
    
    	return r0
    }
    
    // GetSBIs provides a mock function with given fields:
    func (_m *PrincipalNetworkDomain) GetSBIs() interface{} {
    	ret := _m.Called()
    
    	var r0 interface{}
    	if rf, ok := ret.Get(0).(func() interface{}); ok {
    		r0 = rf()
    	} else {
    		if ret.Get(0) != nil {
    			r0 = ret.Get(0).(interface{})
    		}
    	}
    
    	return r0
    }
    
    // Id provides a mock function with given fields:
    func (_m *PrincipalNetworkDomain) Id() uuid.UUID {
    	ret := _m.Called()
    
    	var r0 uuid.UUID
    	if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
    		r0 = rf()
    	} else {
    		if ret.Get(0) != nil {
    			r0 = ret.Get(0).(uuid.UUID)
    		}
    	}
    
    	return r0
    }
    
    // MarshalDevice provides a mock function with given fields: _a0
    func (_m *PrincipalNetworkDomain) MarshalDevice(_a0 uuid.UUID) (string, error) {
    	ret := _m.Called(_a0)
    
    	var r0 string
    	if rf, ok := ret.Get(0).(func(uuid.UUID) string); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Get(0).(string)
    	}
    
    	var r1 error
    	if rf, ok := ret.Get(1).(func(uuid.UUID) error); ok {
    		r1 = rf(_a0)
    	} else {
    		r1 = ret.Error(1)
    	}
    
    	return r0, r1
    }
    
    // RemoveDevice provides a mock function with given fields: _a0
    func (_m *PrincipalNetworkDomain) RemoveDevice(_a0 uuid.UUID) error {
    	ret := _m.Called(_a0)
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func(uuid.UUID) error); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }
    
    // RemoveSbi provides a mock function with given fields: _a0
    func (_m *PrincipalNetworkDomain) RemoveSbi(_a0 uuid.UUID) error {
    	ret := _m.Called(_a0)
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func(uuid.UUID) error); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }
    
    // Request provides a mock function with given fields: _a0, _a1
    func (_m *PrincipalNetworkDomain) Request(_a0 uuid.UUID, _a1 string) error {
    	ret := _m.Called(_a0, _a1)
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func(uuid.UUID, string) error); ok {
    		r0 = rf(_a0, _a1)
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }
    
    // RequestAll provides a mock function with given fields: _a0
    func (_m *PrincipalNetworkDomain) RequestAll(_a0 string) error {
    	ret := _m.Called(_a0)
    
    	var r0 error
    	if rf, ok := ret.Get(0).(func(string) error); ok {
    		r0 = rf(_a0)
    	} else {
    		r0 = ret.Error(0)
    	}
    
    	return r0
    }