MCPcopy
hub / github.com/koderover/zadig / Equal

Method Equal

pkg/setting/types.go:47–49  ·  view source on GitHub ↗
(target RequestSpec)

Source from the content-addressed store, hash-verified

45}
46
47func (spec RequestSpec) Equal(target RequestSpec) bool {
48 return spec.CpuReq == target.CpuReq && spec.CpuLimit == target.CpuLimit && spec.MemoryLimit == target.MemoryLimit && spec.MemoryReq == target.MemoryReq
49}
50
51func (spec RequestSpec) FindResourceRequestType() Request {
52 if spec.GpuLimit != "" {

Callers 15

watchTokenFileMethod · 0.80
TestReaperMaskSecretEnvsFunction · 0.80
TestInitGitFunction · 0.80
TestRemoteFunction · 0.80
TestFetchFunction · 0.80
TestMergeFunction · 0.80
TestSetConfigFunction · 0.80
TestGetProxyUrlFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestReaperMaskSecretEnvsFunction · 0.64
TestInitGitFunction · 0.64
TestRemoteFunction · 0.64
TestFetchFunction · 0.64
TestMergeFunction · 0.64
TestSetConfigFunction · 0.64
TestGetProxyUrlFunction · 0.64
TestGetGitlabHostFunction · 0.64
TestSSHCloneURLFunction · 0.64