convert

package
v0.4.16 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

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

Jump to

Keyboard shortcuts

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