key

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidKeyType           = errors.New("invalid key type")
	ErrDeserializeKeyAccessData = errors.New("error deserializing key access data from model to API")
)

Functions

func FromAPI

func FromAPI(ctx context.Context, apiKey cmkapi.Key, tf transformer.ProviderTransformer) (*model.Key, error)

FromAPI converts a cmkapi.Key to a model.Key.

func ToAPI

func ToAPI(k model.Key) (*cmkapi.Key, error)

ToAPI converts a model.Key to a cmkapi.Key

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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