compute

package
v0.3.24 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compute

type Compute struct {
	types.Metadata
	Disks           []Disk
	Networks        []Network
	SSLPolicies     []SSLPolicy
	ProjectMetadata ProjectMetadata
	Instances       []Instance
}

func (*Compute) GetMetadata added in v0.3.24

func (c *Compute) GetMetadata() *types.Metadata

func (*Compute) GetRawValue added in v0.3.24

func (c *Compute) GetRawValue() interface{}

type Disk

type Disk struct {
	types.Metadata
	Name       types.StringValue
	Encryption DiskEncryption
}

func (*Disk) GetMetadata added in v0.3.24

func (d *Disk) GetMetadata() *types.Metadata

func (*Disk) GetRawValue added in v0.3.24

func (d *Disk) GetRawValue() interface{}

type DiskEncryption

type DiskEncryption struct {
	types.Metadata
	RawKey     types.BytesValue
	KMSKeyLink types.StringValue
}

func (*DiskEncryption) GetMetadata added in v0.3.24

func (d *DiskEncryption) GetMetadata() *types.Metadata

func (*DiskEncryption) GetRawValue added in v0.3.24

func (d *DiskEncryption) GetRawValue() interface{}

type EgressRule

type EgressRule struct {
	types.Metadata
	FirewallRule
	DestinationRanges []types.StringValue
}

func (*EgressRule) GetMetadata added in v0.3.24

func (e *EgressRule) GetMetadata() *types.Metadata

func (*EgressRule) GetRawValue added in v0.3.24

func (e *EgressRule) GetRawValue() interface{}

type Firewall

type Firewall struct {
	types.Metadata
	Name         types.StringValue
	IngressRules []IngressRule
	EgressRules  []EgressRule
}

func (*Firewall) GetMetadata added in v0.3.24

func (f *Firewall) GetMetadata() *types.Metadata

func (*Firewall) GetRawValue added in v0.3.24

func (f *Firewall) GetRawValue() interface{}

type FirewallRule

type FirewallRule struct {
	types.Metadata
	Enforced types.BoolValue
	IsAllow  types.BoolValue
	Protocol types.StringValue
	Ports    []types.IntValue
}

func (*FirewallRule) GetMetadata added in v0.3.24

func (f *FirewallRule) GetMetadata() *types.Metadata

func (*FirewallRule) GetRawValue added in v0.3.24

func (f *FirewallRule) GetRawValue() interface{}

type IngressRule

type IngressRule struct {
	types.Metadata
	FirewallRule
	SourceRanges []types.StringValue
}

func (*IngressRule) GetMetadata added in v0.3.24

func (i *IngressRule) GetMetadata() *types.Metadata

func (*IngressRule) GetRawValue added in v0.3.24

func (i *IngressRule) GetRawValue() interface{}

type Instance

type Instance struct {
	types.Metadata
	Name                        types.StringValue
	NetworkInterfaces           []NetworkInterface
	ShieldedVM                  ShieldedVMConfig
	ServiceAccount              ServiceAccount
	CanIPForward                types.BoolValue
	OSLoginEnabled              types.BoolValue
	EnableProjectSSHKeyBlocking types.BoolValue
	EnableSerialPort            types.BoolValue
	BootDisks                   []Disk
	AttachedDisks               []Disk
}

func (*Instance) GetMetadata added in v0.3.24

func (i *Instance) GetMetadata() *types.Metadata

func (*Instance) GetRawValue added in v0.3.24

func (i *Instance) GetRawValue() interface{}

type Network

type Network struct {
	types.Metadata
	Firewall    *Firewall
	Subnetworks []SubNetwork
}

func (*Network) GetMetadata added in v0.3.24

func (n *Network) GetMetadata() *types.Metadata

func (*Network) GetRawValue added in v0.3.24

func (n *Network) GetRawValue() interface{}

type NetworkInterface

type NetworkInterface struct {
	types.Metadata
	Network     *Network
	SubNetwork  *SubNetwork
	HasPublicIP types.BoolValue
	NATIP       types.StringValue
}

func (*NetworkInterface) GetMetadata added in v0.3.24

func (n *NetworkInterface) GetMetadata() *types.Metadata

func (*NetworkInterface) GetRawValue added in v0.3.24

func (n *NetworkInterface) GetRawValue() interface{}

type ProjectMetadata

type ProjectMetadata struct {
	types.Metadata
	EnableOSLogin types.BoolValue
}

func (*ProjectMetadata) GetMetadata added in v0.3.24

func (p *ProjectMetadata) GetMetadata() *types.Metadata

func (*ProjectMetadata) GetRawValue added in v0.3.24

func (p *ProjectMetadata) GetRawValue() interface{}

type SSLPolicy

type SSLPolicy struct {
	types.Metadata
	Name              types.StringValue
	Profile           types.StringValue
	MinimumTLSVersion types.StringValue
}

func (*SSLPolicy) GetMetadata added in v0.3.24

func (s *SSLPolicy) GetMetadata() *types.Metadata

func (*SSLPolicy) GetRawValue added in v0.3.24

func (s *SSLPolicy) GetRawValue() interface{}

type ServiceAccount

type ServiceAccount struct {
	types.Metadata
	Email  types.StringValue
	Scopes []types.StringValue
}

func (*ServiceAccount) GetMetadata added in v0.3.24

func (s *ServiceAccount) GetMetadata() *types.Metadata

func (*ServiceAccount) GetRawValue added in v0.3.24

func (s *ServiceAccount) GetRawValue() interface{}

type ShieldedVMConfig

type ShieldedVMConfig struct {
	types.Metadata
	SecureBootEnabled          types.BoolValue
	IntegrityMonitoringEnabled types.BoolValue
	VTPMEnabled                types.BoolValue
}

func (*ShieldedVMConfig) GetMetadata added in v0.3.24

func (s *ShieldedVMConfig) GetMetadata() *types.Metadata

func (*ShieldedVMConfig) GetRawValue added in v0.3.24

func (s *ShieldedVMConfig) GetRawValue() interface{}

type SubNetwork

type SubNetwork struct {
	types.Metadata
	Name           types.StringValue
	EnableFlowLogs types.BoolValue
}

func (*SubNetwork) GetMetadata added in v0.3.24

func (s *SubNetwork) GetMetadata() *types.Metadata

func (*SubNetwork) GetRawValue added in v0.3.24

func (s *SubNetwork) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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