connectivityrule

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 9 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 ConnectivityRule

type ConnectivityRule struct {
	// The unique ID of the connectivity rule.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The connectivity rule specification.
	Spec *ConnectivityRuleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current version of the connectivity rule specification.
	// The next update operation will have to include this version.
	ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The current state of the connectivity rule.
	State v1.ResourceState `protobuf:"varint,5,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The ID of the async operation that is creating/updating/deleting the connectivity rule, if any.
	AsyncOperationId string `protobuf:"bytes,6,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The date and time when the connectivity rule was created
	CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The ID of the project this connectivity rule belongs to.
	// temporal:dev
	ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

func (*ConnectivityRule) Descriptor

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

func (*ConnectivityRule) Equal

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

func (*ConnectivityRule) GetAsyncOperationId

func (m *ConnectivityRule) GetAsyncOperationId() string

func (*ConnectivityRule) GetCreatedTime

func (m *ConnectivityRule) GetCreatedTime() *types.Timestamp

func (*ConnectivityRule) GetId

func (m *ConnectivityRule) GetId() string

func (*ConnectivityRule) GetProjectId added in v0.55.0

func (m *ConnectivityRule) GetProjectId() string

func (*ConnectivityRule) GetResourceVersion

func (m *ConnectivityRule) GetResourceVersion() string

func (*ConnectivityRule) GetSpec

func (m *ConnectivityRule) GetSpec() *ConnectivityRuleSpec

func (*ConnectivityRule) GetState

func (m *ConnectivityRule) GetState() v1.ResourceState

func (*ConnectivityRule) GoString

func (this *ConnectivityRule) GoString() string

func (*ConnectivityRule) Marshal

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

func (*ConnectivityRule) MarshalTo

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

func (*ConnectivityRule) MarshalToSizedBuffer

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

func (*ConnectivityRule) ProtoMessage

func (*ConnectivityRule) ProtoMessage()

func (*ConnectivityRule) Reset

func (m *ConnectivityRule) Reset()

func (*ConnectivityRule) Size

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

func (*ConnectivityRule) String

func (this *ConnectivityRule) String() string

func (*ConnectivityRule) Unmarshal

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

func (*ConnectivityRule) XXX_DiscardUnknown

func (m *ConnectivityRule) XXX_DiscardUnknown()

func (*ConnectivityRule) XXX_Marshal

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

func (*ConnectivityRule) XXX_Merge

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

func (*ConnectivityRule) XXX_Size

func (m *ConnectivityRule) XXX_Size() int

func (*ConnectivityRule) XXX_Unmarshal

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

type ConnectivityRuleSpec

type ConnectivityRuleSpec struct {
	// Types that are valid to be assigned to ConnectionType:
	//
	//	*ConnectivityRuleSpec_PublicRule
	//	*ConnectivityRuleSpec_PrivateRule
	ConnectionType isConnectivityRuleSpec_ConnectionType `protobuf_oneof:"connection_type"`
}

spec that passed in when create/update the connectivity rule

func (*ConnectivityRuleSpec) Descriptor

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

func (*ConnectivityRuleSpec) Equal

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

func (*ConnectivityRuleSpec) GetConnectionType

func (m *ConnectivityRuleSpec) GetConnectionType() isConnectivityRuleSpec_ConnectionType

func (*ConnectivityRuleSpec) GetPrivateRule

func (m *ConnectivityRuleSpec) GetPrivateRule() *PrivateConnectivityRule

func (*ConnectivityRuleSpec) GetPublicRule

func (m *ConnectivityRuleSpec) GetPublicRule() *PublicConnectivityRule

func (*ConnectivityRuleSpec) GoString

func (this *ConnectivityRuleSpec) GoString() string

func (*ConnectivityRuleSpec) Marshal

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

func (*ConnectivityRuleSpec) MarshalTo

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

func (*ConnectivityRuleSpec) MarshalToSizedBuffer

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

func (*ConnectivityRuleSpec) ProtoMessage

func (*ConnectivityRuleSpec) ProtoMessage()

func (*ConnectivityRuleSpec) Reset

func (m *ConnectivityRuleSpec) Reset()

func (*ConnectivityRuleSpec) Size

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

func (*ConnectivityRuleSpec) String

func (this *ConnectivityRuleSpec) String() string

func (*ConnectivityRuleSpec) Unmarshal

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

func (*ConnectivityRuleSpec) XXX_DiscardUnknown

func (m *ConnectivityRuleSpec) XXX_DiscardUnknown()

func (*ConnectivityRuleSpec) XXX_Marshal

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

func (*ConnectivityRuleSpec) XXX_Merge

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

func (*ConnectivityRuleSpec) XXX_OneofWrappers

func (*ConnectivityRuleSpec) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ConnectivityRuleSpec) XXX_Size

func (m *ConnectivityRuleSpec) XXX_Size() int

func (*ConnectivityRuleSpec) XXX_Unmarshal

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

type ConnectivityRuleSpec_PrivateRule

type ConnectivityRuleSpec_PrivateRule struct {
	PrivateRule *PrivateConnectivityRule `protobuf:"bytes,2,opt,name=private_rule,json=privateRule,proto3,oneof" json:"private_rule,omitempty"`
}

func (*ConnectivityRuleSpec_PrivateRule) Equal

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

func (*ConnectivityRuleSpec_PrivateRule) GoString

func (this *ConnectivityRuleSpec_PrivateRule) GoString() string

func (*ConnectivityRuleSpec_PrivateRule) MarshalTo

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

func (*ConnectivityRuleSpec_PrivateRule) MarshalToSizedBuffer

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

func (*ConnectivityRuleSpec_PrivateRule) Size

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

func (*ConnectivityRuleSpec_PrivateRule) String

type ConnectivityRuleSpec_PublicRule

type ConnectivityRuleSpec_PublicRule struct {
	PublicRule *PublicConnectivityRule `protobuf:"bytes,1,opt,name=public_rule,json=publicRule,proto3,oneof" json:"public_rule,omitempty"`
}

func (*ConnectivityRuleSpec_PublicRule) Equal

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

func (*ConnectivityRuleSpec_PublicRule) GoString

func (this *ConnectivityRuleSpec_PublicRule) GoString() string

func (*ConnectivityRuleSpec_PublicRule) MarshalTo

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

func (*ConnectivityRuleSpec_PublicRule) MarshalToSizedBuffer

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

func (*ConnectivityRuleSpec_PublicRule) Size

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

func (*ConnectivityRuleSpec_PublicRule) String

func (this *ConnectivityRuleSpec_PublicRule) String() string

type PrivateConnectivityRule

type PrivateConnectivityRule struct {
	// connection id provided by user so we enforce the private connectivity.  This is required both by AWS and GCP
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// for gcp private connectivity service, gcp needs both gcp project id and the Private Service Connect Connection IDs
	// AWS only needs the connection_id
	GcpProjectId string `protobuf:"bytes,2,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`
	// connectivity region, Example: "aws-us-west-2"
	Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
}

func (*PrivateConnectivityRule) Descriptor

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

func (*PrivateConnectivityRule) Equal

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

func (*PrivateConnectivityRule) GetConnectionId

func (m *PrivateConnectivityRule) GetConnectionId() string

func (*PrivateConnectivityRule) GetGcpProjectId

func (m *PrivateConnectivityRule) GetGcpProjectId() string

func (*PrivateConnectivityRule) GetRegion

func (m *PrivateConnectivityRule) GetRegion() string

func (*PrivateConnectivityRule) GoString

func (this *PrivateConnectivityRule) GoString() string

func (*PrivateConnectivityRule) Marshal

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

func (*PrivateConnectivityRule) MarshalTo

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

func (*PrivateConnectivityRule) MarshalToSizedBuffer

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

func (*PrivateConnectivityRule) ProtoMessage

func (*PrivateConnectivityRule) ProtoMessage()

func (*PrivateConnectivityRule) Reset

func (m *PrivateConnectivityRule) Reset()

func (*PrivateConnectivityRule) Size

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

func (*PrivateConnectivityRule) String

func (this *PrivateConnectivityRule) String() string

func (*PrivateConnectivityRule) Unmarshal

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

func (*PrivateConnectivityRule) XXX_DiscardUnknown

func (m *PrivateConnectivityRule) XXX_DiscardUnknown()

func (*PrivateConnectivityRule) XXX_Marshal

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

func (*PrivateConnectivityRule) XXX_Merge

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

func (*PrivateConnectivityRule) XXX_Size

func (m *PrivateConnectivityRule) XXX_Size() int

func (*PrivateConnectivityRule) XXX_Unmarshal

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

type PublicConnectivityRule

type PublicConnectivityRule struct {
}

func (*PublicConnectivityRule) Descriptor

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

func (*PublicConnectivityRule) Equal

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

func (*PublicConnectivityRule) GoString

func (this *PublicConnectivityRule) GoString() string

func (*PublicConnectivityRule) Marshal

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

func (*PublicConnectivityRule) MarshalTo

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

func (*PublicConnectivityRule) MarshalToSizedBuffer

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

func (*PublicConnectivityRule) ProtoMessage

func (*PublicConnectivityRule) ProtoMessage()

func (*PublicConnectivityRule) Reset

func (m *PublicConnectivityRule) Reset()

func (*PublicConnectivityRule) Size

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

func (*PublicConnectivityRule) String

func (this *PublicConnectivityRule) String() string

func (*PublicConnectivityRule) Unmarshal

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

func (*PublicConnectivityRule) XXX_DiscardUnknown

func (m *PublicConnectivityRule) XXX_DiscardUnknown()

func (*PublicConnectivityRule) XXX_Marshal

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

func (*PublicConnectivityRule) XXX_Merge

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

func (*PublicConnectivityRule) XXX_Size

func (m *PublicConnectivityRule) XXX_Size() int

func (*PublicConnectivityRule) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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