package repository

import (
	"context"

	"github.com/ocdp/cluster-service/internal/domain/entity"
)

// InstanceEntryClient 从 Kubernetes 集群中查询实例访问入口的接口
type InstanceEntryClient interface {
	// ListEntries 返回指定实例（Helm Release）相关的 Service/Ingress 等入口信息
	ListEntries(ctx context.Context, cluster *entity.Cluster, instance *entity.Instance) ([]*entity.InstanceEntry, error)
}
