native

package
v0.14.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package native provides the ability for Vela to integrate with the Database as a secret backend.

Usage:

import "github.com/go-vela/server/secret/native"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...ClientOpt) (*client, error)

New returns a Secret implementation that integrates with a Native secrets engine.

nolint: revive // ignore returning unexported client

Types

type ClientOpt added in v0.8.0

type ClientOpt func(*client) error

ClientOpt represents a configuration option to initialize the secret client for Native.

func WithDatabase added in v0.8.0

func WithDatabase(d database.Service) ClientOpt

WithDatabase sets the Vela database service in the secret client for Native.

Jump to

Keyboard shortcuts

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