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 ¶
- func RegisterDropletsHandler(s server.Server, hdlr DropletsHandler, opts ...server.HandlerOption) error
- type BackupWindow
- func (*BackupWindow) Descriptor() ([]byte, []int)
- func (m *BackupWindow) GetEnd() string
- func (m *BackupWindow) GetStart() string
- func (*BackupWindow) ProtoMessage()
- func (m *BackupWindow) Reset()
- func (m *BackupWindow) String() string
- func (m *BackupWindow) XXX_DiscardUnknown()
- func (m *BackupWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupWindow) XXX_Merge(src proto.Message)
- func (m *BackupWindow) XXX_Size() int
- func (m *BackupWindow) XXX_Unmarshal(b []byte) error
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetImage() string
- func (m *CreateRequest) GetName() string
- func (m *CreateRequest) GetRegion() string
- func (m *CreateRequest) GetSize() string
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) String() string
- func (m *CreateRequest) XXX_DiscardUnknown()
- func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateRequest) XXX_Merge(src proto.Message)
- func (m *CreateRequest) XXX_Size() int
- func (m *CreateRequest) XXX_Unmarshal(b []byte) error
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)
- func (m *CreateResponse) GetMessage() string
- func (*CreateResponse) ProtoMessage()
- func (m *CreateResponse) Reset()
- func (m *CreateResponse) String() string
- func (m *CreateResponse) XXX_DiscardUnknown()
- func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateResponse) XXX_Merge(src proto.Message)
- func (m *CreateResponse) XXX_Size() int
- func (m *CreateResponse) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetId() int32
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)
- func (m *DeleteResponse) GetMessage() string
- func (*DeleteResponse) ProtoMessage()
- func (m *DeleteResponse) Reset()
- func (m *DeleteResponse) String() string
- func (m *DeleteResponse) XXX_DiscardUnknown()
- func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteResponse) XXX_Merge(src proto.Message)
- func (m *DeleteResponse) XXX_Size() int
- func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
- type Droplet
- func (*Droplet) Descriptor() ([]byte, []int)
- func (m *Droplet) GetBackupIds() []int32
- func (m *Droplet) GetCreated() string
- func (m *Droplet) GetDisk() int32
- func (m *Droplet) GetFeatures() []string
- func (m *Droplet) GetId() int64
- func (m *Droplet) GetImage() *Image
- func (m *Droplet) GetKernel() *Kernel
- func (m *Droplet) GetLocked() bool
- func (m *Droplet) GetMemory() int32
- func (m *Droplet) GetName() string
- func (m *Droplet) GetNetworks() *Networks
- func (m *Droplet) GetNextBackupWindow() *BackupWindow
- func (m *Droplet) GetRegion() *Region
- func (m *Droplet) GetSize() *Size
- func (m *Droplet) GetSizeSlug() []string
- func (m *Droplet) GetSnapshotIds() []int32
- func (m *Droplet) GetStatus() string
- func (m *Droplet) GetTags() []string
- func (m *Droplet) GetVcpus() int32
- func (m *Droplet) GetVolumeIds() []string
- func (*Droplet) ProtoMessage()
- func (m *Droplet) Reset()
- func (m *Droplet) String() string
- func (m *Droplet) XXX_DiscardUnknown()
- func (m *Droplet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Droplet) XXX_Merge(src proto.Message)
- func (m *Droplet) XXX_Size() int
- func (m *Droplet) XXX_Unmarshal(b []byte) error
- type DropletsHandler
- type DropletsService
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetId() int32
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetDroplet() *Droplet
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetCreated() string
- func (m *Image) GetDistribution() string
- func (m *Image) GetId() int64
- func (m *Image) GetMinDiskSize() int32
- func (m *Image) GetName() string
- func (m *Image) GetPublic() bool
- func (m *Image) GetRegions() []string
- func (m *Image) GetSlug() string
- func (m *Image) GetType() string
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) String() string
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type Kernel
- func (*Kernel) Descriptor() ([]byte, []int)
- func (m *Kernel) GetId() int64
- func (m *Kernel) GetName() string
- func (m *Kernel) GetVersion() string
- func (*Kernel) ProtoMessage()
- func (m *Kernel) Reset()
- func (m *Kernel) String() string
- func (m *Kernel) XXX_DiscardUnknown()
- func (m *Kernel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Kernel) XXX_Merge(src proto.Message)
- func (m *Kernel) XXX_Size() int
- func (m *Kernel) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) String() string
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)
- func (m *ListResponse) GetDroplets() []*Droplet
- func (*ListResponse) ProtoMessage()
- func (m *ListResponse) Reset()
- func (m *ListResponse) String() string
- func (m *ListResponse) XXX_DiscardUnknown()
- func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type NetworkV4
- func (*NetworkV4) Descriptor() ([]byte, []int)
- func (m *NetworkV4) GetGateway() string
- func (m *NetworkV4) GetIPAddress() string
- func (m *NetworkV4) GetNetmask() string
- func (m *NetworkV4) GetType() string
- func (*NetworkV4) ProtoMessage()
- func (m *NetworkV4) Reset()
- func (m *NetworkV4) String() string
- func (m *NetworkV4) XXX_DiscardUnknown()
- func (m *NetworkV4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkV4) XXX_Merge(src proto.Message)
- func (m *NetworkV4) XXX_Size() int
- func (m *NetworkV4) XXX_Unmarshal(b []byte) error
- type NetworkV6
- func (*NetworkV6) Descriptor() ([]byte, []int)
- func (m *NetworkV6) GetGateway() string
- func (m *NetworkV6) GetIPAddress() string
- func (m *NetworkV6) GetNetmask() int32
- func (m *NetworkV6) GetType() string
- func (*NetworkV6) ProtoMessage()
- func (m *NetworkV6) Reset()
- func (m *NetworkV6) String() string
- func (m *NetworkV6) XXX_DiscardUnknown()
- func (m *NetworkV6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkV6) XXX_Merge(src proto.Message)
- func (m *NetworkV6) XXX_Size() int
- func (m *NetworkV6) XXX_Unmarshal(b []byte) error
- type Networks
- func (*Networks) Descriptor() ([]byte, []int)
- func (m *Networks) GetV4() []*NetworkV4
- func (m *Networks) GetV6() []*NetworkV6
- func (*Networks) ProtoMessage()
- func (m *Networks) Reset()
- func (m *Networks) String() string
- func (m *Networks) XXX_DiscardUnknown()
- func (m *Networks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Networks) XXX_Merge(src proto.Message)
- func (m *Networks) XXX_Size() int
- func (m *Networks) XXX_Unmarshal(b []byte) error
- type Region
- func (*Region) Descriptor() ([]byte, []int)
- func (m *Region) GetAvailable() bool
- func (m *Region) GetFeatures() []string
- func (m *Region) GetName() string
- func (m *Region) GetSizes() []string
- func (m *Region) GetSlug() string
- func (*Region) ProtoMessage()
- func (m *Region) Reset()
- func (m *Region) String() string
- func (m *Region) XXX_DiscardUnknown()
- func (m *Region) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Region) XXX_Merge(src proto.Message)
- func (m *Region) XXX_Size() int
- func (m *Region) XXX_Unmarshal(b []byte) error
- type Size
- func (*Size) Descriptor() ([]byte, []int)
- func (m *Size) GetAvailable() bool
- func (m *Size) GetDisk() int32
- func (m *Size) GetMemory() int32
- func (m *Size) GetPriceHourly() float64
- func (m *Size) GetPriceMonthly() float64
- func (m *Size) GetRegions() []string
- func (m *Size) GetSlug() string
- func (m *Size) GetTransfer() float64
- func (m *Size) GetVcpus() int32
- func (*Size) ProtoMessage()
- func (m *Size) Reset()
- func (m *Size) String() string
- func (m *Size) XXX_DiscardUnknown()
- func (m *Size) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Size) XXX_Merge(src proto.Message)
- func (m *Size) XXX_Size() int
- func (m *Size) XXX_Unmarshal(b []byte) error
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) GetBackupIds ¶
func (*Droplet) GetCreated ¶
func (*Droplet) GetFeatures ¶
func (*Droplet) GetNetworks ¶
func (*Droplet) GetNextBackupWindow ¶
func (m *Droplet) GetNextBackupWindow() *BackupWindow
func (*Droplet) GetSizeSlug ¶
func (*Droplet) GetSnapshotIds ¶
func (*Droplet) GetVolumeIds ¶
func (*Droplet) ProtoMessage ¶
func (*Droplet) ProtoMessage()
func (*Droplet) XXX_DiscardUnknown ¶
func (m *Droplet) XXX_DiscardUnknown()
func (*Droplet) XXX_Marshal ¶
func (*Droplet) XXX_Unmarshal ¶
type DropletsHandler ¶
type DropletsHandler interface { List(context.Context, *ListRequest, *ListResponse) error Get(context.Context, *GetRequest, *GetResponse) error Create(context.Context, *CreateRequest, *CreateResponse) error Delete(context.Context, *DeleteRequest, *DeleteResponse) 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) GetCreated ¶
func (*Image) GetDistribution ¶
func (*Image) GetMinDiskSize ¶
func (*Image) GetRegions ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
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) GetVersion ¶
func (*Kernel) ProtoMessage ¶
func (*Kernel) ProtoMessage()
func (*Kernel) XXX_DiscardUnknown ¶
func (m *Kernel) XXX_DiscardUnknown()
func (*Kernel) XXX_Marshal ¶
func (*Kernel) XXX_Unmarshal ¶
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) GetGateway ¶
func (*NetworkV4) GetIPAddress ¶
func (*NetworkV4) GetNetmask ¶
func (*NetworkV4) ProtoMessage ¶
func (*NetworkV4) ProtoMessage()
func (*NetworkV4) XXX_DiscardUnknown ¶
func (m *NetworkV4) XXX_DiscardUnknown()
func (*NetworkV4) XXX_Marshal ¶
func (*NetworkV4) XXX_Unmarshal ¶
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) GetGateway ¶
func (*NetworkV6) GetIPAddress ¶
func (*NetworkV6) GetNetmask ¶
func (*NetworkV6) ProtoMessage ¶
func (*NetworkV6) ProtoMessage()
func (*NetworkV6) XXX_DiscardUnknown ¶
func (m *NetworkV6) XXX_DiscardUnknown()
func (*NetworkV6) XXX_Marshal ¶
func (*NetworkV6) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Networks) ProtoMessage()
func (*Networks) XXX_DiscardUnknown ¶
func (m *Networks) XXX_DiscardUnknown()
func (*Networks) XXX_Marshal ¶
func (*Networks) XXX_Unmarshal ¶
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) GetAvailable ¶
func (*Region) GetFeatures ¶
func (*Region) ProtoMessage ¶
func (*Region) ProtoMessage()
func (*Region) XXX_DiscardUnknown ¶
func (m *Region) XXX_DiscardUnknown()
func (*Region) XXX_Marshal ¶
func (*Region) XXX_Unmarshal ¶
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) GetAvailable ¶
func (*Size) GetPriceHourly ¶
func (*Size) GetPriceMonthly ¶
func (*Size) GetRegions ¶
func (*Size) GetTransfer ¶
func (*Size) ProtoMessage ¶
func (*Size) ProtoMessage()
func (*Size) XXX_DiscardUnknown ¶
func (m *Size) XXX_DiscardUnknown()
func (*Size) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.