shareddomain

package
v1.0.106 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CFClient

type CFClient interface {
	ListSharedDomains() ([]cfclient.SharedDomain, error)
	DeleteSharedDomain(guid string, async bool) error
	CreateSharedDomain(name string, internal bool, router_group_guid string) (*cfclient.SharedDomain, error)
}

type Manager

type Manager struct {
	CFClient      CFClient
	RoutingClient RoutingClient
	Cfg           config.Reader
	Peek          bool
}

func NewManager

func NewManager(cfclient CFClient, routingClient RoutingClient, cfg config.Reader, peek bool) *Manager

func (*Manager) Apply

func (m *Manager) Apply() error

type RoutingClient

type RoutingClient interface {
	RouterGroupWithName(string) (models.RouterGroup, error)
	RouterGroups() ([]models.RouterGroup, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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