Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
Fake is a Initializer implementation.
func NewSPDYFakeInitializer ¶
func NewSPDYFakeInitializer() *Fake
NewSPDYFakeInitializer initializes a new Fake.
func (*Fake) NewSPDYExecutor ¶
NewSPDYExecutor initializes a new remotecommand.Executor using Fake.
func (*Fake) Stream ¶
func (f *Fake) Stream(options remotecommand.StreamOptions) error
Stream mocks the remotecommand.Executor Stream method.
type Initializer ¶
type Initializer interface {
NewSPDYExecutor(method string, url *url.URL) (remotecommand.Executor, error)
}
Initializer is used to initialize different SPDY executors. This interface was created to allow mocking a Kubernetes SPDY executor.
func NewSPDYInitializer ¶
func NewSPDYInitializer(config *rest.Config) Initializer
NewSPDYInitializer initializes a new Initializer using the default implementation.
Click to show internal directories.
Click to hide internal directories.