meta

package
v0.0.0-...-beef95b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package meta contains meta helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StackObject

type StackObject interface {
	runtime.Object
	metav1.Object

	// GetNotificationARNs will return the list of Notifications
	GetNotificationARNs() []string

	// GetTemplate will return the JSON version of the CFN to use.
	GetTemplate(dynamic.Interface) (string, error)

	// GenerateStackName will generate a stackName
	GenerateStackName() string

	// GetStackID will return stackID
	GetStackID() string

	// GetStackName will return stackName
	GetStackName() string

	// GetTemplateVersionLabel will return the template version label
	GetTemplateVersionLabel() (string, bool)

	// GetParameters will return the CFN Params
	GetParameters() map[string]string

	// GetCloudFormationMeta will return CFN meta object
	GetCloudFormationMeta() metav1alpha1.CloudFormationMeta

	// GetStatus will return the CFN Status
	GetStatus() metav1alpha1.ConditionStatus

	// SetStackID will put a stackID
	SetStackID(string)

	// SetStackName will put a stackName
	SetStackName(string)

	// SetTemplateVersionLabel will set the template version label
	SetTemplateVersionLabel()

	// TemplateVersionChanged will return if the template version has changed
	TemplateVersionChanged() bool

	// SetStatus will set status for object
	SetStatus(*metav1alpha1.StatusMeta)
}

StackObject defines defined functions for all stack objects

Jump to

Keyboard shortcuts

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