gcp

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 4 Imported by: 0

README

gcp

import "github.com/slalombuild/fusion/templates/gcp"

Package gcp provides terraform templates for Google Cloud Platform (GCP)

Index

Variables

go:embed gcp_internal_loadbalancer.tmpl

var TEMPLATE_GCP_INTERNAL_LOADBALANCER string

type InternalLoadBalancer

InternalLoadBalancer is the template data object used to create a gcp internal loadbalancer

type InternalLoadBalancer struct {
    ForwardingRuleName string `help:"" default:"internal-loadbalancer"`
    Region             string `help:"" default:"us-central1"`
    BackendServiceName string `help:"" default:"backend_service"`
    HealthCheckName    string `help:"" default:"health_check"`
    NetworkName        string `help:"" default:"network"`
    SubnetName         string `help:"" default:"subnet"`
}
func NewInternalLoadBalancer
func NewInternalLoadBalancer(forwardingrulename, region, backendservicename, healthcheckname, networkname, subnetname string) *InternalLoadBalancer

NewInternalLoadBalancer creates a new internal load balancer

func (*InternalLoadBalancer) Render
func (resource *InternalLoadBalancer) Render(w io.Writer, skipColor bool) error

Render generates the Terraform code for the InternalLoadBalancer

Generated by gomarkdoc

Documentation

Overview

Package gcp provides terraform templates for Google Cloud Platform (GCP)

Index

Constants

This section is empty.

Variables

View Source
var TEMPLATE_GCP_INTERNAL_LOADBALANCER string

Functions

This section is empty.

Types

type InternalLoadBalancer

type InternalLoadBalancer struct {
	ForwardingRuleName string `help:"" default:"internal-loadbalancer"`
	Region             string `help:"" default:"us-central1"`
	BackendServiceName string `help:"" default:"backend_service"`
	HealthCheckName    string `help:"" default:"health_check"`
	NetworkName        string `help:"" default:"network"`
	SubnetName         string `help:"" default:"subnet"`
}

InternalLoadBalancer is the template data object used to create a gcp internal loadbalancer

func NewInternalLoadBalancer

func NewInternalLoadBalancer(forwardingrulename, region, backendservicename, healthcheckname, networkname, subnetname string) *InternalLoadBalancer

NewInternalLoadBalancer creates a new internal load balancer

func (*InternalLoadBalancer) Render

func (resource *InternalLoadBalancer) Render(w io.Writer, skipColor bool) error

Render generates the Terraform code for the InternalLoadBalancer

Jump to

Keyboard shortcuts

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