Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewTokens ¶
func CreateNewTokens(client clientset.Interface, tokens []bootstraptokenv1.BootstrapToken) error
CreateNewTokens tries to create a token and fails if one with the same ID already exists
func UpdateOrCreateTokens ¶
func UpdateOrCreateTokens(client clientset.Interface, failIfExists bool, tokens []bootstraptokenv1.BootstrapToken) error
UpdateOrCreateTokens attempts to update a token with the given ID, or create if it does not already exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.