mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Create should be able to accept multiple resources
This commit is contained in:
@@ -262,6 +262,8 @@ func (b *Builder) ContinueOnError() *Builder {
|
||||
return b
|
||||
}
|
||||
|
||||
// SingleResourceType will cause the builder to error if the user specifies more than a single type
|
||||
// of resource.
|
||||
func (b *Builder) SingleResourceType() *Builder {
|
||||
b.singleResourceType = true
|
||||
return b
|
||||
|
Reference in New Issue
Block a user