requirements

package
v6.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeReqFactory

type FakeReqFactory struct {
	ApplicationName string
	Application     models.Application

	ServiceInstanceName string
	ServiceInstance     models.ServiceInstance

	LoginSuccess            bool
	ApiEndpointSuccess      bool
	ValidAccessTokenSuccess bool
	TargetedSpaceSuccess    bool
	TargetedOrgSuccess      bool
	BuildpackSuccess        bool

	SpaceName string
	Space     models.Space

	OrganizationName   string
	Organization       models.Organization
	OrganizationFields models.OrganizationFields

	RouteHost   string
	RouteDomain string
	Route       models.Route

	DomainName string
	Domain     models.DomainFields

	UserUsername string
	UserFields   models.UserFields

	Buildpack models.Buildpack
}

func (*FakeReqFactory) NewApiEndpointRequirement

func (f *FakeReqFactory) NewApiEndpointRequirement() requirements.Requirement

func (*FakeReqFactory) NewApplicationRequirement

func (f *FakeReqFactory) NewApplicationRequirement(name string) requirements.ApplicationRequirement

func (*FakeReqFactory) NewBuildpackRequirement

func (f *FakeReqFactory) NewBuildpackRequirement(buildpack string) requirements.BuildpackRequirement

func (*FakeReqFactory) NewDomainRequirement

func (f *FakeReqFactory) NewDomainRequirement(name string) requirements.DomainRequirement

func (*FakeReqFactory) NewLoginRequirement

func (f *FakeReqFactory) NewLoginRequirement() requirements.Requirement

func (*FakeReqFactory) NewOrganizationRequirement

func (f *FakeReqFactory) NewOrganizationRequirement(name string) requirements.OrganizationRequirement

func (*FakeReqFactory) NewServiceInstanceRequirement

func (f *FakeReqFactory) NewServiceInstanceRequirement(name string) requirements.ServiceInstanceRequirement

func (*FakeReqFactory) NewSpaceRequirement

func (f *FakeReqFactory) NewSpaceRequirement(name string) requirements.SpaceRequirement

func (*FakeReqFactory) NewTargetedOrgRequirement

func (f *FakeReqFactory) NewTargetedOrgRequirement() requirements.TargetedOrgRequirement

func (*FakeReqFactory) NewTargetedSpaceRequirement

func (f *FakeReqFactory) NewTargetedSpaceRequirement() requirements.Requirement

func (*FakeReqFactory) NewUserRequirement

func (f *FakeReqFactory) NewUserRequirement(username string) requirements.UserRequirement

type FakeRequirement

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

func (FakeRequirement) Execute

func (r FakeRequirement) Execute() (success bool)

func (FakeRequirement) GetApplication

func (r FakeRequirement) GetApplication() models.Application

func (FakeRequirement) GetBuildpack

func (r FakeRequirement) GetBuildpack() models.Buildpack

func (FakeRequirement) GetDomain

func (r FakeRequirement) GetDomain() models.DomainFields

func (FakeRequirement) GetOrganization

func (r FakeRequirement) GetOrganization() models.Organization

func (FakeRequirement) GetOrganizationFields

func (r FakeRequirement) GetOrganizationFields() models.OrganizationFields

func (FakeRequirement) GetRoute

func (r FakeRequirement) GetRoute() models.Route

func (FakeRequirement) GetServiceInstance

func (r FakeRequirement) GetServiceInstance() models.ServiceInstance

func (FakeRequirement) GetSpace

func (r FakeRequirement) GetSpace() models.Space

func (FakeRequirement) GetUser

func (r FakeRequirement) GetUser() models.UserFields

Jump to

Keyboard shortcuts

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