plugin

package
v1.26.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package plugin contains the logics that acts as bridge between cnpg-i and the operator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationVerb

type OperationVerb string

The OperationVerb corresponds to the CNPG-I lifecycle operation verb

const (
	OperationVerbPatch    OperationVerb = "PATCH"
	OperationVerbUpdate   OperationVerb = "UPDATE"
	OperationVerbCreate   OperationVerb = "CREATE"
	OperationVerbDelete   OperationVerb = "DELETE"
	OperationVerbEvaluate OperationVerb = "EVALUATE"
)

A lifecycle operation verb

func (OperationVerb) ToOperationType_Type

func (o OperationVerb) ToOperationType_Type() (lifecycle.OperatorOperationType_Type, error)

ToOperationType_Type converts an OperationVerb into a lifecycle.OperationType_Type nolint: revive,stylecheck

Directories

Path Synopsis
Package client contains a set of helper structures for CNPG to use the plugins exposing the CNPI interface
Package client contains a set of helper structures for CNPG to use the plugins exposing the CNPI interface
Package connection represents a connected CNPG-i plugin
Package connection represents a connected CNPG-i plugin
Package operatorclient contains an extended kubernetes client that supports plugin API calls
Package operatorclient contains an extended kubernetes client that supports plugin API calls
Package repository contains the plugin discovery and connection pooling feature of CNPG
Package repository contains the plugin discovery and connection pooling feature of CNPG

Jump to

Keyboard shortcuts

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