crd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatCustomCRD

func CreatCustomCRD(cli *kubernetes.Clientset, group, version, kind, namespace string, body interface{}) (runtime.Object, error)

func DeleteCustomCRD

func DeleteCustomCRD(cli *kubernetes.Clientset, group, version, kind, namespace, name string) error

func GetCRDPage

func GetCRDPage(cli *clientset.Clientset, q *common.QueryParam) (*common.Page, error)

func GetCustomCRD

func GetCustomCRD(cli *kubernetes.Clientset, group, version, kind, namespace, name string) (runtime.Object, error)

func GetCustomCRDPage

func GetCustomCRDPage(cli *kubernetes.Clientset, group, version, kind, namespace string, q *common.QueryParam) (*common.Page, error)

func UpdateCustomCRD

func UpdateCustomCRD(cli *kubernetes.Clientset, group, version, kind, namespace, name string, object *runtime.Unknown) (runtime.Object, error)

Types

type CRDCell

implements dataselector.DataCell

func (CRDCell) GetProperty

implements dataselector.DataCell

type CustomCRD

type CustomCRD struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`

	Spec   interface{} `json:"spec"`
	Status interface{} `json:"status,omitempty"`
}

type CustomCRDCell

type CustomCRDCell CustomCRD

implements dataselector.DataCell

func (CustomCRDCell) GetProperty

implements dataselector.DataCell

type CustomCRDList

type CustomCRDList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []CustomCRD `json:"items"`
}

Jump to

Keyboard shortcuts

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