Documentation ¶
Index ¶
- type CreateRoute
- func (cmd *CreateRoute) CreateRoute(hostName string, domain models.DomainFields, space models.SpaceFields) (route models.Route, apiErr error)
- func (cmd *CreateRoute) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
- func (cmd *CreateRoute) Metadata() command_metadata.CommandMetadata
- func (cmd *CreateRoute) Run(c *cli.Context)
- type DeleteOrphanedRoutes
- type DeleteRoute
- type ListRoutes
- type MapRoute
- type RouteCreator
- type UnmapRoute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRoute ¶
type CreateRoute struct {
// contains filtered or unexported fields
}
func NewCreateRoute ¶
func NewCreateRoute(ui terminal.UI, config configuration.Reader, routeRepo api.RouteRepository) (cmd *CreateRoute)
func (*CreateRoute) CreateRoute ¶
func (cmd *CreateRoute) CreateRoute(hostName string, domain models.DomainFields, space models.SpaceFields) (route models.Route, apiErr error)
func (*CreateRoute) GetRequirements ¶
func (cmd *CreateRoute) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*CreateRoute) Metadata ¶
func (cmd *CreateRoute) Metadata() command_metadata.CommandMetadata
func (*CreateRoute) Run ¶
func (cmd *CreateRoute) Run(c *cli.Context)
type DeleteOrphanedRoutes ¶
type DeleteOrphanedRoutes struct {
// contains filtered or unexported fields
}
func NewDeleteOrphanedRoutes ¶
func NewDeleteOrphanedRoutes(ui terminal.UI, config configuration.Reader, routeRepo api.RouteRepository) (cmd DeleteOrphanedRoutes)
func (DeleteOrphanedRoutes) GetRequirements ¶
func (cmd DeleteOrphanedRoutes) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (DeleteOrphanedRoutes) Metadata ¶
func (cmd DeleteOrphanedRoutes) Metadata() command_metadata.CommandMetadata
func (DeleteOrphanedRoutes) Run ¶
func (cmd DeleteOrphanedRoutes) Run(c *cli.Context)
type DeleteRoute ¶
type DeleteRoute struct {
// contains filtered or unexported fields
}
func NewDeleteRoute ¶
func NewDeleteRoute(ui terminal.UI, config configuration.Reader, routeRepo api.RouteRepository) (cmd *DeleteRoute)
func (*DeleteRoute) GetRequirements ¶
func (cmd *DeleteRoute) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*DeleteRoute) Metadata ¶
func (cmd *DeleteRoute) Metadata() command_metadata.CommandMetadata
func (*DeleteRoute) Run ¶
func (cmd *DeleteRoute) Run(c *cli.Context)
type ListRoutes ¶
type ListRoutes struct {
// contains filtered or unexported fields
}
func NewListRoutes ¶
func NewListRoutes(ui terminal.UI, config configuration.Reader, routeRepo api.RouteRepository) (cmd ListRoutes)
func (ListRoutes) GetRequirements ¶
func (cmd ListRoutes) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) ([]requirements.Requirement, error)
func (ListRoutes) Metadata ¶
func (cmd ListRoutes) Metadata() command_metadata.CommandMetadata
func (ListRoutes) Run ¶
func (cmd ListRoutes) Run(c *cli.Context)
type MapRoute ¶
type MapRoute struct {
// contains filtered or unexported fields
}
func NewMapRoute ¶
func NewMapRoute(ui terminal.UI, config configuration.Reader, routeRepo api.RouteRepository, routeCreator RouteCreator) (cmd *MapRoute)
func (*MapRoute) GetRequirements ¶
func (cmd *MapRoute) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*MapRoute) Metadata ¶
func (cmd *MapRoute) Metadata() command_metadata.CommandMetadata
type RouteCreator ¶
type RouteCreator interface {
CreateRoute(hostName string, domain models.DomainFields, space models.SpaceFields) (route models.Route, apiErr error)
}
type UnmapRoute ¶
type UnmapRoute struct {
// contains filtered or unexported fields
}
func NewUnmapRoute ¶
func NewUnmapRoute(ui terminal.UI, config configuration.Reader, routeRepo api.RouteRepository) (cmd *UnmapRoute)
func (*UnmapRoute) GetRequirements ¶
func (cmd *UnmapRoute) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*UnmapRoute) Metadata ¶
func (cmd *UnmapRoute) Metadata() command_metadata.CommandMetadata
func (*UnmapRoute) Run ¶
func (cmd *UnmapRoute) Run(c *cli.Context)
Click to show internal directories.
Click to hide internal directories.