// GetPriorityClassDetail gets brief info of Priority Class.
GetPriorityClassDetail gets brief info of Priority Class.
// GetPriorityClassDetail gets brief info of Priority Class .
func GetPriorityClassBrief(client k8sClient.Interface, name string) (*PriorityClassBrief, error) {
	rawObject, err := client.SchedulingV1().PriorityClasses().Get(context.TODO(), name, metaV1.GetOptions{})
	if err != nil {
		return nil, err
	}
	pc := toPriorityClassBrief(*rawObject, name)
	return &pc, nil
}
func GetPriorityClassBrief ( client k8sClient . Interface , name string ) ( * PriorityClassBrief , error ) { rawObject , err := client . SchedulingV1 ( ) . PriorityClasses ( ) . Get ( context . TODO ( ) , name , metaV1 . GetOptions { } ) if err != nil { return nil , err } pc := toPriorityClassBrief ( * rawObject , name ) return & pc , nil }
GetPriorityClassDetail gets brief info of Priority Class.
GetPriorityClassDetail gets brief info of Priority Class .