Documentation ¶
Index ¶
- Constants
- func NewAuthServiceHandler(svc AuthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewAuthTestingServiceHandler(svc AuthTestingServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewBillingServiceHandler(svc BillingServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewCommandLineInterfaceServiceHandler(svc CommandLineInterfaceServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewDeployServiceHandler(svc DeployServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewGraphServiceHandler(svc GraphServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewHealthServiceHandler(svc HealthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewMonitoringServiceHandler(svc MonitoringServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTeamServiceHandler(svc TeamServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type AuthServiceClient
- type AuthServiceHandler
- type AuthTestingServiceClient
- type AuthTestingServiceHandler
- type BillingServiceClient
- type BillingServiceHandler
- type CommandLineInterfaceServiceClient
- type CommandLineInterfaceServiceHandler
- type DeployServiceClient
- type DeployServiceHandler
- type GraphServiceClient
- type GraphServiceHandler
- type HealthServiceClient
- type HealthServiceHandler
- type MonitoringServiceClient
- type MonitoringServiceHandler
- type TeamServiceClient
- type TeamServiceHandler
- type UnimplementedAuthServiceHandler
- func (UnimplementedAuthServiceHandler) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error)
- func (UnimplementedAuthServiceHandler) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error)
- func (UnimplementedAuthServiceHandler) GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error)
- func (UnimplementedAuthServiceHandler) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error)
- type UnimplementedAuthTestingServiceHandler
- func (UnimplementedAuthTestingServiceHandler) GetAdminTestEndpoint(context.Context, *connect.Request[v1.GetAdminTestEndpointRequest]) (*connect.Response[v1.GetAdminTestEndpointResponse], error)
- func (UnimplementedAuthTestingServiceHandler) GetAuthedTestEndpoint(context.Context, *connect.Request[v1.GetAuthedTestEndpointRequest]) (*connect.Response[v1.GetAuthedTestEndpointResponse], error)
- func (UnimplementedAuthTestingServiceHandler) GetDataScientistTestEndpoint(context.Context, *connect.Request[v1.GetDataScientistTestEndpointRequest]) (*connect.Response[v1.GetDataScientistTestEndpointResponse], error)
- func (UnimplementedAuthTestingServiceHandler) GetDeveloperTestEndpoint(context.Context, *connect.Request[v1.GetDeveloperTestEndpointRequest]) (*connect.Response[v1.GetDeveloperTestEndpointResponse], error)
- func (UnimplementedAuthTestingServiceHandler) GetOwnerTestEndpoint(context.Context, *connect.Request[v1.GetOwnerTestEndpointRequest]) (*connect.Response[v1.GetOwnerTestEndpointResponse], error)
- func (UnimplementedAuthTestingServiceHandler) GetUnauthedTestEndpoint(context.Context, *connect.Request[v1.GetUnauthedTestEndpointRequest]) (*connect.Response[v1.GetUnauthedTestEndpointResponse], error)
- func (UnimplementedAuthTestingServiceHandler) GetViewerTestEndpoint(context.Context, *connect.Request[v1.GetViewerTestEndpointRequest]) (*connect.Response[v1.GetViewerTestEndpointResponse], error)
- type UnimplementedBillingServiceHandler
- func (UnimplementedBillingServiceHandler) GetNodes(context.Context, *connect.Request[v1.GetNodesRequest]) (*connect.Response[v1.GetNodesResponse], error)
- func (UnimplementedBillingServiceHandler) GetUsageChart(context.Context, *connect.Request[v1.GetUsageChartRequest]) (*connect.Response[v1.GetUsageChartResponse], error)
- func (UnimplementedBillingServiceHandler) GetUtilizationRates(context.Context, *connect.Request[v1.GetUtilizationRatesRequest]) (*connect.Response[v1.GetUtilizationRatesResponse], error)
- type UnimplementedCommandLineInterfaceServiceHandler
- type UnimplementedDeployServiceHandler
- func (UnimplementedDeployServiceHandler) DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error)
- func (UnimplementedDeployServiceHandler) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error)
- type UnimplementedGraphServiceHandler
- func (UnimplementedGraphServiceHandler) GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error)
- func (UnimplementedGraphServiceHandler) GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error)
- func (UnimplementedGraphServiceHandler) GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error)
- func (UnimplementedGraphServiceHandler) UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error)
- type UnimplementedHealthServiceHandler
- type UnimplementedMonitoringServiceHandler
- func (UnimplementedMonitoringServiceHandler) AddPagerDutyIntegration(context.Context, *connect.Request[v1.AddPagerDutyIntegrationRequest]) (*connect.Response[v1.AddPagerDutyIntegrationResponse], error)
- func (UnimplementedMonitoringServiceHandler) DeletePagerDutyIntegration(context.Context, *connect.Request[v1.DeletePagerDutyIntegrationRequest]) (*connect.Response[v1.DeletePagerDutyIntegrationResponse], error)
- func (UnimplementedMonitoringServiceHandler) GetAllPagerDutyIntegrations(context.Context, *connect.Request[v1.GetAllPagerDutyIntegrationsRequest]) (*connect.Response[v1.GetAllPagerDutyIntegrationsResponse], error)
- func (UnimplementedMonitoringServiceHandler) GetPagerDutyIntegration(context.Context, *connect.Request[v1.GetPagerDutyIntegrationRequest]) (*connect.Response[v1.GetPagerDutyIntegrationResponse], error)
- func (UnimplementedMonitoringServiceHandler) SetDefaultPagerDutyIntegration(context.Context, *connect.Request[v1.SetDefaultPagerDutyIntegrationRequest]) (*connect.Response[v1.SetDefaultPagerDutyIntegrationResponse], error)
- func (UnimplementedMonitoringServiceHandler) TestPagerDutyIntegration(context.Context, *connect.Request[v1.TestPagerDutyIntegrationRequest]) (*connect.Response[v1.TestPagerDutyIntegrationResponse], error)
- func (UnimplementedMonitoringServiceHandler) UpdatePagerDutyIntegration(context.Context, *connect.Request[v1.UpdatePagerDutyIntegrationRequest]) (*connect.Response[v1.UpdatePagerDutyIntegrationResponse], error)
- type UnimplementedTeamServiceHandler
- func (UnimplementedTeamServiceHandler) CreateEnvironment(context.Context, *connect.Request[v1.CreateEnvironmentRequest]) (*connect.Response[v1.CreateEnvironmentResponse], error)
- func (UnimplementedTeamServiceHandler) CreateProject(context.Context, *connect.Request[v1.CreateProjectRequest]) (*connect.Response[v1.CreateProjectResponse], error)
- func (UnimplementedTeamServiceHandler) CreateServiceToken(context.Context, *connect.Request[v1.CreateServiceTokenRequest]) (*connect.Response[v1.CreateServiceTokenResponse], error)
- func (UnimplementedTeamServiceHandler) CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
- func (UnimplementedTeamServiceHandler) DeleteServiceToken(context.Context, *connect.Request[v1.DeleteServiceTokenRequest]) (*connect.Response[v1.DeleteServiceTokenResponse], error)
- func (UnimplementedTeamServiceHandler) GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
- func (UnimplementedTeamServiceHandler) GetAvailablePermissions(context.Context, *connect.Request[v1.GetAvailablePermissionsRequest]) (*connect.Response[v1.GetAvailablePermissionsResponse], error)
- func (UnimplementedTeamServiceHandler) GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error)
- func (UnimplementedTeamServiceHandler) GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error)
- func (UnimplementedTeamServiceHandler) GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error)
- func (UnimplementedTeamServiceHandler) GetTeam(context.Context, *connect.Request[v1.GetTeamRequest]) (*connect.Response[v1.GetTeamResponse], error)
- func (UnimplementedTeamServiceHandler) ListServiceTokens(context.Context, *connect.Request[v1.ListServiceTokensRequest]) (*connect.Response[v1.ListServiceTokensResponse], error)
- func (UnimplementedTeamServiceHandler) UpdateServiceToken(context.Context, *connect.Request[v1.UpdateServiceTokenRequest]) (*connect.Response[v1.UpdateServiceTokenResponse], error)
- func (UnimplementedTeamServiceHandler) UpsertFeaturePermissions(context.Context, *connect.Request[v1.UpsertFeaturePermissionsRequest]) (*connect.Response[v1.UpsertFeaturePermissionsResponse], error)
Constants ¶
const ( // AuthServiceGetTokenProcedure is the fully-qualified name of the AuthService's GetToken RPC. AuthServiceGetTokenProcedure = "/chalk.server.v1.AuthService/GetToken" // AuthServiceCreateLinkSessionProcedure is the fully-qualified name of the AuthService's // CreateLinkSession RPC. AuthServiceCreateLinkSessionProcedure = "/chalk.server.v1.AuthService/CreateLinkSession" // AuthServiceGetLinkSessionProcedure is the fully-qualified name of the AuthService's // GetLinkSession RPC. AuthServiceGetLinkSessionProcedure = "/chalk.server.v1.AuthService/GetLinkSession" // AuthServiceUpdateLinkSessionProcedure is the fully-qualified name of the AuthService's // UpdateLinkSession RPC. AuthServiceUpdateLinkSessionProcedure = "/chalk.server.v1.AuthService/UpdateLinkSession" )
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 ( // AuthTestingServiceGetUnauthedTestEndpointProcedure is the fully-qualified name of the // AuthTestingService's GetUnauthedTestEndpoint RPC. AuthTestingServiceGetUnauthedTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetUnauthedTestEndpoint" // AuthTestingServiceGetAuthedTestEndpointProcedure is the fully-qualified name of the // AuthTestingService's GetAuthedTestEndpoint RPC. AuthTestingServiceGetAuthedTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetAuthedTestEndpoint" // AuthTestingServiceGetViewerTestEndpointProcedure is the fully-qualified name of the // AuthTestingService's GetViewerTestEndpoint RPC. AuthTestingServiceGetViewerTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetViewerTestEndpoint" // AuthTestingServiceGetDataScientistTestEndpointProcedure is the fully-qualified name of the // AuthTestingService's GetDataScientistTestEndpoint RPC. AuthTestingServiceGetDataScientistTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetDataScientistTestEndpoint" // AuthTestingServiceGetDeveloperTestEndpointProcedure is the fully-qualified name of the // AuthTestingService's GetDeveloperTestEndpoint RPC. AuthTestingServiceGetDeveloperTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetDeveloperTestEndpoint" // AuthTestingServiceGetAdminTestEndpointProcedure is the fully-qualified name of the // AuthTestingService's GetAdminTestEndpoint RPC. AuthTestingServiceGetAdminTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetAdminTestEndpoint" // AuthTestingServiceGetOwnerTestEndpointProcedure is the fully-qualified name of the // AuthTestingService's GetOwnerTestEndpoint RPC. AuthTestingServiceGetOwnerTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetOwnerTestEndpoint" )
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 ( // BillingServiceGetNodesProcedure is the fully-qualified name of the BillingService's GetNodes RPC. BillingServiceGetNodesProcedure = "/chalk.server.v1.BillingService/GetNodes" // BillingServiceGetUsageChartProcedure is the fully-qualified name of the BillingService's // GetUsageChart RPC. BillingServiceGetUsageChartProcedure = "/chalk.server.v1.BillingService/GetUsageChart" // BillingServiceGetUtilizationRatesProcedure is the fully-qualified name of the BillingService's // GetUtilizationRates RPC. BillingServiceGetUtilizationRatesProcedure = "/chalk.server.v1.BillingService/GetUtilizationRates" )
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 ( // DeployServiceDeployBranchProcedure is the fully-qualified name of the DeployService's // DeployBranch RPC. DeployServiceDeployBranchProcedure = "/chalk.server.v1.DeployService/DeployBranch" // DeployServiceGetDeploymentProcedure is the fully-qualified name of the DeployService's // GetDeployment RPC. DeployServiceGetDeploymentProcedure = "/chalk.server.v1.DeployService/GetDeployment" )
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 ( // GraphServiceGetFeatureSQLProcedure is the fully-qualified name of the GraphService's // GetFeatureSQL RPC. GraphServiceGetFeatureSQLProcedure = "/chalk.server.v1.GraphService/GetFeatureSQL" // GraphServiceGetFeaturesMetadataProcedure is the fully-qualified name of the GraphService's // GetFeaturesMetadata RPC. GraphServiceGetFeaturesMetadataProcedure = "/chalk.server.v1.GraphService/GetFeaturesMetadata" // GraphServiceGetGraphProcedure is the fully-qualified name of the GraphService's GetGraph RPC. GraphServiceGetGraphProcedure = "/chalk.server.v1.GraphService/GetGraph" // GraphServiceUpdateGraphProcedure is the fully-qualified name of the GraphService's UpdateGraph // RPC. GraphServiceUpdateGraphProcedure = "/chalk.server.v1.GraphService/UpdateGraph" )
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 ( // MonitoringServiceTestPagerDutyIntegrationProcedure is the fully-qualified name of the // MonitoringService's TestPagerDutyIntegration RPC. MonitoringServiceTestPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/TestPagerDutyIntegration" // MonitoringServiceAddPagerDutyIntegrationProcedure is the fully-qualified name of the // MonitoringService's AddPagerDutyIntegration RPC. MonitoringServiceAddPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/AddPagerDutyIntegration" // MonitoringServiceDeletePagerDutyIntegrationProcedure is the fully-qualified name of the // MonitoringService's DeletePagerDutyIntegration RPC. MonitoringServiceDeletePagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/DeletePagerDutyIntegration" // MonitoringServiceSetDefaultPagerDutyIntegrationProcedure is the fully-qualified name of the // MonitoringService's SetDefaultPagerDutyIntegration RPC. MonitoringServiceSetDefaultPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/SetDefaultPagerDutyIntegration" // MonitoringServiceUpdatePagerDutyIntegrationProcedure is the fully-qualified name of the // MonitoringService's UpdatePagerDutyIntegration RPC. MonitoringServiceUpdatePagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/UpdatePagerDutyIntegration" // MonitoringServiceGetAllPagerDutyIntegrationsProcedure is the fully-qualified name of the // MonitoringService's GetAllPagerDutyIntegrations RPC. MonitoringServiceGetAllPagerDutyIntegrationsProcedure = "/chalk.server.v1.MonitoringService/GetAllPagerDutyIntegrations" // MonitoringServiceGetPagerDutyIntegrationProcedure is the fully-qualified name of the // MonitoringService's GetPagerDutyIntegration RPC. MonitoringServiceGetPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/GetPagerDutyIntegration" )
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 ( // TeamServiceGetEnvProcedure is the fully-qualified name of the TeamService's GetEnv RPC. TeamServiceGetEnvProcedure = "/chalk.server.v1.TeamService/GetEnv" // TeamServiceGetEnvironmentsProcedure is the fully-qualified name of the TeamService's // GetEnvironments RPC. TeamServiceGetEnvironmentsProcedure = "/chalk.server.v1.TeamService/GetEnvironments" // TeamServiceGetAgentProcedure is the fully-qualified name of the TeamService's GetAgent RPC. TeamServiceGetAgentProcedure = "/chalk.server.v1.TeamService/GetAgent" // TeamServiceGetDisplayAgentProcedure is the fully-qualified name of the TeamService's // GetDisplayAgent RPC. TeamServiceGetDisplayAgentProcedure = "/chalk.server.v1.TeamService/GetDisplayAgent" // TeamServiceGetTeamProcedure is the fully-qualified name of the TeamService's GetTeam RPC. TeamServiceGetTeamProcedure = "/chalk.server.v1.TeamService/GetTeam" // TeamServiceCreateTeamProcedure is the fully-qualified name of the TeamService's CreateTeam RPC. TeamServiceCreateTeamProcedure = "/chalk.server.v1.TeamService/CreateTeam" // TeamServiceCreateProjectProcedure is the fully-qualified name of the TeamService's CreateProject // RPC. TeamServiceCreateProjectProcedure = "/chalk.server.v1.TeamService/CreateProject" // TeamServiceCreateEnvironmentProcedure is the fully-qualified name of the TeamService's // CreateEnvironment RPC. TeamServiceCreateEnvironmentProcedure = "/chalk.server.v1.TeamService/CreateEnvironment" // TeamServiceGetAvailablePermissionsProcedure is the fully-qualified name of the TeamService's // GetAvailablePermissions RPC. TeamServiceGetAvailablePermissionsProcedure = "/chalk.server.v1.TeamService/GetAvailablePermissions" // TeamServiceCreateServiceTokenProcedure is the fully-qualified name of the TeamService's // CreateServiceToken RPC. TeamServiceCreateServiceTokenProcedure = "/chalk.server.v1.TeamService/CreateServiceToken" // TeamServiceDeleteServiceTokenProcedure is the fully-qualified name of the TeamService's // DeleteServiceToken RPC. TeamServiceDeleteServiceTokenProcedure = "/chalk.server.v1.TeamService/DeleteServiceToken" // TeamServiceListServiceTokensProcedure is the fully-qualified name of the TeamService's // ListServiceTokens RPC. TeamServiceListServiceTokensProcedure = "/chalk.server.v1.TeamService/ListServiceTokens" // TeamServiceUpdateServiceTokenProcedure is the fully-qualified name of the TeamService's // UpdateServiceToken RPC. TeamServiceUpdateServiceTokenProcedure = "/chalk.server.v1.TeamService/UpdateServiceToken" // TeamServiceUpsertFeaturePermissionsProcedure is the fully-qualified name of the TeamService's // UpsertFeaturePermissions RPC. TeamServiceUpsertFeaturePermissionsProcedure = "/chalk.server.v1.TeamService/UpsertFeaturePermissions" )
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 (
// AuthServiceName is the fully-qualified name of the AuthService service.
AuthServiceName = "chalk.server.v1.AuthService"
)
const (
// AuthTestingServiceName is the fully-qualified name of the AuthTestingService service.
AuthTestingServiceName = "chalk.server.v1.AuthTestingService"
)
const (
// BillingServiceName is the fully-qualified name of the BillingService service.
BillingServiceName = "chalk.server.v1.BillingService"
)
const ( // CommandLineInterfaceServiceGetVersionsProcedure is the fully-qualified name of the // CommandLineInterfaceService's GetVersions RPC. CommandLineInterfaceServiceGetVersionsProcedure = "/chalk.server.v1.CommandLineInterfaceService/GetVersions" )
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 ( // CommandLineInterfaceServiceName is the fully-qualified name of the CommandLineInterfaceService // service. CommandLineInterfaceServiceName = "chalk.server.v1.CommandLineInterfaceService" )
const (
// DeployServiceName is the fully-qualified name of the DeployService service.
DeployServiceName = "chalk.server.v1.DeployService"
)
const (
// GraphServiceName is the fully-qualified name of the GraphService service.
GraphServiceName = "chalk.server.v1.GraphService"
)
const ( // HealthServiceCheckHealthProcedure is the fully-qualified name of the HealthService's CheckHealth // RPC. HealthServiceCheckHealthProcedure = "/chalk.server.v1.HealthService/CheckHealth" )
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 (
// HealthServiceName is the fully-qualified name of the HealthService service.
HealthServiceName = "chalk.server.v1.HealthService"
)
const (
// MonitoringServiceName is the fully-qualified name of the MonitoringService service.
MonitoringServiceName = "chalk.server.v1.MonitoringService"
)
const (
// TeamServiceName is the fully-qualified name of the TeamService service.
TeamServiceName = "chalk.server.v1.TeamService"
)
Variables ¶
This section is empty.
Functions ¶
func NewAuthServiceHandler ¶
func NewAuthServiceHandler(svc AuthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAuthServiceHandler 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.
func NewAuthTestingServiceHandler ¶ added in v0.4.7
func NewAuthTestingServiceHandler(svc AuthTestingServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAuthTestingServiceHandler 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.
func NewBillingServiceHandler ¶
func NewBillingServiceHandler(svc BillingServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewBillingServiceHandler 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.
func NewCommandLineInterfaceServiceHandler ¶
func NewCommandLineInterfaceServiceHandler(svc CommandLineInterfaceServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewCommandLineInterfaceServiceHandler 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.
func NewDeployServiceHandler ¶
func NewDeployServiceHandler(svc DeployServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewDeployServiceHandler 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.
func NewGraphServiceHandler ¶
func NewGraphServiceHandler(svc GraphServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewGraphServiceHandler 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.
func NewHealthServiceHandler ¶
func NewHealthServiceHandler(svc HealthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewHealthServiceHandler 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.
func NewMonitoringServiceHandler ¶ added in v0.4.7
func NewMonitoringServiceHandler(svc MonitoringServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewMonitoringServiceHandler 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.
func NewTeamServiceHandler ¶
func NewTeamServiceHandler(svc TeamServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewTeamServiceHandler 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 AuthServiceClient ¶
type AuthServiceClient interface { GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error) }
AuthServiceClient is a client for the chalk.server.v1.AuthService service.
func NewAuthServiceClient ¶
func NewAuthServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuthServiceClient
NewAuthServiceClient constructs a client for the chalk.server.v1.AuthService 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 AuthServiceHandler ¶
type AuthServiceHandler interface { GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error) }
AuthServiceHandler is an implementation of the chalk.server.v1.AuthService service.
type AuthTestingServiceClient ¶ added in v0.4.7
type AuthTestingServiceClient interface { GetUnauthedTestEndpoint(context.Context, *connect.Request[v1.GetUnauthedTestEndpointRequest]) (*connect.Response[v1.GetUnauthedTestEndpointResponse], error) GetAuthedTestEndpoint(context.Context, *connect.Request[v1.GetAuthedTestEndpointRequest]) (*connect.Response[v1.GetAuthedTestEndpointResponse], error) GetViewerTestEndpoint(context.Context, *connect.Request[v1.GetViewerTestEndpointRequest]) (*connect.Response[v1.GetViewerTestEndpointResponse], error) GetDataScientistTestEndpoint(context.Context, *connect.Request[v1.GetDataScientistTestEndpointRequest]) (*connect.Response[v1.GetDataScientistTestEndpointResponse], error) GetDeveloperTestEndpoint(context.Context, *connect.Request[v1.GetDeveloperTestEndpointRequest]) (*connect.Response[v1.GetDeveloperTestEndpointResponse], error) GetAdminTestEndpoint(context.Context, *connect.Request[v1.GetAdminTestEndpointRequest]) (*connect.Response[v1.GetAdminTestEndpointResponse], error) GetOwnerTestEndpoint(context.Context, *connect.Request[v1.GetOwnerTestEndpointRequest]) (*connect.Response[v1.GetOwnerTestEndpointResponse], error) }
AuthTestingServiceClient is a client for the chalk.server.v1.AuthTestingService service.
func NewAuthTestingServiceClient ¶ added in v0.4.7
func NewAuthTestingServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuthTestingServiceClient
NewAuthTestingServiceClient constructs a client for the chalk.server.v1.AuthTestingService 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 AuthTestingServiceHandler ¶ added in v0.4.7
type AuthTestingServiceHandler interface { GetUnauthedTestEndpoint(context.Context, *connect.Request[v1.GetUnauthedTestEndpointRequest]) (*connect.Response[v1.GetUnauthedTestEndpointResponse], error) GetAuthedTestEndpoint(context.Context, *connect.Request[v1.GetAuthedTestEndpointRequest]) (*connect.Response[v1.GetAuthedTestEndpointResponse], error) GetViewerTestEndpoint(context.Context, *connect.Request[v1.GetViewerTestEndpointRequest]) (*connect.Response[v1.GetViewerTestEndpointResponse], error) GetDataScientistTestEndpoint(context.Context, *connect.Request[v1.GetDataScientistTestEndpointRequest]) (*connect.Response[v1.GetDataScientistTestEndpointResponse], error) GetDeveloperTestEndpoint(context.Context, *connect.Request[v1.GetDeveloperTestEndpointRequest]) (*connect.Response[v1.GetDeveloperTestEndpointResponse], error) GetAdminTestEndpoint(context.Context, *connect.Request[v1.GetAdminTestEndpointRequest]) (*connect.Response[v1.GetAdminTestEndpointResponse], error) GetOwnerTestEndpoint(context.Context, *connect.Request[v1.GetOwnerTestEndpointRequest]) (*connect.Response[v1.GetOwnerTestEndpointResponse], error) }
AuthTestingServiceHandler is an implementation of the chalk.server.v1.AuthTestingService service.
type BillingServiceClient ¶
type BillingServiceClient interface { GetNodes(context.Context, *connect.Request[v1.GetNodesRequest]) (*connect.Response[v1.GetNodesResponse], error) GetUsageChart(context.Context, *connect.Request[v1.GetUsageChartRequest]) (*connect.Response[v1.GetUsageChartResponse], error) GetUtilizationRates(context.Context, *connect.Request[v1.GetUtilizationRatesRequest]) (*connect.Response[v1.GetUtilizationRatesResponse], error) }
BillingServiceClient is a client for the chalk.server.v1.BillingService service.
func NewBillingServiceClient ¶
func NewBillingServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) BillingServiceClient
NewBillingServiceClient constructs a client for the chalk.server.v1.BillingService 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 BillingServiceHandler ¶
type BillingServiceHandler interface { GetNodes(context.Context, *connect.Request[v1.GetNodesRequest]) (*connect.Response[v1.GetNodesResponse], error) GetUsageChart(context.Context, *connect.Request[v1.GetUsageChartRequest]) (*connect.Response[v1.GetUsageChartResponse], error) GetUtilizationRates(context.Context, *connect.Request[v1.GetUtilizationRatesRequest]) (*connect.Response[v1.GetUtilizationRatesResponse], error) }
BillingServiceHandler is an implementation of the chalk.server.v1.BillingService service.
type CommandLineInterfaceServiceClient ¶
type CommandLineInterfaceServiceClient interface {
GetVersions(context.Context, *connect.Request[v1.GetVersionsRequest]) (*connect.Response[v1.GetVersionsResponse], error)
}
CommandLineInterfaceServiceClient is a client for the chalk.server.v1.CommandLineInterfaceService service.
func NewCommandLineInterfaceServiceClient ¶
func NewCommandLineInterfaceServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) CommandLineInterfaceServiceClient
NewCommandLineInterfaceServiceClient constructs a client for the chalk.server.v1.CommandLineInterfaceService 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 CommandLineInterfaceServiceHandler ¶
type CommandLineInterfaceServiceHandler interface {
GetVersions(context.Context, *connect.Request[v1.GetVersionsRequest]) (*connect.Response[v1.GetVersionsResponse], error)
}
CommandLineInterfaceServiceHandler is an implementation of the chalk.server.v1.CommandLineInterfaceService service.
type DeployServiceClient ¶
type DeployServiceClient interface { DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error) }
DeployServiceClient is a client for the chalk.server.v1.DeployService service.
func NewDeployServiceClient ¶
func NewDeployServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DeployServiceClient
NewDeployServiceClient constructs a client for the chalk.server.v1.DeployService 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 DeployServiceHandler ¶
type DeployServiceHandler interface { DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error) }
DeployServiceHandler is an implementation of the chalk.server.v1.DeployService service.
type GraphServiceClient ¶
type GraphServiceClient interface { // GetFeatureSQL returns the feature SQLs for a given deployment. GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error) GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error) GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error) // UpdateGraph uploads the protobuf graph for a given deployment. UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error) }
GraphServiceClient is a client for the chalk.server.v1.GraphService service.
func NewGraphServiceClient ¶
func NewGraphServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) GraphServiceClient
NewGraphServiceClient constructs a client for the chalk.server.v1.GraphService 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 GraphServiceHandler ¶
type GraphServiceHandler interface { // GetFeatureSQL returns the feature SQLs for a given deployment. GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error) GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error) GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error) // UpdateGraph uploads the protobuf graph for a given deployment. UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error) }
GraphServiceHandler is an implementation of the chalk.server.v1.GraphService service.
type HealthServiceClient ¶
type HealthServiceClient interface {
CheckHealth(context.Context, *connect.Request[v1.CheckHealthRequest]) (*connect.Response[v1.CheckHealthResponse], error)
}
HealthServiceClient is a client for the chalk.server.v1.HealthService service.
func NewHealthServiceClient ¶
func NewHealthServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) HealthServiceClient
NewHealthServiceClient constructs a client for the chalk.server.v1.HealthService 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 HealthServiceHandler ¶
type HealthServiceHandler interface {
CheckHealth(context.Context, *connect.Request[v1.CheckHealthRequest]) (*connect.Response[v1.CheckHealthResponse], error)
}
HealthServiceHandler is an implementation of the chalk.server.v1.HealthService service.
type MonitoringServiceClient ¶ added in v0.4.7
type MonitoringServiceClient interface { TestPagerDutyIntegration(context.Context, *connect.Request[v1.TestPagerDutyIntegrationRequest]) (*connect.Response[v1.TestPagerDutyIntegrationResponse], error) AddPagerDutyIntegration(context.Context, *connect.Request[v1.AddPagerDutyIntegrationRequest]) (*connect.Response[v1.AddPagerDutyIntegrationResponse], error) DeletePagerDutyIntegration(context.Context, *connect.Request[v1.DeletePagerDutyIntegrationRequest]) (*connect.Response[v1.DeletePagerDutyIntegrationResponse], error) SetDefaultPagerDutyIntegration(context.Context, *connect.Request[v1.SetDefaultPagerDutyIntegrationRequest]) (*connect.Response[v1.SetDefaultPagerDutyIntegrationResponse], error) UpdatePagerDutyIntegration(context.Context, *connect.Request[v1.UpdatePagerDutyIntegrationRequest]) (*connect.Response[v1.UpdatePagerDutyIntegrationResponse], error) GetAllPagerDutyIntegrations(context.Context, *connect.Request[v1.GetAllPagerDutyIntegrationsRequest]) (*connect.Response[v1.GetAllPagerDutyIntegrationsResponse], error) GetPagerDutyIntegration(context.Context, *connect.Request[v1.GetPagerDutyIntegrationRequest]) (*connect.Response[v1.GetPagerDutyIntegrationResponse], error) }
MonitoringServiceClient is a client for the chalk.server.v1.MonitoringService service.
func NewMonitoringServiceClient ¶ added in v0.4.7
func NewMonitoringServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MonitoringServiceClient
NewMonitoringServiceClient constructs a client for the chalk.server.v1.MonitoringService 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 MonitoringServiceHandler ¶ added in v0.4.7
type MonitoringServiceHandler interface { TestPagerDutyIntegration(context.Context, *connect.Request[v1.TestPagerDutyIntegrationRequest]) (*connect.Response[v1.TestPagerDutyIntegrationResponse], error) AddPagerDutyIntegration(context.Context, *connect.Request[v1.AddPagerDutyIntegrationRequest]) (*connect.Response[v1.AddPagerDutyIntegrationResponse], error) DeletePagerDutyIntegration(context.Context, *connect.Request[v1.DeletePagerDutyIntegrationRequest]) (*connect.Response[v1.DeletePagerDutyIntegrationResponse], error) SetDefaultPagerDutyIntegration(context.Context, *connect.Request[v1.SetDefaultPagerDutyIntegrationRequest]) (*connect.Response[v1.SetDefaultPagerDutyIntegrationResponse], error) UpdatePagerDutyIntegration(context.Context, *connect.Request[v1.UpdatePagerDutyIntegrationRequest]) (*connect.Response[v1.UpdatePagerDutyIntegrationResponse], error) GetAllPagerDutyIntegrations(context.Context, *connect.Request[v1.GetAllPagerDutyIntegrationsRequest]) (*connect.Response[v1.GetAllPagerDutyIntegrationsResponse], error) GetPagerDutyIntegration(context.Context, *connect.Request[v1.GetPagerDutyIntegrationRequest]) (*connect.Response[v1.GetPagerDutyIntegrationResponse], error) }
MonitoringServiceHandler is an implementation of the chalk.server.v1.MonitoringService service.
type TeamServiceClient ¶
type TeamServiceClient interface { GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error) GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error) GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error) GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error) GetTeam(context.Context, *connect.Request[v1.GetTeamRequest]) (*connect.Response[v1.GetTeamResponse], error) CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error) CreateProject(context.Context, *connect.Request[v1.CreateProjectRequest]) (*connect.Response[v1.CreateProjectResponse], error) CreateEnvironment(context.Context, *connect.Request[v1.CreateEnvironmentRequest]) (*connect.Response[v1.CreateEnvironmentResponse], error) GetAvailablePermissions(context.Context, *connect.Request[v1.GetAvailablePermissionsRequest]) (*connect.Response[v1.GetAvailablePermissionsResponse], error) CreateServiceToken(context.Context, *connect.Request[v1.CreateServiceTokenRequest]) (*connect.Response[v1.CreateServiceTokenResponse], error) DeleteServiceToken(context.Context, *connect.Request[v1.DeleteServiceTokenRequest]) (*connect.Response[v1.DeleteServiceTokenResponse], error) ListServiceTokens(context.Context, *connect.Request[v1.ListServiceTokensRequest]) (*connect.Response[v1.ListServiceTokensResponse], error) UpdateServiceToken(context.Context, *connect.Request[v1.UpdateServiceTokenRequest]) (*connect.Response[v1.UpdateServiceTokenResponse], error) UpsertFeaturePermissions(context.Context, *connect.Request[v1.UpsertFeaturePermissionsRequest]) (*connect.Response[v1.UpsertFeaturePermissionsResponse], error) }
TeamServiceClient is a client for the chalk.server.v1.TeamService service.
func NewTeamServiceClient ¶
func NewTeamServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TeamServiceClient
NewTeamServiceClient constructs a client for the chalk.server.v1.TeamService 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 TeamServiceHandler ¶
type TeamServiceHandler interface { GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error) GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error) GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error) GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error) GetTeam(context.Context, *connect.Request[v1.GetTeamRequest]) (*connect.Response[v1.GetTeamResponse], error) CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error) CreateProject(context.Context, *connect.Request[v1.CreateProjectRequest]) (*connect.Response[v1.CreateProjectResponse], error) CreateEnvironment(context.Context, *connect.Request[v1.CreateEnvironmentRequest]) (*connect.Response[v1.CreateEnvironmentResponse], error) GetAvailablePermissions(context.Context, *connect.Request[v1.GetAvailablePermissionsRequest]) (*connect.Response[v1.GetAvailablePermissionsResponse], error) CreateServiceToken(context.Context, *connect.Request[v1.CreateServiceTokenRequest]) (*connect.Response[v1.CreateServiceTokenResponse], error) DeleteServiceToken(context.Context, *connect.Request[v1.DeleteServiceTokenRequest]) (*connect.Response[v1.DeleteServiceTokenResponse], error) ListServiceTokens(context.Context, *connect.Request[v1.ListServiceTokensRequest]) (*connect.Response[v1.ListServiceTokensResponse], error) UpdateServiceToken(context.Context, *connect.Request[v1.UpdateServiceTokenRequest]) (*connect.Response[v1.UpdateServiceTokenResponse], error) UpsertFeaturePermissions(context.Context, *connect.Request[v1.UpsertFeaturePermissionsRequest]) (*connect.Response[v1.UpsertFeaturePermissionsResponse], error) }
TeamServiceHandler is an implementation of the chalk.server.v1.TeamService service.
type UnimplementedAuthServiceHandler ¶
type UnimplementedAuthServiceHandler struct{}
UnimplementedAuthServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuthServiceHandler) CreateLinkSession ¶
func (UnimplementedAuthServiceHandler) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error)
func (UnimplementedAuthServiceHandler) GetLinkSession ¶
func (UnimplementedAuthServiceHandler) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error)
func (UnimplementedAuthServiceHandler) GetToken ¶
func (UnimplementedAuthServiceHandler) GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error)
func (UnimplementedAuthServiceHandler) UpdateLinkSession ¶
func (UnimplementedAuthServiceHandler) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error)
type UnimplementedAuthTestingServiceHandler ¶ added in v0.4.7
type UnimplementedAuthTestingServiceHandler struct{}
UnimplementedAuthTestingServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuthTestingServiceHandler) GetAdminTestEndpoint ¶ added in v0.4.7
func (UnimplementedAuthTestingServiceHandler) GetAdminTestEndpoint(context.Context, *connect.Request[v1.GetAdminTestEndpointRequest]) (*connect.Response[v1.GetAdminTestEndpointResponse], error)
func (UnimplementedAuthTestingServiceHandler) GetAuthedTestEndpoint ¶ added in v0.4.7
func (UnimplementedAuthTestingServiceHandler) GetAuthedTestEndpoint(context.Context, *connect.Request[v1.GetAuthedTestEndpointRequest]) (*connect.Response[v1.GetAuthedTestEndpointResponse], error)
func (UnimplementedAuthTestingServiceHandler) GetDataScientistTestEndpoint ¶ added in v0.4.7
func (UnimplementedAuthTestingServiceHandler) GetDataScientistTestEndpoint(context.Context, *connect.Request[v1.GetDataScientistTestEndpointRequest]) (*connect.Response[v1.GetDataScientistTestEndpointResponse], error)
func (UnimplementedAuthTestingServiceHandler) GetDeveloperTestEndpoint ¶ added in v0.4.7
func (UnimplementedAuthTestingServiceHandler) GetDeveloperTestEndpoint(context.Context, *connect.Request[v1.GetDeveloperTestEndpointRequest]) (*connect.Response[v1.GetDeveloperTestEndpointResponse], error)
func (UnimplementedAuthTestingServiceHandler) GetOwnerTestEndpoint ¶ added in v0.4.7
func (UnimplementedAuthTestingServiceHandler) GetOwnerTestEndpoint(context.Context, *connect.Request[v1.GetOwnerTestEndpointRequest]) (*connect.Response[v1.GetOwnerTestEndpointResponse], error)
func (UnimplementedAuthTestingServiceHandler) GetUnauthedTestEndpoint ¶ added in v0.4.7
func (UnimplementedAuthTestingServiceHandler) GetUnauthedTestEndpoint(context.Context, *connect.Request[v1.GetUnauthedTestEndpointRequest]) (*connect.Response[v1.GetUnauthedTestEndpointResponse], error)
func (UnimplementedAuthTestingServiceHandler) GetViewerTestEndpoint ¶ added in v0.4.7
func (UnimplementedAuthTestingServiceHandler) GetViewerTestEndpoint(context.Context, *connect.Request[v1.GetViewerTestEndpointRequest]) (*connect.Response[v1.GetViewerTestEndpointResponse], error)
type UnimplementedBillingServiceHandler ¶
type UnimplementedBillingServiceHandler struct{}
UnimplementedBillingServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedBillingServiceHandler) GetNodes ¶
func (UnimplementedBillingServiceHandler) GetNodes(context.Context, *connect.Request[v1.GetNodesRequest]) (*connect.Response[v1.GetNodesResponse], error)
func (UnimplementedBillingServiceHandler) GetUsageChart ¶ added in v0.4.7
func (UnimplementedBillingServiceHandler) GetUsageChart(context.Context, *connect.Request[v1.GetUsageChartRequest]) (*connect.Response[v1.GetUsageChartResponse], error)
func (UnimplementedBillingServiceHandler) GetUtilizationRates ¶ added in v0.4.7
func (UnimplementedBillingServiceHandler) GetUtilizationRates(context.Context, *connect.Request[v1.GetUtilizationRatesRequest]) (*connect.Response[v1.GetUtilizationRatesResponse], error)
type UnimplementedCommandLineInterfaceServiceHandler ¶
type UnimplementedCommandLineInterfaceServiceHandler struct{}
UnimplementedCommandLineInterfaceServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedCommandLineInterfaceServiceHandler) GetVersions ¶
func (UnimplementedCommandLineInterfaceServiceHandler) GetVersions(context.Context, *connect.Request[v1.GetVersionsRequest]) (*connect.Response[v1.GetVersionsResponse], error)
type UnimplementedDeployServiceHandler ¶
type UnimplementedDeployServiceHandler struct{}
UnimplementedDeployServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedDeployServiceHandler) DeployBranch ¶
func (UnimplementedDeployServiceHandler) DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error)
func (UnimplementedDeployServiceHandler) GetDeployment ¶
func (UnimplementedDeployServiceHandler) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error)
type UnimplementedGraphServiceHandler ¶
type UnimplementedGraphServiceHandler struct{}
UnimplementedGraphServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedGraphServiceHandler) GetFeatureSQL ¶
func (UnimplementedGraphServiceHandler) GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error)
func (UnimplementedGraphServiceHandler) GetFeaturesMetadata ¶
func (UnimplementedGraphServiceHandler) GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error)
func (UnimplementedGraphServiceHandler) GetGraph ¶
func (UnimplementedGraphServiceHandler) GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error)
func (UnimplementedGraphServiceHandler) UpdateGraph ¶
func (UnimplementedGraphServiceHandler) UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error)
type UnimplementedHealthServiceHandler ¶
type UnimplementedHealthServiceHandler struct{}
UnimplementedHealthServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedHealthServiceHandler) CheckHealth ¶
func (UnimplementedHealthServiceHandler) CheckHealth(context.Context, *connect.Request[v1.CheckHealthRequest]) (*connect.Response[v1.CheckHealthResponse], error)
type UnimplementedMonitoringServiceHandler ¶ added in v0.4.7
type UnimplementedMonitoringServiceHandler struct{}
UnimplementedMonitoringServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedMonitoringServiceHandler) AddPagerDutyIntegration ¶ added in v0.4.7
func (UnimplementedMonitoringServiceHandler) AddPagerDutyIntegration(context.Context, *connect.Request[v1.AddPagerDutyIntegrationRequest]) (*connect.Response[v1.AddPagerDutyIntegrationResponse], error)
func (UnimplementedMonitoringServiceHandler) DeletePagerDutyIntegration ¶ added in v0.4.7
func (UnimplementedMonitoringServiceHandler) DeletePagerDutyIntegration(context.Context, *connect.Request[v1.DeletePagerDutyIntegrationRequest]) (*connect.Response[v1.DeletePagerDutyIntegrationResponse], error)
func (UnimplementedMonitoringServiceHandler) GetAllPagerDutyIntegrations ¶ added in v0.4.7
func (UnimplementedMonitoringServiceHandler) GetAllPagerDutyIntegrations(context.Context, *connect.Request[v1.GetAllPagerDutyIntegrationsRequest]) (*connect.Response[v1.GetAllPagerDutyIntegrationsResponse], error)
func (UnimplementedMonitoringServiceHandler) GetPagerDutyIntegration ¶ added in v0.4.7
func (UnimplementedMonitoringServiceHandler) GetPagerDutyIntegration(context.Context, *connect.Request[v1.GetPagerDutyIntegrationRequest]) (*connect.Response[v1.GetPagerDutyIntegrationResponse], error)
func (UnimplementedMonitoringServiceHandler) SetDefaultPagerDutyIntegration ¶ added in v0.4.7
func (UnimplementedMonitoringServiceHandler) SetDefaultPagerDutyIntegration(context.Context, *connect.Request[v1.SetDefaultPagerDutyIntegrationRequest]) (*connect.Response[v1.SetDefaultPagerDutyIntegrationResponse], error)
func (UnimplementedMonitoringServiceHandler) TestPagerDutyIntegration ¶ added in v0.4.7
func (UnimplementedMonitoringServiceHandler) TestPagerDutyIntegration(context.Context, *connect.Request[v1.TestPagerDutyIntegrationRequest]) (*connect.Response[v1.TestPagerDutyIntegrationResponse], error)
func (UnimplementedMonitoringServiceHandler) UpdatePagerDutyIntegration ¶ added in v0.4.7
func (UnimplementedMonitoringServiceHandler) UpdatePagerDutyIntegration(context.Context, *connect.Request[v1.UpdatePagerDutyIntegrationRequest]) (*connect.Response[v1.UpdatePagerDutyIntegrationResponse], error)
type UnimplementedTeamServiceHandler ¶
type UnimplementedTeamServiceHandler struct{}
UnimplementedTeamServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTeamServiceHandler) CreateEnvironment ¶ added in v0.4.7
func (UnimplementedTeamServiceHandler) CreateEnvironment(context.Context, *connect.Request[v1.CreateEnvironmentRequest]) (*connect.Response[v1.CreateEnvironmentResponse], error)
func (UnimplementedTeamServiceHandler) CreateProject ¶ added in v0.4.7
func (UnimplementedTeamServiceHandler) CreateProject(context.Context, *connect.Request[v1.CreateProjectRequest]) (*connect.Response[v1.CreateProjectResponse], error)
func (UnimplementedTeamServiceHandler) CreateServiceToken ¶ added in v0.4.7
func (UnimplementedTeamServiceHandler) CreateServiceToken(context.Context, *connect.Request[v1.CreateServiceTokenRequest]) (*connect.Response[v1.CreateServiceTokenResponse], error)
func (UnimplementedTeamServiceHandler) CreateTeam ¶ added in v0.4.7
func (UnimplementedTeamServiceHandler) CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
func (UnimplementedTeamServiceHandler) DeleteServiceToken ¶ added in v0.4.7
func (UnimplementedTeamServiceHandler) DeleteServiceToken(context.Context, *connect.Request[v1.DeleteServiceTokenRequest]) (*connect.Response[v1.DeleteServiceTokenResponse], error)
func (UnimplementedTeamServiceHandler) GetAgent ¶
func (UnimplementedTeamServiceHandler) GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
func (UnimplementedTeamServiceHandler) GetAvailablePermissions ¶ added in v0.4.7
func (UnimplementedTeamServiceHandler) GetAvailablePermissions(context.Context, *connect.Request[v1.GetAvailablePermissionsRequest]) (*connect.Response[v1.GetAvailablePermissionsResponse], error)
func (UnimplementedTeamServiceHandler) GetDisplayAgent ¶
func (UnimplementedTeamServiceHandler) GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error)
func (UnimplementedTeamServiceHandler) GetEnv ¶
func (UnimplementedTeamServiceHandler) GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error)
func (UnimplementedTeamServiceHandler) GetEnvironments ¶
func (UnimplementedTeamServiceHandler) GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error)
func (UnimplementedTeamServiceHandler) GetTeam ¶ added in v0.4.7
func (UnimplementedTeamServiceHandler) GetTeam(context.Context, *connect.Request[v1.GetTeamRequest]) (*connect.Response[v1.GetTeamResponse], error)
func (UnimplementedTeamServiceHandler) ListServiceTokens ¶ added in v0.7.2
func (UnimplementedTeamServiceHandler) ListServiceTokens(context.Context, *connect.Request[v1.ListServiceTokensRequest]) (*connect.Response[v1.ListServiceTokensResponse], error)
func (UnimplementedTeamServiceHandler) UpdateServiceToken ¶ added in v0.7.2
func (UnimplementedTeamServiceHandler) UpdateServiceToken(context.Context, *connect.Request[v1.UpdateServiceTokenRequest]) (*connect.Response[v1.UpdateServiceTokenResponse], error)
func (UnimplementedTeamServiceHandler) UpsertFeaturePermissions ¶ added in v0.6.1
func (UnimplementedTeamServiceHandler) UpsertFeaturePermissions(context.Context, *connect.Request[v1.UpsertFeaturePermissionsRequest]) (*connect.Response[v1.UpsertFeaturePermissionsResponse], error)