plugin

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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 Kubernetes API method

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

A Kubernetes 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 operatorclient contains an extended kubernetes client that supports plugin API calls
Package operatorclient contains an extended kubernetes client that supports plugin API calls

Jump to

Keyboard shortcuts

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