Documentation ¶
Index ¶
- Variables
- type CommandContext
- func (*CommandContext) Descriptor() ([]byte, []int)deprecated
- func (x *CommandContext) GetCgroupPath() string
- func (x *CommandContext) GetCommandName() string
- func (x *CommandContext) GetCommandPath() string
- func (x *CommandContext) GetGid() uint32
- func (x *CommandContext) GetPid() uint32
- func (x *CommandContext) GetUid() uint32
- func (*CommandContext) ProtoMessage()
- func (x *CommandContext) ProtoReflect() protoreflect.Message
- func (x *CommandContext) Reset()
- func (x *CommandContext) String() string
- type Policies
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetCertificate() *Policy_Certificate
- func (x *Policy) GetConnection() *Policy_Connection
- func (x *Policy) GetEgress() []*Policy
- func (x *Policy) GetSelectors() []*structpb.Struct
- func (r *Policy) MarshalJSON() ([]byte, error)
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- func (r *Policy) UnmarshalJSON(data []byte) error
- type Policy_Certificate
- func (*Policy_Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Policy_Certificate) GetDnsNames() []string
- func (x *Policy_Certificate) GetTtl() *durationpb.Duration
- func (x *Policy_Certificate) GetWorkloadID() string
- func (r *Policy_Certificate) MarshalJSON() ([]byte, error)
- func (*Policy_Certificate) ProtoMessage()
- func (x *Policy_Certificate) ProtoReflect() protoreflect.Message
- func (x *Policy_Certificate) Reset()
- func (x *Policy_Certificate) String() string
- func (r *Policy_Certificate) UnmarshalJSON(data []byte) error
- type Policy_Connection
- func (*Policy_Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Policy_Connection) GetAllowedSPIFFEIDs() []string
- func (x *Policy_Connection) GetMtls() Policy_Connection_MutualTLSMode
- func (x *Policy_Connection) GetPassthrough() *wrapperspb.BoolValue
- func (r *Policy_Connection) MarshalJSON() ([]byte, error)
- func (*Policy_Connection) ProtoMessage()
- func (x *Policy_Connection) ProtoReflect() protoreflect.Message
- func (x *Policy_Connection) Reset()
- func (x *Policy_Connection) String() string
- func (r *Policy_Connection) UnmarshalJSON(data []byte) error
- type Policy_Connection_MutualTLSMode
- func (Policy_Connection_MutualTLSMode) Descriptor() protoreflect.EnumDescriptor
- func (x Policy_Connection_MutualTLSMode) Enum() *Policy_Connection_MutualTLSMode
- func (Policy_Connection_MutualTLSMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Policy_Connection_MutualTLSMode) Number() protoreflect.EnumNumber
- func (x Policy_Connection_MutualTLSMode) String() string
- func (Policy_Connection_MutualTLSMode) Type() protoreflect.EnumType
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAddresses() []*Service_Address
- func (x *Service) GetLabels() map[string]string
- func (r *Service) MarshalJSON() ([]byte, error)
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (r *Service) UnmarshalJSON(data []byte) error
- type Service_Address
- func (*Service_Address) Descriptor() ([]byte, []int)deprecated
- func (x *Service_Address) GetAddress() string
- func (x *Service_Address) GetPort() int32
- func (x *Service_Address) GetTags() []string
- func (r *Service_Address) MarshalJSON() ([]byte, error)
- func (*Service_Address) ProtoMessage()
- func (x *Service_Address) ProtoReflect() protoreflect.Message
- func (x *Service_Address) Reset()
- func (x *Service_Address) String() string
- func (r *Service_Address) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Policy_Connection_MutualTLSMode_name = map[int32]string{ 0: "UNSET", 1: "DISABLE", 2: "STRICT", } Policy_Connection_MutualTLSMode_value = map[string]int32{ "UNSET": 0, "DISABLE": 1, "STRICT": 2, } )
Enum value maps for Policy_Connection_MutualTLSMode.
View Source
var File_v1_core_context_proto protoreflect.FileDescriptor
View Source
var File_v1_core_policy_proto protoreflect.FileDescriptor
View Source
var File_v1_core_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommandContext ¶
type CommandContext struct { Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"` CommandName string `protobuf:"bytes,4,opt,name=command_name,json=commandName,proto3" json:"command_name,omitempty"` CommandPath string `protobuf:"bytes,5,opt,name=command_path,json=commandPath,proto3" json:"command_path,omitempty"` CgroupPath string `protobuf:"bytes,6,opt,name=cgroup_path,json=cgroupPath,proto3" json:"cgroup_path,omitempty"` // contains filtered or unexported fields }
func (*CommandContext) Descriptor
deprecated
func (*CommandContext) Descriptor() ([]byte, []int)
Deprecated: Use CommandContext.ProtoReflect.Descriptor instead.
func (*CommandContext) GetCgroupPath ¶
func (x *CommandContext) GetCgroupPath() string
func (*CommandContext) GetCommandName ¶
func (x *CommandContext) GetCommandName() string
func (*CommandContext) GetCommandPath ¶
func (x *CommandContext) GetCommandPath() string
func (*CommandContext) GetGid ¶
func (x *CommandContext) GetGid() uint32
func (*CommandContext) GetPid ¶
func (x *CommandContext) GetPid() uint32
func (*CommandContext) GetUid ¶
func (x *CommandContext) GetUid() uint32
func (*CommandContext) ProtoMessage ¶
func (*CommandContext) ProtoMessage()
func (*CommandContext) ProtoReflect ¶
func (x *CommandContext) ProtoReflect() protoreflect.Message
func (*CommandContext) Reset ¶
func (x *CommandContext) Reset()
func (*CommandContext) String ¶
func (x *CommandContext) String() string
type Policies ¶
type Policies struct { Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*Policies) Descriptor
deprecated
func (*Policies) GetPolicies ¶
func (*Policies) ProtoMessage ¶
func (*Policies) ProtoMessage()
func (*Policies) ProtoReflect ¶
func (x *Policies) ProtoReflect() protoreflect.Message
type Policy ¶
type Policy struct { Selectors []*structpb.Struct `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` Certificate *Policy_Certificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` Connection *Policy_Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"` Egress []*Policy `protobuf:"bytes,4,rep,name=egress,proto3" json:"egress,omitempty"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetCertificate ¶
func (x *Policy) GetCertificate() *Policy_Certificate
func (*Policy) GetConnection ¶
func (x *Policy) GetConnection() *Policy_Connection
func (*Policy) GetSelectors ¶
func (*Policy) MarshalJSON ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
func (*Policy) UnmarshalJSON ¶
type Policy_Certificate ¶
type Policy_Certificate struct { WorkloadID string `protobuf:"bytes,1,opt,name=workloadID,proto3" json:"workloadID,omitempty"` DnsNames []string `protobuf:"bytes,2,rep,name=dnsNames,proto3" json:"dnsNames,omitempty"` Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*Policy_Certificate) Descriptor
deprecated
func (*Policy_Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Policy_Certificate.ProtoReflect.Descriptor instead.
func (*Policy_Certificate) GetDnsNames ¶
func (x *Policy_Certificate) GetDnsNames() []string
func (*Policy_Certificate) GetTtl ¶
func (x *Policy_Certificate) GetTtl() *durationpb.Duration
func (*Policy_Certificate) GetWorkloadID ¶
func (x *Policy_Certificate) GetWorkloadID() string
func (*Policy_Certificate) MarshalJSON ¶
func (r *Policy_Certificate) MarshalJSON() ([]byte, error)
func (*Policy_Certificate) ProtoMessage ¶
func (*Policy_Certificate) ProtoMessage()
func (*Policy_Certificate) ProtoReflect ¶
func (x *Policy_Certificate) ProtoReflect() protoreflect.Message
func (*Policy_Certificate) Reset ¶
func (x *Policy_Certificate) Reset()
func (*Policy_Certificate) String ¶
func (x *Policy_Certificate) String() string
func (*Policy_Certificate) UnmarshalJSON ¶
func (r *Policy_Certificate) UnmarshalJSON(data []byte) error
type Policy_Connection ¶
type Policy_Connection struct { Mtls Policy_Connection_MutualTLSMode `protobuf:"varint,1,opt,name=mtls,proto3,enum=camblet.api.v1.core.Policy_Connection_MutualTLSMode" json:"mtls,omitempty"` Passthrough *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=passthrough,proto3" json:"passthrough,omitempty"` AllowedSPIFFEIDs []string `protobuf:"bytes,3,rep,name=allowedSPIFFEIDs,proto3" json:"allowedSPIFFEIDs,omitempty"` // contains filtered or unexported fields }
func (*Policy_Connection) Descriptor
deprecated
func (*Policy_Connection) Descriptor() ([]byte, []int)
Deprecated: Use Policy_Connection.ProtoReflect.Descriptor instead.
func (*Policy_Connection) GetAllowedSPIFFEIDs ¶
func (x *Policy_Connection) GetAllowedSPIFFEIDs() []string
func (*Policy_Connection) GetMtls ¶
func (x *Policy_Connection) GetMtls() Policy_Connection_MutualTLSMode
func (*Policy_Connection) GetPassthrough ¶
func (x *Policy_Connection) GetPassthrough() *wrapperspb.BoolValue
func (*Policy_Connection) MarshalJSON ¶
func (r *Policy_Connection) MarshalJSON() ([]byte, error)
func (*Policy_Connection) ProtoMessage ¶
func (*Policy_Connection) ProtoMessage()
func (*Policy_Connection) ProtoReflect ¶
func (x *Policy_Connection) ProtoReflect() protoreflect.Message
func (*Policy_Connection) Reset ¶
func (x *Policy_Connection) Reset()
func (*Policy_Connection) String ¶
func (x *Policy_Connection) String() string
func (*Policy_Connection) UnmarshalJSON ¶
func (r *Policy_Connection) UnmarshalJSON(data []byte) error
type Policy_Connection_MutualTLSMode ¶
type Policy_Connection_MutualTLSMode int32
const ( Policy_Connection_UNSET Policy_Connection_MutualTLSMode = 0 Policy_Connection_DISABLE Policy_Connection_MutualTLSMode = 1 Policy_Connection_STRICT Policy_Connection_MutualTLSMode = 2 )
func (Policy_Connection_MutualTLSMode) Descriptor ¶
func (Policy_Connection_MutualTLSMode) Descriptor() protoreflect.EnumDescriptor
func (Policy_Connection_MutualTLSMode) Enum ¶
func (x Policy_Connection_MutualTLSMode) Enum() *Policy_Connection_MutualTLSMode
func (Policy_Connection_MutualTLSMode) EnumDescriptor
deprecated
func (Policy_Connection_MutualTLSMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Policy_Connection_MutualTLSMode.Descriptor instead.
func (Policy_Connection_MutualTLSMode) Number ¶
func (x Policy_Connection_MutualTLSMode) Number() protoreflect.EnumNumber
func (Policy_Connection_MutualTLSMode) String ¶
func (x Policy_Connection_MutualTLSMode) String() string
func (Policy_Connection_MutualTLSMode) Type ¶
func (Policy_Connection_MutualTLSMode) Type() protoreflect.EnumType
type Service ¶
type Service struct { Addresses []*Service_Address `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetAddresses ¶
func (x *Service) GetAddresses() []*Service_Address
func (*Service) MarshalJSON ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) UnmarshalJSON ¶
type Service_Address ¶
type Service_Address struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Service_Address) Descriptor
deprecated
func (*Service_Address) Descriptor() ([]byte, []int)
Deprecated: Use Service_Address.ProtoReflect.Descriptor instead.
func (*Service_Address) GetAddress ¶
func (x *Service_Address) GetAddress() string
func (*Service_Address) GetPort ¶
func (x *Service_Address) GetPort() int32
func (*Service_Address) GetTags ¶
func (x *Service_Address) GetTags() []string
func (*Service_Address) MarshalJSON ¶
func (r *Service_Address) MarshalJSON() ([]byte, error)
func (*Service_Address) ProtoMessage ¶
func (*Service_Address) ProtoMessage()
func (*Service_Address) ProtoReflect ¶
func (x *Service_Address) ProtoReflect() protoreflect.Message
func (*Service_Address) Reset ¶
func (x *Service_Address) Reset()
func (*Service_Address) String ¶
func (x *Service_Address) String() string
func (*Service_Address) UnmarshalJSON ¶
func (r *Service_Address) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.