Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDefaultRequest ¶
func WithUserClient ¶
func WithUserClient(ctx context.Context, ud *UserClient) context.Context
Types ¶
type Request ¶
type Request struct { connector.ConnectRequest Docker bool // Request is created on-demand, not by InitRequest Implicit bool UserDaemonProfilingPort uint16 RootDaemonProfilingPort uint16 // contains filtered or unexported fields }
func GetRequest ¶
func InitRequest ¶
InitRequest adds the networking flags and Kubernetes flags to the given command and returns a Request and a FlagSet with the Kubernetes flags. The FlagSet is returned here so that a map of flags that gets modified can be extracted using FlagMap once the flag parsing has completed.
func (*Request) CommitFlags ¶
type Session ¶
type Session struct { UserClient Info *connector.ConnectInfo Started bool }
func GetSession ¶
type UserClient ¶
type UserClient struct { connector.ConnectorClient Conn *grpc.ClientConn Remote bool }
func GetUserClient ¶
func GetUserClient(ctx context.Context) *UserClient
func (*UserClient) DaemonPort ¶ added in v2.13.0
func (ud *UserClient) DaemonPort() int
Click to show internal directories.
Click to hide internal directories.