Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThirdPartyResource ¶
type ThirdPartyResource struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` }
ThirdPartyResource is a third party resource template.
type ThirdPartyResourceCell ¶
type ThirdPartyResourceCell extensions.ThirdPartyResource
The code below allows to perform complex data section on []extensions.ThirdPartyResource.
func (ThirdPartyResourceCell) GetProperty ¶
func (self ThirdPartyResourceCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type ThirdPartyResourceDetail ¶
type ThirdPartyResourceDetail struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` Description string `json:"description"` Versions []extensions.APIVersion `json:"versions"` Objects ThirdPartyResourceObjectList `json:"objects"` }
ThirdPartyResourceDetail is a third party resource template.
func GetThirdPartyResourceDetail ¶
func GetThirdPartyResourceDetail(client k8sClient.Interface, config *rest.Config, name string) (*ThirdPartyResourceDetail, error)
GetThirdPartyResourceDetail returns detailed information about a third party resource.
type ThirdPartyResourceList ¶
type ThirdPartyResourceList struct { ListMeta common.ListMeta `json:"listMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` ThirdPartyResources []ThirdPartyResource `json:"thirdPartyResources"` }
ThirdPartyResourceList contains a list of third party resource templates.
func GetThirdPartyResourceList ¶
func GetThirdPartyResourceList(client k8sClient.Interface, dsQuery *dataselect.DataSelectQuery) (*ThirdPartyResourceList, error)
GetThirdPartyResourceList returns a list of third party resource templates.
func GetThirdPartyResourceListFromChannels ¶
func GetThirdPartyResourceListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*ThirdPartyResourceList, error)
GetThirdPartyResourceListFromChannels returns a list of all third party resources in the cluster reading required resource list once from the channels.
type ThirdPartyResourceObject ¶
type ThirdPartyResourceObject struct { metav1.TypeMeta `json:",inline"` Metadata metav1.ObjectMeta `json:"metadata,omitempty"` }
ThirdPartyResourceObject is a single instance of third party resource.
type ThirdPartyResourceObjectCell ¶
type ThirdPartyResourceObjectCell ThirdPartyResourceObject
The code below allows to perform complex data section on ThirdPartyResourceObject.
func (ThirdPartyResourceObjectCell) GetProperty ¶
func (self ThirdPartyResourceObjectCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type ThirdPartyResourceObjectList ¶
type ThirdPartyResourceObjectList struct { ListMeta common.ListMeta `json:"listMeta"` metav1.TypeMeta `json:",inline"` Items []ThirdPartyResourceObject `json:"items"` }
ThirdPartyResourceObjectList is a list of third party resource instances.
func GetThirdPartyResourceObjects ¶
func GetThirdPartyResourceObjects(client k8sClient.Interface, config *rest.Config, dsQuery *dataselect.DataSelectQuery, tprName string) (ThirdPartyResourceObjectList, error)
GetThirdPartyResourceObjects return list of third party resource instances. Channels cannot be used here yet, because we operate on raw JSONs.