Documentation ¶
Index ¶
- type FakeMirrorClient
- func (fmc *FakeMirrorClient) CreateMirrorPod(pod *v1.Pod) error
- func (fmc *FakeMirrorClient) DeleteMirrorPod(podFullName string) error
- func (fmc *FakeMirrorClient) GetCounts(podFullName string) (int, int)
- func (fmc *FakeMirrorClient) GetPods() []string
- func (fmc *FakeMirrorClient) HasPod(podFullName string) bool
- func (fmc *FakeMirrorClient) NumOfPods() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMirrorClient ¶
type FakeMirrorClient struct {
// contains filtered or unexported fields
}
func NewFakeMirrorClient ¶
func NewFakeMirrorClient() *FakeMirrorClient
func (*FakeMirrorClient) CreateMirrorPod ¶
func (fmc *FakeMirrorClient) CreateMirrorPod(pod *v1.Pod) error
func (*FakeMirrorClient) DeleteMirrorPod ¶
func (fmc *FakeMirrorClient) DeleteMirrorPod(podFullName string) error
func (*FakeMirrorClient) GetCounts ¶
func (fmc *FakeMirrorClient) GetCounts(podFullName string) (int, int)
func (*FakeMirrorClient) GetPods ¶
func (fmc *FakeMirrorClient) GetPods() []string
func (*FakeMirrorClient) HasPod ¶
func (fmc *FakeMirrorClient) HasPod(podFullName string) bool
func (*FakeMirrorClient) NumOfPods ¶
func (fmc *FakeMirrorClient) NumOfPods() int
Click to show internal directories.
Click to hide internal directories.