resource

package
v0.0.7-pre.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPULimits

func CPULimits() *schema.Resource

func Cert

func Cert() *schema.Resource

func Cluster added in v0.0.6

func Cluster() *schema.Resource

func ClusterConfig added in v0.0.6

func ClusterConfig() *schema.Resource

func ClusterMember added in v0.0.6

func ClusterMember() *schema.Resource

func Container

func Container() *schema.Resource

func GatewayConfig

func GatewayConfig() *schema.Resource

func License

func License() *schema.Resource

func NetworkConfig added in v0.0.7

func NetworkConfig() *schema.Resource

func SNMP

func SNMP() *schema.Resource

func VNetAccessRule

func VNetAccessRule() *schema.Resource

func VNetRoute

func VNetRoute() *schema.Resource

func VirtualNetwork

func VirtualNetwork() *schema.Resource

func Volume

func Volume() *schema.Resource

func ZTNAConfig

func ZTNAConfig() *schema.Resource

Types

type HCLContainer added in v0.0.7

type HCLContainer struct {
	NodeID              string              `tf:"node_id"`
	ClusterFQDN         string              `tf:"cluster_fqdn"`
	ID                  string              `tf:"id"`
	Command             string              `tf:"command"`
	Description         string              `tf:"description"`
	Enabled             bool                `tf:"enabled"`
	ExecType            string              `tf:"exec_type"`
	Hostname            string              `tf:"hostname"`
	Image               []HCLContainerImage `tf:"image"`
	Name                string              `tf:"name"`
	Privileged          bool                `tf:"privileged"`
	RequireConnectivity bool                `tf:"require_connectivity"`
	StopTime            int                 `tf:"stop_time"`
	UseInit             bool                `tf:"use_init"`
	User                string              `tf:"user"`
	VRF                 string              `tf:"vrf"`

	AddCaps      []string                  `tf:"add_caps"`
	DropCaps     []string                  `tf:"drop_caps"`
	Variables    map[string]string         `tf:"variables"`
	Healthchecks []HCLContainerHealthCheck `tf:"healthcheck"`

	LogMaxFileSize int `tf:"log_max_file_size"`
	LogMaxNumFiles int `tf:"log_max_num_files"`

	Limits          []HCLContainerLimit          `tf:"limits"`
	Mounts          []HCLContainerMount          `tf:"mount"`
	PortMappings    []HCLContainerPortMapping    `tf:"port_mapping"`
	VirtualNetworks []HCLContainerVirtualNetwork `tf:"virtual_network"`
	Interfaces      []HCLContainerInterface      `tf:"interface"`
}

type HCLContainerHealthCheck added in v0.0.7

type HCLContainerHealthCheck struct {
	Command     string `tf:"command"`
	Interval    int    `tf:"interval"`
	Timeout     int    `tf:"timeout"`
	StartPeriod int    `tf:"start_period"`
	Retries     int    `tf:"retries"`
}

type HCLContainerImage added in v0.0.7

type HCLContainerImage struct {
	Repository string `tf:"repository"`
	Tag        string `tf:"tag"`
}

type HCLContainerInterface added in v0.0.7

type HCLContainerInterface struct {
	UID  string `tf:"uid"`
	Name string `tf:"name"`
	Dest string `tf:"dest"`
}

type HCLContainerLimit added in v0.0.7

type HCLContainerLimit struct {
	CPUMax  int `tf:"cpu_max"`
	IORBPS  int `tf:"io_rbps"`
	IOWBPS  int `tf:"io_wbps"`
	IORIOPS int `tf:"io_riops"`
	IOWIOPS int `tf:"io_wiops"`
	MemMax  int `tf:"mem_max"`
	MemHigh int `tf:"mem_high"`

	Limits []HCLContainerULimit `tf:"limits"`
}

type HCLContainerMount added in v0.0.7

type HCLContainerMount struct {
	UID    string `tf:"uid"`
	Type   string `tf:"type"`
	Source string `tf:"source"`
	Dest   string `tf:"dest"`
}

type HCLContainerPortMapping added in v0.0.7

type HCLContainerPortMapping struct {
	UID           string `tf:"uid"`
	Protocol      string `tf:"protocol"`
	IFace         string `tf:"iface"`
	HostPort      int    `tf:"host_port"`
	ContainerPort int    `tf:"container_port"`
}

type HCLContainerULimit added in v0.0.7

type HCLContainerULimit struct {
	Type string `tf:"type"`
	Hard int    `tf:"hard"`
	Soft int    `tf:"soft"`
}

type HCLContainerVirtualNetwork added in v0.0.7

type HCLContainerVirtualNetwork struct {
	UID           string `tf:"uid"`
	Network       string `tf:"network"`
	IP            string `tf:"ip"`
	AllowOutbound bool   `tf:"allow_outbound"`
}

type HCLNetworkConfigData added in v0.0.7

type HCLNetworkConfigData struct {
	DarkMode   bool `tf:"dark_mode"`
	Forwarding bool `tf:"forwarding"`

	Tunnels []HCLNetworkTunnel `tf:"tunnel"`

	Interfaces []HCLNetworkInterface `tf:"interface"`

	VRFs []HCLVRF `tf:"vrf"`
}

type HCLNetworkInterface added in v0.0.7

type HCLNetworkInterface struct {
	NIC       string   `tf:"nic"`
	Routes    []string `tf:"routes,omitempty"`
	ClusterIP string   `tf:"cluster_ip,omitempty"`
	DHCP      bool     `tf:"dhcp"`
	Gateway   string   `tf:"gateway"`
	IP        string   `tf:"ip"`
	Mode      string   `tf:"mode,omitempty"`
	DNS       []string `tf:"dns,omitempty"`
	Duplex    string   `tf:"duplex,omitempty"`
	Speed     int      `tf:"speed,omitempty"`
}

type HCLNetworkTunnel added in v0.0.7

type HCLNetworkTunnel struct {
	Enabled       bool   `tf:"enabled"`
	Name          string `tf:"name"`
	IKE           int    `tf:"ike,omitempty"`
	IKECipher     string `tf:"ike_cipher,omitempty"`
	IKEGroup      int    `tf:"ike_group,omitempty"`
	RekeyInterval int    `tf:"rekey_interval,omitempty"`
	IP            string `tf:"ip,omitempty"`
	Destination   string `tf:"destination,omitempty"`
	IPSecCipher   string `tf:"ipsec_cipher,omitempty"`
	PSK           string `tf:"psk,omitempty"`
	VRF           string `tf:"vrf,omitempty"`
	Type          string `tf:"type"`
	MTU           int    `tf:"mtu"`
	NetworkID     int    `tf:"network_id"`
	LocalID       string `tf:"local_id,omitempty"`
	RemoteID      string `tf:"remote_id,omitempty"`
	DPDRetries    int    `tf:"dpd_retries,omitempty"`
	DPDInterval   int    `tf:"dpd_interval,omitempty"`
	IFace         string `tf:"iface,omitempty"`
	PFS           int    `tf:"pfs"`
	ReplayWindow  int    `tf:"replay_window,omitempty"`
}

type HCLVRF added in v0.0.7

type HCLVRF struct {
	Name       string        `tf:"name"`
	Forwarding bool          `tf:"forwarding"`
	ACLs       []HCLVRFACL   `tf:"acl,omitempty"`
	Routes     []HCLVRFRoute `tf:"route,omitempty"`
	NATs       []HCLVRFNAT   `tf:"nat,omitempty"`
	Rules      []HCLVRFRule  `tf:"rule,omitempty"`
}

type HCLVRFACL added in v0.0.7

type HCLVRFACL struct {
	Action      string `tf:"action"`
	Description string `tf:"description"`
	Protocol    string `tf:"protocol"`
	Source      string `tf:"source"`
	Dest        string `tf:"dest"`
	Line        int    `tf:"line"`
}

type HCLVRFNAT added in v0.0.7

type HCLVRFNAT struct {
	Source     string `tf:"source,omitempty"`
	Dest       string `tf:"dest,omitempty"`
	Masquerade bool   `tf:"masquerade"`
	ToSource   string `tf:"to_source,omitempty"`
	ToDest     string `tf:"to_dest,omitempty"`
}

type HCLVRFRoute added in v0.0.7

type HCLVRFRoute struct {
	Dest        string `tf:"dest"`
	Dev         string `tf:"dev"`
	Description string `tf:"description"`
	Metric      int    `tf:"metric"`
}

type HCLVRFRule added in v0.0.7

type HCLVRFRule struct {
	Protocol    string `tf:"protocol"`
	Line        int    `tf:"line"`
	Action      string `tf:"action"`
	Description string `tf:"description,omitempty"`
	Source      string `tf:"source,omitempty"`
	VRF         string `tf:"vrf,omitempty"`
	Dest        string `tf:"dest,omitempty"`
}

Jump to

Keyboard shortcuts

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