convert

package
v0.4.24 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStackDirty added in v0.4.18

func IsStackDirty(stack *latest.Stack) bool

IsStackDirty indicates if the stack is pending reconciliation

func StackToStack

func StackToStack(stack latest.Stack, strategy ServiceStrategy, original *stackresources.StackState) (*stackresources.StackState, error)

StackToStack converts a latest.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