summaryrefslogtreecommitdiff
path: root/oaktreemodel/flavor.pb.go
blob: f31d2b7898ddd5dc229fa341a18ee89ed4f146c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// Code generated by protoc-gen-go.
// source: flavor.proto
// DO NOT EDIT!

/*
Package oaktree is a generated protocol buffer package.

It is generated from these files:
	flavor.proto

It has these top-level messages:
	Flavor
	FlavorList
*/
package oaktree

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import oaktree1 "."

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type Flavor struct {
	Location   *oaktree1.Location `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
	Id         string             `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	Name       string             `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	IsPublic   bool               `protobuf:"varint,4,opt,name=is_public,json=isPublic" json:"is_public,omitempty"`
	Disabled   bool               `protobuf:"varint,5,opt,name=disabled" json:"disabled,omitempty"`
	Ram        uint32             `protobuf:"varint,6,opt,name=ram" json:"ram,omitempty"`
	Vcpus      uint32             `protobuf:"varint,7,opt,name=vcpus" json:"vcpus,omitempty"`
	Disk       uint64             `protobuf:"varint,8,opt,name=disk" json:"disk,omitempty"`
	Ephemeral  uint32             `protobuf:"varint,9,opt,name=ephemeral" json:"ephemeral,omitempty"`
	Swap       uint64             `protobuf:"varint,10,opt,name=swap" json:"swap,omitempty"`
	RxtxFactor float32            `protobuf:"fixed32,11,opt,name=rxtx_factor,json=rxtxFactor" json:"rxtx_factor,omitempty"`
	Properties map[string]string  `protobuf:"bytes,99,rep,name=properties" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}

func (m *Flavor) Reset()                    { *m = Flavor{} }
func (m *Flavor) String() string            { return proto.CompactTextString(m) }
func (*Flavor) ProtoMessage()               {}
func (*Flavor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }

func (m *Flavor) GetLocation() *oaktree1.Location {
	if m != nil {
		return m.Location
	}
	return nil
}

func (m *Flavor) GetProperties() map[string]string {
	if m != nil {
		return m.Properties
	}
	return nil
}

type FlavorList struct {
	Flavors []*Flavor `protobuf:"bytes,1,rep,name=flavors" json:"flavors,omitempty"`
}

func (m *FlavorList) Reset()                    { *m = FlavorList{} }
func (m *FlavorList) String() string            { return proto.CompactTextString(m) }
func (*FlavorList) ProtoMessage()               {}
func (*FlavorList) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }

func (m *FlavorList) GetFlavors() []*Flavor {
	if m != nil {
		return m.Flavors
	}
	return nil
}

func init() {
	proto.RegisterType((*Flavor)(nil), "oaktree.Flavor")
	proto.RegisterType((*FlavorList)(nil), "oaktree.FlavorList")
}

func init() { proto.RegisterFile("flavor.proto", fileDescriptor0) }

var fileDescriptor0 = []byte{
	// 334 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x51, 0x4d, 0x4f, 0xc2, 0x30,
	0x18, 0x0e, 0x1b, 0x1f, 0xdb, 0x0b, 0x8a, 0xbe, 0xf1, 0xd0, 0xa0, 0x09, 0x84, 0x93, 0x1e, 0xdc,
	0x41, 0x0f, 0x1a, 0x13, 0xe3, 0x49, 0x4e, 0x1c, 0x48, 0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