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