gitlab

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package gitlab implements a provider for GitLab project variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider implements source.Source and destination.Destination for GitLab.

func New

func New(_ context.Context, token, projectID, url, strategy string) (*Provider, error)

New creates a GitLab provider for the given project.

func (*Provider) Read

func (p *Provider) Read(_ context.Context) ([]provider.Secret, error)

Read fetches all project variables from GitLab.

func (*Provider) Write

func (p *Provider) Write(ctx context.Context, secrets []provider.Secret) error

Write creates or updates project variables in GitLab.

Jump to

Keyboard shortcuts

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