usecase

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListByPathInputData

type ListByPathInputData struct {
	PackagePath string
}

type ListByPathInputPort

type ListByPathInputPort interface {
	Exec(*ListByPathInputData) (*ListByPathOutputData, error)
}

HACK: return OutputData directly so that controller cat return the outputdata to callee.

func NewListByPathInputPort

func NewListByPathInputPort(
	antiAffinityGroupRuleRepository domain.AntiAffinityGroupRuleRepository,
	antiAffinityListRuleRepository domain.AntiAffinityListRuleRepository,
) ListByPathInputPort

type ListByPathOutputData

type ListByPathOutputData struct {
	AntiAffinityGroupRules []*domain.AntiAffinityGroupRule
	AntiAffinityListRules  []*domain.AntiAffinityListRule
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL