common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IpAddrFamily_name = map[int32]string{
		0: "IPV_UNDEF",
		1: "IPV4",
		2: "IPV6",
	}
	IpAddrFamily_value = map[string]int32{
		"IPV_UNDEF": 0,
		"IPV4":      1,
		"IPV6":      2,
	}
)

Enum value maps for IpAddrFamily.

View Source
var (
	Transport_Protocol_name = map[int32]string{
		0: "PROTOCOL_UNDEF",
		1: "TCP",
		2: "UDP",
		3: "ICMP",
	}
	Transport_Protocol_value = map[string]int32{
		"PROTOCOL_UNDEF": 0,
		"TCP":            1,
		"UDP":            2,
		"ICMP":           3,
	}
)

Enum value maps for Transport_Protocol.

View Source
var (
	Session_Traffic_name = map[int32]string{
		0: "TRAFFIC_UNDEF",
		1: "BOTH",
		2: "INGRESS",
		3: "EGRESS",
	}
	Session_Traffic_value = map[string]int32{
		"TRAFFIC_UNDEF": 0,
		"BOTH":          1,
		"INGRESS":       2,
		"EGRESS":        3,
	}
)

Enum value maps for Session_Traffic.

View Source
var (
	Action_name = map[int32]string{
		0: "UNKNOWN",
		1: "ALLOW",
		2: "DENY",
	}
	Action_value = map[string]int32{
		"UNKNOWN": 0,
		"ALLOW":   1,
		"DENY":    2,
	}
)

Enum value maps for Action.

View Source
var (
	WatchEventType_name = map[int32]string{
		0: "EVENT_UNKNOWN",
		1: "ADDED",
		2: "MODIFIED",
		3: "DELETED",
	}
	WatchEventType_value = map[string]int32{
		"EVENT_UNKNOWN": 0,
		"ADDED":         1,
		"MODIFIED":      2,
		"DELETED":       3,
	}
)

Enum value maps for WatchEventType.

View Source
var (
	Endpoints_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "ADDRESS_GROUP",
		2: "SERVICE",
		3: "FQDN",
		4: "CIDR",
	}
	Endpoints_Type_value = map[string]int32{
		"UNKNOWN":       0,
		"ADDRESS_GROUP": 1,
		"SERVICE":       2,
		"FQDN":          3,
		"CIDR":          4,
	}
)

Enum value maps for Endpoints_Type.

View Source
var File_common_ip_transport_proto protoreflect.FileDescriptor
View Source
var File_common_resource_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Action

type Action int32

Action: enumeration of possible actions

const (
	// UNKNOWN: unknown action
	Action_UNKNOWN Action = 0
	// ALLOW: allow action
	Action_ALLOW Action = 1
	// DENY: deny action
	Action_DENY Action = 2
)

func (Action) Descriptor

func (Action) Descriptor() protoreflect.EnumDescriptor

func (Action) Enum

func (x Action) Enum() *Action

func (Action) EnumDescriptor deprecated

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

Deprecated: Use Action.Descriptor instead.

func (Action) Number

func (x Action) Number() protoreflect.EnumNumber

func (Action) String

func (x Action) String() string

func (Action) Type

func (Action) Type() protoreflect.EnumType

type Endpoints

type Endpoints struct {

	// Local: local endpoint
	Local *Endpoints_Local `protobuf:"bytes,1,opt,name=local,proto3" json:"local,omitempty"`
	// Remote: remote endpoint
	Remote *Endpoints_Remote `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"`
	// contains filtered or unexported fields
}

Endpoints: represents endpoints

func (*Endpoints) Descriptor deprecated

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

Deprecated: Use Endpoints.ProtoReflect.Descriptor instead.

func (*Endpoints) GetLocal

func (x *Endpoints) GetLocal() *Endpoints_Local

func (*Endpoints) GetRemote

func (x *Endpoints) GetRemote() *Endpoints_Remote

func (*Endpoints) ProtoMessage

func (*Endpoints) ProtoMessage()

func (*Endpoints) ProtoReflect

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

func (*Endpoints) Reset

func (x *Endpoints) Reset()

func (*Endpoints) String

func (x *Endpoints) String() string

type Endpoints_Local

type Endpoints_Local struct {

	// Name: endpoint name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace: endpoint namespace
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Type: endpoint type
	Type Endpoints_Type `protobuf:"varint,3,opt,name=type,proto3,enum=common.Endpoints_Type" json:"type,omitempty"`
	// Labels: resource labels
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Local: local endpoint

func (*Endpoints_Local) Descriptor deprecated

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

Deprecated: Use Endpoints_Local.ProtoReflect.Descriptor instead.

func (*Endpoints_Local) GetLabels

func (x *Endpoints_Local) GetLabels() map[string]string

func (*Endpoints_Local) GetName

func (x *Endpoints_Local) GetName() string

func (*Endpoints_Local) GetNamespace

func (x *Endpoints_Local) GetNamespace() string

func (*Endpoints_Local) GetType

func (x *Endpoints_Local) GetType() Endpoints_Type

func (*Endpoints_Local) ProtoMessage

func (*Endpoints_Local) ProtoMessage()

func (*Endpoints_Local) ProtoReflect

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

func (*Endpoints_Local) Reset

func (x *Endpoints_Local) Reset()

func (*Endpoints_Local) String

func (x *Endpoints_Local) String() string

type Endpoints_Remote

type Endpoints_Remote struct {

	// Name: endpoint name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace: endpoint namespace
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Type: endpoint type
	Type Endpoints_Type `protobuf:"varint,3,opt,name=type,proto3,enum=common.Endpoints_Type" json:"type,omitempty"`
	// Value: endpoint value
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// Labels: resource labels
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Remote: remote endpoint

func (*Endpoints_Remote) Descriptor deprecated

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

Deprecated: Use Endpoints_Remote.ProtoReflect.Descriptor instead.

func (*Endpoints_Remote) GetLabels

func (x *Endpoints_Remote) GetLabels() map[string]string

func (*Endpoints_Remote) GetName

func (x *Endpoints_Remote) GetName() string

func (*Endpoints_Remote) GetNamespace

func (x *Endpoints_Remote) GetNamespace() string

func (*Endpoints_Remote) GetType

func (x *Endpoints_Remote) GetType() Endpoints_Type

func (*Endpoints_Remote) GetValue

func (x *Endpoints_Remote) GetValue() string

func (*Endpoints_Remote) ProtoMessage

func (*Endpoints_Remote) ProtoMessage()

func (*Endpoints_Remote) ProtoReflect

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

func (*Endpoints_Remote) Reset

func (x *Endpoints_Remote) Reset()

func (*Endpoints_Remote) String

func (x *Endpoints_Remote) String() string

type Endpoints_Type

type Endpoints_Type int32

Type: endpoint type

const (
	// UNKNOWN: unknown type
	Endpoints_UNKNOWN Endpoints_Type = 0
	// ADDRESS_GROUP: address group type
	Endpoints_ADDRESS_GROUP Endpoints_Type = 1
	// SERVICE: service type
	Endpoints_SERVICE Endpoints_Type = 2
	// FQDN: FQDN type
	Endpoints_FQDN Endpoints_Type = 3
	// CIDR: CIDR type
	Endpoints_CIDR Endpoints_Type = 4
)

func (Endpoints_Type) Descriptor

func (Endpoints_Type) Enum

func (x Endpoints_Type) Enum() *Endpoints_Type

func (Endpoints_Type) EnumDescriptor deprecated

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

Deprecated: Use Endpoints_Type.Descriptor instead.

func (Endpoints_Type) Number

func (Endpoints_Type) String

func (x Endpoints_Type) String() string

func (Endpoints_Type) Type

type FieldSelector

type FieldSelector struct {

	// Name: resource name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace: resource namespace
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Refs: resource references
	Refs []*ResourceRef `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"`
	// contains filtered or unexported fields
}

FieldSelector: resource field selector

func (*FieldSelector) Descriptor deprecated

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

Deprecated: Use FieldSelector.ProtoReflect.Descriptor instead.

func (*FieldSelector) GetName

func (x *FieldSelector) GetName() string

func (*FieldSelector) GetNamespace

func (x *FieldSelector) GetNamespace() string

func (*FieldSelector) GetRefs

func (x *FieldSelector) GetRefs() []*ResourceRef

func (*FieldSelector) ProtoMessage

func (*FieldSelector) ProtoMessage()

func (*FieldSelector) ProtoReflect

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

func (*FieldSelector) Reset

func (x *FieldSelector) Reset()

func (*FieldSelector) String

func (x *FieldSelector) String() string

type IPs

type IPs struct {

	// Ipv4: list of IPv4 addresses
	Ipv4 []string `protobuf:"bytes,1,rep,name=ipv4,json=IPv4,proto3" json:"ipv4,omitempty"`
	// Ipv6: list of IPv6 addresses
	Ipv6 []string `protobuf:"bytes,2,rep,name=ipv6,json=IPv6,proto3" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

IPs: represents list of IP addresses

func (*IPs) Descriptor deprecated

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

Deprecated: Use IPs.ProtoReflect.Descriptor instead.

func (*IPs) GetIpv4

func (x *IPs) GetIpv4() []string

func (*IPs) GetIpv6

func (x *IPs) GetIpv6() []string

func (*IPs) ProtoMessage

func (*IPs) ProtoMessage()

func (*IPs) ProtoReflect

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

func (*IPs) Reset

func (x *IPs) Reset()

func (*IPs) String

func (x *IPs) String() string

type IpAddrFamily

type IpAddrFamily int32

IpAddrFamily: IP Address family

const (
	// undefined ip version
	IpAddrFamily_IPV_UNDEF IpAddrFamily = 0
	// IPv4
	IpAddrFamily_IPV4 IpAddrFamily = 1
	// IPv6
	IpAddrFamily_IPV6 IpAddrFamily = 2
)

func (IpAddrFamily) Descriptor

func (IpAddrFamily) Enum

func (x IpAddrFamily) Enum() *IpAddrFamily

func (IpAddrFamily) EnumDescriptor deprecated

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

Deprecated: Use IpAddrFamily.Descriptor instead.

func (IpAddrFamily) Number

func (IpAddrFamily) String

func (x IpAddrFamily) String() string

func (IpAddrFamily) Type

type Metadata

type Metadata struct {

	// UID: unique identifier. Use this for update requests; for create requests, leave it empty
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// Name: resource name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace: resource namespace
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Labels: resource labels
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// Annotations: resource annotations
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// CreationTimestamp: resource creation timestamp
	CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"`
	// ResourceVersion: resource revision version
	ResourceVersion string `protobuf:"bytes,7,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// contains filtered or unexported fields
}

Metadata: common resource metadata

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAnnotations

func (x *Metadata) GetAnnotations() map[string]string

func (*Metadata) GetCreationTimestamp

func (x *Metadata) GetCreationTimestamp() *timestamppb.Timestamp

func (*Metadata) GetLabels

func (x *Metadata) GetLabels() map[string]string

func (*Metadata) GetName

func (x *Metadata) GetName() string

func (*Metadata) GetNamespace

func (x *Metadata) GetNamespace() string

func (*Metadata) GetResourceVersion

func (x *Metadata) GetResourceVersion() string

func (*Metadata) GetUid

func (x *Metadata) GetUid() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type MetadataScope

type MetadataScope struct {

	// UID: unique identifier. Use this for update requests; for create requests, leave it empty
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// Name: resource name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace: resource namespace
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

MetadataScope: common resource metadata for scoping

func (*MetadataScope) Descriptor deprecated

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

Deprecated: Use MetadataScope.ProtoReflect.Descriptor instead.

func (*MetadataScope) GetName

func (x *MetadataScope) GetName() string

func (*MetadataScope) GetNamespace

func (x *MetadataScope) GetNamespace() string

func (*MetadataScope) GetUid

func (x *MetadataScope) GetUid() string

func (*MetadataScope) ProtoMessage

func (*MetadataScope) ProtoMessage()

func (*MetadataScope) ProtoReflect

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

func (*MetadataScope) Reset

func (x *MetadataScope) Reset()

func (*MetadataScope) String

func (x *MetadataScope) String() string

type ResSelector

type ResSelector struct {

	// FieldSelector: field selector
	FieldSelector *FieldSelector `protobuf:"bytes,1,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"`
	// LabelSelector: label selector
	LabelSelector map[string]string `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

ResSelector: resource selector for list requests

func (*ResSelector) Descriptor deprecated

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

Deprecated: Use ResSelector.ProtoReflect.Descriptor instead.

func (*ResSelector) GetFieldSelector

func (x *ResSelector) GetFieldSelector() *FieldSelector

func (*ResSelector) GetLabelSelector

func (x *ResSelector) GetLabelSelector() map[string]string

func (*ResSelector) ProtoMessage

func (*ResSelector) ProtoMessage()

func (*ResSelector) ProtoReflect

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

func (*ResSelector) Reset

func (x *ResSelector) Reset()

func (*ResSelector) String

func (x *ResSelector) String() string

type ResourceIdentifier

type ResourceIdentifier struct {

	// Name: resource name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace: resource namespace
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

ResourceIdentifier: resource identifier

func (*ResourceIdentifier) Descriptor deprecated

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

Deprecated: Use ResourceIdentifier.ProtoReflect.Descriptor instead.

func (*ResourceIdentifier) GetName

func (x *ResourceIdentifier) GetName() string

func (*ResourceIdentifier) GetNamespace

func (x *ResourceIdentifier) GetNamespace() string

func (*ResourceIdentifier) ProtoMessage

func (*ResourceIdentifier) ProtoMessage()

func (*ResourceIdentifier) ProtoReflect

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

func (*ResourceIdentifier) Reset

func (x *ResourceIdentifier) Reset()

func (*ResourceIdentifier) String

func (x *ResourceIdentifier) String() string

type ResourceRef

type ResourceRef struct {

	// Name: reference resource name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Namespace: reference resource namespace
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// ResType: reference resource type
	ResType string `protobuf:"bytes,3,opt,name=res_type,json=resType,proto3" json:"res_type,omitempty"`
	// contains filtered or unexported fields
}

ResourceRef: reference to a resource

func (*ResourceRef) Descriptor deprecated

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

Deprecated: Use ResourceRef.ProtoReflect.Descriptor instead.

func (*ResourceRef) GetName

func (x *ResourceRef) GetName() string

func (*ResourceRef) GetNamespace

func (x *ResourceRef) GetNamespace() string

func (*ResourceRef) GetResType

func (x *ResourceRef) GetResType() string

func (*ResourceRef) ProtoMessage

func (*ResourceRef) ProtoMessage()

func (*ResourceRef) ProtoReflect

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

func (*ResourceRef) Reset

func (x *ResourceRef) Reset()

func (*ResourceRef) String

func (x *ResourceRef) String() string

type Session

type Session struct {

	// Traffic: traffic direction
	Traffic Session_Traffic `protobuf:"varint,1,opt,name=traffic,proto3,enum=common.Session_Traffic" json:"traffic,omitempty"`
	// contains filtered or unexported fields
}

Session: represents session parameters

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetTraffic

func (x *Session) GetTraffic() Session_Traffic

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type Session_Traffic

type Session_Traffic int32

Ingress / Egress traffic dir

const (
	// TRAFFIC_UNDEF not specified
	Session_TRAFFIC_UNDEF Session_Traffic = 0
	// Both ingress and egress
	Session_BOTH Session_Traffic = 1
	// Ingress
	Session_INGRESS Session_Traffic = 2
	// Egress
	Session_EGRESS Session_Traffic = 3
)

func (Session_Traffic) Descriptor

func (Session_Traffic) Enum

func (x Session_Traffic) Enum() *Session_Traffic

func (Session_Traffic) EnumDescriptor deprecated

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

Deprecated: Use Session_Traffic.Descriptor instead.

func (Session_Traffic) Number

func (Session_Traffic) String

func (x Session_Traffic) String() string

func (Session_Traffic) Type

type Transport

type Transport struct {

	// Protocol: network protocol
	Protocol Transport_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=common.Transport_Protocol" json:"protocol,omitempty"`
	// IPv: IP address family
	Ipv IpAddrFamily `protobuf:"varint,2,opt,name=ipv,json=IPv,proto3,enum=common.IpAddrFamily" json:"ipv,omitempty"`
	// Entries: list of transport entries
	Entries []*Transport_Entry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

Transport: represents supported network transports (L4)

func (*Transport) Descriptor deprecated

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

Deprecated: Use Transport.ProtoReflect.Descriptor instead.

func (*Transport) GetEntries

func (x *Transport) GetEntries() []*Transport_Entry

func (*Transport) GetIpv

func (x *Transport) GetIpv() IpAddrFamily

func (*Transport) GetProtocol

func (x *Transport) GetProtocol() Transport_Protocol

func (*Transport) ProtoMessage

func (*Transport) ProtoMessage()

func (*Transport) ProtoReflect

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

func (*Transport) Reset

func (x *Transport) Reset()

func (*Transport) String

func (x *Transport) String() string

type Transport_Entry

type Transport_Entry struct {

	// Description: description
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Comment: comment
	Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// Ports: represents TCP/UDP port or port range
	Ports string `protobuf:"bytes,3,opt,name=ports,proto3" json:"ports,omitempty"`
	// Types: ICMP message types
	Types []uint32 `protobuf:"varint,4,rep,packed,name=types,proto3" json:"types,omitempty"`
	// contains filtered or unexported fields
}

Entry: represents transport entry

func (*Transport_Entry) Descriptor deprecated

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

Deprecated: Use Transport_Entry.ProtoReflect.Descriptor instead.

func (*Transport_Entry) GetComment

func (x *Transport_Entry) GetComment() string

func (*Transport_Entry) GetDescription

func (x *Transport_Entry) GetDescription() string

func (*Transport_Entry) GetPorts

func (x *Transport_Entry) GetPorts() string

func (*Transport_Entry) GetTypes

func (x *Transport_Entry) GetTypes() []uint32

func (*Transport_Entry) ProtoMessage

func (*Transport_Entry) ProtoMessage()

func (*Transport_Entry) ProtoReflect

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

func (*Transport_Entry) Reset

func (x *Transport_Entry) Reset()

func (*Transport_Entry) String

func (x *Transport_Entry) String() string

type Transport_Protocol

type Transport_Protocol int32

Protocol: represents supported network protocols

const (
	// PROTOCOL_UNDEF: not specified
	Transport_PROTOCOL_UNDEF Transport_Protocol = 0
	// TCP
	Transport_TCP Transport_Protocol = 1
	// UDP
	Transport_UDP Transport_Protocol = 2
	// ICMP
	Transport_ICMP Transport_Protocol = 3
)

func (Transport_Protocol) Descriptor

func (Transport_Protocol) Enum

func (Transport_Protocol) EnumDescriptor deprecated

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

Deprecated: Use Transport_Protocol.Descriptor instead.

func (Transport_Protocol) Number

func (Transport_Protocol) String

func (x Transport_Protocol) String() string

func (Transport_Protocol) Type

type WatchEventType

type WatchEventType int32

WatchEventType: type of watch event

const (
	// EVENT_UNKNOWN: unknown event type
	WatchEventType_EVENT_UNKNOWN WatchEventType = 0
	// ADDED: object was created
	WatchEventType_ADDED WatchEventType = 1
	// MODIFIED: object was updated
	WatchEventType_MODIFIED WatchEventType = 2
	// DELETED: object was deleted
	WatchEventType_DELETED WatchEventType = 3
)

func (WatchEventType) Descriptor

func (WatchEventType) Enum

func (x WatchEventType) Enum() *WatchEventType

func (WatchEventType) EnumDescriptor deprecated

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

Deprecated: Use WatchEventType.Descriptor instead.

func (WatchEventType) Number

func (WatchEventType) String

func (x WatchEventType) String() string

func (WatchEventType) Type

Jump to

Keyboard shortcuts

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