Documentation ¶
Overview ¶
Package applications is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterApplicationsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterApplicationsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApplicationsServiceClient) error
- func RegisterApplicationsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterApplicationsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApplicationsServiceServer) error
- func RegisterApplicationsServiceServer(s *grpc.Server, srv ApplicationsServiceServer)
- type ApplicationsServiceClient
- type ApplicationsServiceServer
- type ApplicationsService_FindServicesClient
- type ApplicationsService_FindServicesServer
- type DeleteServicesByIDReq
- func (*DeleteServicesByIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServicesByIDReq) GetIds() []string
- func (*DeleteServicesByIDReq) ProtoMessage()
- func (x *DeleteServicesByIDReq) ProtoReflect() protoreflect.Message
- func (x *DeleteServicesByIDReq) Reset()
- func (x *DeleteServicesByIDReq) String() string
- type DisconnectedServicesReq
- func (*DisconnectedServicesReq) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectedServicesReq) GetThresholdSeconds() int32
- func (*DisconnectedServicesReq) ProtoMessage()
- func (x *DisconnectedServicesReq) ProtoReflect() protoreflect.Message
- func (x *DisconnectedServicesReq) Reset()
- func (x *DisconnectedServicesReq) String() string
- type GetDeleteDisconnectedServicesConfigReq
- func (*GetDeleteDisconnectedServicesConfigReq) Descriptor() ([]byte, []int)deprecated
- func (*GetDeleteDisconnectedServicesConfigReq) ProtoMessage()
- func (x *GetDeleteDisconnectedServicesConfigReq) ProtoReflect() protoreflect.Message
- func (x *GetDeleteDisconnectedServicesConfigReq) Reset()
- func (x *GetDeleteDisconnectedServicesConfigReq) String() string
- type GetDisconnectedServicesConfigReq
- func (*GetDisconnectedServicesConfigReq) Descriptor() ([]byte, []int)deprecated
- func (*GetDisconnectedServicesConfigReq) ProtoMessage()
- func (x *GetDisconnectedServicesConfigReq) ProtoReflect() protoreflect.Message
- func (x *GetDisconnectedServicesConfigReq) Reset()
- func (x *GetDisconnectedServicesConfigReq) String() string
- type GetServicesUsageCountRequest
- func (*GetServicesUsageCountRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetServicesUsageCountRequest) ProtoMessage()
- func (x *GetServicesUsageCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetServicesUsageCountRequest) Reset()
- func (x *GetServicesUsageCountRequest) String() string
- type GetServicesUsageCountResponse
- func (*GetServicesUsageCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServicesUsageCountResponse) GetDaysSinceLastPost() int64
- func (x *GetServicesUsageCountResponse) GetTotalServices() int64
- func (*GetServicesUsageCountResponse) ProtoMessage()
- func (x *GetServicesUsageCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetServicesUsageCountResponse) Reset()
- func (x *GetServicesUsageCountResponse) String() string
- type HealthCheckResult
- func (*HealthCheckResult) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResult) GetExitStatus() int32
- func (x *HealthCheckResult) GetStderr() string
- func (x *HealthCheckResult) GetStdout() string
- func (*HealthCheckResult) ProtoMessage()
- func (x *HealthCheckResult) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResult) Reset()
- func (x *HealthCheckResult) String() string
- type HealthCounts
- func (*HealthCounts) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCounts) GetCritical() int32
- func (x *HealthCounts) GetDisconnected() int32
- func (x *HealthCounts) GetOk() int32
- func (x *HealthCounts) GetTotal() int32
- func (x *HealthCounts) GetUnknown() int32
- func (x *HealthCounts) GetWarning() int32
- func (*HealthCounts) ProtoMessage()
- func (x *HealthCounts) ProtoReflect() protoreflect.Message
- func (x *HealthCounts) Reset()
- func (x *HealthCounts) String() string
- type HealthStatus
- func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthStatus) Enum() *HealthStatus
- func (HealthStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthStatus) Number() protoreflect.EnumNumber
- func (x HealthStatus) String() string
- func (HealthStatus) Type() protoreflect.EnumType
- type PackageIdent
- func (*PackageIdent) Descriptor() ([]byte, []int)deprecated
- func (x *PackageIdent) GetName() string
- func (x *PackageIdent) GetOrigin() string
- func (x *PackageIdent) GetRelease() string
- func (x *PackageIdent) GetVersion() string
- func (*PackageIdent) ProtoMessage()
- func (x *PackageIdent) ProtoReflect() protoreflect.Message
- func (x *PackageIdent) Reset()
- func (x *PackageIdent) String() string
- type PeriodicJobConfig
- func (*PeriodicJobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PeriodicJobConfig) GetJobInfo() *PeriodicJobInfo
- func (x *PeriodicJobConfig) GetRecurrence() string
- func (x *PeriodicJobConfig) GetRunning() bool
- func (x *PeriodicJobConfig) GetThreshold() string
- func (*PeriodicJobConfig) ProtoMessage()
- func (x *PeriodicJobConfig) ProtoReflect() protoreflect.Message
- func (x *PeriodicJobConfig) Reset()
- func (x *PeriodicJobConfig) String() string
- type PeriodicJobInfo
- func (*PeriodicJobInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PeriodicJobInfo) GetLastElapsed() *durationpb.Duration
- func (x *PeriodicJobInfo) GetLastEndedAt() *timestamppb.Timestamp
- func (x *PeriodicJobInfo) GetLastEnqueuedAt() *timestamppb.Timestamp
- func (x *PeriodicJobInfo) GetLastStartedAt() *timestamppb.Timestamp
- func (x *PeriodicJobInfo) GetNextDueAt() *timestamppb.Timestamp
- func (*PeriodicJobInfo) ProtoMessage()
- func (x *PeriodicJobInfo) ProtoReflect() protoreflect.Message
- func (x *PeriodicJobInfo) Reset()
- func (x *PeriodicJobInfo) String() string
- type PeriodicMandatoryJobConfig
- func (*PeriodicMandatoryJobConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PeriodicMandatoryJobConfig) GetJobInfo() *PeriodicJobInfo
- func (x *PeriodicMandatoryJobConfig) GetRecurrence() string
- func (x *PeriodicMandatoryJobConfig) GetRunning() *wrapperspb.BoolValue
- func (x *PeriodicMandatoryJobConfig) GetThreshold() string
- func (*PeriodicMandatoryJobConfig) ProtoMessage()
- func (x *PeriodicMandatoryJobConfig) ProtoReflect() protoreflect.Message
- func (x *PeriodicMandatoryJobConfig) Reset()
- func (x *PeriodicMandatoryJobConfig) String() string
- type RunDeleteDisconnectedServicesJobReq
- func (*RunDeleteDisconnectedServicesJobReq) Descriptor() ([]byte, []int)deprecated
- func (*RunDeleteDisconnectedServicesJobReq) ProtoMessage()
- func (x *RunDeleteDisconnectedServicesJobReq) ProtoReflect() protoreflect.Message
- func (x *RunDeleteDisconnectedServicesJobReq) Reset()
- func (x *RunDeleteDisconnectedServicesJobReq) String() string
- type RunDeleteDisconnectedServicesJobResponse
- func (*RunDeleteDisconnectedServicesJobResponse) Descriptor() ([]byte, []int)deprecated
- func (*RunDeleteDisconnectedServicesJobResponse) ProtoMessage()
- func (x *RunDeleteDisconnectedServicesJobResponse) ProtoReflect() protoreflect.Message
- func (x *RunDeleteDisconnectedServicesJobResponse) Reset()
- func (x *RunDeleteDisconnectedServicesJobResponse) String() string
- type RunDisconnectedServicesJobReq
- func (*RunDisconnectedServicesJobReq) Descriptor() ([]byte, []int)deprecated
- func (*RunDisconnectedServicesJobReq) ProtoMessage()
- func (x *RunDisconnectedServicesJobReq) ProtoReflect() protoreflect.Message
- func (x *RunDisconnectedServicesJobReq) Reset()
- func (x *RunDisconnectedServicesJobReq) String() string
- type RunDisconnectedServicesJobResponse
- func (*RunDisconnectedServicesJobResponse) Descriptor() ([]byte, []int)deprecated
- func (*RunDisconnectedServicesJobResponse) ProtoMessage()
- func (x *RunDisconnectedServicesJobResponse) ProtoReflect() protoreflect.Message
- func (x *RunDisconnectedServicesJobResponse) Reset()
- func (x *RunDisconnectedServicesJobResponse) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetApplication() string
- func (x *Service) GetChannel() string
- func (x *Service) GetCurrentHealthSince() string
- func (x *Service) GetDisconnected() bool
- func (x *Service) GetEnvironment() string
- func (x *Service) GetFqdn() string
- func (x *Service) GetGroup() string
- func (x *Service) GetHealthCheck() HealthStatus
- func (x *Service) GetHealthCheckResult() *HealthCheckResult
- func (x *Service) GetHealthUpdatedAt() *timestamppb.Timestamp
- func (x *Service) GetId() string
- func (x *Service) GetLastEventOccurredAt() *timestamppb.Timestamp
- func (x *Service) GetLastEventSince() string
- func (x *Service) GetPreviousHealthCheck() HealthStatus
- func (x *Service) GetRelease() string
- func (x *Service) GetSite() string
- func (x *Service) GetSupervisorId() string
- func (x *Service) GetUpdateStrategy() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceGroup
- func (*ServiceGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceGroup) GetApplication() string
- func (x *ServiceGroup) GetDisconnectedCount() int32
- func (x *ServiceGroup) GetEnvironment() string
- func (x *ServiceGroup) GetHealthPercentage() int32
- func (x *ServiceGroup) GetId() string
- func (x *ServiceGroup) GetName() string
- func (x *ServiceGroup) GetPackage() string
- func (x *ServiceGroup) GetRelease() string
- func (x *ServiceGroup) GetServicesHealthCounts() *HealthCounts
- func (x *ServiceGroup) GetStatus() HealthStatus
- func (*ServiceGroup) ProtoMessage()
- func (x *ServiceGroup) ProtoReflect() protoreflect.Message
- func (x *ServiceGroup) Reset()
- func (x *ServiceGroup) String() string
- type ServiceGroups
- type ServiceGroupsHealthCountsReq
- func (*ServiceGroupsHealthCountsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceGroupsHealthCountsReq) GetFilter() []string
- func (*ServiceGroupsHealthCountsReq) ProtoMessage()
- func (x *ServiceGroupsHealthCountsReq) ProtoReflect() protoreflect.Message
- func (x *ServiceGroupsHealthCountsReq) Reset()
- func (x *ServiceGroupsHealthCountsReq) String() string
- type ServiceGroupsReq
- func (*ServiceGroupsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceGroupsReq) GetFilter() []string
- func (x *ServiceGroupsReq) GetPagination() *query.Pagination
- func (x *ServiceGroupsReq) GetSorting() *query.Sorting
- func (*ServiceGroupsReq) ProtoMessage()
- func (x *ServiceGroupsReq) ProtoReflect() protoreflect.Message
- func (x *ServiceGroupsReq) Reset()
- func (x *ServiceGroupsReq) String() string
- type ServicesBySGReq
- func (*ServicesBySGReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesBySGReq) GetFilter() []string
- func (x *ServicesBySGReq) GetPagination() *query.Pagination
- func (x *ServicesBySGReq) GetServiceGroupId() string
- func (x *ServicesBySGReq) GetSorting() *query.Sorting
- func (*ServicesBySGReq) ProtoMessage()
- func (x *ServicesBySGReq) ProtoReflect() protoreflect.Message
- func (x *ServicesBySGReq) Reset()
- func (x *ServicesBySGReq) String() string
- type ServicesBySGRes
- func (*ServicesBySGRes) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesBySGRes) GetGroup() string
- func (x *ServicesBySGRes) GetServices() []*Service
- func (x *ServicesBySGRes) GetServicesHealthCounts() *HealthCounts
- func (*ServicesBySGRes) ProtoMessage()
- func (x *ServicesBySGRes) ProtoReflect() protoreflect.Message
- func (x *ServicesBySGRes) Reset()
- func (x *ServicesBySGRes) String() string
- type ServicesDistinctValuesReq
- func (*ServicesDistinctValuesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesDistinctValuesReq) GetFieldName() string
- func (x *ServicesDistinctValuesReq) GetFilter() []string
- func (x *ServicesDistinctValuesReq) GetQueryFragment() string
- func (*ServicesDistinctValuesReq) ProtoMessage()
- func (x *ServicesDistinctValuesReq) ProtoReflect() protoreflect.Message
- func (x *ServicesDistinctValuesReq) Reset()
- func (x *ServicesDistinctValuesReq) String() string
- type ServicesDistinctValuesRes
- func (*ServicesDistinctValuesRes) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesDistinctValuesRes) GetValues() []string
- func (*ServicesDistinctValuesRes) ProtoMessage()
- func (x *ServicesDistinctValuesRes) ProtoReflect() protoreflect.Message
- func (x *ServicesDistinctValuesRes) Reset()
- func (x *ServicesDistinctValuesRes) String() string
- type ServicesReq
- func (*ServicesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesReq) GetFilter() []string
- func (x *ServicesReq) GetPagination() *query.Pagination
- func (x *ServicesReq) GetSorting() *query.Sorting
- func (*ServicesReq) ProtoMessage()
- func (x *ServicesReq) ProtoReflect() protoreflect.Message
- func (x *ServicesReq) Reset()
- func (x *ServicesReq) String() string
- type ServicesRes
- type ServicesStatsReq
- type ServicesStatsRes
- func (*ServicesStatsRes) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesStatsRes) GetTotalDeployments() int32
- func (x *ServicesStatsRes) GetTotalServiceGroups() int32
- func (x *ServicesStatsRes) GetTotalServices() int32
- func (x *ServicesStatsRes) GetTotalSupervisors() int32
- func (*ServicesStatsRes) ProtoMessage()
- func (x *ServicesStatsRes) ProtoReflect() protoreflect.Message
- func (x *ServicesStatsRes) Reset()
- func (x *ServicesStatsRes) String() string
- type UnimplementedApplicationsServiceServer
- func (*UnimplementedApplicationsServiceServer) DeleteDisconnectedServices(context.Context, *DisconnectedServicesReq) (*ServicesRes, error)
- func (*UnimplementedApplicationsServiceServer) DeleteServicesByID(context.Context, *DeleteServicesByIDReq) (*ServicesRes, error)
- func (*UnimplementedApplicationsServiceServer) FindServices(*ServicesReq, ApplicationsService_FindServicesServer) error
- func (*UnimplementedApplicationsServiceServer) GetDeleteDisconnectedServicesConfig(context.Context, *GetDeleteDisconnectedServicesConfigReq) (*PeriodicJobConfig, error)
- func (*UnimplementedApplicationsServiceServer) GetDisconnectedServices(context.Context, *DisconnectedServicesReq) (*ServicesRes, error)
- func (*UnimplementedApplicationsServiceServer) GetDisconnectedServicesConfig(context.Context, *GetDisconnectedServicesConfigReq) (*PeriodicMandatoryJobConfig, error)
- func (*UnimplementedApplicationsServiceServer) GetServiceGroups(context.Context, *ServiceGroupsReq) (*ServiceGroups, error)
- func (*UnimplementedApplicationsServiceServer) GetServiceGroupsHealthCounts(context.Context, *ServiceGroupsHealthCountsReq) (*HealthCounts, error)
- func (*UnimplementedApplicationsServiceServer) GetServices(context.Context, *ServicesReq) (*ServicesRes, error)
- func (*UnimplementedApplicationsServiceServer) GetServicesBySG(context.Context, *ServicesBySGReq) (*ServicesBySGRes, error)
- func (*UnimplementedApplicationsServiceServer) GetServicesDistinctValues(context.Context, *ServicesDistinctValuesReq) (*ServicesDistinctValuesRes, error)
- func (*UnimplementedApplicationsServiceServer) GetServicesStats(context.Context, *ServicesStatsReq) (*ServicesStatsRes, error)
- func (*UnimplementedApplicationsServiceServer) GetServicesUsageCount(context.Context, *GetServicesUsageCountRequest) (*GetServicesUsageCountResponse, error)
- func (*UnimplementedApplicationsServiceServer) GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
- func (*UnimplementedApplicationsServiceServer) RunDeleteDisconnectedServicesJob(context.Context, *RunDeleteDisconnectedServicesJobReq) (*RunDeleteDisconnectedServicesJobResponse, error)
- func (*UnimplementedApplicationsServiceServer) RunDisconnectedServicesJob(context.Context, *RunDisconnectedServicesJobReq) (*RunDisconnectedServicesJobResponse, error)
- func (*UnimplementedApplicationsServiceServer) UpdateDeleteDisconnectedServicesConfig(context.Context, *PeriodicJobConfig) (*UpdateDeleteDisconnectedServicesConfigRes, error)
- func (*UnimplementedApplicationsServiceServer) UpdateDisconnectedServicesConfig(context.Context, *PeriodicMandatoryJobConfig) (*UpdateDisconnectedServicesConfigRes, error)
- func (*UnimplementedApplicationsServiceServer) UpdateTelemetryReported(context.Context, *UpdateTelemetryReportedRequest) (*UpdateTelemetryReportedResponse, error)
- type UpdateDeleteDisconnectedServicesConfigRes
- func (*UpdateDeleteDisconnectedServicesConfigRes) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDeleteDisconnectedServicesConfigRes) ProtoMessage()
- func (x *UpdateDeleteDisconnectedServicesConfigRes) ProtoReflect() protoreflect.Message
- func (x *UpdateDeleteDisconnectedServicesConfigRes) Reset()
- func (x *UpdateDeleteDisconnectedServicesConfigRes) String() string
- type UpdateDisconnectedServicesConfigRes
- func (*UpdateDisconnectedServicesConfigRes) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDisconnectedServicesConfigRes) ProtoMessage()
- func (x *UpdateDisconnectedServicesConfigRes) ProtoReflect() protoreflect.Message
- func (x *UpdateDisconnectedServicesConfigRes) Reset()
- func (x *UpdateDisconnectedServicesConfigRes) String() string
- type UpdateTelemetryReportedRequest
- func (*UpdateTelemetryReportedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt() string
- func (*UpdateTelemetryReportedRequest) ProtoMessage()
- func (x *UpdateTelemetryReportedRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTelemetryReportedRequest) Reset()
- func (x *UpdateTelemetryReportedRequest) String() string
- type UpdateTelemetryReportedResponse
- func (*UpdateTelemetryReportedResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTelemetryReportedResponse) ProtoMessage()
- func (x *UpdateTelemetryReportedResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTelemetryReportedResponse) Reset()
- func (x *UpdateTelemetryReportedResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( HealthStatus_name = map[int32]string{ 0: "OK", 1: "WARNING", 2: "CRITICAL", 3: "UNKNOWN", 17: "NONE", } HealthStatus_value = map[string]int32{ "OK": 0, "WARNING": 1, "CRITICAL": 2, "UNKNOWN": 3, "NONE": 17, } )
Enum value maps for HealthStatus.
var File_external_applications_applications_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApplicationsServiceHandler ¶
func RegisterApplicationsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterApplicationsServiceHandler registers the http handlers for service ApplicationsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterApplicationsServiceHandlerClient ¶
func RegisterApplicationsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApplicationsServiceClient) error
RegisterApplicationsServiceHandlerClient registers the http handlers for service ApplicationsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApplicationsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApplicationsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApplicationsServiceClient" to call the correct interceptors.
func RegisterApplicationsServiceHandlerFromEndpoint ¶
func RegisterApplicationsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterApplicationsServiceHandlerFromEndpoint is same as RegisterApplicationsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterApplicationsServiceHandlerServer ¶
func RegisterApplicationsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApplicationsServiceServer) error
RegisterApplicationsServiceHandlerServer registers the http handlers for service ApplicationsService to "mux". UnaryRPC :call ApplicationsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterApplicationsServiceServer ¶
func RegisterApplicationsServiceServer(s *grpc.Server, srv ApplicationsServiceServer)
Types ¶
type ApplicationsServiceClient ¶
type ApplicationsServiceClient interface { // List Service Groups // // Lists service groups with name, health information, and application, environment, package, release metadata. // Accepts pagination, sorting, search, and status filters. // // Example: // “` // applications/service-groups?sorting.field=percent_ok&sorting.order=ASC&pagination.page=1&pagination.size=25 // “` // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServiceGroups(ctx context.Context, in *ServiceGroupsReq, opts ...grpc.CallOption) (*ServiceGroups, error) // List Service Groups Health Counts // // Lists the total service group health reports by critical, warning, ok and unknown responses. Supports search and status filtering. // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServiceGroupsHealthCounts(ctx context.Context, in *ServiceGroupsHealthCountsReq, opts ...grpc.CallOption) (*HealthCounts, error) // List Services // // Lists service health status and service metadata for services. // Supports pagination and search and status filtering. For a list of services for a specific service-group see "List Services for a Service Group" (GetServicesBySG endpoint). // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServices(ctx context.Context, in *ServicesReq, opts ...grpc.CallOption) (*ServicesRes, error) // Find Services // // Lists service health status and service metadata for services matching the given criteria. All matching services are returned via a stream response. // // Authorization Action: // “` // “` // //applications:serviceGroups:list FindServices(ctx context.Context, in *ServicesReq, opts ...grpc.CallOption) (ApplicationsService_FindServicesClient, error) // List Filter Values // // Lists all of the possible filter values for a given valid field. // Limit the returned values by providing at one or more characters in the `query_fragment` parameter. // Supports wildcard (* and ?) // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServicesDistinctValues(ctx context.Context, in *ServicesDistinctValuesReq, opts ...grpc.CallOption) (*ServicesDistinctValuesRes, error) // List Services for a Service Group // // List the services for a service group with health status and service metadata. // Uses the service group ID generated by Chef Automate instead of the Chef Habitat- provided ID. // Supports pagination and filtering. // // Example: // “` // applications/service-groups/1dfff679054c60a10c51d059b6dbf81a765c46f8d3e8ce0752b22ffe8d4d9716?pagination.page=1&pagination.size=25 // “` // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServicesBySG(ctx context.Context, in *ServicesBySGReq, opts ...grpc.CallOption) (*ServicesBySGRes, error) // Show Summary // // Shows a summary of service-groups, services, deployments, and supervisors. // Used for telemetry. // Does not support filtering. // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServicesStats(ctx context.Context, in *ServicesStatsReq, opts ...grpc.CallOption) (*ServicesStatsRes, error) // Mark Services as Disconnected // // Marks services as disconnected based on the `threshold_seconds` setting. // This function is not used by the API or CLI and is here for testing purposes. // The functionality is currently covered by a periodically running job that can be configured // by utilizing the `UpdateDisconnectedServicesConfig` endpoint. // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetDisconnectedServices(ctx context.Context, in *DisconnectedServicesReq, opts ...grpc.CallOption) (*ServicesRes, error) // Remove Disconnected Services // // Removes services marked as disconnected based on the `threshold_seconds` setting. // This function is not used by the API or CLI and is here for testing purposes. // The functionality is currently covered by a periodically running job that can be configured using `UpdateDeleteDisconnectedServicesConfig`. // // Authorization Action: // “` // “` // //applications:serviceGroups:delete DeleteDisconnectedServices(ctx context.Context, in *DisconnectedServicesReq, opts ...grpc.CallOption) (*ServicesRes, error) // Delete the services with the given IDs // // Authorization Action: // “` // “` // //applications:serviceGroups:delete DeleteServicesByID(ctx context.Context, in *DeleteServicesByIDReq, opts ...grpc.CallOption) (*ServicesRes, error) // Show Version // // # Displays the current version of the applications-service // // Authorization Action: // “` // “` // //system:serviceVersion:get GetVersion(ctx context.Context, in *version.VersionInfoRequest, opts ...grpc.CallOption) (*version.VersionInfo, error) // Show 'Disconnected Services' configuration // // Returns the configuration for the task that marks services as disconnected. The `threshold` setting defines the period of time between the last report from a node and the moment when Chef Automate marks it as disconnected. `Threshold` is a string that follows Elasticsearch's date math expressions. // This task is always enabled, cannot be disabled. Because this task runs continuously, the response does not return information about its status. // // Authorization Action: // “` // “` // //retention:serviceGroups:get GetDisconnectedServicesConfig(ctx context.Context, in *GetDisconnectedServicesConfigReq, opts ...grpc.CallOption) (*PeriodicMandatoryJobConfig, error) // Change 'Disconnected Services' Configuration // // Changes the configuration for the task that marks services as disconnected. // // The periodic task to check for disconnected services can be enabled or // disabled by setting the 'running' setting to `true` or `false`, respectively. // When disabled, no services will be marked disconnected, regardless of the // time that has elapsed since the last health check. It is not recommened to // disable the job. // // The frequency of the job's execution can be modified by changing the // 'recurrence'. This setting is a string // [as defined in section 4.3.10 of RFC 2445](https://www.ietf.org/rfc/rfc2445.txt). // By default, the task runs every 60 seconds. It is not recommended to change // the recurrence. // // When enabled, services are marked disconnected when the time elapsed since // Automate last received a health check exceeds 'threshold'. Threshold is a // string that follows Elasticsearch's date math expressions. // // Example: // “` // /retention/service_groups/disconnected_services/config // '{ // "threshold": "15m", // "running": true, // "recurrence": "FREQ=SECONDLY;DTSTART=20200612T182166Z;INTERVAL=60" // }' // “` // // Authorization Action: // “` // “` // //retention:serviceGroups:update UpdateDisconnectedServicesConfig(ctx context.Context, in *PeriodicMandatoryJobConfig, opts ...grpc.CallOption) (*UpdateDisconnectedServicesConfigRes, error) // Runs the job to mark services as disconnected immediately. // // Authorization Action: // “` // “` // //retention:serviceGroups:update RunDisconnectedServicesJob(ctx context.Context, in *RunDisconnectedServicesJobReq, opts ...grpc.CallOption) (*RunDisconnectedServicesJobResponse, error) // Show 'Remove Disconnected Services' Configuration // // Displays configuration for the task that deletes services marked as disconnected // after 'threshold'. Threshold is a string that follows Elasticsearch's date math expressions. // This job is disabled if running is set to false. // // Authorization Action: // “` // “` // //retention:serviceGroups:get GetDeleteDisconnectedServicesConfig(ctx context.Context, in *GetDeleteDisconnectedServicesConfigReq, opts ...grpc.CallOption) (*PeriodicJobConfig, error) // Change 'Remove Disconnected Services' Configuration // // Updates configuration information for the task that deletes services marked as disconnected // after 'threshold'. Threshold is a string that follows Elasticsearch's date math expressions. // This job can be disabled by setting `"running": false`. // // The frequency of the job's execution can be modified by changing the // 'recurrence'. This setting is a string // [as defined in section 4.3.10 of RFC 2445](https://www.ietf.org/rfc/rfc2445.txt). // By default, the task runs every 60 seconds. It is not recommended to change // the recurrence. // // Example: // “` // service_groups/delete_disconnected_services/config" -d // '{ // "threshold": "1d", // "running":true, // "recurrence": "FREQ=SECONDLY;DTSTART=20200612T182166Z;INTERVAL=60" // }' // “` // // Authorization Action: // “` // “` // //retention:serviceGroups:update UpdateDeleteDisconnectedServicesConfig(ctx context.Context, in *PeriodicJobConfig, opts ...grpc.CallOption) (*UpdateDeleteDisconnectedServicesConfigRes, error) RunDeleteDisconnectedServicesJob(ctx context.Context, in *RunDeleteDisconnectedServicesJobReq, opts ...grpc.CallOption) (*RunDeleteDisconnectedServicesJobResponse, error) UpdateTelemetryReported(ctx context.Context, in *UpdateTelemetryReportedRequest, opts ...grpc.CallOption) (*UpdateTelemetryReportedResponse, error) GetServicesUsageCount(ctx context.Context, in *GetServicesUsageCountRequest, opts ...grpc.CallOption) (*GetServicesUsageCountResponse, error) }
ApplicationsServiceClient is the client API for ApplicationsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewApplicationsServiceClient ¶
func NewApplicationsServiceClient(cc grpc.ClientConnInterface) ApplicationsServiceClient
type ApplicationsServiceServer ¶
type ApplicationsServiceServer interface { // List Service Groups // // Lists service groups with name, health information, and application, environment, package, release metadata. // Accepts pagination, sorting, search, and status filters. // // Example: // “` // applications/service-groups?sorting.field=percent_ok&sorting.order=ASC&pagination.page=1&pagination.size=25 // “` // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServiceGroups(context.Context, *ServiceGroupsReq) (*ServiceGroups, error) // List Service Groups Health Counts // // Lists the total service group health reports by critical, warning, ok and unknown responses. Supports search and status filtering. // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServiceGroupsHealthCounts(context.Context, *ServiceGroupsHealthCountsReq) (*HealthCounts, error) // List Services // // Lists service health status and service metadata for services. // Supports pagination and search and status filtering. For a list of services for a specific service-group see "List Services for a Service Group" (GetServicesBySG endpoint). // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServices(context.Context, *ServicesReq) (*ServicesRes, error) // Find Services // // Lists service health status and service metadata for services matching the given criteria. All matching services are returned via a stream response. // // Authorization Action: // “` // “` // //applications:serviceGroups:list FindServices(*ServicesReq, ApplicationsService_FindServicesServer) error // List Filter Values // // Lists all of the possible filter values for a given valid field. // Limit the returned values by providing at one or more characters in the `query_fragment` parameter. // Supports wildcard (* and ?) // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServicesDistinctValues(context.Context, *ServicesDistinctValuesReq) (*ServicesDistinctValuesRes, error) // List Services for a Service Group // // List the services for a service group with health status and service metadata. // Uses the service group ID generated by Chef Automate instead of the Chef Habitat- provided ID. // Supports pagination and filtering. // // Example: // “` // applications/service-groups/1dfff679054c60a10c51d059b6dbf81a765c46f8d3e8ce0752b22ffe8d4d9716?pagination.page=1&pagination.size=25 // “` // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServicesBySG(context.Context, *ServicesBySGReq) (*ServicesBySGRes, error) // Show Summary // // Shows a summary of service-groups, services, deployments, and supervisors. // Used for telemetry. // Does not support filtering. // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetServicesStats(context.Context, *ServicesStatsReq) (*ServicesStatsRes, error) // Mark Services as Disconnected // // Marks services as disconnected based on the `threshold_seconds` setting. // This function is not used by the API or CLI and is here for testing purposes. // The functionality is currently covered by a periodically running job that can be configured // by utilizing the `UpdateDisconnectedServicesConfig` endpoint. // // Authorization Action: // “` // “` // //applications:serviceGroups:list GetDisconnectedServices(context.Context, *DisconnectedServicesReq) (*ServicesRes, error) // Remove Disconnected Services // // Removes services marked as disconnected based on the `threshold_seconds` setting. // This function is not used by the API or CLI and is here for testing purposes. // The functionality is currently covered by a periodically running job that can be configured using `UpdateDeleteDisconnectedServicesConfig`. // // Authorization Action: // “` // “` // //applications:serviceGroups:delete DeleteDisconnectedServices(context.Context, *DisconnectedServicesReq) (*ServicesRes, error) // Delete the services with the given IDs // // Authorization Action: // “` // “` // //applications:serviceGroups:delete DeleteServicesByID(context.Context, *DeleteServicesByIDReq) (*ServicesRes, error) // Show Version // // # Displays the current version of the applications-service // // Authorization Action: // “` // “` // //system:serviceVersion:get GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error) // Show 'Disconnected Services' configuration // // Returns the configuration for the task that marks services as disconnected. The `threshold` setting defines the period of time between the last report from a node and the moment when Chef Automate marks it as disconnected. `Threshold` is a string that follows Elasticsearch's date math expressions. // This task is always enabled, cannot be disabled. Because this task runs continuously, the response does not return information about its status. // // Authorization Action: // “` // “` // //retention:serviceGroups:get GetDisconnectedServicesConfig(context.Context, *GetDisconnectedServicesConfigReq) (*PeriodicMandatoryJobConfig, error) // Change 'Disconnected Services' Configuration // // Changes the configuration for the task that marks services as disconnected. // // The periodic task to check for disconnected services can be enabled or // disabled by setting the 'running' setting to `true` or `false`, respectively. // When disabled, no services will be marked disconnected, regardless of the // time that has elapsed since the last health check. It is not recommened to // disable the job. // // The frequency of the job's execution can be modified by changing the // 'recurrence'. This setting is a string // [as defined in section 4.3.10 of RFC 2445](https://www.ietf.org/rfc/rfc2445.txt). // By default, the task runs every 60 seconds. It is not recommended to change // the recurrence. // // When enabled, services are marked disconnected when the time elapsed since // Automate last received a health check exceeds 'threshold'. Threshold is a // string that follows Elasticsearch's date math expressions. // // Example: // “` // /retention/service_groups/disconnected_services/config // '{ // "threshold": "15m", // "running": true, // "recurrence": "FREQ=SECONDLY;DTSTART=20200612T182166Z;INTERVAL=60" // }' // “` // // Authorization Action: // “` // “` // //retention:serviceGroups:update UpdateDisconnectedServicesConfig(context.Context, *PeriodicMandatoryJobConfig) (*UpdateDisconnectedServicesConfigRes, error) // Runs the job to mark services as disconnected immediately. // // Authorization Action: // “` // “` // //retention:serviceGroups:update RunDisconnectedServicesJob(context.Context, *RunDisconnectedServicesJobReq) (*RunDisconnectedServicesJobResponse, error) // Show 'Remove Disconnected Services' Configuration // // Displays configuration for the task that deletes services marked as disconnected // after 'threshold'. Threshold is a string that follows Elasticsearch's date math expressions. // This job is disabled if running is set to false. // // Authorization Action: // “` // “` // //retention:serviceGroups:get GetDeleteDisconnectedServicesConfig(context.Context, *GetDeleteDisconnectedServicesConfigReq) (*PeriodicJobConfig, error) // Change 'Remove Disconnected Services' Configuration // // Updates configuration information for the task that deletes services marked as disconnected // after 'threshold'. Threshold is a string that follows Elasticsearch's date math expressions. // This job can be disabled by setting `"running": false`. // // The frequency of the job's execution can be modified by changing the // 'recurrence'. This setting is a string // [as defined in section 4.3.10 of RFC 2445](https://www.ietf.org/rfc/rfc2445.txt). // By default, the task runs every 60 seconds. It is not recommended to change // the recurrence. // // Example: // “` // service_groups/delete_disconnected_services/config" -d // '{ // "threshold": "1d", // "running":true, // "recurrence": "FREQ=SECONDLY;DTSTART=20200612T182166Z;INTERVAL=60" // }' // “` // // Authorization Action: // “` // “` // //retention:serviceGroups:update UpdateDeleteDisconnectedServicesConfig(context.Context, *PeriodicJobConfig) (*UpdateDeleteDisconnectedServicesConfigRes, error) RunDeleteDisconnectedServicesJob(context.Context, *RunDeleteDisconnectedServicesJobReq) (*RunDeleteDisconnectedServicesJobResponse, error) UpdateTelemetryReported(context.Context, *UpdateTelemetryReportedRequest) (*UpdateTelemetryReportedResponse, error) GetServicesUsageCount(context.Context, *GetServicesUsageCountRequest) (*GetServicesUsageCountResponse, error) }
ApplicationsServiceServer is the server API for ApplicationsService service.
type ApplicationsService_FindServicesClient ¶
type ApplicationsService_FindServicesClient interface { Recv() (*Service, error) grpc.ClientStream }
type ApplicationsService_FindServicesServer ¶
type ApplicationsService_FindServicesServer interface { Send(*Service) error grpc.ServerStream }
type DeleteServicesByIDReq ¶
type DeleteServicesByIDReq struct { // List of the database IDs of the services to be deleted. Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteServicesByIDReq) Descriptor
deprecated
func (*DeleteServicesByIDReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServicesByIDReq.ProtoReflect.Descriptor instead.
func (*DeleteServicesByIDReq) GetIds ¶
func (x *DeleteServicesByIDReq) GetIds() []string
func (*DeleteServicesByIDReq) ProtoMessage ¶
func (*DeleteServicesByIDReq) ProtoMessage()
func (*DeleteServicesByIDReq) ProtoReflect ¶
func (x *DeleteServicesByIDReq) ProtoReflect() protoreflect.Message
func (*DeleteServicesByIDReq) Reset ¶
func (x *DeleteServicesByIDReq) Reset()
func (*DeleteServicesByIDReq) String ¶
func (x *DeleteServicesByIDReq) String() string
type DisconnectedServicesReq ¶
type DisconnectedServicesReq struct { // Threshold for marking services disconnected in seconds. ThresholdSeconds int32 `protobuf:"varint,2,opt,name=threshold_seconds,json=thresholdSeconds,proto3" json:"threshold_seconds,omitempty"` // contains filtered or unexported fields }
Request message for GetDisconnectedServices.
func (*DisconnectedServicesReq) Descriptor
deprecated
func (*DisconnectedServicesReq) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectedServicesReq.ProtoReflect.Descriptor instead.
func (*DisconnectedServicesReq) GetThresholdSeconds ¶
func (x *DisconnectedServicesReq) GetThresholdSeconds() int32
func (*DisconnectedServicesReq) ProtoMessage ¶
func (*DisconnectedServicesReq) ProtoMessage()
func (*DisconnectedServicesReq) ProtoReflect ¶
func (x *DisconnectedServicesReq) ProtoReflect() protoreflect.Message
func (*DisconnectedServicesReq) Reset ¶
func (x *DisconnectedServicesReq) Reset()
func (*DisconnectedServicesReq) String ¶
func (x *DisconnectedServicesReq) String() string
type GetDeleteDisconnectedServicesConfigReq ¶
type GetDeleteDisconnectedServicesConfigReq struct {
// contains filtered or unexported fields
}
func (*GetDeleteDisconnectedServicesConfigReq) Descriptor
deprecated
func (*GetDeleteDisconnectedServicesConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDeleteDisconnectedServicesConfigReq.ProtoReflect.Descriptor instead.
func (*GetDeleteDisconnectedServicesConfigReq) ProtoMessage ¶
func (*GetDeleteDisconnectedServicesConfigReq) ProtoMessage()
func (*GetDeleteDisconnectedServicesConfigReq) ProtoReflect ¶
func (x *GetDeleteDisconnectedServicesConfigReq) ProtoReflect() protoreflect.Message
func (*GetDeleteDisconnectedServicesConfigReq) Reset ¶
func (x *GetDeleteDisconnectedServicesConfigReq) Reset()
func (*GetDeleteDisconnectedServicesConfigReq) String ¶
func (x *GetDeleteDisconnectedServicesConfigReq) String() string
type GetDisconnectedServicesConfigReq ¶
type GetDisconnectedServicesConfigReq struct {
// contains filtered or unexported fields
}
func (*GetDisconnectedServicesConfigReq) Descriptor
deprecated
func (*GetDisconnectedServicesConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDisconnectedServicesConfigReq.ProtoReflect.Descriptor instead.
func (*GetDisconnectedServicesConfigReq) ProtoMessage ¶
func (*GetDisconnectedServicesConfigReq) ProtoMessage()
func (*GetDisconnectedServicesConfigReq) ProtoReflect ¶
func (x *GetDisconnectedServicesConfigReq) ProtoReflect() protoreflect.Message
func (*GetDisconnectedServicesConfigReq) Reset ¶
func (x *GetDisconnectedServicesConfigReq) Reset()
func (*GetDisconnectedServicesConfigReq) String ¶
func (x *GetDisconnectedServicesConfigReq) String() string
type GetServicesUsageCountRequest ¶
type GetServicesUsageCountRequest struct {
// contains filtered or unexported fields
}
func (*GetServicesUsageCountRequest) Descriptor
deprecated
func (*GetServicesUsageCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServicesUsageCountRequest.ProtoReflect.Descriptor instead.
func (*GetServicesUsageCountRequest) ProtoMessage ¶
func (*GetServicesUsageCountRequest) ProtoMessage()
func (*GetServicesUsageCountRequest) ProtoReflect ¶
func (x *GetServicesUsageCountRequest) ProtoReflect() protoreflect.Message
func (*GetServicesUsageCountRequest) Reset ¶
func (x *GetServicesUsageCountRequest) Reset()
func (*GetServicesUsageCountRequest) String ¶
func (x *GetServicesUsageCountRequest) String() string
type GetServicesUsageCountResponse ¶
type GetServicesUsageCountResponse struct { // unique services count in a duration TotalServices int64 `protobuf:"varint,1,opt,name=total_services,json=totalServices,proto3" json:"total_services,omitempty"` // number of days since telematics was last posted DaysSinceLastPost int64 `protobuf:"varint,2,opt,name=days_since_last_post,json=daysSinceLastPost,proto3" json:"days_since_last_post,omitempty"` // contains filtered or unexported fields }
func (*GetServicesUsageCountResponse) Descriptor
deprecated
func (*GetServicesUsageCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServicesUsageCountResponse.ProtoReflect.Descriptor instead.
func (*GetServicesUsageCountResponse) GetDaysSinceLastPost ¶
func (x *GetServicesUsageCountResponse) GetDaysSinceLastPost() int64
func (*GetServicesUsageCountResponse) GetTotalServices ¶
func (x *GetServicesUsageCountResponse) GetTotalServices() int64
func (*GetServicesUsageCountResponse) ProtoMessage ¶
func (*GetServicesUsageCountResponse) ProtoMessage()
func (*GetServicesUsageCountResponse) ProtoReflect ¶
func (x *GetServicesUsageCountResponse) ProtoReflect() protoreflect.Message
func (*GetServicesUsageCountResponse) Reset ¶
func (x *GetServicesUsageCountResponse) Reset()
func (*GetServicesUsageCountResponse) String ¶
func (x *GetServicesUsageCountResponse) String() string
type HealthCheckResult ¶
type HealthCheckResult struct { Stdout string `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` ExitStatus int32 `protobuf:"varint,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
HealthCheckResult aggregates the stdout output, stderr output and process exit status of a habitat health check
func (*HealthCheckResult) Descriptor
deprecated
func (*HealthCheckResult) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResult.ProtoReflect.Descriptor instead.
func (*HealthCheckResult) GetExitStatus ¶
func (x *HealthCheckResult) GetExitStatus() int32
func (*HealthCheckResult) GetStderr ¶
func (x *HealthCheckResult) GetStderr() string
func (*HealthCheckResult) GetStdout ¶
func (x *HealthCheckResult) GetStdout() string
func (*HealthCheckResult) ProtoMessage ¶
func (*HealthCheckResult) ProtoMessage()
func (*HealthCheckResult) ProtoReflect ¶
func (x *HealthCheckResult) ProtoReflect() protoreflect.Message
func (*HealthCheckResult) Reset ¶
func (x *HealthCheckResult) Reset()
func (*HealthCheckResult) String ¶
func (x *HealthCheckResult) String() string
type HealthCounts ¶
type HealthCounts struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Ok int32 `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"` Warning int32 `protobuf:"varint,3,opt,name=warning,proto3" json:"warning,omitempty"` Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"` Unknown int32 `protobuf:"varint,5,opt,name=unknown,proto3" json:"unknown,omitempty"` Disconnected int32 `protobuf:"varint,6,opt,name=disconnected,proto3" json:"disconnected,omitempty"` // contains filtered or unexported fields }
Combined count values from the health status and disconnected status reports.
func (*HealthCounts) Descriptor
deprecated
func (*HealthCounts) Descriptor() ([]byte, []int)
Deprecated: Use HealthCounts.ProtoReflect.Descriptor instead.
func (*HealthCounts) GetCritical ¶
func (x *HealthCounts) GetCritical() int32
func (*HealthCounts) GetDisconnected ¶
func (x *HealthCounts) GetDisconnected() int32
func (*HealthCounts) GetOk ¶
func (x *HealthCounts) GetOk() int32
func (*HealthCounts) GetTotal ¶
func (x *HealthCounts) GetTotal() int32
func (*HealthCounts) GetUnknown ¶
func (x *HealthCounts) GetUnknown() int32
func (*HealthCounts) GetWarning ¶
func (x *HealthCounts) GetWarning() int32
func (*HealthCounts) ProtoMessage ¶
func (*HealthCounts) ProtoMessage()
func (*HealthCounts) ProtoReflect ¶
func (x *HealthCounts) ProtoReflect() protoreflect.Message
func (*HealthCounts) Reset ¶
func (x *HealthCounts) Reset()
func (*HealthCounts) String ¶
func (x *HealthCounts) String() string
type HealthStatus ¶
type HealthStatus int32
The HealthStatus enumerable matches the Chef Habitat implementation for health-check status: => https://www.habitat.sh/docs/reference/#health-check For a health status within a service group. *critical* means that one or more services are in critical condition. *warning* means that one or more services have a warning, but none are in critical condition. *unknown* means that one or more services have not responded, but all of the remaining nodes responded to the health check as "OK". *OK* means that all of the services are OK and all have responded to the health check. *none* means that there is no health check information.
const ( HealthStatus_OK HealthStatus = 0 HealthStatus_WARNING HealthStatus = 1 HealthStatus_CRITICAL HealthStatus = 2 HealthStatus_UNKNOWN HealthStatus = 3 HealthStatus_NONE HealthStatus = 17 )
func (HealthStatus) Descriptor ¶
func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthStatus) Enum ¶
func (x HealthStatus) Enum() *HealthStatus
func (HealthStatus) EnumDescriptor
deprecated
func (HealthStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthStatus.Descriptor instead.
func (HealthStatus) Number ¶
func (x HealthStatus) Number() protoreflect.EnumNumber
func (HealthStatus) String ¶
func (x HealthStatus) String() string
func (HealthStatus) Type ¶
func (HealthStatus) Type() protoreflect.EnumType
type PackageIdent ¶
type PackageIdent struct { // Chef Habitat origin. Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // Chef Habitat package name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Chef Habitat release version number. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // Chef Habitat release buildstamp. Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` // contains filtered or unexported fields }
The package identifier of a service is unique and is the combination of origin/name/version/release
Example: core/redis/0.1.0/8743278934278923
func (*PackageIdent) Descriptor
deprecated
func (*PackageIdent) Descriptor() ([]byte, []int)
Deprecated: Use PackageIdent.ProtoReflect.Descriptor instead.
func (*PackageIdent) GetName ¶
func (x *PackageIdent) GetName() string
func (*PackageIdent) GetOrigin ¶
func (x *PackageIdent) GetOrigin() string
func (*PackageIdent) GetRelease ¶
func (x *PackageIdent) GetRelease() string
func (*PackageIdent) GetVersion ¶
func (x *PackageIdent) GetVersion() string
func (*PackageIdent) ProtoMessage ¶
func (*PackageIdent) ProtoMessage()
func (*PackageIdent) ProtoReflect ¶
func (x *PackageIdent) ProtoReflect() protoreflect.Message
func (*PackageIdent) Reset ¶
func (x *PackageIdent) Reset()
func (*PackageIdent) String ¶
func (x *PackageIdent) String() string
type PeriodicJobConfig ¶
type PeriodicJobConfig struct { // Enable/disable the job. `false` is disabled, `true` is enabled. Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` // The `threshold` setting used by periodic jobs for evaluating services. // Threshold is a string that follows Elasticsearch's date math expressions. For more information, see the simpledatemath package under `lib/`. Threshold string `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // A recurrence rule that determines how often, at what interval, and when to // initially start a scheduled job. // // If the field is omitted from the request or is set to an emtpy string, no // change will be made to the current value. Otherwise, the value should match // the [recurrence rule format defined in section 4.3.10 of RFC 2445](https://www.ietf.org/rfc/rfc2445.txt). // // It is not recommended to change this value from the default setting of a // 60 second interval. This configuration option is provided only for // consistency with other data lifecyle APIs. Recurrence string `protobuf:"bytes,3,opt,name=recurrence,proto3" json:"recurrence,omitempty"` JobInfo *PeriodicJobInfo `protobuf:"bytes,4,opt,name=job_info,json=jobInfo,proto3" json:"job_info,omitempty"` // contains filtered or unexported fields }
Periodic job configuration.
func (*PeriodicJobConfig) Descriptor
deprecated
func (*PeriodicJobConfig) Descriptor() ([]byte, []int)
Deprecated: Use PeriodicJobConfig.ProtoReflect.Descriptor instead.
func (*PeriodicJobConfig) GetJobInfo ¶
func (x *PeriodicJobConfig) GetJobInfo() *PeriodicJobInfo
func (*PeriodicJobConfig) GetRecurrence ¶
func (x *PeriodicJobConfig) GetRecurrence() string
func (*PeriodicJobConfig) GetRunning ¶
func (x *PeriodicJobConfig) GetRunning() bool
func (*PeriodicJobConfig) GetThreshold ¶
func (x *PeriodicJobConfig) GetThreshold() string
func (*PeriodicJobConfig) ProtoMessage ¶
func (*PeriodicJobConfig) ProtoMessage()
func (*PeriodicJobConfig) ProtoReflect ¶
func (x *PeriodicJobConfig) ProtoReflect() protoreflect.Message
func (*PeriodicJobConfig) Reset ¶
func (x *PeriodicJobConfig) Reset()
func (*PeriodicJobConfig) String ¶
func (x *PeriodicJobConfig) String() string
type PeriodicJobInfo ¶
type PeriodicJobInfo struct { LastEnqueuedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_enqueued_at,json=lastEnqueuedAt,proto3" json:"last_enqueued_at,omitempty"` LastStartedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_started_at,json=lastStartedAt,proto3" json:"last_started_at,omitempty"` LastEndedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_ended_at,json=lastEndedAt,proto3" json:"last_ended_at,omitempty"` LastElapsed *durationpb.Duration `protobuf:"bytes,4,opt,name=last_elapsed,json=lastElapsed,proto3" json:"last_elapsed,omitempty"` NextDueAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=next_due_at,json=nextDueAt,proto3" json:"next_due_at,omitempty"` // contains filtered or unexported fields }
PeriodicJobInfo gives information about the last and next scheduled executions of a periodic job.
func (*PeriodicJobInfo) Descriptor
deprecated
func (*PeriodicJobInfo) Descriptor() ([]byte, []int)
Deprecated: Use PeriodicJobInfo.ProtoReflect.Descriptor instead.
func (*PeriodicJobInfo) GetLastElapsed ¶
func (x *PeriodicJobInfo) GetLastElapsed() *durationpb.Duration
func (*PeriodicJobInfo) GetLastEndedAt ¶
func (x *PeriodicJobInfo) GetLastEndedAt() *timestamppb.Timestamp
func (*PeriodicJobInfo) GetLastEnqueuedAt ¶
func (x *PeriodicJobInfo) GetLastEnqueuedAt() *timestamppb.Timestamp
func (*PeriodicJobInfo) GetLastStartedAt ¶
func (x *PeriodicJobInfo) GetLastStartedAt() *timestamppb.Timestamp
func (*PeriodicJobInfo) GetNextDueAt ¶
func (x *PeriodicJobInfo) GetNextDueAt() *timestamppb.Timestamp
func (*PeriodicJobInfo) ProtoMessage ¶
func (*PeriodicJobInfo) ProtoMessage()
func (*PeriodicJobInfo) ProtoReflect ¶
func (x *PeriodicJobInfo) ProtoReflect() protoreflect.Message
func (*PeriodicJobInfo) Reset ¶
func (x *PeriodicJobInfo) Reset()
func (*PeriodicJobInfo) String ¶
func (x *PeriodicJobInfo) String() string
type PeriodicMandatoryJobConfig ¶
type PeriodicMandatoryJobConfig struct { // The `threshold` setting used by periodic jobs for evaluating services. // Threshold is a string that follows Elasticsearch's date math expressions. For more information, see the simpledatemath package under `lib/`. Threshold string `protobuf:"bytes,1,opt,name=threshold,proto3" json:"threshold,omitempty"` // Enable/disable the job. `false` is disabled, `true` is enabled. It is not // recommended to disable this job. Running *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=running,proto3" json:"running,omitempty"` // A recurrence rule that determines how often, at what interval, and when to // initially start a scheduled job. // // If the field is omitted from the request or is set to an emtpy string, no // change will be made to the current value. Otherwise, the value should match // the [recurrence rule format defined in section 4.3.10 of RFC 2445](https://www.ietf.org/rfc/rfc2445.txt). // // It is not recommended to change this value from the default setting of a // 60 second interval. This configuration option is provided only for // consistency with other data lifecyle APIs. Recurrence string `protobuf:"bytes,3,opt,name=recurrence,proto3" json:"recurrence,omitempty"` // Information about the last and next scheduled executions of the job. This // is only used in a response context. JobInfo *PeriodicJobInfo `protobuf:"bytes,4,opt,name=job_info,json=jobInfo,proto3" json:"job_info,omitempty"` // contains filtered or unexported fields }
Configuration for a periodic job. Initially Jobs using this message type were designed such that they could not be disabled, but that has been changed to make the various data lifecycle APIs consistent with each other. Thus, there is a `running` field which will disable the job if set to false. That is not recommended.
func (*PeriodicMandatoryJobConfig) Descriptor
deprecated
func (*PeriodicMandatoryJobConfig) Descriptor() ([]byte, []int)
Deprecated: Use PeriodicMandatoryJobConfig.ProtoReflect.Descriptor instead.
func (*PeriodicMandatoryJobConfig) GetJobInfo ¶
func (x *PeriodicMandatoryJobConfig) GetJobInfo() *PeriodicJobInfo
func (*PeriodicMandatoryJobConfig) GetRecurrence ¶
func (x *PeriodicMandatoryJobConfig) GetRecurrence() string
func (*PeriodicMandatoryJobConfig) GetRunning ¶
func (x *PeriodicMandatoryJobConfig) GetRunning() *wrapperspb.BoolValue
func (*PeriodicMandatoryJobConfig) GetThreshold ¶
func (x *PeriodicMandatoryJobConfig) GetThreshold() string
func (*PeriodicMandatoryJobConfig) ProtoMessage ¶
func (*PeriodicMandatoryJobConfig) ProtoMessage()
func (*PeriodicMandatoryJobConfig) ProtoReflect ¶
func (x *PeriodicMandatoryJobConfig) ProtoReflect() protoreflect.Message
func (*PeriodicMandatoryJobConfig) Reset ¶
func (x *PeriodicMandatoryJobConfig) Reset()
func (*PeriodicMandatoryJobConfig) String ¶
func (x *PeriodicMandatoryJobConfig) String() string
type RunDeleteDisconnectedServicesJobReq ¶
type RunDeleteDisconnectedServicesJobReq struct {
// contains filtered or unexported fields
}
func (*RunDeleteDisconnectedServicesJobReq) Descriptor
deprecated
func (*RunDeleteDisconnectedServicesJobReq) Descriptor() ([]byte, []int)
Deprecated: Use RunDeleteDisconnectedServicesJobReq.ProtoReflect.Descriptor instead.
func (*RunDeleteDisconnectedServicesJobReq) ProtoMessage ¶
func (*RunDeleteDisconnectedServicesJobReq) ProtoMessage()
func (*RunDeleteDisconnectedServicesJobReq) ProtoReflect ¶
func (x *RunDeleteDisconnectedServicesJobReq) ProtoReflect() protoreflect.Message
func (*RunDeleteDisconnectedServicesJobReq) Reset ¶
func (x *RunDeleteDisconnectedServicesJobReq) Reset()
func (*RunDeleteDisconnectedServicesJobReq) String ¶
func (x *RunDeleteDisconnectedServicesJobReq) String() string
type RunDeleteDisconnectedServicesJobResponse ¶
type RunDeleteDisconnectedServicesJobResponse struct {
// contains filtered or unexported fields
}
func (*RunDeleteDisconnectedServicesJobResponse) Descriptor
deprecated
func (*RunDeleteDisconnectedServicesJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunDeleteDisconnectedServicesJobResponse.ProtoReflect.Descriptor instead.
func (*RunDeleteDisconnectedServicesJobResponse) ProtoMessage ¶
func (*RunDeleteDisconnectedServicesJobResponse) ProtoMessage()
func (*RunDeleteDisconnectedServicesJobResponse) ProtoReflect ¶
func (x *RunDeleteDisconnectedServicesJobResponse) ProtoReflect() protoreflect.Message
func (*RunDeleteDisconnectedServicesJobResponse) Reset ¶
func (x *RunDeleteDisconnectedServicesJobResponse) Reset()
func (*RunDeleteDisconnectedServicesJobResponse) String ¶
func (x *RunDeleteDisconnectedServicesJobResponse) String() string
type RunDisconnectedServicesJobReq ¶
type RunDisconnectedServicesJobReq struct {
// contains filtered or unexported fields
}
func (*RunDisconnectedServicesJobReq) Descriptor
deprecated
func (*RunDisconnectedServicesJobReq) Descriptor() ([]byte, []int)
Deprecated: Use RunDisconnectedServicesJobReq.ProtoReflect.Descriptor instead.
func (*RunDisconnectedServicesJobReq) ProtoMessage ¶
func (*RunDisconnectedServicesJobReq) ProtoMessage()
func (*RunDisconnectedServicesJobReq) ProtoReflect ¶
func (x *RunDisconnectedServicesJobReq) ProtoReflect() protoreflect.Message
func (*RunDisconnectedServicesJobReq) Reset ¶
func (x *RunDisconnectedServicesJobReq) Reset()
func (*RunDisconnectedServicesJobReq) String ¶
func (x *RunDisconnectedServicesJobReq) String() string
type RunDisconnectedServicesJobResponse ¶
type RunDisconnectedServicesJobResponse struct {
// contains filtered or unexported fields
}
func (*RunDisconnectedServicesJobResponse) Descriptor
deprecated
func (*RunDisconnectedServicesJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunDisconnectedServicesJobResponse.ProtoReflect.Descriptor instead.
func (*RunDisconnectedServicesJobResponse) ProtoMessage ¶
func (*RunDisconnectedServicesJobResponse) ProtoMessage()
func (*RunDisconnectedServicesJobResponse) ProtoReflect ¶
func (x *RunDisconnectedServicesJobResponse) ProtoReflect() protoreflect.Message
func (*RunDisconnectedServicesJobResponse) Reset ¶
func (x *RunDisconnectedServicesJobResponse) Reset()
func (*RunDisconnectedServicesJobResponse) String ¶
func (x *RunDisconnectedServicesJobResponse) String() string
type Service ¶
type Service struct { // The Chef Habitat Supervisor ID. SupervisorId string `protobuf:"bytes,1,opt,name=supervisor_id,json=supervisorId,proto3" json:"supervisor_id,omitempty"` // Combination of the service version and release in a single string. // Example: 0.1.0/8743278934278923. Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"` // Service group name. Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` // Intentionally blank. HealthCheck HealthStatus `` /* 144-byte string literal not displayed */ // Application name. Application string `protobuf:"bytes,6,opt,name=application,proto3" json:"application,omitempty"` // Environment name. Environment string `protobuf:"bytes,7,opt,name=environment,proto3" json:"environment,omitempty"` // FQDN reported by a Chef Habitat Supervisor. Fqdn string `protobuf:"bytes,8,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // Chef Habitat channel that the service is subscribed to. Channel string `protobuf:"bytes,9,opt,name=channel,proto3" json:"channel,omitempty"` // Update strategy that the service employs. UpdateStrategy string `protobuf:"bytes,10,opt,name=update_strategy,json=updateStrategy,proto3" json:"update_strategy,omitempty"` // Site reported by Chef Habitat service, a user defined flag. Site string `protobuf:"bytes,17,opt,name=site,proto3" json:"site,omitempty"` // Intentionally blank. PreviousHealthCheck HealthStatus `` /* 171-byte string literal not displayed */ // Time interval of current health status from last status change until now. CurrentHealthSince string `protobuf:"bytes,19,opt,name=current_health_since,json=currentHealthSince,proto3" json:"current_health_since,omitempty"` // Timestamp since health status change. HealthUpdatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=health_updated_at,json=healthUpdatedAt,proto3" json:"health_updated_at,omitempty"` // Service connection information. // Based on time since last healthcheck received and disconnected service configuration. Disconnected bool `protobuf:"varint,21,opt,name=disconnected,proto3" json:"disconnected,omitempty"` // Timestamp of last received health check message. LastEventOccurredAt *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=last_event_occurred_at,json=lastEventOccurredAt,proto3" json:"last_event_occurred_at,omitempty"` // Interval since last event received until now. LastEventSince string `protobuf:"bytes,23,opt,name=last_event_since,json=lastEventSince,proto3" json:"last_event_since,omitempty"` // Intentionally blank. HealthCheckResult *HealthCheckResult `protobuf:"bytes,24,opt,name=health_check_result,json=healthCheckResult,proto3" json:"health_check_result,omitempty"` // Internal ID Id string `protobuf:"bytes,25,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetApplication ¶
func (*Service) GetChannel ¶
func (*Service) GetCurrentHealthSince ¶
func (*Service) GetDisconnected ¶
func (*Service) GetEnvironment ¶
func (*Service) GetHealthCheck ¶
func (x *Service) GetHealthCheck() HealthStatus
func (*Service) GetHealthCheckResult ¶
func (x *Service) GetHealthCheckResult() *HealthCheckResult
func (*Service) GetHealthUpdatedAt ¶
func (x *Service) GetHealthUpdatedAt() *timestamppb.Timestamp
func (*Service) GetLastEventOccurredAt ¶
func (x *Service) GetLastEventOccurredAt() *timestamppb.Timestamp
func (*Service) GetLastEventSince ¶
func (*Service) GetPreviousHealthCheck ¶
func (x *Service) GetPreviousHealthCheck() HealthStatus
func (*Service) GetRelease ¶
func (*Service) GetSupervisorId ¶
func (*Service) GetUpdateStrategy ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceGroup ¶
type ServiceGroup struct { // Name of service group. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Combination of the version and release in a single string. // Example: 0.1.0/8743278934278923. Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"` // Intentionally blank. Status HealthStatus `protobuf:"varint,3,opt,name=status,proto3,enum=chef.automate.api.applications.HealthStatus" json:"status,omitempty"` // Percentage of services reporting OK status. // The health_percentage can be a number between 0-100. HealthPercentage int32 `protobuf:"varint,4,opt,name=health_percentage,json=healthPercentage,proto3" json:"health_percentage,omitempty"` // Intentionally blank. ServicesHealthCounts *HealthCounts `protobuf:"bytes,5,opt,name=services_health_counts,json=servicesHealthCounts,proto3" json:"services_health_counts,omitempty"` // Service group ID. This is a value constructed by Chef Automate and is not reported by Chef Habitat. Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // Application name for the service group. Application string `protobuf:"bytes,7,opt,name=application,proto3" json:"application,omitempty"` // Environment name for the service group. Environment string `protobuf:"bytes,8,opt,name=environment,proto3" json:"environment,omitempty"` // Combination of the origin and package name in a single string. // Example: core/redis. Package string `protobuf:"bytes,9,opt,name=package,proto3" json:"package,omitempty"` // Count of disconnected services within this service group. DisconnectedCount int32 `protobuf:"varint,10,opt,name=disconnected_count,json=disconnectedCount,proto3" json:"disconnected_count,omitempty"` // contains filtered or unexported fields }
A service group message is the representation of an individual service group that is internally generated by aggregating all of its services.
func (*ServiceGroup) Descriptor
deprecated
func (*ServiceGroup) Descriptor() ([]byte, []int)
Deprecated: Use ServiceGroup.ProtoReflect.Descriptor instead.
func (*ServiceGroup) GetApplication ¶
func (x *ServiceGroup) GetApplication() string
func (*ServiceGroup) GetDisconnectedCount ¶
func (x *ServiceGroup) GetDisconnectedCount() int32
func (*ServiceGroup) GetEnvironment ¶
func (x *ServiceGroup) GetEnvironment() string
func (*ServiceGroup) GetHealthPercentage ¶
func (x *ServiceGroup) GetHealthPercentage() int32
func (*ServiceGroup) GetId ¶
func (x *ServiceGroup) GetId() string
func (*ServiceGroup) GetName ¶
func (x *ServiceGroup) GetName() string
func (*ServiceGroup) GetPackage ¶
func (x *ServiceGroup) GetPackage() string
func (*ServiceGroup) GetRelease ¶
func (x *ServiceGroup) GetRelease() string
func (*ServiceGroup) GetServicesHealthCounts ¶
func (x *ServiceGroup) GetServicesHealthCounts() *HealthCounts
func (*ServiceGroup) GetStatus ¶
func (x *ServiceGroup) GetStatus() HealthStatus
func (*ServiceGroup) ProtoMessage ¶
func (*ServiceGroup) ProtoMessage()
func (*ServiceGroup) ProtoReflect ¶
func (x *ServiceGroup) ProtoReflect() protoreflect.Message
func (*ServiceGroup) Reset ¶
func (x *ServiceGroup) Reset()
func (*ServiceGroup) String ¶
func (x *ServiceGroup) String() string
type ServiceGroups ¶
type ServiceGroups struct { // List of service groups. ServiceGroups []*ServiceGroup `protobuf:"bytes,1,rep,name=service_groups,json=serviceGroups,proto3" json:"service_groups,omitempty"` // contains filtered or unexported fields }
List of service groups.
func (*ServiceGroups) Descriptor
deprecated
func (*ServiceGroups) Descriptor() ([]byte, []int)
Deprecated: Use ServiceGroups.ProtoReflect.Descriptor instead.
func (*ServiceGroups) GetServiceGroups ¶
func (x *ServiceGroups) GetServiceGroups() []*ServiceGroup
func (*ServiceGroups) ProtoMessage ¶
func (*ServiceGroups) ProtoMessage()
func (*ServiceGroups) ProtoReflect ¶
func (x *ServiceGroups) ProtoReflect() protoreflect.Message
func (*ServiceGroups) Reset ¶
func (x *ServiceGroups) Reset()
func (*ServiceGroups) String ¶
func (x *ServiceGroups) String() string
type ServiceGroupsHealthCountsReq ¶
type ServiceGroupsHealthCountsReq struct { // Applies search filters, in the format of `fieldname:value`. // See the documentation for ServiceGroupsReq for valid filter parameters. Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for GetServiceGroupsHealthCounts
func (*ServiceGroupsHealthCountsReq) Descriptor
deprecated
func (*ServiceGroupsHealthCountsReq) Descriptor() ([]byte, []int)
Deprecated: Use ServiceGroupsHealthCountsReq.ProtoReflect.Descriptor instead.
func (*ServiceGroupsHealthCountsReq) GetFilter ¶
func (x *ServiceGroupsHealthCountsReq) GetFilter() []string
func (*ServiceGroupsHealthCountsReq) ProtoMessage ¶
func (*ServiceGroupsHealthCountsReq) ProtoMessage()
func (*ServiceGroupsHealthCountsReq) ProtoReflect ¶
func (x *ServiceGroupsHealthCountsReq) ProtoReflect() protoreflect.Message
func (*ServiceGroupsHealthCountsReq) Reset ¶
func (x *ServiceGroupsHealthCountsReq) Reset()
func (*ServiceGroupsHealthCountsReq) String ¶
func (x *ServiceGroupsHealthCountsReq) String() string
type ServiceGroupsReq ¶
type ServiceGroupsReq struct { // Applies search and status filters, in the format of `fieldname:value` or `status:value`. // // Valid filter fieldnames are: // * `origin`: origin component of the service's package identifier // * `service`: the name component of the service's package identifier // * `version`: the version number component of the service's package identifier // * `buildstamp`: the build timestamp (also called "release") of the service's package identifier // * `channel`: the package channel to which the service subscribes for updates // * `application`: the application field of the service's event-stream metadata // * `environment`: the environment field of the service's event-stream metadata // * `site`: the site field of the service's event-stream metadata // * `group`: the suffix of the service group name // // `status` filters refine the service group results by a service's // // most recent connected/disconnected state or healthcheck result. // // Valid status filter parameters are: // // * `status:disconnected`: returns service groups with at least one service in a disconnected state // * `status:critical`: returns service groups with a with at least one service in a "critical" healthcheck result // * `status:unknown`: returns service groups with at least one service with an "unknown" healthcheck result // * `status:warning`: returns service groups with at least one service with a "warning" healthcheck result // * `status:ok`: returns service groups with at least one service with an "ok" health check result Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"` // Pagination parameters for service groups list. Pagination *query.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // Sorting parameters for service groups list. Sorting *query.Sorting `protobuf:"bytes,3,opt,name=sorting,proto3" json:"sorting,omitempty"` // contains filtered or unexported fields }
Request message for GetServiceGroups
func (*ServiceGroupsReq) Descriptor
deprecated
func (*ServiceGroupsReq) Descriptor() ([]byte, []int)
Deprecated: Use ServiceGroupsReq.ProtoReflect.Descriptor instead.
func (*ServiceGroupsReq) GetFilter ¶
func (x *ServiceGroupsReq) GetFilter() []string
func (*ServiceGroupsReq) GetPagination ¶
func (x *ServiceGroupsReq) GetPagination() *query.Pagination
func (*ServiceGroupsReq) GetSorting ¶
func (x *ServiceGroupsReq) GetSorting() *query.Sorting
func (*ServiceGroupsReq) ProtoMessage ¶
func (*ServiceGroupsReq) ProtoMessage()
func (*ServiceGroupsReq) ProtoReflect ¶
func (x *ServiceGroupsReq) ProtoReflect() protoreflect.Message
func (*ServiceGroupsReq) Reset ¶
func (x *ServiceGroupsReq) Reset()
func (*ServiceGroupsReq) String ¶
func (x *ServiceGroupsReq) String() string
type ServicesBySGReq ¶
type ServicesBySGReq struct { // Service group ID. ServiceGroupId string `protobuf:"bytes,1,opt,name=service_group_id,json=serviceGroupId,proto3" json:"service_group_id,omitempty"` // Applies pagination parameters. Pagination *query.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // Applies sorting parameters. Sorting *query.Sorting `protobuf:"bytes,3,opt,name=sorting,proto3" json:"sorting,omitempty"` // Applies filters, in the format of `fieldname:value`. // See documentation for ServicesReq for valid filter parameters Filter []string `protobuf:"bytes,5,rep,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for listing services by service group.
func (*ServicesBySGReq) Descriptor
deprecated
func (*ServicesBySGReq) Descriptor() ([]byte, []int)
Deprecated: Use ServicesBySGReq.ProtoReflect.Descriptor instead.
func (*ServicesBySGReq) GetFilter ¶
func (x *ServicesBySGReq) GetFilter() []string
func (*ServicesBySGReq) GetPagination ¶
func (x *ServicesBySGReq) GetPagination() *query.Pagination
func (*ServicesBySGReq) GetServiceGroupId ¶
func (x *ServicesBySGReq) GetServiceGroupId() string
func (*ServicesBySGReq) GetSorting ¶
func (x *ServicesBySGReq) GetSorting() *query.Sorting
func (*ServicesBySGReq) ProtoMessage ¶
func (*ServicesBySGReq) ProtoMessage()
func (*ServicesBySGReq) ProtoReflect ¶
func (x *ServicesBySGReq) ProtoReflect() protoreflect.Message
func (*ServicesBySGReq) Reset ¶
func (x *ServicesBySGReq) Reset()
func (*ServicesBySGReq) String ¶
func (x *ServicesBySGReq) String() string
type ServicesBySGRes ¶
type ServicesBySGRes struct { // Service group name. Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // List of services. Services []*Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` // Intentionally blank. ServicesHealthCounts *HealthCounts `protobuf:"bytes,3,opt,name=services_health_counts,json=servicesHealthCounts,proto3" json:"services_health_counts,omitempty"` // contains filtered or unexported fields }
Response message for GetServicesBySG.
func (*ServicesBySGRes) Descriptor
deprecated
func (*ServicesBySGRes) Descriptor() ([]byte, []int)
Deprecated: Use ServicesBySGRes.ProtoReflect.Descriptor instead.
func (*ServicesBySGRes) GetGroup ¶
func (x *ServicesBySGRes) GetGroup() string
func (*ServicesBySGRes) GetServices ¶
func (x *ServicesBySGRes) GetServices() []*Service
func (*ServicesBySGRes) GetServicesHealthCounts ¶
func (x *ServicesBySGRes) GetServicesHealthCounts() *HealthCounts
func (*ServicesBySGRes) ProtoMessage ¶
func (*ServicesBySGRes) ProtoMessage()
func (*ServicesBySGRes) ProtoReflect ¶
func (x *ServicesBySGRes) ProtoReflect() protoreflect.Message
func (*ServicesBySGRes) Reset ¶
func (x *ServicesBySGRes) Reset()
func (*ServicesBySGRes) String ¶
func (x *ServicesBySGRes) String() string
type ServicesDistinctValuesReq ¶
type ServicesDistinctValuesReq struct { // Field name of service values. FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Query value, supports wildcards (* and ?). QueryFragment string `protobuf:"bytes,2,opt,name=query_fragment,json=queryFragment,proto3" json:"query_fragment,omitempty"` // Applies filters, in the format of `fieldname:value`. // See documentation for ServicesReq for valid filter parameters Filter []string `protobuf:"bytes,3,rep,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for listing available service filters.
func (*ServicesDistinctValuesReq) Descriptor
deprecated
func (*ServicesDistinctValuesReq) Descriptor() ([]byte, []int)
Deprecated: Use ServicesDistinctValuesReq.ProtoReflect.Descriptor instead.
func (*ServicesDistinctValuesReq) GetFieldName ¶
func (x *ServicesDistinctValuesReq) GetFieldName() string
func (*ServicesDistinctValuesReq) GetFilter ¶
func (x *ServicesDistinctValuesReq) GetFilter() []string
func (*ServicesDistinctValuesReq) GetQueryFragment ¶
func (x *ServicesDistinctValuesReq) GetQueryFragment() string
func (*ServicesDistinctValuesReq) ProtoMessage ¶
func (*ServicesDistinctValuesReq) ProtoMessage()
func (*ServicesDistinctValuesReq) ProtoReflect ¶
func (x *ServicesDistinctValuesReq) ProtoReflect() protoreflect.Message
func (*ServicesDistinctValuesReq) Reset ¶
func (x *ServicesDistinctValuesReq) Reset()
func (*ServicesDistinctValuesReq) String ¶
func (x *ServicesDistinctValuesReq) String() string
type ServicesDistinctValuesRes ¶
type ServicesDistinctValuesRes struct { // List of distinct values fitting query_fragment and filters. Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Response message for GetServicesDistinctValues.
func (*ServicesDistinctValuesRes) Descriptor
deprecated
func (*ServicesDistinctValuesRes) Descriptor() ([]byte, []int)
Deprecated: Use ServicesDistinctValuesRes.ProtoReflect.Descriptor instead.
func (*ServicesDistinctValuesRes) GetValues ¶
func (x *ServicesDistinctValuesRes) GetValues() []string
func (*ServicesDistinctValuesRes) ProtoMessage ¶
func (*ServicesDistinctValuesRes) ProtoMessage()
func (*ServicesDistinctValuesRes) ProtoReflect ¶
func (x *ServicesDistinctValuesRes) ProtoReflect() protoreflect.Message
func (*ServicesDistinctValuesRes) Reset ¶
func (x *ServicesDistinctValuesRes) Reset()
func (*ServicesDistinctValuesRes) String ¶
func (x *ServicesDistinctValuesRes) String() string
type ServicesReq ¶
type ServicesReq struct { // Applies search filters, in the format of `fieldname:value`. // // Valid filter fieldnames are: // * `origin`: origin component of the service's package identifier // * `service`: the name component of the service's package identifier // * `version`: the version number component of the service's package identifier // * `buildstamp`: the build timestamp (also called "release") of the service's package identifier // * `channel`: the package channel to which the service subscribes for updates // * `application`: the application field of the service's event-stream metadata // * `environment`: the environment field of the service's event-stream metadata // * `site`: the site field of the service's event-stream metadata // * `group`: the suffix of the service group name // // `status` filters refine service results by a service's // // current state or most recent healthcheck result. // Disconnected services keep their last healthcheck result // until their reports are removed by Chef Automate. // When you apply a healthcheck filter, the report includes // all recently disconnected services. // Valid status filter parameters are: // // * `status:disconnected`: returns services in a disconnected state // * `status:critical`: returns services with a "critical" healthcheck result // * `status:unknown`: returns services with an "unknown" healthcheck result // * `status:warning`: returns services with a "warning" healthcheck result // * `status:ok`: returns services with an "ok" health check result Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"` // Applies pagination parameters. Pagination *query.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // Applies sorting parameters. Sorting *query.Sorting `protobuf:"bytes,3,opt,name=sorting,proto3" json:"sorting,omitempty"` // contains filtered or unexported fields }
Request message for listing services.
func (*ServicesReq) Descriptor
deprecated
func (*ServicesReq) Descriptor() ([]byte, []int)
Deprecated: Use ServicesReq.ProtoReflect.Descriptor instead.
func (*ServicesReq) GetFilter ¶
func (x *ServicesReq) GetFilter() []string
func (*ServicesReq) GetPagination ¶
func (x *ServicesReq) GetPagination() *query.Pagination
func (*ServicesReq) GetSorting ¶
func (x *ServicesReq) GetSorting() *query.Sorting
func (*ServicesReq) ProtoMessage ¶
func (*ServicesReq) ProtoMessage()
func (*ServicesReq) ProtoReflect ¶
func (x *ServicesReq) ProtoReflect() protoreflect.Message
func (*ServicesReq) Reset ¶
func (x *ServicesReq) Reset()
func (*ServicesReq) String ¶
func (x *ServicesReq) String() string
type ServicesRes ¶
type ServicesRes struct { // List of services. Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
Response message for GetServices.
func (*ServicesRes) Descriptor
deprecated
func (*ServicesRes) Descriptor() ([]byte, []int)
Deprecated: Use ServicesRes.ProtoReflect.Descriptor instead.
func (*ServicesRes) GetServices ¶
func (x *ServicesRes) GetServices() []*Service
func (*ServicesRes) ProtoMessage ¶
func (*ServicesRes) ProtoMessage()
func (*ServicesRes) ProtoReflect ¶
func (x *ServicesRes) ProtoReflect() protoreflect.Message
func (*ServicesRes) Reset ¶
func (x *ServicesRes) Reset()
func (*ServicesRes) String ¶
func (x *ServicesRes) String() string
type ServicesStatsReq ¶
type ServicesStatsReq struct {
// contains filtered or unexported fields
}
Request message for ServicesStats.
func (*ServicesStatsReq) Descriptor
deprecated
func (*ServicesStatsReq) Descriptor() ([]byte, []int)
Deprecated: Use ServicesStatsReq.ProtoReflect.Descriptor instead.
func (*ServicesStatsReq) ProtoMessage ¶
func (*ServicesStatsReq) ProtoMessage()
func (*ServicesStatsReq) ProtoReflect ¶
func (x *ServicesStatsReq) ProtoReflect() protoreflect.Message
func (*ServicesStatsReq) Reset ¶
func (x *ServicesStatsReq) Reset()
func (*ServicesStatsReq) String ¶
func (x *ServicesStatsReq) String() string
type ServicesStatsRes ¶
type ServicesStatsRes struct { // Total number of service groups reporting to Chef Automate. TotalServiceGroups int32 `protobuf:"varint,1,opt,name=total_service_groups,json=totalServiceGroups,proto3" json:"total_service_groups,omitempty"` // Total number of services reporting to Chef Automate, counts both connected and disconnected services. TotalServices int32 `protobuf:"varint,2,opt,name=total_services,json=totalServices,proto3" json:"total_services,omitempty"` // Total number of supervisors reporting to Chef Automate. TotalSupervisors int32 `protobuf:"varint,3,opt,name=total_supervisors,json=totalSupervisors,proto3" json:"total_supervisors,omitempty"` // Total number of deployments reporting to Chef Automate. TotalDeployments int32 `protobuf:"varint,4,opt,name=total_deployments,json=totalDeployments,proto3" json:"total_deployments,omitempty"` // contains filtered or unexported fields }
Response message for ServicesStats.
func (*ServicesStatsRes) Descriptor
deprecated
func (*ServicesStatsRes) Descriptor() ([]byte, []int)
Deprecated: Use ServicesStatsRes.ProtoReflect.Descriptor instead.
func (*ServicesStatsRes) GetTotalDeployments ¶
func (x *ServicesStatsRes) GetTotalDeployments() int32
func (*ServicesStatsRes) GetTotalServiceGroups ¶
func (x *ServicesStatsRes) GetTotalServiceGroups() int32
func (*ServicesStatsRes) GetTotalServices ¶
func (x *ServicesStatsRes) GetTotalServices() int32
func (*ServicesStatsRes) GetTotalSupervisors ¶
func (x *ServicesStatsRes) GetTotalSupervisors() int32
func (*ServicesStatsRes) ProtoMessage ¶
func (*ServicesStatsRes) ProtoMessage()
func (*ServicesStatsRes) ProtoReflect ¶
func (x *ServicesStatsRes) ProtoReflect() protoreflect.Message
func (*ServicesStatsRes) Reset ¶
func (x *ServicesStatsRes) Reset()
func (*ServicesStatsRes) String ¶
func (x *ServicesStatsRes) String() string
type UnimplementedApplicationsServiceServer ¶
type UnimplementedApplicationsServiceServer struct { }
UnimplementedApplicationsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedApplicationsServiceServer) DeleteDisconnectedServices ¶
func (*UnimplementedApplicationsServiceServer) DeleteDisconnectedServices(context.Context, *DisconnectedServicesReq) (*ServicesRes, error)
func (*UnimplementedApplicationsServiceServer) DeleteServicesByID ¶
func (*UnimplementedApplicationsServiceServer) DeleteServicesByID(context.Context, *DeleteServicesByIDReq) (*ServicesRes, error)
func (*UnimplementedApplicationsServiceServer) FindServices ¶
func (*UnimplementedApplicationsServiceServer) FindServices(*ServicesReq, ApplicationsService_FindServicesServer) error
func (*UnimplementedApplicationsServiceServer) GetDeleteDisconnectedServicesConfig ¶
func (*UnimplementedApplicationsServiceServer) GetDeleteDisconnectedServicesConfig(context.Context, *GetDeleteDisconnectedServicesConfigReq) (*PeriodicJobConfig, error)
func (*UnimplementedApplicationsServiceServer) GetDisconnectedServices ¶
func (*UnimplementedApplicationsServiceServer) GetDisconnectedServices(context.Context, *DisconnectedServicesReq) (*ServicesRes, error)
func (*UnimplementedApplicationsServiceServer) GetDisconnectedServicesConfig ¶
func (*UnimplementedApplicationsServiceServer) GetDisconnectedServicesConfig(context.Context, *GetDisconnectedServicesConfigReq) (*PeriodicMandatoryJobConfig, error)
func (*UnimplementedApplicationsServiceServer) GetServiceGroups ¶
func (*UnimplementedApplicationsServiceServer) GetServiceGroups(context.Context, *ServiceGroupsReq) (*ServiceGroups, error)
func (*UnimplementedApplicationsServiceServer) GetServiceGroupsHealthCounts ¶
func (*UnimplementedApplicationsServiceServer) GetServiceGroupsHealthCounts(context.Context, *ServiceGroupsHealthCountsReq) (*HealthCounts, error)
func (*UnimplementedApplicationsServiceServer) GetServices ¶
func (*UnimplementedApplicationsServiceServer) GetServices(context.Context, *ServicesReq) (*ServicesRes, error)
func (*UnimplementedApplicationsServiceServer) GetServicesBySG ¶
func (*UnimplementedApplicationsServiceServer) GetServicesBySG(context.Context, *ServicesBySGReq) (*ServicesBySGRes, error)
func (*UnimplementedApplicationsServiceServer) GetServicesDistinctValues ¶
func (*UnimplementedApplicationsServiceServer) GetServicesDistinctValues(context.Context, *ServicesDistinctValuesReq) (*ServicesDistinctValuesRes, error)
func (*UnimplementedApplicationsServiceServer) GetServicesStats ¶
func (*UnimplementedApplicationsServiceServer) GetServicesStats(context.Context, *ServicesStatsReq) (*ServicesStatsRes, error)
func (*UnimplementedApplicationsServiceServer) GetServicesUsageCount ¶
func (*UnimplementedApplicationsServiceServer) GetServicesUsageCount(context.Context, *GetServicesUsageCountRequest) (*GetServicesUsageCountResponse, error)
func (*UnimplementedApplicationsServiceServer) GetVersion ¶
func (*UnimplementedApplicationsServiceServer) GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
func (*UnimplementedApplicationsServiceServer) RunDeleteDisconnectedServicesJob ¶
func (*UnimplementedApplicationsServiceServer) RunDeleteDisconnectedServicesJob(context.Context, *RunDeleteDisconnectedServicesJobReq) (*RunDeleteDisconnectedServicesJobResponse, error)
func (*UnimplementedApplicationsServiceServer) RunDisconnectedServicesJob ¶
func (*UnimplementedApplicationsServiceServer) RunDisconnectedServicesJob(context.Context, *RunDisconnectedServicesJobReq) (*RunDisconnectedServicesJobResponse, error)
func (*UnimplementedApplicationsServiceServer) UpdateDeleteDisconnectedServicesConfig ¶
func (*UnimplementedApplicationsServiceServer) UpdateDeleteDisconnectedServicesConfig(context.Context, *PeriodicJobConfig) (*UpdateDeleteDisconnectedServicesConfigRes, error)
func (*UnimplementedApplicationsServiceServer) UpdateDisconnectedServicesConfig ¶
func (*UnimplementedApplicationsServiceServer) UpdateDisconnectedServicesConfig(context.Context, *PeriodicMandatoryJobConfig) (*UpdateDisconnectedServicesConfigRes, error)
func (*UnimplementedApplicationsServiceServer) UpdateTelemetryReported ¶
func (*UnimplementedApplicationsServiceServer) UpdateTelemetryReported(context.Context, *UpdateTelemetryReportedRequest) (*UpdateTelemetryReportedResponse, error)
type UpdateDeleteDisconnectedServicesConfigRes ¶
type UpdateDeleteDisconnectedServicesConfigRes struct {
// contains filtered or unexported fields
}
func (*UpdateDeleteDisconnectedServicesConfigRes) Descriptor
deprecated
func (*UpdateDeleteDisconnectedServicesConfigRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeleteDisconnectedServicesConfigRes.ProtoReflect.Descriptor instead.
func (*UpdateDeleteDisconnectedServicesConfigRes) ProtoMessage ¶
func (*UpdateDeleteDisconnectedServicesConfigRes) ProtoMessage()
func (*UpdateDeleteDisconnectedServicesConfigRes) ProtoReflect ¶
func (x *UpdateDeleteDisconnectedServicesConfigRes) ProtoReflect() protoreflect.Message
func (*UpdateDeleteDisconnectedServicesConfigRes) Reset ¶
func (x *UpdateDeleteDisconnectedServicesConfigRes) Reset()
func (*UpdateDeleteDisconnectedServicesConfigRes) String ¶
func (x *UpdateDeleteDisconnectedServicesConfigRes) String() string
type UpdateDisconnectedServicesConfigRes ¶
type UpdateDisconnectedServicesConfigRes struct {
// contains filtered or unexported fields
}
func (*UpdateDisconnectedServicesConfigRes) Descriptor
deprecated
func (*UpdateDisconnectedServicesConfigRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDisconnectedServicesConfigRes.ProtoReflect.Descriptor instead.
func (*UpdateDisconnectedServicesConfigRes) ProtoMessage ¶
func (*UpdateDisconnectedServicesConfigRes) ProtoMessage()
func (*UpdateDisconnectedServicesConfigRes) ProtoReflect ¶
func (x *UpdateDisconnectedServicesConfigRes) ProtoReflect() protoreflect.Message
func (*UpdateDisconnectedServicesConfigRes) Reset ¶
func (x *UpdateDisconnectedServicesConfigRes) Reset()
func (*UpdateDisconnectedServicesConfigRes) String ¶
func (x *UpdateDisconnectedServicesConfigRes) String() string
type UpdateTelemetryReportedRequest ¶
type UpdateTelemetryReportedRequest struct { // last application service telemetry reported date LastTelemetryReportedAt string `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
Telemetry
func (*UpdateTelemetryReportedRequest) Descriptor
deprecated
func (*UpdateTelemetryReportedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTelemetryReportedRequest.ProtoReflect.Descriptor instead.
func (*UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt ¶
func (x *UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt() string
func (*UpdateTelemetryReportedRequest) ProtoMessage ¶
func (*UpdateTelemetryReportedRequest) ProtoMessage()
func (*UpdateTelemetryReportedRequest) ProtoReflect ¶
func (x *UpdateTelemetryReportedRequest) ProtoReflect() protoreflect.Message
func (*UpdateTelemetryReportedRequest) Reset ¶
func (x *UpdateTelemetryReportedRequest) Reset()
func (*UpdateTelemetryReportedRequest) String ¶
func (x *UpdateTelemetryReportedRequest) String() string
type UpdateTelemetryReportedResponse ¶
type UpdateTelemetryReportedResponse struct {
// contains filtered or unexported fields
}
func (*UpdateTelemetryReportedResponse) Descriptor
deprecated
func (*UpdateTelemetryReportedResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTelemetryReportedResponse.ProtoReflect.Descriptor instead.
func (*UpdateTelemetryReportedResponse) ProtoMessage ¶
func (*UpdateTelemetryReportedResponse) ProtoMessage()
func (*UpdateTelemetryReportedResponse) ProtoReflect ¶
func (x *UpdateTelemetryReportedResponse) ProtoReflect() protoreflect.Message
func (*UpdateTelemetryReportedResponse) Reset ¶
func (x *UpdateTelemetryReportedResponse) Reset()
func (*UpdateTelemetryReportedResponse) String ¶
func (x *UpdateTelemetryReportedResponse) String() string