vault: Index | Files

package socket

import ""


Package Files


func Factory Uses

func Factory(ctx context.Context, conf *audit.BackendConfig) (audit.Backend, error)

type Backend Uses

type Backend struct {
    // contains filtered or unexported fields

Backend is the audit backend for the socket audit transport.

func (*Backend) GetHash Uses

func (b *Backend) GetHash(ctx context.Context, data string) (string, error)

func (*Backend) Invalidate Uses

func (b *Backend) Invalidate(_ context.Context)

func (*Backend) LogRequest Uses

func (b *Backend) LogRequest(ctx context.Context, in *logical.LogInput) error

func (*Backend) LogResponse Uses

func (b *Backend) LogResponse(ctx context.Context, in *logical.LogInput) error

func (*Backend) LogTestMessage Uses

func (b *Backend) LogTestMessage(ctx context.Context, in *logical.LogInput, config map[string]string) error

func (*Backend) Reload Uses

func (b *Backend) Reload(ctx context.Context) error

func (*Backend) Salt Uses

func (b *Backend) Salt(ctx context.Context) (*salt.Salt, error)

Package socket imports 12 packages (graph) and is imported by 12 packages. Updated 2020-12-29. Refresh now. Tools for package owners.