common

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Region

type Region struct {
	// E.g., aws, gcp, azure.
	CloudProvider string `protobuf:"bytes,1,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
	// Cloud-specific region name. E.g., us-west-2 for AWS and europe-west1 for GCP.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The flag indicates if the region supports global namespace.
	SupportGlobalNamespace bool `` // Deprecated: Do not use.
	/* 130-byte string literal not displayed */
	// The allow list of connection between the current region with a target region.
	ConnectableRegions []*RegionID `protobuf:"bytes,4,rep,name=connectable_regions,json=connectableRegions,proto3" json:"connectable_regions,omitempty"`
}

(-- api-linter: core::0123::resource-annotation=disabled --)

func (*Region) Descriptor

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

func (*Region) Equal

func (this *Region) Equal(that interface{}) bool

func (*Region) GetCloudProvider

func (m *Region) GetCloudProvider() string

func (*Region) GetConnectableRegions

func (m *Region) GetConnectableRegions() []*RegionID

func (*Region) GetName

func (m *Region) GetName() string

func (*Region) GetSupportGlobalNamespace deprecated

func (m *Region) GetSupportGlobalNamespace() bool

Deprecated: Do not use.

func (*Region) GoString

func (this *Region) GoString() string

func (*Region) Marshal

func (m *Region) Marshal() (dAtA []byte, err error)

func (*Region) MarshalTo

func (m *Region) MarshalTo(dAtA []byte) (int, error)

func (*Region) MarshalToSizedBuffer

func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) Reset

func (m *Region) Reset()

func (*Region) Size

func (m *Region) Size() (n int)

func (*Region) String

func (this *Region) String() string

func (*Region) Unmarshal

func (m *Region) Unmarshal(dAtA []byte) error

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 RegionID

type RegionID struct {
	// E.g., aws, gcp, azure.
	CloudProvider string `protobuf:"bytes,1,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
	// Cloud-specific region name. E.g., us-west-2 for AWS and europe-west1 for GCP.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func (*RegionID) Descriptor

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

func (*RegionID) Equal

func (this *RegionID) Equal(that interface{}) bool

func (*RegionID) GetCloudProvider

func (m *RegionID) GetCloudProvider() string

func (*RegionID) GetName

func (m *RegionID) GetName() string

func (*RegionID) GoString

func (this *RegionID) GoString() string

func (*RegionID) Marshal

func (m *RegionID) Marshal() (dAtA []byte, err error)

func (*RegionID) MarshalTo

func (m *RegionID) MarshalTo(dAtA []byte) (int, error)

func (*RegionID) MarshalToSizedBuffer

func (m *RegionID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegionID) ProtoMessage

func (*RegionID) ProtoMessage()

func (*RegionID) Reset

func (m *RegionID) Reset()

func (*RegionID) Size

func (m *RegionID) Size() (n int)

func (*RegionID) String

func (this *RegionID) String() string

func (*RegionID) Unmarshal

func (m *RegionID) Unmarshal(dAtA []byte) error

func (*RegionID) XXX_DiscardUnknown

func (m *RegionID) XXX_DiscardUnknown()

func (*RegionID) XXX_Marshal

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

func (*RegionID) XXX_Merge

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

func (*RegionID) XXX_Size

func (m *RegionID) XXX_Size() int

func (*RegionID) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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