Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGVR ¶
func GetGVR() schema.GroupVersionResource
GetGVR returns service's GroupVersionResource which could be used for Clean function.
Types ¶
type AdditionalOptions ¶
AdditionalOptions additional options for ServiceAccount object.
type Builder ¶
type Builder struct { // ServiceAccount definition. Used to create serviceaccount object. Definition *corev1.ServiceAccount // Created serviceaccount object. Object *corev1.ServiceAccount // contains filtered or unexported fields }
Builder provides struct for serviceaccount object containing connection to the cluster and the serviceaccount definitions.
func NewBuilder ¶
NewBuilder creates a new instance of Builder.
func (*Builder) Create ¶
Create makes a serviceaccount in cluster and stores the created object in struct.
func (*Builder) WithOptions ¶
func (builder *Builder) WithOptions(options ...AdditionalOptions) *Builder
WithOptions creates serviceAccount with generic mutation options.
Click to show internal directories.
Click to hide internal directories.