Documentation ¶
Index ¶
- Variables
- func Config(cmd *cobra.Command, args []string) error
- func ExecuteCLI()
- func GetKeyRequest(pcrSlice []string, token string) (sdk.KeyRequest, error)
- func Test(cmd *cobra.Command, args []string) error
- func UpdateConfigFileJSON(jsonFile string, key string, value string) error
- type AttestationResponse
- type DeployResponse
- type DeviceCodeResponse
- type ErrServerForList
- type ErrorMsg
- type ErrorRunResponse
- type Message
- type PlainFormatter
- type Release
- type RunResponse
- type TokenResponse
- type UserError
Constants ¶
This section is empty.
Variables ¶
View Source
var C config.Config
Functions ¶
func ExecuteCLI ¶
func ExecuteCLI()
ExecuteCLI adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetKeyRequest ¶ added in v0.2.0
func GetKeyRequest(pcrSlice []string, token string) (sdk.KeyRequest, error)
Types ¶
type AttestationResponse ¶
type AttestationResponse struct {
AttestationDoc string `json:"attestation_doc"`
}
type DeployResponse ¶
type DeployResponse struct {
ID string `json:"id"`
}
type DeviceCodeResponse ¶
type ErrServerForList ¶ added in v0.3.0
type ErrServerForList struct {
// contains filtered or unexported fields
}
func (ErrServerForList) Error ¶ added in v0.3.0
func (e ErrServerForList) Error() string
type ErrorRunResponse ¶
type ErrorRunResponse struct {
Message string `json:"message"`
}
type PlainFormatter ¶
type PlainFormatter struct{}
type RunResponse ¶
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.