Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(params CreateParams) (*models.RequestEnrollmentTokenReply, error)
Create creates the token for the specific roles
func List ¶
func List(params ListParams) (*models.ListEnrollmentTokenReply, error)
List lists all persistent tokens
Types ¶
type CreateParams ¶
CreateParams is consumed by Create
func (CreateParams) Validate ¶
func (params CreateParams) Validate() error
Validate ensures that there's no errors prior to performing the Create API call.
type DeleteParams ¶
DeleteParams is consumed by Delete
func (DeleteParams) Validate ¶
func (params DeleteParams) Validate() error
Validate ensures that there's no errors prior to performing the Delete API call.
type ListParams ¶
ListParams is consumed by List
func (ListParams) Validate ¶
func (params ListParams) Validate() error
Validate ensures that there's no errors prior to performing the List API call.
Click to show internal directories.
Click to hide internal directories.