droplets

package
v0.0.0-...-ad31612 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package droplets is a generated protocol buffer package.

It is generated from these files:

proto/digitalocean/droplets.proto

It has these top-level messages:

Image
Region
Size
BackupWindow
NetworkV4
NetworkV6
Networks
Kernel
Droplet
ListRequest
ListResponse
GetRequest
GetResponse
CreateRequest
CreateResponse
DeleteRequest
DeleteResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDropletsHandler

func RegisterDropletsHandler(s server.Server, hdlr DropletsHandler, opts ...server.HandlerOption) error

Types

type BackupWindow

type BackupWindow struct {
	Start                string   `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End                  string   `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BackupWindow) Descriptor

func (*BackupWindow) Descriptor() ([]byte, []int)

func (*BackupWindow) GetEnd

func (m *BackupWindow) GetEnd() string

func (*BackupWindow) GetStart

func (m *BackupWindow) GetStart() string

func (*BackupWindow) ProtoMessage

func (*BackupWindow) ProtoMessage()

func (*BackupWindow) Reset

func (m *BackupWindow) Reset()

func (*BackupWindow) String

func (m *BackupWindow) String() string

func (*BackupWindow) XXX_DiscardUnknown

func (m *BackupWindow) XXX_DiscardUnknown()

func (*BackupWindow) XXX_Marshal

func (m *BackupWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupWindow) XXX_Merge

func (m *BackupWindow) XXX_Merge(src proto.Message)

func (*BackupWindow) XXX_Size

func (m *BackupWindow) XXX_Size() int

func (*BackupWindow) XXX_Unmarshal

func (m *BackupWindow) XXX_Unmarshal(b []byte) error

type CreateRequest

type CreateRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Region               string   `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	Size                 string   `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"`
	Image                string   `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateRequest) Descriptor

func (*CreateRequest) Descriptor() ([]byte, []int)

func (*CreateRequest) GetImage

func (m *CreateRequest) GetImage() string

func (*CreateRequest) GetName

func (m *CreateRequest) GetName() string

func (*CreateRequest) GetRegion

func (m *CreateRequest) GetRegion() string

func (*CreateRequest) GetSize

func (m *CreateRequest) GetSize() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) Reset

func (m *CreateRequest) Reset()

func (*CreateRequest) String

func (m *CreateRequest) String() string

func (*CreateRequest) XXX_DiscardUnknown

func (m *CreateRequest) XXX_DiscardUnknown()

func (*CreateRequest) XXX_Marshal

func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRequest) XXX_Merge

func (m *CreateRequest) XXX_Merge(src proto.Message)

func (*CreateRequest) XXX_Size

func (m *CreateRequest) XXX_Size() int

func (*CreateRequest) XXX_Unmarshal

func (m *CreateRequest) XXX_Unmarshal(b []byte) error

type CreateResponse

type CreateResponse struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateResponse) Descriptor

func (*CreateResponse) Descriptor() ([]byte, []int)

func (*CreateResponse) GetMessage

func (m *CreateResponse) GetMessage() string

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) Reset

func (m *CreateResponse) Reset()

func (*CreateResponse) String

func (m *CreateResponse) String() string

func (*CreateResponse) XXX_DiscardUnknown

func (m *CreateResponse) XXX_DiscardUnknown()

func (*CreateResponse) XXX_Marshal

func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateResponse) XXX_Merge

func (m *CreateResponse) XXX_Merge(src proto.Message)

func (*CreateResponse) XXX_Size

func (m *CreateResponse) XXX_Size() int

func (*CreateResponse) XXX_Unmarshal

func (m *CreateResponse) XXX_Unmarshal(b []byte) error

type DeleteRequest

type DeleteRequest struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRequest) Descriptor

func (*DeleteRequest) Descriptor() ([]byte, []int)

func (*DeleteRequest) GetId

func (m *DeleteRequest) GetId() int32

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRequest) XXX_Merge

func (m *DeleteRequest) XXX_Merge(src proto.Message)

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

func (m *DeleteRequest) XXX_Unmarshal(b []byte) error

type DeleteResponse

type DeleteResponse struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteResponse) Descriptor

func (*DeleteResponse) Descriptor() ([]byte, []int)

func (*DeleteResponse) GetMessage

func (m *DeleteResponse) GetMessage() string

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

func (*DeleteResponse) XXX_DiscardUnknown

func (m *DeleteResponse) XXX_DiscardUnknown()

func (*DeleteResponse) XXX_Marshal

func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResponse) XXX_Merge

func (m *DeleteResponse) XXX_Merge(src proto.Message)

func (*DeleteResponse) XXX_Size

func (m *DeleteResponse) XXX_Size() int

func (*DeleteResponse) XXX_Unmarshal

func (m *DeleteResponse) XXX_Unmarshal(b []byte) error

type Droplet

type Droplet struct {
	// ID               int           `json:"id,float64,omitempty"`
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name             string        `json:"name,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Memory           int           `json:"memory,omitempty"`
	Memory int32 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// Vcpus            int           `json:"vcpus,omitempty"`
	Vcpus int32 `protobuf:"varint,4,opt,name=vcpus,proto3" json:"vcpus,omitempty"`
	// Disk             int           `json:"disk,omitempty"`
	Disk int32 `protobuf:"varint,5,opt,name=disk,proto3" json:"disk,omitempty"`
	// Region           *Region       `json:"region,omitempty"`
	Region *Region `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
	// Image            *Image        `json:"image,omitempty"`
	Image *Image `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"`
	// Size             *Size         `json:"size,omitempty"`
	Size *Size `protobuf:"bytes,8,opt,name=size,proto3" json:"size,omitempty"`
	// SizeSlug         string        `json:"size_slug,omitempty"`
	SizeSlug []string `protobuf:"bytes,9,rep,name=sizeSlug,proto3" json:"sizeSlug,omitempty"`
	// BackupIDs        []int         `json:"backup_ids,omitempty"`
	BackupIds []int32 `protobuf:"varint,10,rep,packed,name=backupIds,proto3" json:"backupIds,omitempty"`
	// NextBackupWindow *BackupWindow `json:"next_backup_window,omitempty"`
	NextBackupWindow *BackupWindow `protobuf:"bytes,11,opt,name=nextBackupWindow,proto3" json:"nextBackupWindow,omitempty"`
	// SnapshotIDs      []int         `json:"snapshot_ids,omitempty"`
	SnapshotIds []int32 `protobuf:"varint,12,rep,packed,name=snapshotIds,proto3" json:"snapshotIds,omitempty"`
	// Features         []string      `json:"features,omitempty"`
	Features []string `protobuf:"bytes,13,rep,name=features,proto3" json:"features,omitempty"`
	// Locked           bool          `json:"locked,bool,omitempty"`
	Locked bool `protobuf:"varint,14,opt,name=locked,proto3" json:"locked,omitempty"`
	// Status           string        `json:"status,omitempty"`
	Status string `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"`
	// Networks         *Networks     `json:"networks,omitempty"`
	Networks *Networks `protobuf:"bytes,16,opt,name=networks,proto3" json:"networks,omitempty"`
	// Created          string        `json:"created_at,omitempty"`
	Created string `protobuf:"bytes,17,opt,name=created,proto3" json:"created,omitempty"`
	// Kernel           *Kernel       `json:"kernel,omitempty"`
	Kernel *Kernel `protobuf:"bytes,18,opt,name=Kernel,proto3" json:"Kernel,omitempty"`
	// Tags             []string      `json:"tags,omitempty"`
	Tags []string `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,omitempty"`
	// VolumeIDs        []string      `json:"volume_ids"`
	VolumeIds            []string `protobuf:"bytes,20,rep,name=volumeIds,proto3" json:"volumeIds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Droplet) Descriptor

func (*Droplet) Descriptor() ([]byte, []int)

func (*Droplet) GetBackupIds

func (m *Droplet) GetBackupIds() []int32

func (*Droplet) GetCreated

func (m *Droplet) GetCreated() string

func (*Droplet) GetDisk

func (m *Droplet) GetDisk() int32

func (*Droplet) GetFeatures

func (m *Droplet) GetFeatures() []string

func (*Droplet) GetId

func (m *Droplet) GetId() int64

func (*Droplet) GetImage

func (m *Droplet) GetImage() *Image

func (*Droplet) GetKernel

func (m *Droplet) GetKernel() *Kernel

func (*Droplet) GetLocked

func (m *Droplet) GetLocked() bool

func (*Droplet) GetMemory

func (m *Droplet) GetMemory() int32

func (*Droplet) GetName

func (m *Droplet) GetName() string

func (*Droplet) GetNetworks

func (m *Droplet) GetNetworks() *Networks

func (*Droplet) GetNextBackupWindow

func (m *Droplet) GetNextBackupWindow() *BackupWindow

func (*Droplet) GetRegion

func (m *Droplet) GetRegion() *Region

func (*Droplet) GetSize

func (m *Droplet) GetSize() *Size

func (*Droplet) GetSizeSlug

func (m *Droplet) GetSizeSlug() []string

func (*Droplet) GetSnapshotIds

func (m *Droplet) GetSnapshotIds() []int32

func (*Droplet) GetStatus

func (m *Droplet) GetStatus() string

func (*Droplet) GetTags

func (m *Droplet) GetTags() []string

func (*Droplet) GetVcpus

func (m *Droplet) GetVcpus() int32

func (*Droplet) GetVolumeIds

func (m *Droplet) GetVolumeIds() []string

func (*Droplet) ProtoMessage

func (*Droplet) ProtoMessage()

func (*Droplet) Reset

func (m *Droplet) Reset()

func (*Droplet) String

func (m *Droplet) String() string

func (*Droplet) XXX_DiscardUnknown

func (m *Droplet) XXX_DiscardUnknown()

func (*Droplet) XXX_Marshal

func (m *Droplet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Droplet) XXX_Merge

func (m *Droplet) XXX_Merge(src proto.Message)

func (*Droplet) XXX_Size

func (m *Droplet) XXX_Size() int

func (*Droplet) XXX_Unmarshal

func (m *Droplet) XXX_Unmarshal(b []byte) error

type DropletsService

type DropletsService interface {
	List(ctx context.Context, in *ListRequest, opts ...client.CallOption) (*ListResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*GetResponse, error)
	Create(ctx context.Context, in *CreateRequest, opts ...client.CallOption) (*CreateResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*DeleteResponse, error)
}

func NewDropletsService

func NewDropletsService(name string, c client.Client) DropletsService

type GetRequest

type GetRequest struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRequest) Descriptor

func (*GetRequest) Descriptor() ([]byte, []int)

func (*GetRequest) GetId

func (m *GetRequest) GetId() int32

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetResponse

type GetResponse struct {
	Droplet              *Droplet `protobuf:"bytes,1,opt,name=droplet,proto3" json:"droplet,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetResponse) Descriptor

func (*GetResponse) Descriptor() ([]byte, []int)

func (*GetResponse) GetDroplet

func (m *GetResponse) GetDroplet() *Droplet

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge

func (m *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type Image

type Image struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Distribution         string   `protobuf:"bytes,4,opt,name=distribution,proto3" json:"distribution,omitempty"`
	Slug                 string   `protobuf:"bytes,5,opt,name=slug,proto3" json:"slug,omitempty"`
	Public               bool     `protobuf:"varint,6,opt,name=public,proto3" json:"public,omitempty"`
	Regions              []string `protobuf:"bytes,7,rep,name=regions,proto3" json:"regions,omitempty"`
	MinDiskSize          int32    `protobuf:"varint,8,opt,name=minDiskSize,proto3" json:"minDiskSize,omitempty"`
	Created              string   `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Objects

func (*Image) Descriptor

func (*Image) Descriptor() ([]byte, []int)

func (*Image) GetCreated

func (m *Image) GetCreated() string

func (*Image) GetDistribution

func (m *Image) GetDistribution() string

func (*Image) GetId

func (m *Image) GetId() int64

func (*Image) GetMinDiskSize

func (m *Image) GetMinDiskSize() int32

func (*Image) GetName

func (m *Image) GetName() string

func (*Image) GetPublic

func (m *Image) GetPublic() bool

func (*Image) GetRegions

func (m *Image) GetRegions() []string

func (*Image) GetSlug

func (m *Image) GetSlug() string

func (*Image) GetType

func (m *Image) GetType() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) String

func (m *Image) String() string

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Image) XXX_Merge

func (m *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

func (m *Image) XXX_Unmarshal(b []byte) error

type Kernel

type Kernel struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Kernel) Descriptor

func (*Kernel) Descriptor() ([]byte, []int)

func (*Kernel) GetId

func (m *Kernel) GetId() int64

func (*Kernel) GetName

func (m *Kernel) GetName() string

func (*Kernel) GetVersion

func (m *Kernel) GetVersion() string

func (*Kernel) ProtoMessage

func (*Kernel) ProtoMessage()

func (*Kernel) Reset

func (m *Kernel) Reset()

func (*Kernel) String

func (m *Kernel) String() string

func (*Kernel) XXX_DiscardUnknown

func (m *Kernel) XXX_DiscardUnknown()

func (*Kernel) XXX_Marshal

func (m *Kernel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Kernel) XXX_Merge

func (m *Kernel) XXX_Merge(src proto.Message)

func (*Kernel) XXX_Size

func (m *Kernel) XXX_Size() int

func (*Kernel) XXX_Unmarshal

func (m *Kernel) XXX_Unmarshal(b []byte) error

type ListRequest

type ListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListRequest) Descriptor

func (*ListRequest) Descriptor() ([]byte, []int)

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal

func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRequest) XXX_Merge

func (m *ListRequest) XXX_Merge(src proto.Message)

func (*ListRequest) XXX_Size

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal

func (m *ListRequest) XXX_Unmarshal(b []byte) error

type ListResponse

type ListResponse struct {
	Droplets             []*Droplet `protobuf:"bytes,1,rep,name=droplets,proto3" json:"droplets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListResponse) Descriptor

func (*ListResponse) Descriptor() ([]byte, []int)

func (*ListResponse) GetDroplets

func (m *ListResponse) GetDroplets() []*Droplet

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal

func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResponse) XXX_Merge

func (m *ListResponse) XXX_Merge(src proto.Message)

func (*ListResponse) XXX_Size

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal

func (m *ListResponse) XXX_Unmarshal(b []byte) error

type NetworkV4

type NetworkV4 struct {
	IPAddress            string   `protobuf:"bytes,1,opt,name=iPAddress,proto3" json:"iPAddress,omitempty"`
	Netmask              string   `protobuf:"bytes,2,opt,name=netmask,proto3" json:"netmask,omitempty"`
	Gateway              string   `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkV4) Descriptor

func (*NetworkV4) Descriptor() ([]byte, []int)

func (*NetworkV4) GetGateway

func (m *NetworkV4) GetGateway() string

func (*NetworkV4) GetIPAddress

func (m *NetworkV4) GetIPAddress() string

func (*NetworkV4) GetNetmask

func (m *NetworkV4) GetNetmask() string

func (*NetworkV4) GetType

func (m *NetworkV4) GetType() string

func (*NetworkV4) ProtoMessage

func (*NetworkV4) ProtoMessage()

func (*NetworkV4) Reset

func (m *NetworkV4) Reset()

func (*NetworkV4) String

func (m *NetworkV4) String() string

func (*NetworkV4) XXX_DiscardUnknown

func (m *NetworkV4) XXX_DiscardUnknown()

func (*NetworkV4) XXX_Marshal

func (m *NetworkV4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkV4) XXX_Merge

func (m *NetworkV4) XXX_Merge(src proto.Message)

func (*NetworkV4) XXX_Size

func (m *NetworkV4) XXX_Size() int

func (*NetworkV4) XXX_Unmarshal

func (m *NetworkV4) XXX_Unmarshal(b []byte) error

type NetworkV6

type NetworkV6 struct {
	IPAddress            string   `protobuf:"bytes,1,opt,name=iPAddress,proto3" json:"iPAddress,omitempty"`
	Netmask              int32    `protobuf:"varint,2,opt,name=netmask,proto3" json:"netmask,omitempty"`
	Gateway              string   `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkV6) Descriptor

func (*NetworkV6) Descriptor() ([]byte, []int)

func (*NetworkV6) GetGateway

func (m *NetworkV6) GetGateway() string

func (*NetworkV6) GetIPAddress

func (m *NetworkV6) GetIPAddress() string

func (*NetworkV6) GetNetmask

func (m *NetworkV6) GetNetmask() int32

func (*NetworkV6) GetType

func (m *NetworkV6) GetType() string

func (*NetworkV6) ProtoMessage

func (*NetworkV6) ProtoMessage()

func (*NetworkV6) Reset

func (m *NetworkV6) Reset()

func (*NetworkV6) String

func (m *NetworkV6) String() string

func (*NetworkV6) XXX_DiscardUnknown

func (m *NetworkV6) XXX_DiscardUnknown()

func (*NetworkV6) XXX_Marshal

func (m *NetworkV6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkV6) XXX_Merge

func (m *NetworkV6) XXX_Merge(src proto.Message)

func (*NetworkV6) XXX_Size

func (m *NetworkV6) XXX_Size() int

func (*NetworkV6) XXX_Unmarshal

func (m *NetworkV6) XXX_Unmarshal(b []byte) error

type Networks

type Networks struct {
	V4                   []*NetworkV4 `protobuf:"bytes,1,rep,name=v4,proto3" json:"v4,omitempty"`
	V6                   []*NetworkV6 `protobuf:"bytes,2,rep,name=v6,proto3" json:"v6,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Networks) Descriptor

func (*Networks) Descriptor() ([]byte, []int)

func (*Networks) GetV4

func (m *Networks) GetV4() []*NetworkV4

func (*Networks) GetV6

func (m *Networks) GetV6() []*NetworkV6

func (*Networks) ProtoMessage

func (*Networks) ProtoMessage()

func (*Networks) Reset

func (m *Networks) Reset()

func (*Networks) String

func (m *Networks) String() string

func (*Networks) XXX_DiscardUnknown

func (m *Networks) XXX_DiscardUnknown()

func (*Networks) XXX_Marshal

func (m *Networks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Networks) XXX_Merge

func (m *Networks) XXX_Merge(src proto.Message)

func (*Networks) XXX_Size

func (m *Networks) XXX_Size() int

func (*Networks) XXX_Unmarshal

func (m *Networks) XXX_Unmarshal(b []byte) error

type Region

type Region struct {
	Slug                 string   `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Sizes                []string `protobuf:"bytes,3,rep,name=sizes,proto3" json:"sizes,omitempty"`
	Available            bool     `protobuf:"varint,4,opt,name=available,proto3" json:"available,omitempty"`
	Features             []string `protobuf:"bytes,5,rep,name=features,proto3" json:"features,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Region) Descriptor

func (*Region) Descriptor() ([]byte, []int)

func (*Region) GetAvailable

func (m *Region) GetAvailable() bool

func (*Region) GetFeatures

func (m *Region) GetFeatures() []string

func (*Region) GetName

func (m *Region) GetName() string

func (*Region) GetSizes

func (m *Region) GetSizes() []string

func (*Region) GetSlug

func (m *Region) GetSlug() string

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) Reset

func (m *Region) Reset()

func (*Region) String

func (m *Region) String() string

func (*Region) XXX_DiscardUnknown

func (m *Region) XXX_DiscardUnknown()

func (*Region) XXX_Marshal

func (m *Region) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Region) XXX_Merge

func (m *Region) XXX_Merge(src proto.Message)

func (*Region) XXX_Size

func (m *Region) XXX_Size() int

func (*Region) XXX_Unmarshal

func (m *Region) XXX_Unmarshal(b []byte) error

type Size

type Size struct {
	Slug                 string   `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	Memory               int32    `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Vcpus                int32    `protobuf:"varint,3,opt,name=vcpus,proto3" json:"vcpus,omitempty"`
	Disk                 int32    `protobuf:"varint,4,opt,name=disk,proto3" json:"disk,omitempty"`
	PriceMonthly         float64  `protobuf:"fixed64,5,opt,name=priceMonthly,proto3" json:"priceMonthly,omitempty"`
	PriceHourly          float64  `protobuf:"fixed64,6,opt,name=priceHourly,proto3" json:"priceHourly,omitempty"`
	Regions              []string `protobuf:"bytes,7,rep,name=regions,proto3" json:"regions,omitempty"`
	Available            bool     `protobuf:"varint,8,opt,name=available,proto3" json:"available,omitempty"`
	Transfer             float64  `protobuf:"fixed64,9,opt,name=transfer,proto3" json:"transfer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Size) Descriptor

func (*Size) Descriptor() ([]byte, []int)

func (*Size) GetAvailable

func (m *Size) GetAvailable() bool

func (*Size) GetDisk

func (m *Size) GetDisk() int32

func (*Size) GetMemory

func (m *Size) GetMemory() int32

func (*Size) GetPriceHourly

func (m *Size) GetPriceHourly() float64

func (*Size) GetPriceMonthly

func (m *Size) GetPriceMonthly() float64

func (*Size) GetRegions

func (m *Size) GetRegions() []string

func (*Size) GetSlug

func (m *Size) GetSlug() string

func (*Size) GetTransfer

func (m *Size) GetTransfer() float64

func (*Size) GetVcpus

func (m *Size) GetVcpus() int32

func (*Size) ProtoMessage

func (*Size) ProtoMessage()

func (*Size) Reset

func (m *Size) Reset()

func (*Size) String

func (m *Size) String() string

func (*Size) XXX_DiscardUnknown

func (m *Size) XXX_DiscardUnknown()

func (*Size) XXX_Marshal

func (m *Size) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Size) XXX_Merge

func (m *Size) XXX_Merge(src proto.Message)

func (*Size) XXX_Size

func (m *Size) XXX_Size() int

func (*Size) XXX_Unmarshal

func (m *Size) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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