Documentation ¶
Index ¶
- func GetCustomResourceDefinitionDetail(client apiextensionsclientset.Interface, config *rest.Config, name string) (*types.CustomResourceDefinitionDetail, error)
- func GetCustomResourceDefinitionList(client apiextensionsclientset.Interface, dsQuery *dataselect.DataSelectQuery) (*types.CustomResourceDefinitionList, error)
- func GetCustomResourceObjectDetail(client apiextensionsclientset.Interface, namespace *common.NamespaceQuery, ...) (*types.CustomResourceObjectDetail, error)
- func GetCustomResourceObjectList(client apiextensionsclientset.Interface, config *rest.Config, ...) (*types.CustomResourceObjectList, error)
- func NewRESTClient(config *rest.Config, crd *apiextensions.CustomResourceDefinition) (*rest.RESTClient, error)
- type CustomResourceDefinitionCell
- type CustomResourceObjectCell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomResourceDefinitionDetail ¶
func GetCustomResourceDefinitionDetail(client apiextensionsclientset.Interface, config *rest.Config, name string) (*types.CustomResourceDefinitionDetail, error)
GetCustomResourceDefinitionDetail returns detailed information about a custom resource definition.
func GetCustomResourceDefinitionList ¶
func GetCustomResourceDefinitionList(client apiextensionsclientset.Interface, dsQuery *dataselect.DataSelectQuery) (*types.CustomResourceDefinitionList, error)
GetCustomResourceDefinitionList returns all the custom resource definitions in the cluster.
func GetCustomResourceObjectDetail ¶
func GetCustomResourceObjectDetail(client apiextensionsclientset.Interface, namespace *common.NamespaceQuery, config *rest.Config, crdName string, name string) (*types.CustomResourceObjectDetail, error)
GetCustomResourceObjectDetail returns details of a single object in a CR.
func GetCustomResourceObjectList ¶
func GetCustomResourceObjectList(client apiextensionsclientset.Interface, config *rest.Config, namespace *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery, crdName string) (*types.CustomResourceObjectList, error)
GetCustomResourceObjectList gets objects for a CR.
func NewRESTClient ¶
func NewRESTClient(config *rest.Config, crd *apiextensions.CustomResourceDefinition) (*rest.RESTClient, error)
Types ¶
type CustomResourceDefinitionCell ¶
type CustomResourceDefinitionCell apiextensions.CustomResourceDefinition
func (CustomResourceDefinitionCell) GetProperty ¶
func (self CustomResourceDefinitionCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type CustomResourceObjectCell ¶
type CustomResourceObjectCell types.CustomResourceObject
The code below allows to perform complex data section on CustomResourceObject.
func (CustomResourceObjectCell) GetProperty ¶
func (self CustomResourceObjectCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
Click to show internal directories.
Click to hide internal directories.