Documentation ¶
Index ¶
- Constants
- func NewHuntGroupsServiceHandler(svc HuntGroupsServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- type HuntGroupsServiceClient
- type HuntGroupsServiceHandler
- type UnimplementedHuntGroupsServiceHandler
- func (UnimplementedHuntGroupsServiceHandler) AdminCopyHuntGroupToOrganization(context.Context, ...) (*connect_go.Response[v1alpha1.AdminCopyHuntGroupToOrganizationResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) AdminListHuntGroups(context.Context, *connect_go.Request[v1alpha1.AdminListHuntGroupsRequest]) (*connect_go.Response[v1alpha1.AdminListHuntGroupsResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupAgentTrigger(context.Context, ...) (*connect_go.Response[v1alpha1.CopyHuntGroupAgentTriggerResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupExileLink(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupExileLinkRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupExileLinkResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupToOrganization(context.Context, ...) (*connect_go.Response[v1alpha1.CopyHuntGroupToOrganizationResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) ListAgentScripts(context.Context, *connect_go.Request[v1alpha1.ListAgentScriptsRequest], ...) error
- func (UnimplementedHuntGroupsServiceHandler) ListHuntGroupAgentTriggers(context.Context, ...) (*connect_go.Response[v1alpha1.ListHuntGroupAgentTriggersResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) ListHuntGroupExileLinks(context.Context, *connect_go.Request[v1alpha1.ListHuntGroupExileLinksRequest]) (*connect_go.Response[v1alpha1.ListHuntGroupExileLinksResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) UpdateHuntGroupAgentTriggers(context.Context, ...) (*connect_go.Response[v1alpha1.UpdateHuntGroupAgentTriggersResponse], error)
- func (UnimplementedHuntGroupsServiceHandler) UpdateHuntGroupExileLinks(context.Context, ...) (*connect_go.Response[v1alpha1.UpdateHuntGroupExileLinksResponse], error)
Constants ¶
const ( // HuntGroupsServiceListHuntGroupExileLinksProcedure is the fully-qualified name of the // HuntGroupsService's ListHuntGroupExileLinks RPC. HuntGroupsServiceListHuntGroupExileLinksProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/ListHuntGroupExileLinks" // HuntGroupsServiceCopyHuntGroupExileLinkProcedure is the fully-qualified name of the // HuntGroupsService's CopyHuntGroupExileLink RPC. HuntGroupsServiceCopyHuntGroupExileLinkProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/CopyHuntGroupExileLink" // HuntGroupsServiceUpdateHuntGroupExileLinksProcedure is the fully-qualified name of the // HuntGroupsService's UpdateHuntGroupExileLinks RPC. HuntGroupsServiceUpdateHuntGroupExileLinksProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/UpdateHuntGroupExileLinks" // HuntGroupsServiceListHuntGroupAgentTriggersProcedure is the fully-qualified name of the // HuntGroupsService's ListHuntGroupAgentTriggers RPC. HuntGroupsServiceListHuntGroupAgentTriggersProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/ListHuntGroupAgentTriggers" // HuntGroupsServiceCopyHuntGroupAgentTriggerProcedure is the fully-qualified name of the // HuntGroupsService's CopyHuntGroupAgentTrigger RPC. HuntGroupsServiceCopyHuntGroupAgentTriggerProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/CopyHuntGroupAgentTrigger" // HuntGroupsServiceUpdateHuntGroupAgentTriggersProcedure is the fully-qualified name of the // HuntGroupsService's UpdateHuntGroupAgentTriggers RPC. HuntGroupsServiceUpdateHuntGroupAgentTriggersProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/UpdateHuntGroupAgentTriggers" // HuntGroupsServiceCopyHuntGroupToOrganizationProcedure is the fully-qualified name of the // HuntGroupsService's CopyHuntGroupToOrganization RPC. HuntGroupsServiceCopyHuntGroupToOrganizationProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/CopyHuntGroupToOrganization" // HuntGroupsServiceAdminCopyHuntGroupToOrganizationProcedure is the fully-qualified name of the // HuntGroupsService's AdminCopyHuntGroupToOrganization RPC. HuntGroupsServiceAdminCopyHuntGroupToOrganizationProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/AdminCopyHuntGroupToOrganization" // HuntGroupsServiceAdminListHuntGroupsProcedure is the fully-qualified name of the // HuntGroupsService's AdminListHuntGroups RPC. HuntGroupsServiceAdminListHuntGroupsProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/AdminListHuntGroups" // HuntGroupsServiceListAgentScriptsProcedure is the fully-qualified name of the HuntGroupsService's // ListAgentScripts RPC. HuntGroupsServiceListAgentScriptsProcedure = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/ListAgentScripts" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// HuntGroupsServiceName is the fully-qualified name of the HuntGroupsService service.
HuntGroupsServiceName = "services.org.hunt_groups.v1alpha1.HuntGroupsService"
)
Variables ¶
This section is empty.
Functions ¶
func NewHuntGroupsServiceHandler ¶
func NewHuntGroupsServiceHandler(svc HuntGroupsServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewHuntGroupsServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type HuntGroupsServiceClient ¶
type HuntGroupsServiceClient interface { // ListHuntGroupExileLinks returns a list of Exile links for a given hunt group. ListHuntGroupExileLinks(context.Context, *connect_go.Request[v1alpha1.ListHuntGroupExileLinksRequest]) (*connect_go.Response[v1alpha1.ListHuntGroupExileLinksResponse], error) // CopyHuntGroupExileLink copies an exile link from one hunt group to another. // It will create a new exile link in the destination hunt group with the same // settings/parameters as the source exile link. CopyHuntGroupExileLink(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupExileLinkRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupExileLinkResponse], error) // UpdateHuntGroupExileLinks updates the exile links for a hunt group. // It will create any new exile links that do not already exist in the hunt group, // update any existing exile links with the new settings/parameters, and // delete any exile links that are not in the request. UpdateHuntGroupExileLinks(context.Context, *connect_go.Request[v1alpha1.UpdateHuntGroupExileLinksRequest]) (*connect_go.Response[v1alpha1.UpdateHuntGroupExileLinksResponse], error) // ListHuntGroupAgentTriggers returns a list of agent triggers for the given hunt group. ListHuntGroupAgentTriggers(context.Context, *connect_go.Request[v1alpha1.ListHuntGroupAgentTriggersRequest]) (*connect_go.Response[v1alpha1.ListHuntGroupAgentTriggersResponse], error) // CopyHuntGroupAgentTrigger copys an agent trigger to the given hunt group in the same org. CopyHuntGroupAgentTrigger(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupAgentTriggerRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupAgentTriggerResponse], error) // UpdateHuntGroupAgentTriggers updates all agent triggers for the given hunt group. UpdateHuntGroupAgentTriggers(context.Context, *connect_go.Request[v1alpha1.UpdateHuntGroupAgentTriggersRequest]) (*connect_go.Response[v1alpha1.UpdateHuntGroupAgentTriggersResponse], error) // CopyHuntGroupToOrganization copies a hunt group to a different organization. // The destination organization must be a child of the source organization. // This would create a new hunt group in the destination organization with the same // settings/parameters and all associated data (skill, call-queue config) as the source hunt group. CopyHuntGroupToOrganization(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupToOrganizationRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupToOrganizationResponse], error) // AdminCopyHuntGroupToOrganization copies a hunt group to a different organization. // This will create a new hunt group in the destination organization with the same // settings/parameters and all associated data (skill, call-queue config) as the source hunt group. AdminCopyHuntGroupToOrganization(context.Context, *connect_go.Request[v1alpha1.AdminCopyHuntGroupToOrganizationRequest]) (*connect_go.Response[v1alpha1.AdminCopyHuntGroupToOrganizationResponse], error) // AdminListHuntGroups returns a list of hunt groups for the given organization. AdminListHuntGroups(context.Context, *connect_go.Request[v1alpha1.AdminListHuntGroupsRequest]) (*connect_go.Response[v1alpha1.AdminListHuntGroupsResponse], error) // ListAgentScripts returns a list of agent scripts for the given organization. ListAgentScripts(context.Context, *connect_go.Request[v1alpha1.ListAgentScriptsRequest]) (*connect_go.ServerStreamForClient[v1alpha1.ListAgentScriptsResponse], error) }
HuntGroupsServiceClient is a client for the services.org.hunt_groups.v1alpha1.HuntGroupsService service.
func NewHuntGroupsServiceClient ¶
func NewHuntGroupsServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) HuntGroupsServiceClient
NewHuntGroupsServiceClient constructs a client for the services.org.hunt_groups.v1alpha1.HuntGroupsService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type HuntGroupsServiceHandler ¶
type HuntGroupsServiceHandler interface { // ListHuntGroupExileLinks returns a list of Exile links for a given hunt group. ListHuntGroupExileLinks(context.Context, *connect_go.Request[v1alpha1.ListHuntGroupExileLinksRequest]) (*connect_go.Response[v1alpha1.ListHuntGroupExileLinksResponse], error) // CopyHuntGroupExileLink copies an exile link from one hunt group to another. // It will create a new exile link in the destination hunt group with the same // settings/parameters as the source exile link. CopyHuntGroupExileLink(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupExileLinkRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupExileLinkResponse], error) // UpdateHuntGroupExileLinks updates the exile links for a hunt group. // It will create any new exile links that do not already exist in the hunt group, // update any existing exile links with the new settings/parameters, and // delete any exile links that are not in the request. UpdateHuntGroupExileLinks(context.Context, *connect_go.Request[v1alpha1.UpdateHuntGroupExileLinksRequest]) (*connect_go.Response[v1alpha1.UpdateHuntGroupExileLinksResponse], error) // ListHuntGroupAgentTriggers returns a list of agent triggers for the given hunt group. ListHuntGroupAgentTriggers(context.Context, *connect_go.Request[v1alpha1.ListHuntGroupAgentTriggersRequest]) (*connect_go.Response[v1alpha1.ListHuntGroupAgentTriggersResponse], error) // CopyHuntGroupAgentTrigger copys an agent trigger to the given hunt group in the same org. CopyHuntGroupAgentTrigger(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupAgentTriggerRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupAgentTriggerResponse], error) // UpdateHuntGroupAgentTriggers updates all agent triggers for the given hunt group. UpdateHuntGroupAgentTriggers(context.Context, *connect_go.Request[v1alpha1.UpdateHuntGroupAgentTriggersRequest]) (*connect_go.Response[v1alpha1.UpdateHuntGroupAgentTriggersResponse], error) // CopyHuntGroupToOrganization copies a hunt group to a different organization. // The destination organization must be a child of the source organization. // This would create a new hunt group in the destination organization with the same // settings/parameters and all associated data (skill, call-queue config) as the source hunt group. CopyHuntGroupToOrganization(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupToOrganizationRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupToOrganizationResponse], error) // AdminCopyHuntGroupToOrganization copies a hunt group to a different organization. // This will create a new hunt group in the destination organization with the same // settings/parameters and all associated data (skill, call-queue config) as the source hunt group. AdminCopyHuntGroupToOrganization(context.Context, *connect_go.Request[v1alpha1.AdminCopyHuntGroupToOrganizationRequest]) (*connect_go.Response[v1alpha1.AdminCopyHuntGroupToOrganizationResponse], error) // AdminListHuntGroups returns a list of hunt groups for the given organization. AdminListHuntGroups(context.Context, *connect_go.Request[v1alpha1.AdminListHuntGroupsRequest]) (*connect_go.Response[v1alpha1.AdminListHuntGroupsResponse], error) // ListAgentScripts returns a list of agent scripts for the given organization. ListAgentScripts(context.Context, *connect_go.Request[v1alpha1.ListAgentScriptsRequest], *connect_go.ServerStream[v1alpha1.ListAgentScriptsResponse]) error }
HuntGroupsServiceHandler is an implementation of the services.org.hunt_groups.v1alpha1.HuntGroupsService service.
type UnimplementedHuntGroupsServiceHandler ¶
type UnimplementedHuntGroupsServiceHandler struct{}
UnimplementedHuntGroupsServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedHuntGroupsServiceHandler) AdminCopyHuntGroupToOrganization ¶ added in v1.8.21
func (UnimplementedHuntGroupsServiceHandler) AdminCopyHuntGroupToOrganization(context.Context, *connect_go.Request[v1alpha1.AdminCopyHuntGroupToOrganizationRequest]) (*connect_go.Response[v1alpha1.AdminCopyHuntGroupToOrganizationResponse], error)
func (UnimplementedHuntGroupsServiceHandler) AdminListHuntGroups ¶ added in v1.8.23
func (UnimplementedHuntGroupsServiceHandler) AdminListHuntGroups(context.Context, *connect_go.Request[v1alpha1.AdminListHuntGroupsRequest]) (*connect_go.Response[v1alpha1.AdminListHuntGroupsResponse], error)
func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupAgentTrigger ¶ added in v1.8.15
func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupAgentTrigger(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupAgentTriggerRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupAgentTriggerResponse], error)
func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupExileLink ¶ added in v1.8.15
func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupExileLink(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupExileLinkRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupExileLinkResponse], error)
func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupToOrganization ¶ added in v1.8.24
func (UnimplementedHuntGroupsServiceHandler) CopyHuntGroupToOrganization(context.Context, *connect_go.Request[v1alpha1.CopyHuntGroupToOrganizationRequest]) (*connect_go.Response[v1alpha1.CopyHuntGroupToOrganizationResponse], error)
func (UnimplementedHuntGroupsServiceHandler) ListAgentScripts ¶ added in v1.8.29
func (UnimplementedHuntGroupsServiceHandler) ListAgentScripts(context.Context, *connect_go.Request[v1alpha1.ListAgentScriptsRequest], *connect_go.ServerStream[v1alpha1.ListAgentScriptsResponse]) error
func (UnimplementedHuntGroupsServiceHandler) ListHuntGroupAgentTriggers ¶ added in v1.8.15
func (UnimplementedHuntGroupsServiceHandler) ListHuntGroupAgentTriggers(context.Context, *connect_go.Request[v1alpha1.ListHuntGroupAgentTriggersRequest]) (*connect_go.Response[v1alpha1.ListHuntGroupAgentTriggersResponse], error)
func (UnimplementedHuntGroupsServiceHandler) ListHuntGroupExileLinks ¶
func (UnimplementedHuntGroupsServiceHandler) ListHuntGroupExileLinks(context.Context, *connect_go.Request[v1alpha1.ListHuntGroupExileLinksRequest]) (*connect_go.Response[v1alpha1.ListHuntGroupExileLinksResponse], error)
func (UnimplementedHuntGroupsServiceHandler) UpdateHuntGroupAgentTriggers ¶ added in v1.8.15
func (UnimplementedHuntGroupsServiceHandler) UpdateHuntGroupAgentTriggers(context.Context, *connect_go.Request[v1alpha1.UpdateHuntGroupAgentTriggersRequest]) (*connect_go.Response[v1alpha1.UpdateHuntGroupAgentTriggersResponse], error)
func (UnimplementedHuntGroupsServiceHandler) UpdateHuntGroupExileLinks ¶ added in v1.8.15
func (UnimplementedHuntGroupsServiceHandler) UpdateHuntGroupExileLinks(context.Context, *connect_go.Request[v1alpha1.UpdateHuntGroupExileLinksRequest]) (*connect_go.Response[v1alpha1.UpdateHuntGroupExileLinksResponse], error)