 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const Port = 23551
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSyncletClient ¶
type FakeSyncletClient struct {
	UpdateContainerCount         int
	CommandsRunCount             int
	UpdateContainerHotReload     bool
	ClosedCount                  int
	UpdateContainerErrorToReturn error
	PodID                        k8s.PodID
	Namespace                    k8s.Namespace
}
    NOTE(maia): idk if we even need this -- maybe what we want is a real synclet client with a fake docker client inside it. But ¯\_(ツ)_/¯
func NewFakeSyncletClient ¶
func NewFakeSyncletClient() *FakeSyncletClient
func (*FakeSyncletClient) Close ¶
func (c *FakeSyncletClient) Close() error
func (*FakeSyncletClient) ContainerIDForPod ¶
func (c *FakeSyncletClient) ContainerIDForPod(ctx context.Context, podID k8s.PodID, imageID reference.NamedTagged) (container.ID, error)
type GRPCServer ¶
type GRPCServer struct {
	// contains filtered or unexported fields
}
    func NewGRPCServer ¶
func NewGRPCServer(del *Synclet) *GRPCServer
func (*GRPCServer) UpdateContainer ¶
func (s *GRPCServer) UpdateContainer(req *proto.UpdateContainerRequest, server proto.Synclet_UpdateContainerServer) error
type Synclet ¶
type Synclet struct {
	// contains filtered or unexported fields
}
    func NewSynclet ¶
func WireSynclet ¶
type SyncletCli ¶
type SyncletCli struct {
	// contains filtered or unexported fields
}
    func NewGRPCClient ¶
func NewGRPCClient(conn *grpc.ClientConn) *SyncletCli
func (*SyncletCli) Close ¶
func (s *SyncletCli) Close() error
       Source Files
      ¶
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.