sakeyrotator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultName = "sa-key-rotator"

Variables

This section is empty.

Functions

This section is empty.

Types

type Rotator

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

func NewRotator

func NewRotator(ctx context.Context) (*Rotator, error)

func (*Rotator) Rotate

func (r *Rotator) Rotate(ctx context.Context,
	serviceAccountEmail,
	name,
	bucket string,
	expiryInDays,
	renewalWindowInDays int,
	forceCreate,
	forceDelete bool) error

Jump to

Keyboard shortcuts

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