provider

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(version string) func() provider.Provider

func ListAccessPortsModifier

func ListAccessPortsModifier() planmodifier.List

func NewCidrRulesResource

func NewCidrRulesResource() resource.Resource

func NewFqdnRulesResource

func NewFqdnRulesResource() resource.Resource

func NewNetworksResource

func NewNetworksResource() resource.Resource

func NewSgToSgIcmpRulesResource

func NewSgToSgIcmpRulesResource() resource.Resource

func NewSgToSgRulesResource

func NewSgToSgRulesResource() resource.Resource

func NewSgsResource

func NewSgsResource() resource.Resource

Types

type AccessPorts

type AccessPorts struct {
	Source      types.String `tfsdk:"s"`
	Destination types.String `tfsdk:"d"`
}

func (AccessPorts) AttrTypes

func (p AccessPorts) AttrTypes() map[string]attr.Type

func (AccessPorts) Attributes

func (p AccessPorts) Attributes() map[string]schema.Attribute

type CollectionResource

type CollectionResource[T SingleResource[T], S tf2backend[T]] struct {
	// contains filtered or unexported fields
}

func (*CollectionResource[T, S]) Configure

func (c *CollectionResource[T, S]) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)

func (*CollectionResource[T, S]) Create

func (c *CollectionResource[T, S]) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)

func (*CollectionResource[T, S]) Delete

func (c *CollectionResource[T, S]) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*CollectionResource[T, S]) Metadata

func (c *CollectionResource[T, S]) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)

func (*CollectionResource[T, S]) Read

func (c *CollectionResource[T, S]) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)

func (*CollectionResource[T, S]) Schema

func (c *CollectionResource[T, S]) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)

func (*CollectionResource[T, S]) Update

func (c *CollectionResource[T, S]) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)

type Description

type Description struct {
	ResourceDescription string
	ItemsDescription    string
}

type IcmpParameters

type IcmpParameters struct {
	Logs  types.Bool `tfsdk:"logs"`
	Trace types.Bool `tfsdk:"trace"`
	Type  types.Set  `tfsdk:"type"`
}

func (IcmpParameters) AttrTypes

func (params IcmpParameters) AttrTypes() map[string]attr.Type

func (IcmpParameters) Attributes

func (params IcmpParameters) Attributes() map[string]schema.Attribute

type NamedResources

type NamedResources[T SingleResource[T]] struct {
	Items map[string]T `tfsdk:"items"`
}

NamedResources -

func NewNamedResources

func NewNamedResources[T SingleResource[T]]() (ret NamedResources[T])

NewNamedResources -

type SingleResource

type SingleResource[T any] interface {
	Attributes() map[string]schema.Attribute
	IsDiffer(context.Context, T) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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