requirements

package
v6.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 31, 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     cf.Application

	ServiceInstanceName string
	ServiceInstance     cf.ServiceInstance

	LoginSuccess            bool
	ValidAccessTokenSuccess bool
	TargetedSpaceSuccess    bool
	TargetedOrgSuccess      bool
	BuildpackSuccess        bool

	SpaceName string
	Space     cf.Space

	OrganizationName   string
	Organization       cf.Organization
	OrganizationFields cf.OrganizationFields

	RouteHost   string
	RouteDomain string
	Route       cf.Route

	DomainName string
	Domain     cf.Domain

	UserUsername string
	UserFields   cf.UserFields

	Buildpack cf.Buildpack
}

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

func (*FakeReqFactory) NewValidAccessTokenRequirement

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

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() cf.Application

func (FakeRequirement) GetBuildpack

func (r FakeRequirement) GetBuildpack() cf.Buildpack

func (FakeRequirement) GetDomain

func (r FakeRequirement) GetDomain() cf.Domain

func (FakeRequirement) GetOrganization

func (r FakeRequirement) GetOrganization() cf.Organization

func (FakeRequirement) GetOrganizationFields

func (r FakeRequirement) GetOrganizationFields() cf.OrganizationFields

func (FakeRequirement) GetRoute

func (r FakeRequirement) GetRoute() cf.Route

func (FakeRequirement) GetServiceInstance

func (r FakeRequirement) GetServiceInstance() cf.ServiceInstance

func (FakeRequirement) GetSpace

func (r FakeRequirement) GetSpace() cf.Space

func (FakeRequirement) GetUser

func (r FakeRequirement) GetUser() cf.UserFields

Jump to

Keyboard shortcuts

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