unifiedresources

package
v0.0.0-...-f927bc5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// See auth.ClientI.ListUnifiedResources.
	ListUnifiedResources(ctx context.Context, req *proto.ListUnifiedResourcesRequest) (*proto.ListUnifiedResourcesResponse, error)
}

Client represents auth.ClientI methods used by List. During a normal operation, auth.ClientI is passed as this interface.

type ListResponse

type ListResponse struct {
	Resources []UnifiedResource
	NextKey   string
}

func List

type UnifiedResource

type UnifiedResource struct {
	Server   *clusters.Server
	Database *clusters.Database
	Kube     *clusters.Kube
}

UnifiedResource combines all resource types into a single struct. Only one filed should be set at a time.

Jump to

Keyboard shortcuts

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