Documentation ¶
Index ¶
- func ContainsString(s string) gomock.Matcher
- func MatchesCioAttach(cioCtr cio.Attach) gomock.Matcher
- func MatchesCioCreator(cioCtr cio.Creator) gomock.Matcher
- func MatchesContainerID(t string) gomock.Matcher
- func MatchesContainerImage(name, image string) gomock.Matcher
- func MatchesContainerName(t string) gomock.Matcher
- func MatchesContainerState(id string, state types.State) gomock.Matcher
- func MatchesContainerUpdate(rp *types.RestartPolicy, r *types.Resources) gomock.Matcher
- func MatchesImageDeleteOpts(opts ...images.DeleteOpt) gomock.Matcher
- func MatchesNewContainerOpts(opts ...containerd.NewContainerOpts) gomock.Matcher
- func MatchesNewTaskOpts(opts ...containerd.NewTaskOpts) gomock.Matcher
- func MatchesResolverOpts(opts ...containerd.RemoteOpt) gomock.Matcher
- func MatchesTaskKillOpts(opts ...containerd.KillOpts) gomock.Matcher
- func MatchesUnpackOpts(opts ...containerd.UnpackOpt) gomock.Matcher
- func MatchesUpdateTaskOpts(opts ...containerd.UpdateTaskOpts) gomock.Matcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString returns a Matcher interface for checking whether the actual argument contains the provided string
func MatchesCioAttach ¶
MatchesCioAttach returns a Matcher interface for cio attach function
func MatchesCioCreator ¶
MatchesCioCreator returns a Matcher interface for cio creator function
func MatchesContainerID ¶
MatchesContainerID returns a Matcher interface for the Container's ID
func MatchesContainerImage ¶
MatchesContainerImage returns a Matcher interface for the Container's name and image name
func MatchesContainerName ¶
MatchesContainerName returns a Matcher interface for the Container's name
func MatchesContainerState ¶
MatchesContainerState returns a Matcher interface for the Container's state
func MatchesContainerUpdate ¶
MatchesContainerUpdate returns a Matcher interface for the Container after update Nil field means: do not match.
func MatchesImageDeleteOpts ¶
MatchesImageDeleteOpts returns a Matcher interface for images.DeleteOpt used in variadic functions
func MatchesNewContainerOpts ¶
func MatchesNewContainerOpts(opts ...containerd.NewContainerOpts) gomock.Matcher
MatchesNewContainerOpts returns a Matcher interface for the New Container Opts
func MatchesNewTaskOpts ¶
func MatchesNewTaskOpts(opts ...containerd.NewTaskOpts) gomock.Matcher
MatchesNewTaskOpts returns a Matcher interface for the New Task Opts
func MatchesResolverOpts ¶
func MatchesResolverOpts(opts ...containerd.RemoteOpt) gomock.Matcher
MatchesResolverOpts returns a Matcher interface for containerd.RemoteOpt
func MatchesTaskKillOpts ¶
func MatchesTaskKillOpts(opts ...containerd.KillOpts) gomock.Matcher
MatchesTaskKillOpts returns a Matcher interface for containerd task kill opts
func MatchesUnpackOpts ¶
func MatchesUnpackOpts(opts ...containerd.UnpackOpt) gomock.Matcher
MatchesUnpackOpts returns a Matcher interface for the provided list of containerd.UnpackOpt
func MatchesUpdateTaskOpts ¶
func MatchesUpdateTaskOpts(opts ...containerd.UpdateTaskOpts) gomock.Matcher
MatchesUpdateTaskOpts returns a Matcher interface for the containerd.UpdateTaskOpts
Types ¶
This section is empty.
Source Files ¶
- cio_attach_matcher.go
- cio_creator_matcher.go
- container_id_matcher.go
- container_image_matcher.go
- container_name_matcher.go
- container_state_matcher.go
- container_update_matcher.go
- contains_string_matcher.go
- image_delete_opts_matcher.go
- kill_task_opts_matcher.go
- new_container_opts_matcher.go
- new_task_opts_matcher.go
- resolver_opts_matcher.go
- unpack_opts_matcher.go
- update_task_opts_matcher.go