crd

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 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