Documentation
¶
Index ¶
- Constants
- type Config
- type Extension
- type GitExtension
- type LocalExtension
- type SessionProxy
- type State
- func (p *State) Extensions(ctx context.Context, cache map[string]*State, cacheMu *sync.RWMutex, ...) ([]*State, error)
- func (p *State) Name() string
- func (p *State) Resolvers(ctx context.Context, gw bkgw.Client, platform specs.Platform, ...) (router.Resolvers, error)
- func (p *State) Runtime(ctx context.Context, gw bkgw.Client, platform specs.Platform, ...) (*core.Directory, error)
- func (p *State) SDK() string
- func (p *State) Schema(ctx context.Context, gw bkgw.Client, platform specs.Platform, ...) (string, error)
Constants ¶
View Source
const (
SessionProxySockName = "dagger-session"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extension ¶
type Extension struct { Local *LocalExtension `json:"local,omitempty"` Git *GitExtension `json:"git,omitempty"` }
type GitExtension ¶
type LocalExtension ¶
type LocalExtension struct {
Path string `json:"path,omitempty"`
}
type SessionProxy ¶ added in v0.3.5
type SessionProxy struct {
// contains filtered or unexported fields
}
func NewSessionProxy ¶ added in v0.3.5
func NewSessionProxy(router *router.Router) *SessionProxy
func (*SessionProxy) CheckAgent ¶ added in v0.3.5
func (p *SessionProxy) CheckAgent(ctx context.Context, req *sshforward.CheckAgentRequest) (*sshforward.CheckAgentResponse, error)
func (*SessionProxy) ForwardAgent ¶ added in v0.3.5
func (p *SessionProxy) ForwardAgent(stream sshforward.SSH_ForwardAgentServer) error
func (*SessionProxy) Register ¶ added in v0.3.5
func (p *SessionProxy) Register(server *grpc.Server)
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) Extensions ¶
Click to show internal directories.
Click to hide internal directories.