Documentation ¶
Index ¶
- Variables
- func RegisterHealthzServer(s grpc.ServiceRegistrar, srv HealthzServer)
- type AcknowledgeRequest
- func (*AcknowledgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcknowledgeRequest) GetId() string
- func (x *AcknowledgeRequest) GetPath() *types.Path
- func (*AcknowledgeRequest) ProtoMessage()
- func (x *AcknowledgeRequest) ProtoReflect() protoreflect.Message
- func (x *AcknowledgeRequest) Reset()
- func (x *AcknowledgeRequest) String() string
- type AcknowledgeResponse
- func (*AcknowledgeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AcknowledgeResponse) GetStatus() *ComponentStatus
- func (*AcknowledgeResponse) ProtoMessage()
- func (x *AcknowledgeResponse) ProtoReflect() protoreflect.Message
- func (x *AcknowledgeResponse) Reset()
- func (x *AcknowledgeResponse) String() string
- type ArtifactHeader
- func (*ArtifactHeader) Descriptor() ([]byte, []int)deprecated
- func (m *ArtifactHeader) GetArtifactType() isArtifactHeader_ArtifactType
- func (x *ArtifactHeader) GetCustom() *anypb.Any
- func (x *ArtifactHeader) GetFile() *FileArtifactType
- func (x *ArtifactHeader) GetId() string
- func (x *ArtifactHeader) GetProto() *ProtoArtifactType
- func (*ArtifactHeader) ProtoMessage()
- func (x *ArtifactHeader) ProtoReflect() protoreflect.Message
- func (x *ArtifactHeader) Reset()
- func (x *ArtifactHeader) String() string
- type ArtifactHeader_Custom
- type ArtifactHeader_File
- type ArtifactHeader_Proto
- type ArtifactRequest
- type ArtifactResponse
- func (*ArtifactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactResponse) GetBytes() []byte
- func (m *ArtifactResponse) GetContents() isArtifactResponse_Contents
- func (x *ArtifactResponse) GetHeader() *ArtifactHeader
- func (x *ArtifactResponse) GetProto() *anypb.Any
- func (x *ArtifactResponse) GetTrailer() *ArtifactTrailer
- func (*ArtifactResponse) ProtoMessage()
- func (x *ArtifactResponse) ProtoReflect() protoreflect.Message
- func (x *ArtifactResponse) Reset()
- func (x *ArtifactResponse) String() string
- type ArtifactResponse_Bytes
- type ArtifactResponse_Header
- type ArtifactResponse_Proto
- type ArtifactResponse_Trailer
- type ArtifactTrailer
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetEventId() string
- func (x *CheckRequest) GetPath() *types.Path
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- type CheckResponse
- type ComponentStatus
- func (*ComponentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentStatus) GetAcknowledged() bool
- func (x *ComponentStatus) GetArtifacts() []*ArtifactHeader
- func (x *ComponentStatus) GetCreated() *timestamppb.Timestamp
- func (x *ComponentStatus) GetExpires() *timestamppb.Timestamp
- func (x *ComponentStatus) GetHealthz() *anypb.Anydeprecated
- func (x *ComponentStatus) GetId() string
- func (x *ComponentStatus) GetPath() *types.Path
- func (x *ComponentStatus) GetStatus() Status
- func (x *ComponentStatus) GetSubcomponents() []*ComponentStatus
- func (*ComponentStatus) ProtoMessage()
- func (x *ComponentStatus) ProtoReflect() protoreflect.Message
- func (x *ComponentStatus) Reset()
- func (x *ComponentStatus) String() string
- type FileArtifactType
- func (*FileArtifactType) Descriptor() ([]byte, []int)deprecated
- func (x *FileArtifactType) GetHash() *types.HashType
- func (x *FileArtifactType) GetMimetype() string
- func (x *FileArtifactType) GetName() string
- func (x *FileArtifactType) GetPath() string
- func (x *FileArtifactType) GetSize() int64
- func (*FileArtifactType) ProtoMessage()
- func (x *FileArtifactType) ProtoReflect() protoreflect.Message
- func (x *FileArtifactType) Reset()
- func (x *FileArtifactType) String() string
- type GetRequest
- type GetResponse
- type HealthzClient
- type HealthzServer
- type Healthz_ArtifactClient
- type Healthz_ArtifactServer
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetIncludeAcknowledged() bool
- func (x *ListRequest) GetPath() *types.Path
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type ListResponse
- type ProtoArtifactType
- type Status
- type UnimplementedHealthzServer
- func (UnimplementedHealthzServer) Acknowledge(context.Context, *AcknowledgeRequest) (*AcknowledgeResponse, error)
- func (UnimplementedHealthzServer) Artifact(*ArtifactRequest, Healthz_ArtifactServer) error
- func (UnimplementedHealthzServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedHealthzServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedHealthzServer) List(context.Context, *ListRequest) (*ListResponse, error)
- type UnsafeHealthzServer
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_HEALTHY", 2: "STATUS_UNHEALTHY", } Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_HEALTHY": 1, "STATUS_UNHEALTHY": 2, } )
Enum value maps for Status.
var File_healthz_healthz_proto protoreflect.FileDescriptor
var Healthz_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gnoi.healthz.Healthz", HandlerType: (*HealthzServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _Healthz_Get_Handler, }, { MethodName: "List", Handler: _Healthz_List_Handler, }, { MethodName: "Acknowledge", Handler: _Healthz_Acknowledge_Handler, }, { MethodName: "Check", Handler: _Healthz_Check_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Artifact", Handler: _Healthz_Artifact_Handler, ServerStreams: true, }, }, Metadata: "healthz/healthz.proto", }
Healthz_ServiceDesc is the grpc.ServiceDesc for Healthz service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHealthzServer ¶
func RegisterHealthzServer(s grpc.ServiceRegistrar, srv HealthzServer)
Types ¶
type AcknowledgeRequest ¶
type AcknowledgeRequest struct { Path *types.Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AcknowledgeRequest) Descriptor
deprecated
func (*AcknowledgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcknowledgeRequest.ProtoReflect.Descriptor instead.
func (*AcknowledgeRequest) GetId ¶
func (x *AcknowledgeRequest) GetId() string
func (*AcknowledgeRequest) GetPath ¶
func (x *AcknowledgeRequest) GetPath() *types.Path
func (*AcknowledgeRequest) ProtoMessage ¶
func (*AcknowledgeRequest) ProtoMessage()
func (*AcknowledgeRequest) ProtoReflect ¶
func (x *AcknowledgeRequest) ProtoReflect() protoreflect.Message
func (*AcknowledgeRequest) Reset ¶
func (x *AcknowledgeRequest) Reset()
func (*AcknowledgeRequest) String ¶
func (x *AcknowledgeRequest) String() string
type AcknowledgeResponse ¶
type AcknowledgeResponse struct { Status *ComponentStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AcknowledgeResponse) Descriptor
deprecated
func (*AcknowledgeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AcknowledgeResponse.ProtoReflect.Descriptor instead.
func (*AcknowledgeResponse) GetStatus ¶
func (x *AcknowledgeResponse) GetStatus() *ComponentStatus
func (*AcknowledgeResponse) ProtoMessage ¶
func (*AcknowledgeResponse) ProtoMessage()
func (*AcknowledgeResponse) ProtoReflect ¶
func (x *AcknowledgeResponse) ProtoReflect() protoreflect.Message
func (*AcknowledgeResponse) Reset ¶
func (x *AcknowledgeResponse) Reset()
func (*AcknowledgeResponse) String ¶
func (x *AcknowledgeResponse) String() string
type ArtifactHeader ¶
type ArtifactHeader struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to ArtifactType: // // *ArtifactHeader_File // *ArtifactHeader_Proto // *ArtifactHeader_Custom ArtifactType isArtifactHeader_ArtifactType `protobuf_oneof:"artifact_type"` // contains filtered or unexported fields }
func (*ArtifactHeader) Descriptor
deprecated
func (*ArtifactHeader) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactHeader.ProtoReflect.Descriptor instead.
func (*ArtifactHeader) GetArtifactType ¶
func (m *ArtifactHeader) GetArtifactType() isArtifactHeader_ArtifactType
func (*ArtifactHeader) GetCustom ¶
func (x *ArtifactHeader) GetCustom() *anypb.Any
func (*ArtifactHeader) GetFile ¶
func (x *ArtifactHeader) GetFile() *FileArtifactType
func (*ArtifactHeader) GetId ¶
func (x *ArtifactHeader) GetId() string
func (*ArtifactHeader) GetProto ¶
func (x *ArtifactHeader) GetProto() *ProtoArtifactType
func (*ArtifactHeader) ProtoMessage ¶
func (*ArtifactHeader) ProtoMessage()
func (*ArtifactHeader) ProtoReflect ¶
func (x *ArtifactHeader) ProtoReflect() protoreflect.Message
func (*ArtifactHeader) Reset ¶
func (x *ArtifactHeader) Reset()
func (*ArtifactHeader) String ¶
func (x *ArtifactHeader) String() string
type ArtifactHeader_Custom ¶
type ArtifactHeader_File ¶
type ArtifactHeader_File struct {
File *FileArtifactType `protobuf:"bytes,101,opt,name=file,proto3,oneof"`
}
type ArtifactHeader_Proto ¶
type ArtifactHeader_Proto struct {
Proto *ProtoArtifactType `protobuf:"bytes,102,opt,name=proto,proto3,oneof"`
}
type ArtifactRequest ¶
type ArtifactRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ArtifactRequest) Descriptor
deprecated
func (*ArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactRequest.ProtoReflect.Descriptor instead.
func (*ArtifactRequest) GetId ¶
func (x *ArtifactRequest) GetId() string
func (*ArtifactRequest) ProtoMessage ¶
func (*ArtifactRequest) ProtoMessage()
func (*ArtifactRequest) ProtoReflect ¶
func (x *ArtifactRequest) ProtoReflect() protoreflect.Message
func (*ArtifactRequest) Reset ¶
func (x *ArtifactRequest) Reset()
func (*ArtifactRequest) String ¶
func (x *ArtifactRequest) String() string
type ArtifactResponse ¶
type ArtifactResponse struct { // Types that are assignable to Contents: // // *ArtifactResponse_Header // *ArtifactResponse_Trailer // *ArtifactResponse_Bytes // *ArtifactResponse_Proto Contents isArtifactResponse_Contents `protobuf_oneof:"contents"` // contains filtered or unexported fields }
func (*ArtifactResponse) Descriptor
deprecated
func (*ArtifactResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactResponse.ProtoReflect.Descriptor instead.
func (*ArtifactResponse) GetBytes ¶
func (x *ArtifactResponse) GetBytes() []byte
func (*ArtifactResponse) GetContents ¶
func (m *ArtifactResponse) GetContents() isArtifactResponse_Contents
func (*ArtifactResponse) GetHeader ¶
func (x *ArtifactResponse) GetHeader() *ArtifactHeader
func (*ArtifactResponse) GetProto ¶
func (x *ArtifactResponse) GetProto() *anypb.Any
func (*ArtifactResponse) GetTrailer ¶
func (x *ArtifactResponse) GetTrailer() *ArtifactTrailer
func (*ArtifactResponse) ProtoMessage ¶
func (*ArtifactResponse) ProtoMessage()
func (*ArtifactResponse) ProtoReflect ¶
func (x *ArtifactResponse) ProtoReflect() protoreflect.Message
func (*ArtifactResponse) Reset ¶
func (x *ArtifactResponse) Reset()
func (*ArtifactResponse) String ¶
func (x *ArtifactResponse) String() string
type ArtifactResponse_Bytes ¶
type ArtifactResponse_Bytes struct {
Bytes []byte `protobuf:"bytes,3,opt,name=bytes,proto3,oneof"`
}
type ArtifactResponse_Header ¶
type ArtifactResponse_Header struct {
Header *ArtifactHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type ArtifactResponse_Proto ¶
type ArtifactResponse_Trailer ¶
type ArtifactResponse_Trailer struct {
Trailer *ArtifactTrailer `protobuf:"bytes,2,opt,name=trailer,proto3,oneof"`
}
type ArtifactTrailer ¶
type ArtifactTrailer struct {
// contains filtered or unexported fields
}
func (*ArtifactTrailer) Descriptor
deprecated
func (*ArtifactTrailer) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactTrailer.ProtoReflect.Descriptor instead.
func (*ArtifactTrailer) ProtoMessage ¶
func (*ArtifactTrailer) ProtoMessage()
func (*ArtifactTrailer) ProtoReflect ¶
func (x *ArtifactTrailer) ProtoReflect() protoreflect.Message
func (*ArtifactTrailer) Reset ¶
func (x *ArtifactTrailer) Reset()
func (*ArtifactTrailer) String ¶
func (x *ArtifactTrailer) String() string
type CheckRequest ¶
type CheckRequest struct { Path *types.Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetEventId ¶
func (x *CheckRequest) GetEventId() string
func (*CheckRequest) GetPath ¶
func (x *CheckRequest) GetPath() *types.Path
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckResponse ¶
type CheckResponse struct { Status *ComponentStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetStatus ¶
func (x *CheckResponse) GetStatus() *ComponentStatus
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type ComponentStatus ¶
type ComponentStatus struct { Path *types.Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Subcomponents []*ComponentStatus `protobuf:"bytes,2,rep,name=subcomponents,proto3" json:"subcomponents,omitempty"` Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=gnoi.healthz.Status" json:"status,omitempty"` // Deprecated: Marked as deprecated in healthz/healthz.proto. Healthz *anypb.Any `protobuf:"bytes,4,opt,name=healthz,proto3" json:"healthz,omitempty"` Artifacts []*ArtifactHeader `protobuf:"bytes,5,rep,name=artifacts,proto3" json:"artifacts,omitempty"` Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` Acknowledged bool `protobuf:"varint,7,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"` Expires *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*ComponentStatus) Descriptor
deprecated
func (*ComponentStatus) Descriptor() ([]byte, []int)
Deprecated: Use ComponentStatus.ProtoReflect.Descriptor instead.
func (*ComponentStatus) GetAcknowledged ¶
func (x *ComponentStatus) GetAcknowledged() bool
func (*ComponentStatus) GetArtifacts ¶
func (x *ComponentStatus) GetArtifacts() []*ArtifactHeader
func (*ComponentStatus) GetCreated ¶
func (x *ComponentStatus) GetCreated() *timestamppb.Timestamp
func (*ComponentStatus) GetExpires ¶
func (x *ComponentStatus) GetExpires() *timestamppb.Timestamp
func (*ComponentStatus) GetHealthz
deprecated
func (x *ComponentStatus) GetHealthz() *anypb.Any
Deprecated: Marked as deprecated in healthz/healthz.proto.
func (*ComponentStatus) GetId ¶
func (x *ComponentStatus) GetId() string
func (*ComponentStatus) GetPath ¶
func (x *ComponentStatus) GetPath() *types.Path
func (*ComponentStatus) GetStatus ¶
func (x *ComponentStatus) GetStatus() Status
func (*ComponentStatus) GetSubcomponents ¶
func (x *ComponentStatus) GetSubcomponents() []*ComponentStatus
func (*ComponentStatus) ProtoMessage ¶
func (*ComponentStatus) ProtoMessage()
func (*ComponentStatus) ProtoReflect ¶
func (x *ComponentStatus) ProtoReflect() protoreflect.Message
func (*ComponentStatus) Reset ¶
func (x *ComponentStatus) Reset()
func (*ComponentStatus) String ¶
func (x *ComponentStatus) String() string
type FileArtifactType ¶
type FileArtifactType struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Mimetype string `protobuf:"bytes,3,opt,name=mimetype,proto3" json:"mimetype,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Hash *types.HashType `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*FileArtifactType) Descriptor
deprecated
func (*FileArtifactType) Descriptor() ([]byte, []int)
Deprecated: Use FileArtifactType.ProtoReflect.Descriptor instead.
func (*FileArtifactType) GetHash ¶
func (x *FileArtifactType) GetHash() *types.HashType
func (*FileArtifactType) GetMimetype ¶
func (x *FileArtifactType) GetMimetype() string
func (*FileArtifactType) GetName ¶
func (x *FileArtifactType) GetName() string
func (*FileArtifactType) GetPath ¶
func (x *FileArtifactType) GetPath() string
func (*FileArtifactType) GetSize ¶
func (x *FileArtifactType) GetSize() int64
func (*FileArtifactType) ProtoMessage ¶
func (*FileArtifactType) ProtoMessage()
func (*FileArtifactType) ProtoReflect ¶
func (x *FileArtifactType) ProtoReflect() protoreflect.Message
func (*FileArtifactType) Reset ¶
func (x *FileArtifactType) Reset()
func (*FileArtifactType) String ¶
func (x *FileArtifactType) String() string
type GetRequest ¶
type GetRequest struct { Path *types.Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetPath ¶
func (x *GetRequest) GetPath() *types.Path
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Component *ComponentStatus `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetComponent ¶
func (x *GetResponse) GetComponent() *ComponentStatus
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type HealthzClient ¶
type HealthzClient interface { Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Acknowledge(ctx context.Context, in *AcknowledgeRequest, opts ...grpc.CallOption) (*AcknowledgeResponse, error) Artifact(ctx context.Context, in *ArtifactRequest, opts ...grpc.CallOption) (Healthz_ArtifactClient, error) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) }
HealthzClient is the client API for Healthz service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHealthzClient ¶
func NewHealthzClient(cc grpc.ClientConnInterface) HealthzClient
type HealthzServer ¶
type HealthzServer interface { Get(context.Context, *GetRequest) (*GetResponse, error) List(context.Context, *ListRequest) (*ListResponse, error) Acknowledge(context.Context, *AcknowledgeRequest) (*AcknowledgeResponse, error) Artifact(*ArtifactRequest, Healthz_ArtifactServer) error Check(context.Context, *CheckRequest) (*CheckResponse, error) // contains filtered or unexported methods }
HealthzServer is the server API for Healthz service. All implementations must embed UnimplementedHealthzServer for forward compatibility
type Healthz_ArtifactClient ¶
type Healthz_ArtifactClient interface { Recv() (*ArtifactResponse, error) grpc.ClientStream }
type Healthz_ArtifactServer ¶
type Healthz_ArtifactServer interface { Send(*ArtifactResponse) error grpc.ServerStream }
type ListRequest ¶
type ListRequest struct { Path *types.Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` IncludeAcknowledged bool `protobuf:"varint,2,opt,name=include_acknowledged,json=includeAcknowledged,proto3" json:"include_acknowledged,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetIncludeAcknowledged ¶
func (x *ListRequest) GetIncludeAcknowledged() bool
func (*ListRequest) GetPath ¶
func (x *ListRequest) GetPath() *types.Path
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Statuses []*ComponentStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetStatuses ¶
func (x *ListResponse) GetStatuses() []*ComponentStatus
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type ProtoArtifactType ¶
type ProtoArtifactType struct {
// contains filtered or unexported fields
}
func (*ProtoArtifactType) Descriptor
deprecated
func (*ProtoArtifactType) Descriptor() ([]byte, []int)
Deprecated: Use ProtoArtifactType.ProtoReflect.Descriptor instead.
func (*ProtoArtifactType) ProtoMessage ¶
func (*ProtoArtifactType) ProtoMessage()
func (*ProtoArtifactType) ProtoReflect ¶
func (x *ProtoArtifactType) ProtoReflect() protoreflect.Message
func (*ProtoArtifactType) Reset ¶
func (x *ProtoArtifactType) Reset()
func (*ProtoArtifactType) String ¶
func (x *ProtoArtifactType) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type UnimplementedHealthzServer ¶
type UnimplementedHealthzServer struct { }
UnimplementedHealthzServer must be embedded to have forward compatible implementations.
func (UnimplementedHealthzServer) Acknowledge ¶
func (UnimplementedHealthzServer) Acknowledge(context.Context, *AcknowledgeRequest) (*AcknowledgeResponse, error)
func (UnimplementedHealthzServer) Artifact ¶
func (UnimplementedHealthzServer) Artifact(*ArtifactRequest, Healthz_ArtifactServer) error
func (UnimplementedHealthzServer) Check ¶
func (UnimplementedHealthzServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedHealthzServer) Get ¶
func (UnimplementedHealthzServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedHealthzServer) List ¶
func (UnimplementedHealthzServer) List(context.Context, *ListRequest) (*ListResponse, error)
type UnsafeHealthzServer ¶
type UnsafeHealthzServer interface {
// contains filtered or unexported methods
}
UnsafeHealthzServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HealthzServer will result in compilation errors.