references

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reference

type Reference config.Reference

func TypeEIPID

func TypeEIPID() Reference

TypeEIPID returns a Reference to a EIP resource. Type is vpc/EIP

func TypeSecurityGroupID

func TypeSecurityGroupID() Reference

TypeSecurityGroup returns a Reference to a SecurityGroup resource. Type is vpc/SecurityGroup, RefFieldName: SecurityGroupIDRef, SelectorFieldName: SecurityGroupIDSelector

func TypeVPCID

func TypeVPCID() Reference

TypeVPC returns a Reference to a VPC resource. Type is vpc/VPC

func TypeVPCSubnetID

func TypeVPCSubnetID() Reference

TypeVPCSubnet returns a Reference to a VPCSubnet resource. Type is vpc/VPCSubnet, Extractor(true, "id"), RefFieldName: SubnetIDRef, SelectorFieldName: SubnetIDSelector

func TypeVPCSubnetIDIPV4

func TypeVPCSubnetIDIPV4() Reference

TypeVPCSubnetIDIPV4 returns a Reference to a VPCSubnet resource with extractor for ipv4_subnet_id. Type is vpc/VPCSubnet, Extractor(true, "ipv4_subnet_id")

func (Reference) Get

func (r Reference) Get() config.Reference

Get returns the Reference

func (Reference) WithCustomExtractor

func (r Reference) WithCustomExtractor(extractor string) Reference

WithCustomExtractor Add custom Extractor

func (Reference) WithCustomRefsSelectors

func (r Reference) WithCustomRefsSelectors(refFieldName, selectorFieldName string) Reference

WithCustomRefsSelectors Add custom RefFieldName and SelectorFieldName

func (Reference) WithCustomType

func (r Reference) WithCustomType(typeName string) Reference

WithCustomType Add custom Type

func (Reference) WithoutExtractor

func (r Reference) WithoutExtractor() Reference

WithoutExtractor Remove Extractor

func (Reference) WithoutRefsSelectors

func (r Reference) WithoutRefsSelectors() Reference

WithoutResSelector Remove SelectorFieldName and RefFieldName

type ReferenceFn

type ReferenceFn interface {
	Get() config.Reference
}

Jump to

Keyboard shortcuts

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