// Code generated by protoc-gen-go. // source: image.proto // DO NOT EDIT! /* Package oaktree is a generated protocol buffer package. It is generated from these files: image.proto It has these top-level messages: DiskFormat ContainerFormat Image ImageList */ 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 DiskFormat_DiskFormatChoice int32 const ( DiskFormat_qcow2 DiskFormat_DiskFormatChoice = 0 DiskFormat_raw DiskFormat_DiskFormatChoice = 1 DiskFormat_vhd DiskFormat_DiskFormatChoice = 2 DiskFormat_iso DiskFormat_DiskFormatChoice = 3 DiskFormat_vmdk DiskFormat_DiskFormatChoice = 4 DiskFormat_vdi DiskFormat_DiskFormatChoice = 5 DiskFormat_ami DiskFormat_DiskFormatChoice = 6 DiskFormat_ari DiskFormat_DiskFormatChoice = 7 DiskFormat_aki DiskFormat_DiskFormatChoice = 8 ) var DiskFormat_DiskFormatChoice_name = map[int32]string{ 0: "qcow2", 1: "raw", 2: "vhd", 3: "iso", 4: "vmdk", 5: "vdi", 6: "ami", 7: "ari", 8: "aki", } var DiskFormat_DiskFormatChoice_value = map[string]int32{ "qcow2": 0, "raw": 1, "vhd": 2, "iso": 3, "vmdk": 4, "vdi": 5, "ami": 6, "ari": 7, "aki": 8, } func (x DiskFormat_DiskFormatChoice) String() string { return proto.EnumName(DiskFormat_DiskFormatChoice_name, int32(x)) } func (DiskFormat_DiskFormatChoice) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} } type ContainerFormat_ContainerFormatChoice int32 const ( ContainerFormat_bare ContainerFormat_ContainerFormatChoice = 0 ContainerFormat_docker ContainerFormat_ContainerFormatChoice = 1 ContainerFormat_ovf ContainerFormat_ContainerFormatChoice = 2 ContainerFormat_ova ContainerFormat_ContainerFormatChoice = 3 ContainerFormat_ami ContainerFormat_ContainerFormatChoice = 4 ContainerFormat_ari ContainerFormat_ContainerFormatChoice = 5 ContainerFormat_aki ContainerFormat_ContainerFormatChoice = 6 ) var ContainerFormat_ContainerFormatChoice_name = map[int32]string{ 0: "bare", 1: "docker", 2: "ovf", 3: "ova", 4: "ami", 5: "ari", 6: "aki", } var ContainerFormat_ContainerFormatChoice_value = map[string]int32{ "bare": 0, "docker": 1, "ovf": 2, "ova": 3, "ami": 4, "ari": 5, "aki": 6, } func (x ContainerFormat_ContainerFormatChoice) String() string { return proto.EnumName(ContainerFormat_ContainerFormatChoice_name, int32(x)) } func (ContainerFormat_ContainerFormatChoice) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} } type Image_Status int32 const ( Image_active Image_Status = 0 Image_queued Image_Status = 1 Image_saving Image_Status = 2 Image_deleted Image_Status = 3 Image_killed Image_Status = 4 Image_pending_delete Image_Status = 5 Image_deactivated Image_Status = 6 ) var Image_Status_name = map[int32]string{ 0: "active", 1: "queued", 2: "saving", 3: "deleted", 4: "killed", 5: "pending_delete", 6: "deactivated", } var Image_Status_value = map[string]int32{ "active": 0, "queued": 1, "saving": 2, "deleted": 3, "killed": 4, "pending_delete": 5, "deactivated": 6, } func (x Image_Status) String() string { return proto.EnumName(Image_Status_name, int32(x)) } func (Image_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} } type DiskFormat struct { } func (m *DiskFormat) Reset() { *m = DiskFormat{} } func (m *DiskFormat) String() string { return proto.CompactTextString(m) } func (*DiskFormat) ProtoMessage() {} func (*DiskFormat) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } type ContainerFormat struct { } func (m *ContainerFormat) Reset() { *m = ContainerFormat{} } func (m *ContainerFormat) String() string { return proto.CompactTextString(m) } func (*ContainerFormat) ProtoMessage() {} func (*ContainerFormat) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } type Image 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"` MinRam uint32 `protobuf:"varint,4,opt,name=min_ram,json=minRam" json:"min_ram,omitempty"` MinDisk uint64 `protobuf:"varint,5,opt,name=min_disk,json=minDisk" json:"min_disk,omitempty"` Size uint64 `protobuf:"varint,6,opt,name=size" json:"size,omitempty"` VirtualSize uint64 `protobuf:"varint,7,opt,name=virtual_size,json=virtualSize" json:"virtual_size,omitempty"` ContainerFormat ContainerFormat_ContainerFormatChoice `protobuf:"varint,8,opt,name=container_format,json=containerFormat,enum=oaktree.ContainerFormat_ContainerFormatChoice" json:"container_format,omitempty"` DiskFormat DiskFormat_DiskFormatChoice `protobuf:"varint,9,opt,name=disk_format,json=diskFormat,enum=oaktree.DiskFormat_DiskFormatChoice" json:"disk_format,omitempty"` Checksum string `protobuf:"bytes,10,opt,name=checksum" json:"checksum,omitempty"` CreatedAt string `protobuf:"bytes,11,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"` Owner string `protobuf:"bytes,13,opt,name=owner" json:"owner,omitempty"` IsPublic bool `protobuf:"varint,14,opt,name=is_public,json=isPublic" json:"is_public,omitempty"` IsProtected bool `protobuf:"varint,15,opt,name=is_protected,json=isProtected" json:"is_protected,omitempty"` Status Image_Status `protobuf:"varint,16,opt,name=status,enum=oaktree.Image_Status" json:"status,omitempty"` Locations []string `protobuf:"bytes,17,rep,name=locations" json:"locations,omitempty"` DirectUrl string `protobuf:"bytes,18,opt,name=direct_url,json=directUrl" json:"direct_url,omitempty"` Tags []string `protobuf:"bytes,19,rep,name=tags" json:"tags,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 *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } func (m *Image) GetLocation() *oaktree1.Location { if m != nil { return m.Location } return nil } func (m *Image) GetProperties() map[string]string { if m != nil { return m.Properties } return nil } type ImageList struct { Images []*Image `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"` } func (m *ImageList) Reset() { *m = ImageList{} } func (m *ImageList) String() string { return proto.CompactTextString(m) } func (*ImageList) ProtoMessage() {} func (*ImageList) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } func (m *ImageList) GetImages() []*Image { if m != nil { return m.Images } return nil } func init() { proto.RegisterType((*DiskFormat)(nil), "oaktree.DiskFormat") proto.RegisterType((*ContainerFormat)(nil), "oaktree.ContainerFormat") proto.RegisterType((*Image)(nil), "oaktree.Image") proto.RegisterType((*ImageList)(nil), "oaktree.ImageList") proto.RegisterEnum("oaktree.DiskFormat_DiskFormatChoice", DiskFormat_DiskFormatChoice_name, DiskFormat_DiskFormatChoice_value) proto.RegisterEnum("oaktree.ContainerFormat_ContainerFormatChoice", ContainerFormat_ContainerFormatChoice_name, ContainerFormat_ContainerFormatChoice_value) proto.RegisterEnum("oaktree.Image_Status", Image_Status_name, Image_Status_value) } func init() { proto.RegisterFile("image.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ // 676 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x54, 0x4b, 0x6f, 0xd3, 0x4c, 0x14, 0xfd, 0xf2, 0x72, 0xec, 0xeb, 0x36, 0x71, 0xe7, 0xa3, 0x62, 0x28, 0x0f, 0x95, 0x08, 0x21, 0x36, 0x64, 0x91, 0x6e, 0x10, 0x12, 0x48, 0xa8, 0x14, 0x09, 0xa9, 0x8b, 0xca, 0x15, 0x0b, 0xd8, 0x44, 0x53,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