Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { // Builder definition. Used to create // Builder object with minimum set of required elements. Definition *nvidiagpuv1.ClusterPolicy // Created Builder object on the cluster. Object *nvidiagpuv1.ClusterPolicy // contains filtered or unexported fields }
Builder provides a struct for ClusterPolicy object from the cluster and a ClusterPolicy definition.
func NewBuilderFromObjectString ¶
NewBuilderFromObjectString creates a Builder object from CSV alm-examples.
func (*Builder) Create ¶
Create makes a ClusterPolicy in the cluster and stores the created object in struct.
func (*Builder) Get ¶
func (builder *Builder) Get() (*nvidiagpuv1.ClusterPolicy, error)
Get returns clusterPolicy object if found.
Click to show internal directories.
Click to hide internal directories.