requirements

package
v6.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2013 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(ui terminal.UI, config *configuration.Configuration, repoLocator api.RepositoryLocator) (factory apiRequirementFactory)

Types

type ApplicationRequirement

type ApplicationRequirement interface {
	Requirement
	GetApplication() cf.Application
}

type BuildpackRequirement

type BuildpackRequirement interface {
	Requirement
	GetBuildpack() cf.Buildpack
}

type DomainRequirement

type DomainRequirement interface {
	Requirement
	GetDomain() cf.Domain
}

type Factory

type Factory interface {
	NewApplicationRequirement(name string) ApplicationRequirement
	NewServiceInstanceRequirement(name string) ServiceInstanceRequirement
	NewLoginRequirement() Requirement
	NewValidAccessTokenRequirement() Requirement
	NewSpaceRequirement(name string) SpaceRequirement
	NewTargetedSpaceRequirement() Requirement
	NewTargetedOrgRequirement() TargetedOrgRequirement
	NewOrganizationRequirement(name string) OrganizationRequirement
	NewDomainRequirement(name string) DomainRequirement
	NewUserRequirement(username string) UserRequirement
	NewBuildpackRequirement(buildpack string) BuildpackRequirement
}

type LoginRequirement

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

func (LoginRequirement) Execute

func (req LoginRequirement) Execute() (success bool)

type OrganizationRequirement

type OrganizationRequirement interface {
	Requirement
	GetOrganization() cf.Organization
}

type Requirement

type Requirement interface {
	Execute() (success bool)
}

type ServiceInstanceRequirement

type ServiceInstanceRequirement interface {
	Requirement
	GetServiceInstance() cf.ServiceInstance
}

type SpaceRequirement

type SpaceRequirement interface {
	Requirement
	GetSpace() cf.Space
}

type TargetedOrgRequirement

type TargetedOrgRequirement interface {
	Requirement
	GetOrganization() cf.Organization
}

type TargetedSpaceRequirement

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

func (TargetedSpaceRequirement) Execute

func (req TargetedSpaceRequirement) Execute() (success bool)

type UserRequirement

type UserRequirement interface {
	Requirement
	GetUser() cf.User
}

type ValidAccessTokenRequirement

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

func (ValidAccessTokenRequirement) Execute

func (req ValidAccessTokenRequirement) Execute() (success bool)

Jump to

Keyboard shortcuts

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