go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/watchdog/profile_action/v3alpha Index | Files

package envoy_extensions_watchdog_profile_action_v3alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/watchdog/profile_action/v3alpha"

Index

Package Files

profile_action.pb.go profile_action.pb.validate.go

Variables

var File_envoy_extensions_watchdog_profile_action_v3alpha_profile_action_proto protoreflect.FileDescriptor

type ProfileActionConfig Uses

type ProfileActionConfig struct {

    // How long the profile should last. If not set defaults to 5 seconds.
    ProfileDuration *duration.Duration `protobuf:"bytes,1,opt,name=profile_duration,json=profileDuration,proto3" json:"profile_duration,omitempty"`
    // File path to the directory to output profiles.
    ProfilePath string `protobuf:"bytes,2,opt,name=profile_path,json=profilePath,proto3" json:"profile_path,omitempty"`
    // Limits the max number of profiles that can be generated by this action
    // over its lifetime to avoid filling the disk.
    // If not set (i.e. it's 0), a default of 10 will be used.
    MaxProfiles uint64 `protobuf:"varint,3,opt,name=max_profiles,json=maxProfiles,proto3" json:"max_profiles,omitempty"`
    // contains filtered or unexported fields
}

Configuration for the profile watchdog action.

func (*ProfileActionConfig) Descriptor Uses

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

Deprecated: Use ProfileActionConfig.ProtoReflect.Descriptor instead.

func (*ProfileActionConfig) GetMaxProfiles Uses

func (x *ProfileActionConfig) GetMaxProfiles() uint64

func (*ProfileActionConfig) GetProfileDuration Uses

func (x *ProfileActionConfig) GetProfileDuration() *duration.Duration

func (*ProfileActionConfig) GetProfilePath Uses

func (x *ProfileActionConfig) GetProfilePath() string

func (*ProfileActionConfig) ProtoMessage Uses

func (*ProfileActionConfig) ProtoMessage()

func (*ProfileActionConfig) ProtoReflect Uses

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

func (*ProfileActionConfig) Reset Uses

func (x *ProfileActionConfig) Reset()

func (*ProfileActionConfig) String Uses

func (x *ProfileActionConfig) String() string

func (*ProfileActionConfig) Validate Uses

func (m *ProfileActionConfig) Validate() error

Validate checks the field values on ProfileActionConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ProfileActionConfigValidationError Uses

type ProfileActionConfigValidationError struct {
    // contains filtered or unexported fields
}

ProfileActionConfigValidationError is the validation error returned by ProfileActionConfig.Validate if the designated constraints aren't met.

func (ProfileActionConfigValidationError) Cause Uses

func (e ProfileActionConfigValidationError) Cause() error

Cause function returns cause value.

func (ProfileActionConfigValidationError) Error Uses

func (e ProfileActionConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ProfileActionConfigValidationError) ErrorName Uses

func (e ProfileActionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ProfileActionConfigValidationError) Field Uses

func (e ProfileActionConfigValidationError) Field() string

Field function returns field value.

func (ProfileActionConfigValidationError) Key Uses

func (e ProfileActionConfigValidationError) Key() bool

Key function returns key value.

func (ProfileActionConfigValidationError) Reason Uses

func (e ProfileActionConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_watchdog_profile_action_v3alpha imports 19 packages (graph) and is imported by 5 packages. Updated 2021-01-09. Refresh now. Tools for package owners.