Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyStackState = &StackState{ Deployments: make(map[string]appstypes.Deployment), Statefulsets: make(map[string]appstypes.StatefulSet), Daemonsets: make(map[string]appstypes.DaemonSet), Services: make(map[string]coretypes.Service), }
EmptyStackState is an empty StackState
Functions ¶
Types ¶
type StackState ¶
type StackState struct {
Deployments map[string]appstypes.Deployment
Statefulsets map[string]appstypes.StatefulSet
Daemonsets map[string]appstypes.DaemonSet
Services map[string]coretypes.Service
}
StackState holds resources created for a stack
func NewStackState ¶
func NewStackState(objects ...interface{}) (*StackState, error)
NewStackState creates a StackState from a list of existing resources
func (*StackState) FlattenResources ¶
func (s *StackState) FlattenResources() []interface{}
FlattenResources returns all resources in an untyped slice
Click to show internal directories.
Click to hide internal directories.