daemon

package
v0.0.0-...-9ec06b4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

type Daemon struct {
	rpc.UnimplementedScmLbApiServer
	// contains filtered or unexported fields
}

func New

func New(apiAddr string, apiPort int32, upstreamInterface string) (*Daemon, error)

func (*Daemon) DoSProtectionPolicyDelete

func (d *Daemon) DoSProtectionPolicyDelete(ctx context.Context, in *rpc.DoSProtectionPolicyDeleteRequest) (*emptypb.Empty, error)

func (*Daemon) DoSProtectionPolicySet

func (d *Daemon) DoSProtectionPolicySet(ctx context.Context, in *rpc.DoSProtectionPolicySetRequest) (*emptypb.Empty, error)

func (*Daemon) FireWallRuleDelete

func (d *Daemon) FireWallRuleDelete(ctx context.Context, in *rpc.FireWallRuleDeleteRequest) (*emptypb.Empty, error)

func (*Daemon) FireWallRuleGet

func (*Daemon) FireWallRuleSet

func (d *Daemon) FireWallRuleSet(ctx context.Context, in *rpc.FireWallRuleSetRqeust) (*emptypb.Empty, error)

func (*Daemon) Health

func (d *Daemon) Health(ctx context.Context, in *rpc.HealthRequest) (*emptypb.Empty, error)

func (*Daemon) LoadBalancerDelete

func (d *Daemon) LoadBalancerDelete(ctx context.Context, in *rpc.LoadBalancerDeleteRequest) (*emptypb.Empty, error)

func (*Daemon) LoadBalancerDrain

func (d *Daemon) LoadBalancerDrain(ctx context.Context, in *rpc.LoadBalancerDrainRequest) (*emptypb.Empty, error)

func (*Daemon) LoadBalancerGet

func (*Daemon) LoadBalancerSet

func (d *Daemon) LoadBalancerSet(ctx context.Context, in *rpc.LoadBalancerSetRequest) (*emptypb.Empty, error)

func (*Daemon) Run

func (d *Daemon) Run(vip netip.Addr, gc bool, gcTime time.Duration) error

func (*Daemon) Stat

func (d *Daemon) Stat(ctx context.Context, in *rpc.StatRequest) (*rpc.StatResponse, error)

scmlbd の統計情報を返す API を定義しています。

Jump to

Keyboard shortcuts

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