Documentation
¶
Index ¶
- Constants
- Variables
- func DRPCRegisterAgentSocket(mux drpc.Mux, impl DRPCAgentSocketServer) error
- type AddContextSourceRequest
- func (*AddContextSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddContextSourceRequest) GetPath() string
- func (*AddContextSourceRequest) ProtoMessage()
- func (x *AddContextSourceRequest) ProtoReflect() protoreflect.Message
- func (x *AddContextSourceRequest) Reset()
- func (x *AddContextSourceRequest) String() string
- type AddContextSourceResponse
- func (*AddContextSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddContextSourceResponse) GetSource() *ContextSource
- func (*AddContextSourceResponse) ProtoMessage()
- func (x *AddContextSourceResponse) ProtoReflect() protoreflect.Message
- func (x *AddContextSourceResponse) Reset()
- func (x *AddContextSourceResponse) String() string
- type ContextResource
- func (*ContextResource) Descriptor() ([]byte, []int)deprecated
- func (x *ContextResource) GetContentHash() string
- func (x *ContextResource) GetDescription() string
- func (x *ContextResource) GetError() string
- func (x *ContextResource) GetId() string
- func (x *ContextResource) GetKind() string
- func (x *ContextResource) GetName() string
- func (x *ContextResource) GetSizeBytes() uint64
- func (x *ContextResource) GetSource() string
- func (x *ContextResource) GetSourcePath() string
- func (x *ContextResource) GetStatus() string
- func (*ContextResource) ProtoMessage()
- func (x *ContextResource) ProtoReflect() protoreflect.Message
- func (x *ContextResource) Reset()
- func (x *ContextResource) String() string
- type ContextSnapshot
- func (*ContextSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *ContextSnapshot) GetAggregateHash() string
- func (x *ContextSnapshot) GetPayloadBytes() uint64
- func (x *ContextSnapshot) GetResources() []*ContextResource
- func (x *ContextSnapshot) GetSnapshotError() string
- func (x *ContextSnapshot) GetVersion() uint64
- func (*ContextSnapshot) ProtoMessage()
- func (x *ContextSnapshot) ProtoReflect() protoreflect.Message
- func (x *ContextSnapshot) Reset()
- func (x *ContextSnapshot) String() string
- type ContextSnapshotRequest
- type ContextSnapshotResponse
- func (*ContextSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContextSnapshotResponse) GetSnapshot() *ContextSnapshot
- func (*ContextSnapshotResponse) ProtoMessage()
- func (x *ContextSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *ContextSnapshotResponse) Reset()
- func (x *ContextSnapshotResponse) String() string
- type ContextSource
- type ContextSourcesRequest
- type ContextSourcesResponse
- func (*ContextSourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContextSourcesResponse) GetSources() []*ContextSource
- func (*ContextSourcesResponse) ProtoMessage()
- func (x *ContextSourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ContextSourcesResponse) Reset()
- func (x *ContextSourcesResponse) String() string
- type DRPCAgentSocketClient
- type DRPCAgentSocketDescription
- type DRPCAgentSocketServer
- type DRPCAgentSocketUnimplementedServer
- func (s *DRPCAgentSocketUnimplementedServer) AddContextSource(context.Context, *AddContextSourceRequest) (*AddContextSourceResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) ContextSources(context.Context, *ContextSourcesRequest) (*ContextSourcesResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) GetContextSnapshot(context.Context, *ContextSnapshotRequest) (*ContextSnapshotResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) GetContextSource(context.Context, *GetContextSourceRequest) (*GetContextSourceResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) RemoveContextSource(context.Context, *RemoveContextSourceRequest) (*RemoveContextSourceResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) ResyncContext(context.Context, *ResyncContextRequest) (*ResyncContextResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) SyncComplete(context.Context, *SyncCompleteRequest) (*SyncCompleteResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) SyncList(context.Context, *SyncListRequest) (*SyncListResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) SyncReady(context.Context, *SyncReadyRequest) (*SyncReadyResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) SyncStart(context.Context, *SyncStartRequest) (*SyncStartResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) SyncStatus(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) SyncWant(context.Context, *SyncWantRequest) (*SyncWantResponse, error)
- func (s *DRPCAgentSocketUnimplementedServer) UpdateAppStatus(context.Context, *proto1.UpdateAppStatusRequest) (*proto1.UpdateAppStatusResponse, error)
- type DRPCAgentSocket_AddContextSourceStream
- type DRPCAgentSocket_ContextSourcesStream
- type DRPCAgentSocket_GetContextSnapshotStream
- type DRPCAgentSocket_GetContextSourceStream
- type DRPCAgentSocket_PingStream
- type DRPCAgentSocket_RemoveContextSourceStream
- type DRPCAgentSocket_ResyncContextStream
- type DRPCAgentSocket_SyncCompleteStream
- type DRPCAgentSocket_SyncListStream
- type DRPCAgentSocket_SyncReadyStream
- type DRPCAgentSocket_SyncStartStream
- type DRPCAgentSocket_SyncStatusStream
- type DRPCAgentSocket_SyncWantStream
- type DRPCAgentSocket_UpdateAppStatusStream
- type DependencyInfo
- func (*DependencyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyInfo) GetCurrentStatus() string
- func (x *DependencyInfo) GetDependsOn() string
- func (x *DependencyInfo) GetIsSatisfied() bool
- func (x *DependencyInfo) GetRequiredStatus() string
- func (x *DependencyInfo) GetUnit() string
- func (*DependencyInfo) ProtoMessage()
- func (x *DependencyInfo) ProtoReflect() protoreflect.Message
- func (x *DependencyInfo) Reset()
- func (x *DependencyInfo) String() string
- type GetContextSourceRequest
- func (*GetContextSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContextSourceRequest) GetPath() string
- func (*GetContextSourceRequest) ProtoMessage()
- func (x *GetContextSourceRequest) ProtoReflect() protoreflect.Message
- func (x *GetContextSourceRequest) Reset()
- func (x *GetContextSourceRequest) String() string
- type GetContextSourceResponse
- func (*GetContextSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContextSourceResponse) GetSource() *ContextSource
- func (*GetContextSourceResponse) ProtoMessage()
- func (x *GetContextSourceResponse) ProtoReflect() protoreflect.Message
- func (x *GetContextSourceResponse) Reset()
- func (x *GetContextSourceResponse) String() string
- type PingRequest
- type PingResponse
- type RemoveContextSourceRequest
- func (*RemoveContextSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContextSourceRequest) GetPath() string
- func (*RemoveContextSourceRequest) ProtoMessage()
- func (x *RemoveContextSourceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveContextSourceRequest) Reset()
- func (x *RemoveContextSourceRequest) String() string
- type RemoveContextSourceResponse
- type ResyncContextRequest
- type ResyncContextResponse
- func (*ResyncContextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResyncContextResponse) GetSnapshot() *ContextSnapshot
- func (*ResyncContextResponse) ProtoMessage()
- func (x *ResyncContextResponse) ProtoReflect() protoreflect.Message
- func (x *ResyncContextResponse) Reset()
- func (x *ResyncContextResponse) String() string
- type SyncCompleteRequest
- func (*SyncCompleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncCompleteRequest) GetUnit() string
- func (*SyncCompleteRequest) ProtoMessage()
- func (x *SyncCompleteRequest) ProtoReflect() protoreflect.Message
- func (x *SyncCompleteRequest) Reset()
- func (x *SyncCompleteRequest) String() string
- type SyncCompleteResponse
- type SyncListRequest
- type SyncListResponse
- type SyncReadyRequest
- type SyncReadyResponse
- type SyncStartRequest
- type SyncStartResponse
- type SyncStatusRequest
- type SyncStatusResponse
- func (*SyncStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncStatusResponse) GetDependencies() []*DependencyInfo
- func (x *SyncStatusResponse) GetIsReady() bool
- func (x *SyncStatusResponse) GetStatus() string
- func (*SyncStatusResponse) ProtoMessage()
- func (x *SyncStatusResponse) ProtoReflect() protoreflect.Message
- func (x *SyncStatusResponse) Reset()
- func (x *SyncStatusResponse) String() string
- type SyncWantRequest
- func (*SyncWantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncWantRequest) GetDependsOn() string
- func (x *SyncWantRequest) GetUnit() string
- func (*SyncWantRequest) ProtoMessage()
- func (x *SyncWantRequest) ProtoReflect() protoreflect.Message
- func (x *SyncWantRequest) Reset()
- func (x *SyncWantRequest) String() string
- type SyncWantResponse
- type UnitInfo
- func (*UnitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UnitInfo) GetIsReady() bool
- func (x *UnitInfo) GetStatus() string
- func (x *UnitInfo) GetUnit() string
- func (*UnitInfo) ProtoMessage()
- func (x *UnitInfo) ProtoReflect() protoreflect.Message
- func (x *UnitInfo) Reset()
- func (x *UnitInfo) String() string
Constants ¶
const ( CurrentMajor = 1 CurrentMinor = 2 )
Variables ¶
var CurrentVersion = apiversion.New(CurrentMajor, CurrentMinor)
var File_agent_agentsocket_proto_agentsocket_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterAgentSocket ¶
func DRPCRegisterAgentSocket(mux drpc.Mux, impl DRPCAgentSocketServer) error
Types ¶
type AddContextSourceRequest ¶ added in v2.35.0
type AddContextSourceRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*AddContextSourceRequest) Descriptor
deprecated
added in
v2.35.0
func (*AddContextSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddContextSourceRequest.ProtoReflect.Descriptor instead.
func (*AddContextSourceRequest) GetPath ¶ added in v2.35.0
func (x *AddContextSourceRequest) GetPath() string
func (*AddContextSourceRequest) ProtoMessage ¶ added in v2.35.0
func (*AddContextSourceRequest) ProtoMessage()
func (*AddContextSourceRequest) ProtoReflect ¶ added in v2.35.0
func (x *AddContextSourceRequest) ProtoReflect() protoreflect.Message
func (*AddContextSourceRequest) Reset ¶ added in v2.35.0
func (x *AddContextSourceRequest) Reset()
func (*AddContextSourceRequest) String ¶ added in v2.35.0
func (x *AddContextSourceRequest) String() string
type AddContextSourceResponse ¶ added in v2.35.0
type AddContextSourceResponse struct {
Source *ContextSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// contains filtered or unexported fields
}
func (*AddContextSourceResponse) Descriptor
deprecated
added in
v2.35.0
func (*AddContextSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddContextSourceResponse.ProtoReflect.Descriptor instead.
func (*AddContextSourceResponse) GetSource ¶ added in v2.35.0
func (x *AddContextSourceResponse) GetSource() *ContextSource
func (*AddContextSourceResponse) ProtoMessage ¶ added in v2.35.0
func (*AddContextSourceResponse) ProtoMessage()
func (*AddContextSourceResponse) ProtoReflect ¶ added in v2.35.0
func (x *AddContextSourceResponse) ProtoReflect() protoreflect.Message
func (*AddContextSourceResponse) Reset ¶ added in v2.35.0
func (x *AddContextSourceResponse) Reset()
func (*AddContextSourceResponse) String ¶ added in v2.35.0
func (x *AddContextSourceResponse) String() string
type ContextResource ¶ added in v2.35.0
type ContextResource struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
SourcePath string `protobuf:"bytes,4,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"`
ContentHash string `protobuf:"bytes,5,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
SizeBytes uint64 `protobuf:"varint,6,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
ContextResource is the on-wire form of a resolved context resource. Payload bytes are never sent over the socket; they ship to coderd via the drpc PushContextState path. Mirrors agentcontext.Resource minus the payload and the per-server MCP tool list, which ship to coderd via the same PushContextState path.
func (*ContextResource) Descriptor
deprecated
added in
v2.35.0
func (*ContextResource) Descriptor() ([]byte, []int)
Deprecated: Use ContextResource.ProtoReflect.Descriptor instead.
func (*ContextResource) GetContentHash ¶ added in v2.35.0
func (x *ContextResource) GetContentHash() string
func (*ContextResource) GetDescription ¶ added in v2.35.0
func (x *ContextResource) GetDescription() string
func (*ContextResource) GetError ¶ added in v2.35.0
func (x *ContextResource) GetError() string
func (*ContextResource) GetId ¶ added in v2.35.0
func (x *ContextResource) GetId() string
func (*ContextResource) GetKind ¶ added in v2.35.0
func (x *ContextResource) GetKind() string
func (*ContextResource) GetName ¶ added in v2.35.0
func (x *ContextResource) GetName() string
func (*ContextResource) GetSizeBytes ¶ added in v2.35.0
func (x *ContextResource) GetSizeBytes() uint64
func (*ContextResource) GetSource ¶ added in v2.35.0
func (x *ContextResource) GetSource() string
func (*ContextResource) GetSourcePath ¶ added in v2.35.0
func (x *ContextResource) GetSourcePath() string
func (*ContextResource) GetStatus ¶ added in v2.35.0
func (x *ContextResource) GetStatus() string
func (*ContextResource) ProtoMessage ¶ added in v2.35.0
func (*ContextResource) ProtoMessage()
func (*ContextResource) ProtoReflect ¶ added in v2.35.0
func (x *ContextResource) ProtoReflect() protoreflect.Message
func (*ContextResource) Reset ¶ added in v2.35.0
func (x *ContextResource) Reset()
func (*ContextResource) String ¶ added in v2.35.0
func (x *ContextResource) String() string
type ContextSnapshot ¶ added in v2.35.0
type ContextSnapshot struct {
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
AggregateHash string `protobuf:"bytes,2,opt,name=aggregate_hash,json=aggregateHash,proto3" json:"aggregate_hash,omitempty"`
Resources []*ContextResource `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
PayloadBytes uint64 `protobuf:"varint,4,opt,name=payload_bytes,json=payloadBytes,proto3" json:"payload_bytes,omitempty"`
SnapshotError string `protobuf:"bytes,5,opt,name=snapshot_error,json=snapshotError,proto3" json:"snapshot_error,omitempty"`
// contains filtered or unexported fields
}
ContextSnapshot is the agent's resolved context state.
func (*ContextSnapshot) Descriptor
deprecated
added in
v2.35.0
func (*ContextSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use ContextSnapshot.ProtoReflect.Descriptor instead.
func (*ContextSnapshot) GetAggregateHash ¶ added in v2.35.0
func (x *ContextSnapshot) GetAggregateHash() string
func (*ContextSnapshot) GetPayloadBytes ¶ added in v2.35.0
func (x *ContextSnapshot) GetPayloadBytes() uint64
func (*ContextSnapshot) GetResources ¶ added in v2.35.0
func (x *ContextSnapshot) GetResources() []*ContextResource
func (*ContextSnapshot) GetSnapshotError ¶ added in v2.35.0
func (x *ContextSnapshot) GetSnapshotError() string
func (*ContextSnapshot) GetVersion ¶ added in v2.35.0
func (x *ContextSnapshot) GetVersion() uint64
func (*ContextSnapshot) ProtoMessage ¶ added in v2.35.0
func (*ContextSnapshot) ProtoMessage()
func (*ContextSnapshot) ProtoReflect ¶ added in v2.35.0
func (x *ContextSnapshot) ProtoReflect() protoreflect.Message
func (*ContextSnapshot) Reset ¶ added in v2.35.0
func (x *ContextSnapshot) Reset()
func (*ContextSnapshot) String ¶ added in v2.35.0
func (x *ContextSnapshot) String() string
type ContextSnapshotRequest ¶ added in v2.35.0
type ContextSnapshotRequest struct {
// contains filtered or unexported fields
}
func (*ContextSnapshotRequest) Descriptor
deprecated
added in
v2.35.0
func (*ContextSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextSnapshotRequest.ProtoReflect.Descriptor instead.
func (*ContextSnapshotRequest) ProtoMessage ¶ added in v2.35.0
func (*ContextSnapshotRequest) ProtoMessage()
func (*ContextSnapshotRequest) ProtoReflect ¶ added in v2.35.0
func (x *ContextSnapshotRequest) ProtoReflect() protoreflect.Message
func (*ContextSnapshotRequest) Reset ¶ added in v2.35.0
func (x *ContextSnapshotRequest) Reset()
func (*ContextSnapshotRequest) String ¶ added in v2.35.0
func (x *ContextSnapshotRequest) String() string
type ContextSnapshotResponse ¶ added in v2.35.0
type ContextSnapshotResponse struct {
Snapshot *ContextSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
// contains filtered or unexported fields
}
func (*ContextSnapshotResponse) Descriptor
deprecated
added in
v2.35.0
func (*ContextSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContextSnapshotResponse.ProtoReflect.Descriptor instead.
func (*ContextSnapshotResponse) GetSnapshot ¶ added in v2.35.0
func (x *ContextSnapshotResponse) GetSnapshot() *ContextSnapshot
func (*ContextSnapshotResponse) ProtoMessage ¶ added in v2.35.0
func (*ContextSnapshotResponse) ProtoMessage()
func (*ContextSnapshotResponse) ProtoReflect ¶ added in v2.35.0
func (x *ContextSnapshotResponse) ProtoReflect() protoreflect.Message
func (*ContextSnapshotResponse) Reset ¶ added in v2.35.0
func (x *ContextSnapshotResponse) Reset()
func (*ContextSnapshotResponse) String ¶ added in v2.35.0
func (x *ContextSnapshotResponse) String() string
type ContextSource ¶ added in v2.35.0
type ContextSource struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
ContextSource is a user-declared scan root the agent watches for workspace context (instruction files, skills, MCP configs) in addition to its built-in defaults. Identity is the canonical path.
func (*ContextSource) Descriptor
deprecated
added in
v2.35.0
func (*ContextSource) Descriptor() ([]byte, []int)
Deprecated: Use ContextSource.ProtoReflect.Descriptor instead.
func (*ContextSource) GetPath ¶ added in v2.35.0
func (x *ContextSource) GetPath() string
func (*ContextSource) ProtoMessage ¶ added in v2.35.0
func (*ContextSource) ProtoMessage()
func (*ContextSource) ProtoReflect ¶ added in v2.35.0
func (x *ContextSource) ProtoReflect() protoreflect.Message
func (*ContextSource) Reset ¶ added in v2.35.0
func (x *ContextSource) Reset()
func (*ContextSource) String ¶ added in v2.35.0
func (x *ContextSource) String() string
type ContextSourcesRequest ¶ added in v2.35.0
type ContextSourcesRequest struct {
// contains filtered or unexported fields
}
func (*ContextSourcesRequest) Descriptor
deprecated
added in
v2.35.0
func (*ContextSourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextSourcesRequest.ProtoReflect.Descriptor instead.
func (*ContextSourcesRequest) ProtoMessage ¶ added in v2.35.0
func (*ContextSourcesRequest) ProtoMessage()
func (*ContextSourcesRequest) ProtoReflect ¶ added in v2.35.0
func (x *ContextSourcesRequest) ProtoReflect() protoreflect.Message
func (*ContextSourcesRequest) Reset ¶ added in v2.35.0
func (x *ContextSourcesRequest) Reset()
func (*ContextSourcesRequest) String ¶ added in v2.35.0
func (x *ContextSourcesRequest) String() string
type ContextSourcesResponse ¶ added in v2.35.0
type ContextSourcesResponse struct {
Sources []*ContextSource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
// contains filtered or unexported fields
}
func (*ContextSourcesResponse) Descriptor
deprecated
added in
v2.35.0
func (*ContextSourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContextSourcesResponse.ProtoReflect.Descriptor instead.
func (*ContextSourcesResponse) GetSources ¶ added in v2.35.0
func (x *ContextSourcesResponse) GetSources() []*ContextSource
func (*ContextSourcesResponse) ProtoMessage ¶ added in v2.35.0
func (*ContextSourcesResponse) ProtoMessage()
func (*ContextSourcesResponse) ProtoReflect ¶ added in v2.35.0
func (x *ContextSourcesResponse) ProtoReflect() protoreflect.Message
func (*ContextSourcesResponse) Reset ¶ added in v2.35.0
func (x *ContextSourcesResponse) Reset()
func (*ContextSourcesResponse) String ¶ added in v2.35.0
func (x *ContextSourcesResponse) String() string
type DRPCAgentSocketClient ¶
type DRPCAgentSocketClient interface {
DRPCConn() drpc.Conn
Ping(ctx context.Context, in *PingRequest) (*PingResponse, error)
SyncStart(ctx context.Context, in *SyncStartRequest) (*SyncStartResponse, error)
SyncWant(ctx context.Context, in *SyncWantRequest) (*SyncWantResponse, error)
SyncComplete(ctx context.Context, in *SyncCompleteRequest) (*SyncCompleteResponse, error)
SyncReady(ctx context.Context, in *SyncReadyRequest) (*SyncReadyResponse, error)
SyncStatus(ctx context.Context, in *SyncStatusRequest) (*SyncStatusResponse, error)
SyncList(ctx context.Context, in *SyncListRequest) (*SyncListResponse, error)
UpdateAppStatus(ctx context.Context, in *proto1.UpdateAppStatusRequest) (*proto1.UpdateAppStatusResponse, error)
ContextSources(ctx context.Context, in *ContextSourcesRequest) (*ContextSourcesResponse, error)
GetContextSource(ctx context.Context, in *GetContextSourceRequest) (*GetContextSourceResponse, error)
AddContextSource(ctx context.Context, in *AddContextSourceRequest) (*AddContextSourceResponse, error)
RemoveContextSource(ctx context.Context, in *RemoveContextSourceRequest) (*RemoveContextSourceResponse, error)
GetContextSnapshot(ctx context.Context, in *ContextSnapshotRequest) (*ContextSnapshotResponse, error)
ResyncContext(ctx context.Context, in *ResyncContextRequest) (*ResyncContextResponse, error)
}
func NewDRPCAgentSocketClient ¶
func NewDRPCAgentSocketClient(cc drpc.Conn) DRPCAgentSocketClient
type DRPCAgentSocketDescription ¶
type DRPCAgentSocketDescription struct{}
func (DRPCAgentSocketDescription) NumMethods ¶
func (DRPCAgentSocketDescription) NumMethods() int
type DRPCAgentSocketServer ¶
type DRPCAgentSocketServer interface {
Ping(context.Context, *PingRequest) (*PingResponse, error)
SyncStart(context.Context, *SyncStartRequest) (*SyncStartResponse, error)
SyncWant(context.Context, *SyncWantRequest) (*SyncWantResponse, error)
SyncComplete(context.Context, *SyncCompleteRequest) (*SyncCompleteResponse, error)
SyncReady(context.Context, *SyncReadyRequest) (*SyncReadyResponse, error)
SyncStatus(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error)
SyncList(context.Context, *SyncListRequest) (*SyncListResponse, error)
UpdateAppStatus(context.Context, *proto1.UpdateAppStatusRequest) (*proto1.UpdateAppStatusResponse, error)
ContextSources(context.Context, *ContextSourcesRequest) (*ContextSourcesResponse, error)
GetContextSource(context.Context, *GetContextSourceRequest) (*GetContextSourceResponse, error)
AddContextSource(context.Context, *AddContextSourceRequest) (*AddContextSourceResponse, error)
RemoveContextSource(context.Context, *RemoveContextSourceRequest) (*RemoveContextSourceResponse, error)
GetContextSnapshot(context.Context, *ContextSnapshotRequest) (*ContextSnapshotResponse, error)
ResyncContext(context.Context, *ResyncContextRequest) (*ResyncContextResponse, error)
}
type DRPCAgentSocketUnimplementedServer ¶
type DRPCAgentSocketUnimplementedServer struct{}
func (*DRPCAgentSocketUnimplementedServer) AddContextSource ¶ added in v2.35.0
func (s *DRPCAgentSocketUnimplementedServer) AddContextSource(context.Context, *AddContextSourceRequest) (*AddContextSourceResponse, error)
func (*DRPCAgentSocketUnimplementedServer) ContextSources ¶ added in v2.35.0
func (s *DRPCAgentSocketUnimplementedServer) ContextSources(context.Context, *ContextSourcesRequest) (*ContextSourcesResponse, error)
func (*DRPCAgentSocketUnimplementedServer) GetContextSnapshot ¶ added in v2.35.0
func (s *DRPCAgentSocketUnimplementedServer) GetContextSnapshot(context.Context, *ContextSnapshotRequest) (*ContextSnapshotResponse, error)
func (*DRPCAgentSocketUnimplementedServer) GetContextSource ¶ added in v2.35.0
func (s *DRPCAgentSocketUnimplementedServer) GetContextSource(context.Context, *GetContextSourceRequest) (*GetContextSourceResponse, error)
func (*DRPCAgentSocketUnimplementedServer) Ping ¶
func (s *DRPCAgentSocketUnimplementedServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (*DRPCAgentSocketUnimplementedServer) RemoveContextSource ¶ added in v2.35.0
func (s *DRPCAgentSocketUnimplementedServer) RemoveContextSource(context.Context, *RemoveContextSourceRequest) (*RemoveContextSourceResponse, error)
func (*DRPCAgentSocketUnimplementedServer) ResyncContext ¶ added in v2.35.0
func (s *DRPCAgentSocketUnimplementedServer) ResyncContext(context.Context, *ResyncContextRequest) (*ResyncContextResponse, error)
func (*DRPCAgentSocketUnimplementedServer) SyncComplete ¶
func (s *DRPCAgentSocketUnimplementedServer) SyncComplete(context.Context, *SyncCompleteRequest) (*SyncCompleteResponse, error)
func (*DRPCAgentSocketUnimplementedServer) SyncList ¶ added in v2.35.0
func (s *DRPCAgentSocketUnimplementedServer) SyncList(context.Context, *SyncListRequest) (*SyncListResponse, error)
func (*DRPCAgentSocketUnimplementedServer) SyncReady ¶
func (s *DRPCAgentSocketUnimplementedServer) SyncReady(context.Context, *SyncReadyRequest) (*SyncReadyResponse, error)
func (*DRPCAgentSocketUnimplementedServer) SyncStart ¶
func (s *DRPCAgentSocketUnimplementedServer) SyncStart(context.Context, *SyncStartRequest) (*SyncStartResponse, error)
func (*DRPCAgentSocketUnimplementedServer) SyncStatus ¶
func (s *DRPCAgentSocketUnimplementedServer) SyncStatus(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error)
func (*DRPCAgentSocketUnimplementedServer) SyncWant ¶
func (s *DRPCAgentSocketUnimplementedServer) SyncWant(context.Context, *SyncWantRequest) (*SyncWantResponse, error)
func (*DRPCAgentSocketUnimplementedServer) UpdateAppStatus ¶ added in v2.32.0
func (s *DRPCAgentSocketUnimplementedServer) UpdateAppStatus(context.Context, *proto1.UpdateAppStatusRequest) (*proto1.UpdateAppStatusResponse, error)
type DRPCAgentSocket_AddContextSourceStream ¶ added in v2.35.0
type DRPCAgentSocket_AddContextSourceStream interface {
drpc.Stream
SendAndClose(*AddContextSourceResponse) error
}
type DRPCAgentSocket_ContextSourcesStream ¶ added in v2.35.0
type DRPCAgentSocket_ContextSourcesStream interface {
drpc.Stream
SendAndClose(*ContextSourcesResponse) error
}
type DRPCAgentSocket_GetContextSnapshotStream ¶ added in v2.35.0
type DRPCAgentSocket_GetContextSnapshotStream interface {
drpc.Stream
SendAndClose(*ContextSnapshotResponse) error
}
type DRPCAgentSocket_GetContextSourceStream ¶ added in v2.35.0
type DRPCAgentSocket_GetContextSourceStream interface {
drpc.Stream
SendAndClose(*GetContextSourceResponse) error
}
type DRPCAgentSocket_PingStream ¶
type DRPCAgentSocket_PingStream interface {
drpc.Stream
SendAndClose(*PingResponse) error
}
type DRPCAgentSocket_RemoveContextSourceStream ¶ added in v2.35.0
type DRPCAgentSocket_RemoveContextSourceStream interface {
drpc.Stream
SendAndClose(*RemoveContextSourceResponse) error
}
type DRPCAgentSocket_ResyncContextStream ¶ added in v2.35.0
type DRPCAgentSocket_ResyncContextStream interface {
drpc.Stream
SendAndClose(*ResyncContextResponse) error
}
type DRPCAgentSocket_SyncCompleteStream ¶
type DRPCAgentSocket_SyncCompleteStream interface {
drpc.Stream
SendAndClose(*SyncCompleteResponse) error
}
type DRPCAgentSocket_SyncListStream ¶ added in v2.35.0
type DRPCAgentSocket_SyncListStream interface {
drpc.Stream
SendAndClose(*SyncListResponse) error
}
type DRPCAgentSocket_SyncReadyStream ¶
type DRPCAgentSocket_SyncReadyStream interface {
drpc.Stream
SendAndClose(*SyncReadyResponse) error
}
type DRPCAgentSocket_SyncStartStream ¶
type DRPCAgentSocket_SyncStartStream interface {
drpc.Stream
SendAndClose(*SyncStartResponse) error
}
type DRPCAgentSocket_SyncStatusStream ¶
type DRPCAgentSocket_SyncStatusStream interface {
drpc.Stream
SendAndClose(*SyncStatusResponse) error
}
type DRPCAgentSocket_SyncWantStream ¶
type DRPCAgentSocket_SyncWantStream interface {
drpc.Stream
SendAndClose(*SyncWantResponse) error
}
type DRPCAgentSocket_UpdateAppStatusStream ¶ added in v2.32.0
type DRPCAgentSocket_UpdateAppStatusStream interface {
drpc.Stream
SendAndClose(*proto1.UpdateAppStatusResponse) error
}
type DependencyInfo ¶
type DependencyInfo struct {
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
DependsOn string `protobuf:"bytes,2,opt,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"`
RequiredStatus string `protobuf:"bytes,3,opt,name=required_status,json=requiredStatus,proto3" json:"required_status,omitempty"`
CurrentStatus string `protobuf:"bytes,4,opt,name=current_status,json=currentStatus,proto3" json:"current_status,omitempty"`
IsSatisfied bool `protobuf:"varint,5,opt,name=is_satisfied,json=isSatisfied,proto3" json:"is_satisfied,omitempty"`
// contains filtered or unexported fields
}
DependencyInfo represents a directed edge in the dependency graph from one unit to a unit it depends on, along with the required and current status of the dependency.
func (*DependencyInfo) Descriptor
deprecated
func (*DependencyInfo) Descriptor() ([]byte, []int)
Deprecated: Use DependencyInfo.ProtoReflect.Descriptor instead.
func (*DependencyInfo) GetCurrentStatus ¶
func (x *DependencyInfo) GetCurrentStatus() string
func (*DependencyInfo) GetDependsOn ¶
func (x *DependencyInfo) GetDependsOn() string
func (*DependencyInfo) GetIsSatisfied ¶
func (x *DependencyInfo) GetIsSatisfied() bool
func (*DependencyInfo) GetRequiredStatus ¶
func (x *DependencyInfo) GetRequiredStatus() string
func (*DependencyInfo) GetUnit ¶
func (x *DependencyInfo) GetUnit() string
func (*DependencyInfo) ProtoMessage ¶
func (*DependencyInfo) ProtoMessage()
func (*DependencyInfo) ProtoReflect ¶
func (x *DependencyInfo) ProtoReflect() protoreflect.Message
func (*DependencyInfo) Reset ¶
func (x *DependencyInfo) Reset()
func (*DependencyInfo) String ¶
func (x *DependencyInfo) String() string
type GetContextSourceRequest ¶ added in v2.35.0
type GetContextSourceRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*GetContextSourceRequest) Descriptor
deprecated
added in
v2.35.0
func (*GetContextSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContextSourceRequest.ProtoReflect.Descriptor instead.
func (*GetContextSourceRequest) GetPath ¶ added in v2.35.0
func (x *GetContextSourceRequest) GetPath() string
func (*GetContextSourceRequest) ProtoMessage ¶ added in v2.35.0
func (*GetContextSourceRequest) ProtoMessage()
func (*GetContextSourceRequest) ProtoReflect ¶ added in v2.35.0
func (x *GetContextSourceRequest) ProtoReflect() protoreflect.Message
func (*GetContextSourceRequest) Reset ¶ added in v2.35.0
func (x *GetContextSourceRequest) Reset()
func (*GetContextSourceRequest) String ¶ added in v2.35.0
func (x *GetContextSourceRequest) String() string
type GetContextSourceResponse ¶ added in v2.35.0
type GetContextSourceResponse struct {
Source *ContextSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// contains filtered or unexported fields
}
func (*GetContextSourceResponse) Descriptor
deprecated
added in
v2.35.0
func (*GetContextSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContextSourceResponse.ProtoReflect.Descriptor instead.
func (*GetContextSourceResponse) GetSource ¶ added in v2.35.0
func (x *GetContextSourceResponse) GetSource() *ContextSource
func (*GetContextSourceResponse) ProtoMessage ¶ added in v2.35.0
func (*GetContextSourceResponse) ProtoMessage()
func (*GetContextSourceResponse) ProtoReflect ¶ added in v2.35.0
func (x *GetContextSourceResponse) ProtoReflect() protoreflect.Message
func (*GetContextSourceResponse) Reset ¶ added in v2.35.0
func (x *GetContextSourceResponse) Reset()
func (*GetContextSourceResponse) String ¶ added in v2.35.0
func (x *GetContextSourceResponse) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
// contains filtered or unexported fields
}
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type RemoveContextSourceRequest ¶ added in v2.35.0
type RemoveContextSourceRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveContextSourceRequest) Descriptor
deprecated
added in
v2.35.0
func (*RemoveContextSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContextSourceRequest.ProtoReflect.Descriptor instead.
func (*RemoveContextSourceRequest) GetPath ¶ added in v2.35.0
func (x *RemoveContextSourceRequest) GetPath() string
func (*RemoveContextSourceRequest) ProtoMessage ¶ added in v2.35.0
func (*RemoveContextSourceRequest) ProtoMessage()
func (*RemoveContextSourceRequest) ProtoReflect ¶ added in v2.35.0
func (x *RemoveContextSourceRequest) ProtoReflect() protoreflect.Message
func (*RemoveContextSourceRequest) Reset ¶ added in v2.35.0
func (x *RemoveContextSourceRequest) Reset()
func (*RemoveContextSourceRequest) String ¶ added in v2.35.0
func (x *RemoveContextSourceRequest) String() string
type RemoveContextSourceResponse ¶ added in v2.35.0
type RemoveContextSourceResponse struct {
// contains filtered or unexported fields
}
func (*RemoveContextSourceResponse) Descriptor
deprecated
added in
v2.35.0
func (*RemoveContextSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContextSourceResponse.ProtoReflect.Descriptor instead.
func (*RemoveContextSourceResponse) ProtoMessage ¶ added in v2.35.0
func (*RemoveContextSourceResponse) ProtoMessage()
func (*RemoveContextSourceResponse) ProtoReflect ¶ added in v2.35.0
func (x *RemoveContextSourceResponse) ProtoReflect() protoreflect.Message
func (*RemoveContextSourceResponse) Reset ¶ added in v2.35.0
func (x *RemoveContextSourceResponse) Reset()
func (*RemoveContextSourceResponse) String ¶ added in v2.35.0
func (x *RemoveContextSourceResponse) String() string
type ResyncContextRequest ¶ added in v2.35.0
type ResyncContextRequest struct {
// contains filtered or unexported fields
}
func (*ResyncContextRequest) Descriptor
deprecated
added in
v2.35.0
func (*ResyncContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResyncContextRequest.ProtoReflect.Descriptor instead.
func (*ResyncContextRequest) ProtoMessage ¶ added in v2.35.0
func (*ResyncContextRequest) ProtoMessage()
func (*ResyncContextRequest) ProtoReflect ¶ added in v2.35.0
func (x *ResyncContextRequest) ProtoReflect() protoreflect.Message
func (*ResyncContextRequest) Reset ¶ added in v2.35.0
func (x *ResyncContextRequest) Reset()
func (*ResyncContextRequest) String ¶ added in v2.35.0
func (x *ResyncContextRequest) String() string
type ResyncContextResponse ¶ added in v2.35.0
type ResyncContextResponse struct {
Snapshot *ContextSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
// contains filtered or unexported fields
}
func (*ResyncContextResponse) Descriptor
deprecated
added in
v2.35.0
func (*ResyncContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResyncContextResponse.ProtoReflect.Descriptor instead.
func (*ResyncContextResponse) GetSnapshot ¶ added in v2.35.0
func (x *ResyncContextResponse) GetSnapshot() *ContextSnapshot
func (*ResyncContextResponse) ProtoMessage ¶ added in v2.35.0
func (*ResyncContextResponse) ProtoMessage()
func (*ResyncContextResponse) ProtoReflect ¶ added in v2.35.0
func (x *ResyncContextResponse) ProtoReflect() protoreflect.Message
func (*ResyncContextResponse) Reset ¶ added in v2.35.0
func (x *ResyncContextResponse) Reset()
func (*ResyncContextResponse) String ¶ added in v2.35.0
func (x *ResyncContextResponse) String() string
type SyncCompleteRequest ¶
type SyncCompleteRequest struct {
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
func (*SyncCompleteRequest) Descriptor
deprecated
func (*SyncCompleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncCompleteRequest.ProtoReflect.Descriptor instead.
func (*SyncCompleteRequest) GetUnit ¶
func (x *SyncCompleteRequest) GetUnit() string
func (*SyncCompleteRequest) ProtoMessage ¶
func (*SyncCompleteRequest) ProtoMessage()
func (*SyncCompleteRequest) ProtoReflect ¶
func (x *SyncCompleteRequest) ProtoReflect() protoreflect.Message
func (*SyncCompleteRequest) Reset ¶
func (x *SyncCompleteRequest) Reset()
func (*SyncCompleteRequest) String ¶
func (x *SyncCompleteRequest) String() string
type SyncCompleteResponse ¶
type SyncCompleteResponse struct {
// contains filtered or unexported fields
}
func (*SyncCompleteResponse) Descriptor
deprecated
func (*SyncCompleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncCompleteResponse.ProtoReflect.Descriptor instead.
func (*SyncCompleteResponse) ProtoMessage ¶
func (*SyncCompleteResponse) ProtoMessage()
func (*SyncCompleteResponse) ProtoReflect ¶
func (x *SyncCompleteResponse) ProtoReflect() protoreflect.Message
func (*SyncCompleteResponse) Reset ¶
func (x *SyncCompleteResponse) Reset()
func (*SyncCompleteResponse) String ¶
func (x *SyncCompleteResponse) String() string
type SyncListRequest ¶ added in v2.35.0
type SyncListRequest struct {
// contains filtered or unexported fields
}
func (*SyncListRequest) Descriptor
deprecated
added in
v2.35.0
func (*SyncListRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncListRequest.ProtoReflect.Descriptor instead.
func (*SyncListRequest) ProtoMessage ¶ added in v2.35.0
func (*SyncListRequest) ProtoMessage()
func (*SyncListRequest) ProtoReflect ¶ added in v2.35.0
func (x *SyncListRequest) ProtoReflect() protoreflect.Message
func (*SyncListRequest) Reset ¶ added in v2.35.0
func (x *SyncListRequest) Reset()
func (*SyncListRequest) String ¶ added in v2.35.0
func (x *SyncListRequest) String() string
type SyncListResponse ¶ added in v2.35.0
type SyncListResponse struct {
Units []*UnitInfo `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"`
// contains filtered or unexported fields
}
func (*SyncListResponse) Descriptor
deprecated
added in
v2.35.0
func (*SyncListResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncListResponse.ProtoReflect.Descriptor instead.
func (*SyncListResponse) GetUnits ¶ added in v2.35.0
func (x *SyncListResponse) GetUnits() []*UnitInfo
func (*SyncListResponse) ProtoMessage ¶ added in v2.35.0
func (*SyncListResponse) ProtoMessage()
func (*SyncListResponse) ProtoReflect ¶ added in v2.35.0
func (x *SyncListResponse) ProtoReflect() protoreflect.Message
func (*SyncListResponse) Reset ¶ added in v2.35.0
func (x *SyncListResponse) Reset()
func (*SyncListResponse) String ¶ added in v2.35.0
func (x *SyncListResponse) String() string
type SyncReadyRequest ¶
type SyncReadyRequest struct {
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
func (*SyncReadyRequest) Descriptor
deprecated
func (*SyncReadyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncReadyRequest.ProtoReflect.Descriptor instead.
func (*SyncReadyRequest) GetUnit ¶
func (x *SyncReadyRequest) GetUnit() string
func (*SyncReadyRequest) ProtoMessage ¶
func (*SyncReadyRequest) ProtoMessage()
func (*SyncReadyRequest) ProtoReflect ¶
func (x *SyncReadyRequest) ProtoReflect() protoreflect.Message
func (*SyncReadyRequest) Reset ¶
func (x *SyncReadyRequest) Reset()
func (*SyncReadyRequest) String ¶
func (x *SyncReadyRequest) String() string
type SyncReadyResponse ¶
type SyncReadyResponse struct {
Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
// contains filtered or unexported fields
}
func (*SyncReadyResponse) Descriptor
deprecated
func (*SyncReadyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncReadyResponse.ProtoReflect.Descriptor instead.
func (*SyncReadyResponse) GetReady ¶
func (x *SyncReadyResponse) GetReady() bool
func (*SyncReadyResponse) ProtoMessage ¶
func (*SyncReadyResponse) ProtoMessage()
func (*SyncReadyResponse) ProtoReflect ¶
func (x *SyncReadyResponse) ProtoReflect() protoreflect.Message
func (*SyncReadyResponse) Reset ¶
func (x *SyncReadyResponse) Reset()
func (*SyncReadyResponse) String ¶
func (x *SyncReadyResponse) String() string
type SyncStartRequest ¶
type SyncStartRequest struct {
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
func (*SyncStartRequest) Descriptor
deprecated
func (*SyncStartRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncStartRequest.ProtoReflect.Descriptor instead.
func (*SyncStartRequest) GetUnit ¶
func (x *SyncStartRequest) GetUnit() string
func (*SyncStartRequest) ProtoMessage ¶
func (*SyncStartRequest) ProtoMessage()
func (*SyncStartRequest) ProtoReflect ¶
func (x *SyncStartRequest) ProtoReflect() protoreflect.Message
func (*SyncStartRequest) Reset ¶
func (x *SyncStartRequest) Reset()
func (*SyncStartRequest) String ¶
func (x *SyncStartRequest) String() string
type SyncStartResponse ¶
type SyncStartResponse struct {
// contains filtered or unexported fields
}
func (*SyncStartResponse) Descriptor
deprecated
func (*SyncStartResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncStartResponse.ProtoReflect.Descriptor instead.
func (*SyncStartResponse) ProtoMessage ¶
func (*SyncStartResponse) ProtoMessage()
func (*SyncStartResponse) ProtoReflect ¶
func (x *SyncStartResponse) ProtoReflect() protoreflect.Message
func (*SyncStartResponse) Reset ¶
func (x *SyncStartResponse) Reset()
func (*SyncStartResponse) String ¶
func (x *SyncStartResponse) String() string
type SyncStatusRequest ¶
type SyncStatusRequest struct {
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
func (*SyncStatusRequest) Descriptor
deprecated
func (*SyncStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncStatusRequest.ProtoReflect.Descriptor instead.
func (*SyncStatusRequest) GetUnit ¶
func (x *SyncStatusRequest) GetUnit() string
func (*SyncStatusRequest) ProtoMessage ¶
func (*SyncStatusRequest) ProtoMessage()
func (*SyncStatusRequest) ProtoReflect ¶
func (x *SyncStatusRequest) ProtoReflect() protoreflect.Message
func (*SyncStatusRequest) Reset ¶
func (x *SyncStatusRequest) Reset()
func (*SyncStatusRequest) String ¶
func (x *SyncStatusRequest) String() string
type SyncStatusResponse ¶
type SyncStatusResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
IsReady bool `protobuf:"varint,2,opt,name=is_ready,json=isReady,proto3" json:"is_ready,omitempty"`
Dependencies []*DependencyInfo `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
// contains filtered or unexported fields
}
func (*SyncStatusResponse) Descriptor
deprecated
func (*SyncStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncStatusResponse.ProtoReflect.Descriptor instead.
func (*SyncStatusResponse) GetDependencies ¶
func (x *SyncStatusResponse) GetDependencies() []*DependencyInfo
func (*SyncStatusResponse) GetIsReady ¶
func (x *SyncStatusResponse) GetIsReady() bool
func (*SyncStatusResponse) GetStatus ¶
func (x *SyncStatusResponse) GetStatus() string
func (*SyncStatusResponse) ProtoMessage ¶
func (*SyncStatusResponse) ProtoMessage()
func (*SyncStatusResponse) ProtoReflect ¶
func (x *SyncStatusResponse) ProtoReflect() protoreflect.Message
func (*SyncStatusResponse) Reset ¶
func (x *SyncStatusResponse) Reset()
func (*SyncStatusResponse) String ¶
func (x *SyncStatusResponse) String() string
type SyncWantRequest ¶
type SyncWantRequest struct {
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
DependsOn string `protobuf:"bytes,2,opt,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"`
// contains filtered or unexported fields
}
func (*SyncWantRequest) Descriptor
deprecated
func (*SyncWantRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncWantRequest.ProtoReflect.Descriptor instead.
func (*SyncWantRequest) GetDependsOn ¶
func (x *SyncWantRequest) GetDependsOn() string
func (*SyncWantRequest) GetUnit ¶
func (x *SyncWantRequest) GetUnit() string
func (*SyncWantRequest) ProtoMessage ¶
func (*SyncWantRequest) ProtoMessage()
func (*SyncWantRequest) ProtoReflect ¶
func (x *SyncWantRequest) ProtoReflect() protoreflect.Message
func (*SyncWantRequest) Reset ¶
func (x *SyncWantRequest) Reset()
func (*SyncWantRequest) String ¶
func (x *SyncWantRequest) String() string
type SyncWantResponse ¶
type SyncWantResponse struct {
// contains filtered or unexported fields
}
func (*SyncWantResponse) Descriptor
deprecated
func (*SyncWantResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncWantResponse.ProtoReflect.Descriptor instead.
func (*SyncWantResponse) ProtoMessage ¶
func (*SyncWantResponse) ProtoMessage()
func (*SyncWantResponse) ProtoReflect ¶
func (x *SyncWantResponse) ProtoReflect() protoreflect.Message
func (*SyncWantResponse) Reset ¶
func (x *SyncWantResponse) Reset()
func (*SyncWantResponse) String ¶
func (x *SyncWantResponse) String() string
type UnitInfo ¶ added in v2.35.0
type UnitInfo struct {
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
IsReady bool `protobuf:"varint,3,opt,name=is_ready,json=isReady,proto3" json:"is_ready,omitempty"`
// contains filtered or unexported fields
}
UnitInfo represents a single unit vertex in the dependency graph. Includes the state of the unit itself.
func (*UnitInfo) Descriptor
deprecated
added in
v2.35.0
func (*UnitInfo) GetIsReady ¶ added in v2.35.0
func (*UnitInfo) ProtoMessage ¶ added in v2.35.0
func (*UnitInfo) ProtoMessage()
func (*UnitInfo) ProtoReflect ¶ added in v2.35.0
func (x *UnitInfo) ProtoReflect() protoreflect.Message