Gibheer
039f72c3d5
The basic server and client are working and it is possible to add, list, show, set and remove subjects. Locations are not yet written to the filesystem yet and need to be fixed.
17 lines
480 B
Go
17 lines
480 B
Go
// Code generated by "stringer -type ResourceType"; DO NOT EDIT
|
|
|
|
package pkiadm
|
|
|
|
import "fmt"
|
|
|
|
const _ResourceType_name = "RTPrivateKeyRTPublicKeyRTCSRRTCertificateRTLocationRTSerialRTSubject"
|
|
|
|
var _ResourceType_index = [...]uint8{0, 12, 23, 28, 41, 51, 59, 68}
|
|
|
|
func (i ResourceType) String() string {
|
|
if i >= ResourceType(len(_ResourceType_index)-1) {
|
|
return fmt.Sprintf("ResourceType(%d)", i)
|
|
}
|
|
return _ResourceType_name[_ResourceType_index[i]:_ResourceType_index[i+1]]
|
|
}
|