route

package
v6.37.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckRoute

type CheckRoute struct {
	// contains filtered or unexported fields
}

func (*CheckRoute) CheckRoute

func (cmd *CheckRoute) CheckRoute(hostName, domainName, path string) (bool, error)

func (*CheckRoute) Execute

func (cmd *CheckRoute) Execute(c flags.FlagContext) error

func (*CheckRoute) MetaData

func (cmd *CheckRoute) MetaData() commandregistry.CommandMetadata

func (*CheckRoute) Requirements

func (cmd *CheckRoute) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*CheckRoute) SetDependency

func (cmd *CheckRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type CreateRoute

type CreateRoute struct {
	// contains filtered or unexported fields
}

func (*CreateRoute) CreateRoute

func (cmd *CreateRoute) CreateRoute(hostName string, path string, port int, randomPort bool, domain models.DomainFields, space models.SpaceFields) (models.Route, error)

func (*CreateRoute) Execute

func (cmd *CreateRoute) Execute(c flags.FlagContext) error

func (*CreateRoute) MetaData

func (*CreateRoute) Requirements

func (cmd *CreateRoute) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*CreateRoute) SetDependency

func (cmd *CreateRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type Creator

type Creator interface {
	CreateRoute(hostName string, path string, port int, randomPort bool, domain models.DomainFields, space models.SpaceFields) (route models.Route, apiErr error)
}

type DeleteOrphanedRoutes

type DeleteOrphanedRoutes struct {
	// contains filtered or unexported fields
}

func (*DeleteOrphanedRoutes) Execute

func (cmd *DeleteOrphanedRoutes) Execute(c flags.FlagContext) error

func (*DeleteOrphanedRoutes) MetaData

func (*DeleteOrphanedRoutes) Requirements

func (cmd *DeleteOrphanedRoutes) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*DeleteOrphanedRoutes) SetDependency

func (cmd *DeleteOrphanedRoutes) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type DeleteRoute

type DeleteRoute struct {
	// contains filtered or unexported fields
}

func (*DeleteRoute) Execute

func (cmd *DeleteRoute) Execute(c flags.FlagContext) error

func (*DeleteRoute) MetaData

func (*DeleteRoute) Requirements

func (cmd *DeleteRoute) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*DeleteRoute) SetDependency

func (cmd *DeleteRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type ListRoutes

type ListRoutes struct {
	// contains filtered or unexported fields
}

func (*ListRoutes) Execute

func (cmd *ListRoutes) Execute(c flags.FlagContext) error

func (*ListRoutes) MetaData

func (cmd *ListRoutes) MetaData() commandregistry.CommandMetadata

func (*ListRoutes) Requirements

func (cmd *ListRoutes) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*ListRoutes) SetDependency

func (cmd *ListRoutes) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type MapRoute

type MapRoute struct {
	// contains filtered or unexported fields
}

func (*MapRoute) Execute

func (cmd *MapRoute) Execute(c flags.FlagContext) error

func (*MapRoute) MetaData

func (cmd *MapRoute) MetaData() commandregistry.CommandMetadata

func (*MapRoute) Requirements

func (cmd *MapRoute) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*MapRoute) SetDependency

func (cmd *MapRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type UnmapRoute

type UnmapRoute struct {
	// contains filtered or unexported fields
}

func (*UnmapRoute) Execute

func (cmd *UnmapRoute) Execute(c flags.FlagContext) error

func (*UnmapRoute) MetaData

func (cmd *UnmapRoute) MetaData() commandregistry.CommandMetadata

func (*UnmapRoute) Requirements

func (cmd *UnmapRoute) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*UnmapRoute) SetDependency

func (cmd *UnmapRoute) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL