commonpb

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Location_name = map[int32]string{
		0: "UNKNOWN_LOCATION",
		1: "US_EAST_1",
		2: "US_EAST_2",
		3: "US_WEST_1",
		4: "US_WEST_2",
		5: "EU_WEST_1",
		6: "EU_WEST_2",
		7: "EU_WEST_3",
		8: "EU_NORTH_1",
	}
	Location_value = map[string]int32{
		"UNKNOWN_LOCATION": 0,
		"US_EAST_1":        1,
		"US_EAST_2":        2,
		"US_WEST_1":        3,
		"US_WEST_2":        4,
		"EU_WEST_1":        5,
		"EU_WEST_2":        6,
		"EU_WEST_3":        7,
		"EU_NORTH_1":       8,
	}
)

Enum value maps for Location.

View Source
var (
	CloudProvider_name = map[int32]string{
		0: "UNKNOWN_PROVIDER",
		1: "AWS",
		2: "AZURE",
	}
	CloudProvider_value = map[string]int32{
		"UNKNOWN_PROVIDER": 0,
		"AWS":              1,
		"AZURE":            2,
	}
)

Enum value maps for CloudProvider.

View Source
var (
	OperatingSystem_Enum_name = map[int32]string{
		0: "UNKNOWN_OS",
		1: "LINUX",
	}
	OperatingSystem_Enum_value = map[string]int32{
		"UNKNOWN_OS": 0,
		"LINUX":      1,
	}
)

Enum value maps for OperatingSystem_Enum.

View Source
var (
	DatabaseSize_Enum_name = map[int32]string{
		0: "UNKNOWN_VM_SIZE",
		1: "NANO",
		2: "MICRO",
		3: "MEDIUM",
	}
	DatabaseSize_Enum_value = map[string]int32{
		"UNKNOWN_VM_SIZE": 0,
		"NANO":            1,
		"MICRO":           2,
		"MEDIUM":          3,
	}
)

Enum value maps for DatabaseSize_Enum.

View Source
var (
	VmSize_Enum_name = map[int32]string{
		0: "UNKNOWN_VM_SIZE",
		1: "MICRO",
		2: "MEDIUM",
		3: "LARGE",
	}
	VmSize_Enum_value = map[string]int32{
		"UNKNOWN_VM_SIZE": 0,
		"MICRO":           1,
		"MEDIUM":          2,
		"LARGE":           3,
	}
)

Enum value maps for VmSize_Enum.

View Source
var File_api_proto_commonpb_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChildResourceCommonArgs

type ChildResourceCommonArgs struct {
	// contains filtered or unexported fields
}

func (*ChildResourceCommonArgs) Descriptor deprecated

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

Deprecated: Use ChildResourceCommonArgs.ProtoReflect.Descriptor instead.

func (*ChildResourceCommonArgs) ProtoMessage

func (*ChildResourceCommonArgs) ProtoMessage()

func (*ChildResourceCommonArgs) ProtoReflect

func (x *ChildResourceCommonArgs) ProtoReflect() protoreflect.Message

func (*ChildResourceCommonArgs) Reset

func (x *ChildResourceCommonArgs) Reset()

func (*ChildResourceCommonArgs) String

func (x *ChildResourceCommonArgs) String() string

type CloudProvider

type CloudProvider int32
const (
	CloudProvider_UNKNOWN_PROVIDER CloudProvider = 0
	CloudProvider_AWS              CloudProvider = 1
	CloudProvider_AZURE            CloudProvider = 2
)

func (CloudProvider) Descriptor

func (CloudProvider) Enum

func (x CloudProvider) Enum() *CloudProvider

func (CloudProvider) EnumDescriptor deprecated

func (CloudProvider) EnumDescriptor() ([]byte, []int)

Deprecated: Use CloudProvider.Descriptor instead.

func (CloudProvider) Number

func (CloudProvider) String

func (x CloudProvider) String() string

func (CloudProvider) Type

type CommonChildResourceParameters

type CommonChildResourceParameters struct {
	ResourceId  string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	NeedsUpdate bool   `protobuf:"varint,2,opt,name=needs_update,json=needsUpdate,proto3" json:"needs_update,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonChildResourceParameters) Descriptor deprecated

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

Deprecated: Use CommonChildResourceParameters.ProtoReflect.Descriptor instead.

func (*CommonChildResourceParameters) GetNeedsUpdate

func (x *CommonChildResourceParameters) GetNeedsUpdate() bool

func (*CommonChildResourceParameters) GetResourceId

func (x *CommonChildResourceParameters) GetResourceId() string

func (*CommonChildResourceParameters) ProtoMessage

func (*CommonChildResourceParameters) ProtoMessage()

func (*CommonChildResourceParameters) ProtoReflect

func (*CommonChildResourceParameters) Reset

func (x *CommonChildResourceParameters) Reset()

func (*CommonChildResourceParameters) String

type CommonResourceParameters

type CommonResourceParameters struct {
	ResourceId      string        `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	ResourceGroupId string        `protobuf:"bytes,2,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
	Location        Location      `protobuf:"varint,3,opt,name=location,proto3,enum=dev.multy.common.Location" json:"location,omitempty"`
	CloudProvider   CloudProvider `` /* 137-byte string literal not displayed */
	NeedsUpdate     bool          `protobuf:"varint,5,opt,name=needs_update,json=needsUpdate,proto3" json:"needs_update,omitempty"`
	// contains filtered or unexported fields
}

Common messages for READ requests

func (*CommonResourceParameters) Descriptor deprecated

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

Deprecated: Use CommonResourceParameters.ProtoReflect.Descriptor instead.

func (*CommonResourceParameters) GetCloudProvider

func (x *CommonResourceParameters) GetCloudProvider() CloudProvider

func (*CommonResourceParameters) GetLocation

func (x *CommonResourceParameters) GetLocation() Location

func (*CommonResourceParameters) GetNeedsUpdate

func (x *CommonResourceParameters) GetNeedsUpdate() bool

func (*CommonResourceParameters) GetResourceGroupId

func (x *CommonResourceParameters) GetResourceGroupId() string

func (*CommonResourceParameters) GetResourceId

func (x *CommonResourceParameters) GetResourceId() string

func (*CommonResourceParameters) ProtoMessage

func (*CommonResourceParameters) ProtoMessage()

func (*CommonResourceParameters) ProtoReflect

func (x *CommonResourceParameters) ProtoReflect() protoreflect.Message

func (*CommonResourceParameters) Reset

func (x *CommonResourceParameters) Reset()

func (*CommonResourceParameters) String

func (x *CommonResourceParameters) String() string

type DatabaseSize

type DatabaseSize struct {
	// contains filtered or unexported fields
}

func (*DatabaseSize) Descriptor deprecated

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

Deprecated: Use DatabaseSize.ProtoReflect.Descriptor instead.

func (*DatabaseSize) ProtoMessage

func (*DatabaseSize) ProtoMessage()

func (*DatabaseSize) ProtoReflect

func (x *DatabaseSize) ProtoReflect() protoreflect.Message

func (*DatabaseSize) Reset

func (x *DatabaseSize) Reset()

func (*DatabaseSize) String

func (x *DatabaseSize) String() string

type DatabaseSize_Enum

type DatabaseSize_Enum int32
const (
	DatabaseSize_UNKNOWN_VM_SIZE DatabaseSize_Enum = 0
	DatabaseSize_NANO            DatabaseSize_Enum = 1
	DatabaseSize_MICRO           DatabaseSize_Enum = 2
	DatabaseSize_MEDIUM          DatabaseSize_Enum = 3
)

func (DatabaseSize_Enum) Descriptor

func (DatabaseSize_Enum) Enum

func (DatabaseSize_Enum) EnumDescriptor deprecated

func (DatabaseSize_Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatabaseSize_Enum.Descriptor instead.

func (DatabaseSize_Enum) Number

func (DatabaseSize_Enum) String

func (x DatabaseSize_Enum) String() string

func (DatabaseSize_Enum) Type

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

Common messages for DELETE requests

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type ListResourcesResponse added in v0.1.30

type ListResourcesResponse struct {
	Resources []*ListResourcesResponse_ResourceMetadata `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse) Descriptor deprecated added in v0.1.30

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

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetResources added in v0.1.30

func (*ListResourcesResponse) ProtoMessage added in v0.1.30

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect added in v0.1.30

func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message

func (*ListResourcesResponse) Reset added in v0.1.30

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) String added in v0.1.30

func (x *ListResourcesResponse) String() string

type ListResourcesResponse_ResourceMetadata added in v0.1.30

type ListResourcesResponse_ResourceMetadata struct {
	ResourceId   string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse_ResourceMetadata) Descriptor deprecated added in v0.1.30

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

Deprecated: Use ListResourcesResponse_ResourceMetadata.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse_ResourceMetadata) GetResourceId added in v0.1.30

func (*ListResourcesResponse_ResourceMetadata) GetResourceType added in v0.1.30

func (x *ListResourcesResponse_ResourceMetadata) GetResourceType() string

func (*ListResourcesResponse_ResourceMetadata) ProtoMessage added in v0.1.30

func (*ListResourcesResponse_ResourceMetadata) ProtoReflect added in v0.1.30

func (*ListResourcesResponse_ResourceMetadata) Reset added in v0.1.30

func (*ListResourcesResponse_ResourceMetadata) String added in v0.1.30

type Location

type Location int32
const (
	Location_UNKNOWN_LOCATION Location = 0
	// N. Virginia
	Location_US_EAST_1 Location = 1
	// Ohio / Virginia
	Location_US_EAST_2 Location = 2
	// N. California / Washington
	Location_US_WEST_1 Location = 3
	// Oregon / Phoenix
	Location_US_WEST_2 Location = 4
	// Ireland
	Location_EU_WEST_1 Location = 5
	// England
	Location_EU_WEST_2 Location = 6
	// France
	Location_EU_WEST_3 Location = 7
	// Sweden
	Location_EU_NORTH_1 Location = 8
)

func (Location) Descriptor

func (Location) Descriptor() protoreflect.EnumDescriptor

func (Location) Enum

func (x Location) Enum() *Location

func (Location) EnumDescriptor deprecated

func (Location) EnumDescriptor() ([]byte, []int)

Deprecated: Use Location.Descriptor instead.

func (Location) Number

func (x Location) Number() protoreflect.EnumNumber

func (Location) String

func (x Location) String() string

func (Location) Type

type OperatingSystem

type OperatingSystem struct {
	// contains filtered or unexported fields
}

func (*OperatingSystem) Descriptor deprecated

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

Deprecated: Use OperatingSystem.ProtoReflect.Descriptor instead.

func (*OperatingSystem) ProtoMessage

func (*OperatingSystem) ProtoMessage()

func (*OperatingSystem) ProtoReflect

func (x *OperatingSystem) ProtoReflect() protoreflect.Message

func (*OperatingSystem) Reset

func (x *OperatingSystem) Reset()

func (*OperatingSystem) String

func (x *OperatingSystem) String() string

type OperatingSystem_Enum

type OperatingSystem_Enum int32
const (
	OperatingSystem_UNKNOWN_OS OperatingSystem_Enum = 0
	OperatingSystem_LINUX      OperatingSystem_Enum = 1
)

func (OperatingSystem_Enum) Descriptor

func (OperatingSystem_Enum) Enum

func (OperatingSystem_Enum) EnumDescriptor deprecated

func (OperatingSystem_Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperatingSystem_Enum.Descriptor instead.

func (OperatingSystem_Enum) Number

func (OperatingSystem_Enum) String

func (x OperatingSystem_Enum) String() string

func (OperatingSystem_Enum) Type

type ResourceCommonArgs

type ResourceCommonArgs struct {
	ResourceGroupId string        `protobuf:"bytes,1,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
	Location        Location      `protobuf:"varint,2,opt,name=location,proto3,enum=dev.multy.common.Location" json:"location,omitempty"`
	CloudProvider   CloudProvider `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Common messages for CREATE and UPDATE requests

func (*ResourceCommonArgs) Descriptor deprecated

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

Deprecated: Use ResourceCommonArgs.ProtoReflect.Descriptor instead.

func (*ResourceCommonArgs) GetCloudProvider

func (x *ResourceCommonArgs) GetCloudProvider() CloudProvider

func (*ResourceCommonArgs) GetLocation

func (x *ResourceCommonArgs) GetLocation() Location

func (*ResourceCommonArgs) GetResourceGroupId

func (x *ResourceCommonArgs) GetResourceGroupId() string

func (*ResourceCommonArgs) ProtoMessage

func (*ResourceCommonArgs) ProtoMessage()

func (*ResourceCommonArgs) ProtoReflect

func (x *ResourceCommonArgs) ProtoReflect() protoreflect.Message

func (*ResourceCommonArgs) Reset

func (x *ResourceCommonArgs) Reset()

func (*ResourceCommonArgs) String

func (x *ResourceCommonArgs) String() string

type VmSize

type VmSize struct {
	// contains filtered or unexported fields
}

func (*VmSize) Descriptor deprecated

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

Deprecated: Use VmSize.ProtoReflect.Descriptor instead.

func (*VmSize) ProtoMessage

func (*VmSize) ProtoMessage()

func (*VmSize) ProtoReflect

func (x *VmSize) ProtoReflect() protoreflect.Message

func (*VmSize) Reset

func (x *VmSize) Reset()

func (*VmSize) String

func (x *VmSize) String() string

type VmSize_Enum

type VmSize_Enum int32
const (
	VmSize_UNKNOWN_VM_SIZE VmSize_Enum = 0
	VmSize_MICRO           VmSize_Enum = 1
	VmSize_MEDIUM          VmSize_Enum = 2
	VmSize_LARGE           VmSize_Enum = 3
)

func (VmSize_Enum) Descriptor

func (VmSize_Enum) Enum

func (x VmSize_Enum) Enum() *VmSize_Enum

func (VmSize_Enum) EnumDescriptor deprecated

func (VmSize_Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use VmSize_Enum.Descriptor instead.

func (VmSize_Enum) Number

func (x VmSize_Enum) Number() protoreflect.EnumNumber

func (VmSize_Enum) String

func (x VmSize_Enum) String() string

func (VmSize_Enum) Type

Jump to

Keyboard shortcuts

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