native

package
v0.19.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 5 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.

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