Documentation
¶
Index ¶
- type Domain
- type Repo
- func (r *Repo) AllocatePlatformEdgeCluster(ctx context.Context, region string, account string) (*entities.PlatformEdgeCluster, error)
- func (r *Repo) GetAllocatedPlatformEdgeCluster(ctx context.Context, account string) (*entities.ClusterAllocation, error)
- func (r *Repo) GetPlatformEdgeCluster(ctx context.Context, clusterName string) (*entities.PlatformEdgeCluster, error)
- func (r *Repo) ListPlatformEdgeClusters(ctx context.Context, region *string) ([]*entities.PlatformEdgeCluster, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domain ¶
type Domain interface {
AllocatePlatformEdgeCluster(ctx context.Context, region string, account string) (*entities.PlatformEdgeCluster, error)
GetAllocatedPlatformEdgeCluster(ctx context.Context, account string) (*entities.ClusterAllocation, error)
ListPlatformEdgeClusters(ctx context.Context, region *string) ([]*entities.PlatformEdgeCluster, error)
}
type Repo ¶
type Repo struct {
EdgeClusters repos.DbRepo[*entities.PlatformEdgeCluster]
AllocatedClusters repos.DbRepo[*entities.ClusterAllocation]
}
func (*Repo) AllocatePlatformEdgeCluster ¶
func (*Repo) GetAllocatedPlatformEdgeCluster ¶
func (*Repo) GetPlatformEdgeCluster ¶
func (*Repo) ListPlatformEdgeClusters ¶
Click to show internal directories.
Click to hide internal directories.