Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOnParser ¶
type AddOnParser struct {
// contains filtered or unexported fields
}
AddOnParser is responsible for loading an addon from file and converting it into an AddOn
func NewAddOnParser ¶
func NewAddOnParser() *AddOnParser
type CommandHandler ¶
type CommandHandler interface { // Create attempts to parse the given string into a Command instance of its type. In case // s does not represent a command which can be handled by this Command instance, Create of the specified next // Command is called. If there is no next Command, nil is returned. Handle(next CommandHandler, s string) (command.Command, error) // Parse attempts to parse the given string into a Command instance of its type. nil is returned in case // s does not represent a command which can be handled by this Command instance. Parse(s string) command.Command }
type DefaultParseError ¶
type DefaultParseError struct {
// contains filtered or unexported fields
}
func NewParseError ¶
func NewParseError(msg string, name string, dir string) *DefaultParseError
func (*DefaultParseError) AddonDir ¶
func (e *DefaultParseError) AddonDir() string
func (*DefaultParseError) AddonName ¶
func (e *DefaultParseError) AddonName() string
func (*DefaultParseError) Error ¶
func (e *DefaultParseError) Error() string
type DockerCommandHandler ¶
type DockerCommandHandler struct {
// contains filtered or unexported fields
}
func (DockerCommandHandler) Handle ¶
func (dc DockerCommandHandler) Handle(c CommandHandler, s string) (command.Command, error)
func (DockerCommandHandler) SetNext ¶
func (dc DockerCommandHandler) SetNext(next CommandHandler)
type EchoCommandHandler ¶
type EchoCommandHandler struct {
// contains filtered or unexported fields
}
func (EchoCommandHandler) Handle ¶
func (dc EchoCommandHandler) Handle(c CommandHandler, s string) (command.Command, error)
func (EchoCommandHandler) SetNext ¶
func (dc EchoCommandHandler) SetNext(next CommandHandler)
type OcCommandHandler ¶
type OcCommandHandler struct {
// contains filtered or unexported fields
}
func (OcCommandHandler) Handle ¶
func (dc OcCommandHandler) Handle(c CommandHandler, s string) (command.Command, error)
func (OcCommandHandler) SetNext ¶
func (dc OcCommandHandler) SetNext(next CommandHandler)
type OpenShiftCommandHandler ¶
type OpenShiftCommandHandler struct {
// contains filtered or unexported fields
}
func (OpenShiftCommandHandler) Handle ¶
func (dc OpenShiftCommandHandler) Handle(c CommandHandler, s string) (command.Command, error)
func (*OpenShiftCommandHandler) Parse ¶
func (c *OpenShiftCommandHandler) Parse(s string) command.Command
func (OpenShiftCommandHandler) SetNext ¶
func (dc OpenShiftCommandHandler) SetNext(next CommandHandler)
type ParseError ¶
type SSHCommandHandler ¶
type SSHCommandHandler struct {
// contains filtered or unexported fields
}
func (SSHCommandHandler) Handle ¶
func (dc SSHCommandHandler) Handle(c CommandHandler, s string) (command.Command, error)
func (SSHCommandHandler) SetNext ¶
func (dc SSHCommandHandler) SetNext(next CommandHandler)
type SleepCommandHandler ¶
type SleepCommandHandler struct {
// contains filtered or unexported fields
}
func (SleepCommandHandler) Handle ¶
func (dc SleepCommandHandler) Handle(c CommandHandler, s string) (command.Command, error)
func (SleepCommandHandler) SetNext ¶
func (dc SleepCommandHandler) SetNext(next CommandHandler)
Click to show internal directories.
Click to hide internal directories.