Documentation ¶
Overview ¶
Package stack contains the necessary properties for testing *cloudformation.Stack objects
Index ¶
- type Stack
- func (r *Stack) Assert(t *testing.T, stacks ...*cloudformation.Stack) *Stack
- func (r *Stack) ChangeSetID(id string) *Stack
- func (r *Stack) Description(desc string) *Stack
- func (r *Stack) Filter(filter shared.Filter) *Stack
- func (r *Stack) First(t *testing.T, stacks ...*cloudformation.Stack) *Stack
- func (r *Stack) Name(name string) *Stack
- func (r *Stack) ParentID(id string) *Stack
- func (r *Stack) RoleARN(arn string) *Stack
- func (r *Stack) RootID(id string) *Stack
- func (r *Stack) Selected() *cloudformation.Stack
- func (r *Stack) StackID(id string) *Stack
- func (r *Stack) StackStatus(status string) *Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
Stack contains the necessary properties for testing *cloudformation.Stack objects
func (*Stack) Assert ¶
Assert applies all filters that have been called, resets the list of filters, fails the test if there is not exactly one match, and stores the matched stack if stacks is not provided, *cloudformation.Stack objects will be retreived from AWS
func (*Stack) ChangeSetID ¶
ChangeSetID adds the ChangeSetID filter to the filter list the ChangeSetId filter: filters stacks by ChangeSetId where 'id' provided is the expected ChangeSetId value
func (*Stack) Description ¶
Description adds the Description filter to the filter list the Description filter: filters stacks by Description where 'desc' provided is the expected Description value
func (*Stack) First ¶
First applies all filters that have been called, resets the list of filters, fails the test if there are no matches, and stores the first match if stacks is not provided, *cloudformation.Stack objects will be retreived from AWS
func (*Stack) Name ¶
Name adds the Name filter to the filter list the Name filter: filters stacks by Name where 'name' provided is the expected StackName value
func (*Stack) ParentID ¶
ParentID adds the ParentID filter to the filter list the ParentId filter: filters stacks by ParentId where 'id' provided is the expected ParentId value
func (*Stack) RoleARN ¶
RoleARN adds the RoleARN filter to the filter list the RoleARN filter: filters stacks by RoleARN where 'arn' provided is the expected RoleARN value
func (*Stack) RootID ¶
RootID adds the RootID filter to the filter list the RootId filter: filters stacks by RootId where 'id' provided is the expected RootId value
func (*Stack) Selected ¶
func (r *Stack) Selected() *cloudformation.Stack
Selected returns the currently selected *cloudformation.Stack
func (*Stack) StackID ¶
StackID adds the StackID filter to the filter list the StackId filter: filters stacks by StackId where 'id' provided is the expected StackId value
func (*Stack) StackStatus ¶
StackStatus adds the StackStatus filter to the filter list the StackStatus filter: filters stacks by StackStatus where 'status' provided is the expected StackStatus value