Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StackToStack ¶
func StackToStack(stack v1beta2.Stack, strategy ServiceStrategy, original *stackresources.StackState) (*stackresources.StackState, error)
StackToStack converts a v1beta2.Stack to a StackDefinition
Types ¶
type ServiceStrategy ¶
type ServiceStrategy interface {
// contains filtered or unexported methods
}
ServiceStrategy defines a strategy to use for converting stacks ports to kubernetes services
func ServiceStrategyFor ¶
func ServiceStrategyFor(publishServiceType apiv1.ServiceType) (ServiceStrategy, error)
ServiceStrategyFor returns the correct strategy for a desired publishServiceType
Click to show internal directories.
Click to hide internal directories.