Skip to content

Commit

Permalink
Add LA disclaimers
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Jul 23, 2024
1 parent 40f67c1 commit d1a2b00
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
16 changes: 9 additions & 7 deletions instance_disks.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ import (

// InstanceDisk represents an Instance Disk object
type InstanceDisk struct {
ID int `json:"id"`
Label string `json:"label"`
Status DiskStatus `json:"status"`
Size int `json:"size"`
Filesystem DiskFilesystem `json:"filesystem"`
Created *time.Time `json:"-"`
Updated *time.Time `json:"-"`
ID int `json:"id"`
Label string `json:"label"`
Status DiskStatus `json:"status"`
Size int `json:"size"`
Filesystem DiskFilesystem `json:"filesystem"`
Created *time.Time `json:"-"`
Updated *time.Time `json:"-"`

// NOTE: Disk encryption may not currently be available to all users.
DiskEncryption InstanceDiskEncryption `json:"disk_encryption"`
}

Expand Down
12 changes: 9 additions & 3 deletions instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ type Instance struct {
// NOTE: Placement Groups may not currently be available to all users.
PlacementGroup *InstancePlacementGroup `json:"placement_group"`

// NOTE: Disk encryption may not currently be available to all users.
DiskEncryption InstanceDiskEncryption `json:"disk_encryption"`
LKEClusterID int `json:"lke_cluster_id"`

LKEClusterID int `json:"lke_cluster_id"`
}

// InstanceSpec represents a linode spec
Expand Down Expand Up @@ -149,7 +151,9 @@ type InstanceCreateOptions struct {
Tags []string `json:"tags,omitempty"`
Metadata *InstanceMetadataOptions `json:"metadata,omitempty"`
FirewallID int `json:"firewall_id,omitempty"`
DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"`

// NOTE: Disk encryption may not currently be available to all users.
DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"`

// NOTE: Placement Groups may not currently be available to all users.
PlacementGroup *InstanceCreatePlacementGroupOptions `json:"placement_group,omitempty"`
Expand Down Expand Up @@ -367,7 +371,9 @@ type InstanceRebuildOptions struct {
Booted *bool `json:"booted,omitempty"`
Metadata *InstanceMetadataOptions `json:"metadata,omitempty"`
Type string `json:"type,omitempty"`
DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"`

// NOTE: Disk encryption may not currently be available to all users.
DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"`
}

// RebuildInstance Deletes all Disks and Configs on this Linode,
Expand Down
4 changes: 3 additions & 1 deletion lke_node_pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ type LKENodePool struct {
Labels LKENodePoolLabels `json:"labels"`
Taints []LKENodePoolTaint `json:"taints"`

Autoscaler LKENodePoolAutoscaler `json:"autoscaler"`
Autoscaler LKENodePoolAutoscaler `json:"autoscaler"`

// NOTE: Disk encryption may not currently be available to all users.
DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"`
}

Expand Down

0 comments on commit d1a2b00

Please sign in to comment.