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, ignoreError bool) (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, ignoreError bool) 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) Parse ¶
func (c *DockerCommandHandler) Parse(s string, ignoreError bool) command.Command
func (DockerCommandHandler) SetNext ¶
func (dc DockerCommandHandler) SetNext(next CommandHandler)
type EchoCommandHandler ¶
type EchoCommandHandler struct {
// contains filtered or unexported fields
}
func (*EchoCommandHandler) Parse ¶
func (c *EchoCommandHandler) Parse(s string, ignoreError bool) command.Command
func (EchoCommandHandler) SetNext ¶
func (dc EchoCommandHandler) SetNext(next CommandHandler)
type OcCommandHandler ¶
type OcCommandHandler struct {
// contains filtered or unexported fields
}
func (*OcCommandHandler) Parse ¶
func (c *OcCommandHandler) Parse(s string, ignoreError bool) command.Command
func (OcCommandHandler) SetNext ¶
func (dc OcCommandHandler) SetNext(next CommandHandler)
type OpenShiftCommandHandler ¶
type OpenShiftCommandHandler struct {
// contains filtered or unexported fields
}
func (*OpenShiftCommandHandler) Parse ¶
func (c *OpenShiftCommandHandler) Parse(s string, ignoreError bool) 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) Parse ¶
func (c *SSHCommandHandler) Parse(s string, ignoreError bool) command.Command
func (SSHCommandHandler) SetNext ¶
func (dc SSHCommandHandler) SetNext(next CommandHandler)
type SleepCommandHandler ¶
type SleepCommandHandler struct {
// contains filtered or unexported fields
}
func (*SleepCommandHandler) Parse ¶
func (c *SleepCommandHandler) Parse(s string, ignoreError bool) command.Command
func (SleepCommandHandler) SetNext ¶
func (dc SleepCommandHandler) SetNext(next CommandHandler)
Click to show internal directories.
Click to hide internal directories.