ecrrepository

package
v0.0.1-alpha4 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueueUpdater

func QueueUpdater(config config.Config, msg *queuemanager.MessageBody) error

QueueUpdater will take the messages from the queue and process them

Types

type Cloudformation

type Cloudformation struct {
	ECRRepository *awsV1alpha1.ECRRepository
	// contains filtered or unexported fields
}

Cloudformation defines the ecrrepository cfts

func New

func New(config config.Config, ecrrepository *awsV1alpha1.ECRRepository, topicARN string) *Cloudformation

New generates a new object

func (*Cloudformation) CreateStack

func (s *Cloudformation) CreateStack() (output *cloudformation.CreateStackOutput, err error)

CreateStack will create the stack with the supplied params

func (*Cloudformation) DeleteStack

func (s *Cloudformation) DeleteStack() (err error)

DeleteStack will delete the stack

func (*Cloudformation) GetOutputs

func (s *Cloudformation) GetOutputs() (map[string]string, error)

GetOutputs return the stack outputs from the DescribeStacks call

func (*Cloudformation) StackName

func (s *Cloudformation) StackName() string

StackName returns the name of the stack based on the aws-operator-config

func (*Cloudformation) UpdateStack

func (s *Cloudformation) UpdateStack(updated *awsV1alpha1.ECRRepository) (output *cloudformation.UpdateStackOutput, err error)

UpdateStack will update the existing stack

func (*Cloudformation) WaitUntilStackDeleted

func (s *Cloudformation) WaitUntilStackDeleted() (err error)

WaitUntilStackDeleted will delete the stack

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

Operator represents a controller object for object store custom resources

func NewOperator

func NewOperator(config config.Config, queueManager *queuemanager.QueueManager) *Operator

NewOperator create controller for watching object store custom resources created

func (*Operator) StartWatch

func (c *Operator) StartWatch(ctx context.Context, namespace string)

StartWatch watches for instances of Object Store custom resources and acts on them

Jump to

Keyboard shortcuts

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