control_go_proto

package
v0.0.0-...-aa8ecac Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ControlConfig_Endpoint_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "EVENTS",
		2:  "FS",
		3:  "LIFECYCLE",
		4:  "LOGGING",
		5:  "PROFILE",
		6:  "USAGE",
		7:  "PROC",
		8:  "STATE",
		9:  "DEBUG",
		10: "CGROUPS",
	}
	ControlConfig_Endpoint_value = map[string]int32{
		"UNKNOWN":   0,
		"EVENTS":    1,
		"FS":        2,
		"LIFECYCLE": 3,
		"LOGGING":   4,
		"PROFILE":   5,
		"USAGE":     6,
		"PROC":      7,
		"STATE":     8,
		"DEBUG":     9,
		"CGROUPS":   10,
	}
)

Enum value maps for ControlConfig_Endpoint.

View Source
var File_pkg_sentry_control_control_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ContainerExitEvent

type ContainerExitEvent struct {
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	ExitStatus  uint32 `protobuf:"varint,2,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerExitEvent) Descriptor deprecated

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

Deprecated: Use ContainerExitEvent.ProtoReflect.Descriptor instead.

func (*ContainerExitEvent) GetContainerId

func (x *ContainerExitEvent) GetContainerId() string

func (*ContainerExitEvent) GetExitStatus

func (x *ContainerExitEvent) GetExitStatus() uint32

func (*ContainerExitEvent) ProtoMessage

func (*ContainerExitEvent) ProtoMessage()

func (*ContainerExitEvent) ProtoReflect

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

func (*ContainerExitEvent) Reset

func (x *ContainerExitEvent) Reset()

func (*ContainerExitEvent) String

func (x *ContainerExitEvent) String() string

type ContainerStartedEvent

type ContainerStartedEvent struct {
	Started          bool                   `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"`
	ContainerId      string                 `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	RequestReceived  *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=request_received,json=requestReceived,proto3" json:"request_received,omitempty"`
	RequestCompleted *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=request_completed,json=requestCompleted,proto3" json:"request_completed,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStartedEvent) Descriptor deprecated

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

Deprecated: Use ContainerStartedEvent.ProtoReflect.Descriptor instead.

func (*ContainerStartedEvent) GetContainerId

func (x *ContainerStartedEvent) GetContainerId() string

func (*ContainerStartedEvent) GetRequestCompleted

func (x *ContainerStartedEvent) GetRequestCompleted() *timestamppb.Timestamp

func (*ContainerStartedEvent) GetRequestReceived

func (x *ContainerStartedEvent) GetRequestReceived() *timestamppb.Timestamp

func (*ContainerStartedEvent) GetStarted

func (x *ContainerStartedEvent) GetStarted() bool

func (*ContainerStartedEvent) ProtoMessage

func (*ContainerStartedEvent) ProtoMessage()

func (*ContainerStartedEvent) ProtoReflect

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

func (*ContainerStartedEvent) Reset

func (x *ContainerStartedEvent) Reset()

func (*ContainerStartedEvent) String

func (x *ContainerStartedEvent) String() string

type ControlConfig

type ControlConfig struct {
	AllowedControls []ControlConfig_Endpoint `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ControlConfig) Descriptor deprecated

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

Deprecated: Use ControlConfig.ProtoReflect.Descriptor instead.

func (*ControlConfig) GetAllowedControls

func (x *ControlConfig) GetAllowedControls() []ControlConfig_Endpoint

func (*ControlConfig) ProtoMessage

func (*ControlConfig) ProtoMessage()

func (*ControlConfig) ProtoReflect

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

func (*ControlConfig) Reset

func (x *ControlConfig) Reset()

func (*ControlConfig) String

func (x *ControlConfig) String() string

type ControlConfig_Endpoint

type ControlConfig_Endpoint int32
const (
	ControlConfig_UNKNOWN   ControlConfig_Endpoint = 0
	ControlConfig_EVENTS    ControlConfig_Endpoint = 1
	ControlConfig_FS        ControlConfig_Endpoint = 2
	ControlConfig_LIFECYCLE ControlConfig_Endpoint = 3
	ControlConfig_LOGGING   ControlConfig_Endpoint = 4
	ControlConfig_PROFILE   ControlConfig_Endpoint = 5
	ControlConfig_USAGE     ControlConfig_Endpoint = 6
	ControlConfig_PROC      ControlConfig_Endpoint = 7
	ControlConfig_STATE     ControlConfig_Endpoint = 8
	ControlConfig_DEBUG     ControlConfig_Endpoint = 9
	ControlConfig_CGROUPS   ControlConfig_Endpoint = 10
)

func (ControlConfig_Endpoint) Descriptor

func (ControlConfig_Endpoint) Enum

func (ControlConfig_Endpoint) EnumDescriptor deprecated

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

Deprecated: Use ControlConfig_Endpoint.Descriptor instead.

func (ControlConfig_Endpoint) Number

func (ControlConfig_Endpoint) String

func (x ControlConfig_Endpoint) String() string

func (ControlConfig_Endpoint) Type

Jump to

Keyboard shortcuts

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