Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentClient ¶
type AgentClient interface {
CreateAgentJoinToken(ctx context.Context, clusterID, trustZoneID string) (string, error)
UpdateAgentStatus(ctx context.Context, status *agentpb.AgentStatus) error
// DEPRECATED: Federated services will move to a separate client.
RegisterFederatedService(ctx context.Context, fs *federatedservicepb.FederatedService) (string, error)
DeregisterFederatedService(ctx context.Context, federatedServiceID string) error
GetFederatedService(ctx context.Context, federatedServiceID string) (*federatedservicepb.FederatedService, error)
UpdateFederatedService(ctx context.Context, fs *federatedservicepb.FederatedService) error
ListFederatedServices(ctx context.Context) ([]*federatedservicepb.FederatedService, error)
}
AgentClient is an interface for a gRPC client for the v1alpha1 version of the Connect AgentService.
func New ¶
func New(conn grpc.ClientConnInterface) AgentClient
New instantiates a new AgentClient for communication with a Connect API.
Click to show internal directories.
Click to hide internal directories.