Documentation ¶
Index ¶
- func AddKey(jwtToken string, reqBody request.AddKeyReqBody) (response.Key, error)
- func AddKeyBasedOnTemplate(jwtToken string, reqBody request.AddKeyReqBody, keyParam KeyByTemplateParam) (response.Key, error)
- func ArchiveKey(jwtToken string, keyId string) error
- func BulkArchiveKeys(jwtToken string, keyIds []string) error
- func GetArchivedKeys(jwtToken string) ([]response.Key, error)
- func GetKey(jwtToken string) (response.Key, error)
- func GetKeys(jwtToken string, batchIndex int) ([]response.Key, error)
- func GetKeysFilteredByType(jwtToken string, keyType string) ([]response.Key, error)
- func GetKeysLinkedToBlock(jwtToken string, keyParam common.ResourceIdParam) ([]response.Key, error)
- func GetKeysLinkedToPod(jwtToken string, keyParam common.ResourceIdParam) ([]response.Key, error)
- func UnarchiveKey(jwtToken string, keyId string) error
- func UpdateKey(jwtToken string, reqBody UpdateKeyReqBody, keyId string) (response.Key, error)
- func UpdateKeyDescription(jwtToken string, reqBody UpdateKeyDescReqBody, keyId string) (response.Key, error)
- type KeyByTemplateParam
- type UpdateKeyDescReqBody
- type UpdateKeyReqBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKeyBasedOnTemplate ¶
func AddKeyBasedOnTemplate( jwtToken string, reqBody request.AddKeyReqBody, keyParam KeyByTemplateParam, ) (response.Key, error)
func ArchiveKey ¶
func BulkArchiveKeys ¶
func GetKeysFilteredByType ¶
func GetKeysLinkedToBlock ¶
func GetKeysLinkedToPod ¶
func UnarchiveKey ¶
func UpdateKeyDescription ¶
Types ¶
type KeyByTemplateParam ¶
type UpdateKeyDescReqBody ¶
type UpdateKeyDescReqBody struct {
Description string `json:"keyDescription"`
}
Source Files ¶
- keys.1.1.get_keys.go
- keys.1.10.bulk_archive_keys.go
- keys.1.11.archive_key.go
- keys.1.12.unarchive_key.go
- keys.1.13.update_key_description.go
- keys.1.2.add_key.go
- keys.1.3.add_key_based_on_template.go
- keys.1.4.get_key.go
- keys.1.5.update_key.go
- keys.1.6.get_archived_keys.go
- keys.1.7.get_keys_linked_to_pod.go
- keys.1.8.get_keys_linked_to_block.go
- keys.1.9.get_keys_filtered_by_type.go
Click to show internal directories.
Click to hide internal directories.