dataplane

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataPlaneCmd added in v1.1.0

func NewDataPlaneCmd(f client.NewClientFunc) *cobra.Command

Types

type DataPlane

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

DataPlane implements data plane operations

func New

func New(c client.Interface) *DataPlane

New creates a new data plane implementation

func (*DataPlane) Delete

func (d *DataPlane) Delete(params DeleteParams) error

Delete deletes a single data plane

func (*DataPlane) Get

func (d *DataPlane) Get(params GetParams) error

Get retrieves a single data plane and outputs it as YAML

func (*DataPlane) List

func (d *DataPlane) List(params ListParams) error

List lists all data planes in a namespace

type DeleteParams

type DeleteParams struct {
	Namespace     string
	DataPlaneName string
}

DeleteParams defines parameters for deleting a single data plane

func (DeleteParams) GetDataPlaneName

func (p DeleteParams) GetDataPlaneName() string

func (DeleteParams) GetNamespace

func (p DeleteParams) GetNamespace() string

type GetParams

type GetParams struct {
	Namespace     string
	DataPlaneName string
}

GetParams defines parameters for getting a single data plane

func (GetParams) GetNamespace

func (p GetParams) GetNamespace() string

type ListParams

type ListParams struct {
	Namespace string
}

ListParams defines parameters for listing data planes

func (ListParams) GetNamespace

func (p ListParams) GetNamespace() string

Jump to

Keyboard shortcuts

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