Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AdvancedAgentConfiguration
- func (o *AdvancedAgentConfiguration) GetAgentUpdateInterval() int32
- func (o *AdvancedAgentConfiguration) GetAgentUpdateIntervalOk() (*int32, bool)
- func (o *AdvancedAgentConfiguration) GetBackendDevice() string
- func (o *AdvancedAgentConfiguration) GetBackendDeviceOk() (*string, bool)
- func (o *AdvancedAgentConfiguration) GetUseNativeHashcat() bool
- func (o *AdvancedAgentConfiguration) GetUseNativeHashcatOk() (*bool, bool)
- func (o *AdvancedAgentConfiguration) HasBackendDevice() bool
- func (o *AdvancedAgentConfiguration) HasUseNativeHashcat() bool
- func (o AdvancedAgentConfiguration) MarshalJSON() ([]byte, error)
- func (o *AdvancedAgentConfiguration) SetAgentUpdateInterval(v int32)
- func (o *AdvancedAgentConfiguration) SetBackendDevice(v string)
- func (o *AdvancedAgentConfiguration) SetBackendDeviceNil()
- func (o *AdvancedAgentConfiguration) SetUseNativeHashcat(v bool)
- func (o *AdvancedAgentConfiguration) SetUseNativeHashcatNil()
- func (o AdvancedAgentConfiguration) ToMap() (map[string]interface{}, error)
- func (o *AdvancedAgentConfiguration) UnmarshalJSON(data []byte) (err error)
- func (o *AdvancedAgentConfiguration) UnsetBackendDevice()
- func (o *AdvancedAgentConfiguration) UnsetUseNativeHashcat()
- type Agent
- func (o *Agent) GetAdvancedConfiguration() AdvancedAgentConfiguration
- func (o *Agent) GetAdvancedConfigurationOk() (*AdvancedAgentConfiguration, bool)
- func (o *Agent) GetClientSignature() string
- func (o *Agent) GetClientSignatureOk() (*string, bool)
- func (o *Agent) GetCommandParameters() string
- func (o *Agent) GetCommandParametersOk() (*string, bool)
- func (o *Agent) GetCpuOnly() bool
- func (o *Agent) GetCpuOnlyOk() (*bool, bool)
- func (o *Agent) GetDevices() []string
- func (o *Agent) GetDevicesOk() ([]string, bool)
- func (o *Agent) GetId() int64
- func (o *Agent) GetIdOk() (*int64, bool)
- func (o *Agent) GetIgnoreErrors() bool
- func (o *Agent) GetIgnoreErrorsOk() (*bool, bool)
- func (o *Agent) GetName() string
- func (o *Agent) GetNameOk() (*string, bool)
- func (o *Agent) GetOperatingSystem() string
- func (o *Agent) GetOperatingSystemOk() (*string, bool)
- func (o *Agent) GetTrusted() bool
- func (o *Agent) GetTrustedOk() (*bool, bool)
- func (o *Agent) HasAdvancedConfiguration() bool
- func (o Agent) MarshalJSON() ([]byte, error)
- func (o *Agent) SetAdvancedConfiguration(v AdvancedAgentConfiguration)
- func (o *Agent) SetClientSignature(v string)
- func (o *Agent) SetCommandParameters(v string)
- func (o *Agent) SetCpuOnly(v bool)
- func (o *Agent) SetDevices(v []string)
- func (o *Agent) SetId(v int64)
- func (o *Agent) SetIgnoreErrors(v bool)
- func (o *Agent) SetName(v string)
- func (o *Agent) SetOperatingSystem(v string)
- func (o *Agent) SetTrusted(v bool)
- func (o Agent) ToMap() (map[string]interface{}, error)
- func (o *Agent) UnmarshalJSON(data []byte) (err error)
- type AgentConfiguration
- func (o *AgentConfiguration) GetApiVersion() int32
- func (o *AgentConfiguration) GetApiVersionOk() (*int32, bool)
- func (o *AgentConfiguration) GetConfig() AdvancedAgentConfiguration
- func (o *AgentConfiguration) GetConfigOk() (*AdvancedAgentConfiguration, bool)
- func (o AgentConfiguration) MarshalJSON() ([]byte, error)
- func (o *AgentConfiguration) SetApiVersion(v int32)
- func (o *AgentConfiguration) SetConfig(v AdvancedAgentConfiguration)
- func (o AgentConfiguration) ToMap() (map[string]interface{}, error)
- func (o *AgentConfiguration) UnmarshalJSON(data []byte) (err error)
- type AgentLastBenchmark
- func (o *AgentLastBenchmark) GetLastBenchmarkDate() time.Time
- func (o *AgentLastBenchmark) GetLastBenchmarkDateOk() (*time.Time, bool)
- func (o AgentLastBenchmark) MarshalJSON() ([]byte, error)
- func (o *AgentLastBenchmark) SetLastBenchmarkDate(v time.Time)
- func (o AgentLastBenchmark) ToMap() (map[string]interface{}, error)
- func (o *AgentLastBenchmark) UnmarshalJSON(data []byte) (err error)
- type AgentUpdate
- func (o *AgentUpdate) GetClientSignature() string
- func (o *AgentUpdate) GetClientSignatureOk() (*string, bool)
- func (o *AgentUpdate) GetDevices() []string
- func (o *AgentUpdate) GetDevicesOk() ([]string, bool)
- func (o *AgentUpdate) GetId() int64
- func (o *AgentUpdate) GetIdOk() (*int64, bool)
- func (o *AgentUpdate) GetName() string
- func (o *AgentUpdate) GetNameOk() (*string, bool)
- func (o *AgentUpdate) GetOperatingSystem() string
- func (o *AgentUpdate) GetOperatingSystemOk() (*string, bool)
- func (o AgentUpdate) MarshalJSON() ([]byte, error)
- func (o *AgentUpdate) SetClientSignature(v string)
- func (o *AgentUpdate) SetDevices(v []string)
- func (o *AgentUpdate) SetId(v int64)
- func (o *AgentUpdate) SetName(v string)
- func (o *AgentUpdate) SetOperatingSystem(v string)
- func (o AgentUpdate) ToMap() (map[string]interface{}, error)
- func (o *AgentUpdate) UnmarshalJSON(data []byte) (err error)
- type AgentsAPIService
- func (a *AgentsAPIService) HeartbeatAgent(ctx context.Context, id int64) ApiHeartbeatAgentRequest
- func (a *AgentsAPIService) HeartbeatAgentExecute(r ApiHeartbeatAgentRequest) (*http.Response, error)
- func (a *AgentsAPIService) LastBenchmarkAgent(ctx context.Context, id int64) ApiLastBenchmarkAgentRequest
- func (a *AgentsAPIService) LastBenchmarkAgentExecute(r ApiLastBenchmarkAgentRequest) (*AgentLastBenchmark, *http.Response, error)
- func (a *AgentsAPIService) ShowAgent(ctx context.Context, id int64) ApiShowAgentRequest
- func (a *AgentsAPIService) ShowAgentExecute(r ApiShowAgentRequest) (*Agent, *http.Response, error)
- func (a *AgentsAPIService) SubmitBenchmarkAgent(ctx context.Context, id int64) ApiSubmitBenchmarkAgentRequest
- func (a *AgentsAPIService) SubmitBenchmarkAgentExecute(r ApiSubmitBenchmarkAgentRequest) (*http.Response, error)
- func (a *AgentsAPIService) UpdateAgent(ctx context.Context, id int64) ApiUpdateAgentRequest
- func (a *AgentsAPIService) UpdateAgentExecute(r ApiUpdateAgentRequest) (*Agent, *http.Response, error)
- type ApiAbandonTaskRequest
- type ApiAcceptTaskRequest
- type ApiAuthenticateRequest
- type ApiCheckForCrackerUpdateRequest
- func (r ApiCheckForCrackerUpdateRequest) Execute() (*CrackerUpdate, *http.Response, error)
- func (r ApiCheckForCrackerUpdateRequest) OperatingSystem(operatingSystem string) ApiCheckForCrackerUpdateRequest
- func (r ApiCheckForCrackerUpdateRequest) Version(version string) ApiCheckForCrackerUpdateRequest
- type ApiConfigurationRequest
- type ApiExhaustedTaskRequest
- type ApiHashListAttackRequest
- type ApiHeartbeatAgentRequest
- type ApiLastBenchmarkAgentRequest
- type ApiNewTaskRequest
- type ApiShowAgentRequest
- type ApiShowAttackRequest
- type ApiShowTaskRequest
- type ApiSubmitBenchmarkAgentRequest
- type ApiSubmitCrackRequest
- type ApiSubmitStatusRequest
- type ApiUpdateAgentRequest
- type Attack
- func (o *Attack) GetAttackMode() string
- func (o *Attack) GetAttackModeOk() (*string, bool)
- func (o *Attack) GetClassicMarkov() bool
- func (o *Attack) GetClassicMarkovOk() (*bool, bool)
- func (o *Attack) GetCustomCharset1() string
- func (o *Attack) GetCustomCharset1Ok() (*string, bool)
- func (o *Attack) GetCustomCharset2() string
- func (o *Attack) GetCustomCharset2Ok() (*string, bool)
- func (o *Attack) GetCustomCharset3() string
- func (o *Attack) GetCustomCharset3Ok() (*string, bool)
- func (o *Attack) GetCustomCharset4() string
- func (o *Attack) GetCustomCharset4Ok() (*string, bool)
- func (o *Attack) GetDisableMarkov() bool
- func (o *Attack) GetDisableMarkovOk() (*bool, bool)
- func (o *Attack) GetHashListChecksum() string
- func (o *Attack) GetHashListChecksumOk() (*string, bool)
- func (o *Attack) GetHashListId() int64
- func (o *Attack) GetHashListIdOk() (*int64, bool)
- func (o *Attack) GetHashListUrl() string
- func (o *Attack) GetHashListUrlOk() (*string, bool)
- func (o *Attack) GetHashMode() int32
- func (o *Attack) GetHashModeOk() (*int32, bool)
- func (o *Attack) GetId() int64
- func (o *Attack) GetIdOk() (*int64, bool)
- func (o *Attack) GetIncrementMaximum() int32
- func (o *Attack) GetIncrementMaximumOk() (*int32, bool)
- func (o *Attack) GetIncrementMinimum() int32
- func (o *Attack) GetIncrementMinimumOk() (*int32, bool)
- func (o *Attack) GetIncrementMode() bool
- func (o *Attack) GetIncrementModeOk() (*bool, bool)
- func (o *Attack) GetLeftRule() string
- func (o *Attack) GetLeftRuleOk() (*string, bool)
- func (o *Attack) GetMarkovThreshold() int32
- func (o *Attack) GetMarkovThresholdOk() (*int32, bool)
- func (o *Attack) GetMask() string
- func (o *Attack) GetMaskOk() (*string, bool)
- func (o *Attack) GetOptimized() bool
- func (o *Attack) GetOptimizedOk() (*bool, bool)
- func (o *Attack) GetRightRule() string
- func (o *Attack) GetRightRuleOk() (*string, bool)
- func (o *Attack) GetRuleLists() []AttackResourceFile
- func (o *Attack) GetRuleListsOk() ([]AttackResourceFile, bool)
- func (o *Attack) GetSlowCandidateGenerators() bool
- func (o *Attack) GetSlowCandidateGeneratorsOk() (*bool, bool)
- func (o *Attack) GetUrl() string
- func (o *Attack) GetUrlOk() (*string, bool)
- func (o *Attack) GetWordLists() []AttackResourceFile
- func (o *Attack) GetWordListsOk() ([]AttackResourceFile, bool)
- func (o *Attack) GetWorkloadProfile() int32
- func (o *Attack) GetWorkloadProfileOk() (*int32, bool)
- func (o *Attack) HasClassicMarkov() bool
- func (o *Attack) HasCustomCharset1() bool
- func (o *Attack) HasCustomCharset2() bool
- func (o *Attack) HasCustomCharset3() bool
- func (o *Attack) HasCustomCharset4() bool
- func (o *Attack) HasDisableMarkov() bool
- func (o *Attack) HasHashListChecksum() bool
- func (o *Attack) HasHashListUrl() bool
- func (o *Attack) HasIncrementMaximum() bool
- func (o *Attack) HasIncrementMinimum() bool
- func (o *Attack) HasIncrementMode() bool
- func (o *Attack) HasLeftRule() bool
- func (o *Attack) HasMarkovThreshold() bool
- func (o *Attack) HasMask() bool
- func (o *Attack) HasRightRule() bool
- func (o *Attack) HasRuleLists() bool
- func (o *Attack) HasWordLists() bool
- func (o Attack) MarshalJSON() ([]byte, error)
- func (o *Attack) SetAttackMode(v string)
- func (o *Attack) SetClassicMarkov(v bool)
- func (o *Attack) SetCustomCharset1(v string)
- func (o *Attack) SetCustomCharset1Nil()
- func (o *Attack) SetCustomCharset2(v string)
- func (o *Attack) SetCustomCharset2Nil()
- func (o *Attack) SetCustomCharset3(v string)
- func (o *Attack) SetCustomCharset3Nil()
- func (o *Attack) SetCustomCharset4(v string)
- func (o *Attack) SetCustomCharset4Nil()
- func (o *Attack) SetDisableMarkov(v bool)
- func (o *Attack) SetHashListChecksum(v string)
- func (o *Attack) SetHashListId(v int64)
- func (o *Attack) SetHashListUrl(v string)
- func (o *Attack) SetHashMode(v int32)
- func (o *Attack) SetId(v int64)
- func (o *Attack) SetIncrementMaximum(v int32)
- func (o *Attack) SetIncrementMaximumNil()
- func (o *Attack) SetIncrementMinimum(v int32)
- func (o *Attack) SetIncrementMinimumNil()
- func (o *Attack) SetIncrementMode(v bool)
- func (o *Attack) SetLeftRule(v string)
- func (o *Attack) SetLeftRuleNil()
- func (o *Attack) SetMarkovThreshold(v int32)
- func (o *Attack) SetMask(v string)
- func (o *Attack) SetOptimized(v bool)
- func (o *Attack) SetRightRule(v string)
- func (o *Attack) SetRightRuleNil()
- func (o *Attack) SetRuleLists(v []AttackResourceFile)
- func (o *Attack) SetSlowCandidateGenerators(v bool)
- func (o *Attack) SetUrl(v string)
- func (o *Attack) SetWordLists(v []AttackResourceFile)
- func (o *Attack) SetWorkloadProfile(v int32)
- func (o Attack) ToMap() (map[string]interface{}, error)
- func (o *Attack) UnmarshalJSON(data []byte) (err error)
- func (o *Attack) UnsetCustomCharset1()
- func (o *Attack) UnsetCustomCharset2()
- func (o *Attack) UnsetCustomCharset3()
- func (o *Attack) UnsetCustomCharset4()
- func (o *Attack) UnsetIncrementMaximum()
- func (o *Attack) UnsetIncrementMinimum()
- func (o *Attack) UnsetLeftRule()
- func (o *Attack) UnsetRightRule()
- type AttackResourceFile
- func (o *AttackResourceFile) GetChecksum() string
- func (o *AttackResourceFile) GetChecksumOk() (*string, bool)
- func (o *AttackResourceFile) GetDownloadUrl() string
- func (o *AttackResourceFile) GetDownloadUrlOk() (*string, bool)
- func (o *AttackResourceFile) GetFileName() string
- func (o *AttackResourceFile) GetFileNameOk() (*string, bool)
- func (o *AttackResourceFile) GetId() int64
- func (o *AttackResourceFile) GetIdOk() (*int64, bool)
- func (o AttackResourceFile) MarshalJSON() ([]byte, error)
- func (o *AttackResourceFile) SetChecksum(v string)
- func (o *AttackResourceFile) SetDownloadUrl(v string)
- func (o *AttackResourceFile) SetFileName(v string)
- func (o *AttackResourceFile) SetId(v int64)
- func (o AttackResourceFile) ToMap() (map[string]interface{}, error)
- func (o *AttackResourceFile) UnmarshalJSON(data []byte) (err error)
- type AttacksAPIService
- func (a *AttacksAPIService) HashListAttack(ctx context.Context, id int64) ApiHashListAttackRequest
- func (a *AttacksAPIService) HashListAttackExecute(r ApiHashListAttackRequest) (*os.File, *http.Response, error)
- func (a *AttacksAPIService) ShowAttack(ctx context.Context, id int64) ApiShowAttackRequest
- func (a *AttacksAPIService) ShowAttackExecute(r ApiShowAttackRequest) (*Attack, *http.Response, error)
- type AuthenticationResult
- func (o *AuthenticationResult) GetAgentId() int64
- func (o *AuthenticationResult) GetAgentIdOk() (*int64, bool)
- func (o *AuthenticationResult) GetAuthenticated() bool
- func (o *AuthenticationResult) GetAuthenticatedOk() (*bool, bool)
- func (o AuthenticationResult) MarshalJSON() ([]byte, error)
- func (o *AuthenticationResult) SetAgentId(v int64)
- func (o *AuthenticationResult) SetAuthenticated(v bool)
- func (o AuthenticationResult) ToMap() (map[string]interface{}, error)
- func (o *AuthenticationResult) UnmarshalJSON(data []byte) (err error)
- type BasicAuth
- type ClientAPIService
- func (a *ClientAPIService) Authenticate(ctx context.Context) ApiAuthenticateRequest
- func (a *ClientAPIService) AuthenticateExecute(r ApiAuthenticateRequest) (*AuthenticationResult, *http.Response, error)
- func (a *ClientAPIService) Configuration(ctx context.Context) ApiConfigurationRequest
- func (a *ClientAPIService) ConfigurationExecute(r ApiConfigurationRequest) (*AgentConfiguration, *http.Response, error)
- type Configuration
- type CrackerUpdate
- func (o *CrackerUpdate) GetAvailable() bool
- func (o *CrackerUpdate) GetAvailableOk() (*bool, bool)
- func (o *CrackerUpdate) GetDownloadUrl() string
- func (o *CrackerUpdate) GetDownloadUrlOk() (*string, bool)
- func (o *CrackerUpdate) GetExecName() string
- func (o *CrackerUpdate) GetExecNameOk() (*string, bool)
- func (o *CrackerUpdate) GetLatestVersion() string
- func (o *CrackerUpdate) GetLatestVersionOk() (*string, bool)
- func (o *CrackerUpdate) GetMessage() string
- func (o *CrackerUpdate) GetMessageOk() (*string, bool)
- func (o *CrackerUpdate) HasDownloadUrl() bool
- func (o *CrackerUpdate) HasExecName() bool
- func (o *CrackerUpdate) HasLatestVersion() bool
- func (o *CrackerUpdate) HasMessage() bool
- func (o CrackerUpdate) MarshalJSON() ([]byte, error)
- func (o *CrackerUpdate) SetAvailable(v bool)
- func (o *CrackerUpdate) SetDownloadUrl(v string)
- func (o *CrackerUpdate) SetDownloadUrlNil()
- func (o *CrackerUpdate) SetExecName(v string)
- func (o *CrackerUpdate) SetExecNameNil()
- func (o *CrackerUpdate) SetLatestVersion(v string)
- func (o *CrackerUpdate) SetLatestVersionNil()
- func (o *CrackerUpdate) SetMessage(v string)
- func (o *CrackerUpdate) SetMessageNil()
- func (o CrackerUpdate) ToMap() (map[string]interface{}, error)
- func (o *CrackerUpdate) UnmarshalJSON(data []byte) (err error)
- func (o *CrackerUpdate) UnsetDownloadUrl()
- func (o *CrackerUpdate) UnsetExecName()
- func (o *CrackerUpdate) UnsetLatestVersion()
- func (o *CrackerUpdate) UnsetMessage()
- type CrackersAPIService
- type DeviceStatus
- func (o *DeviceStatus) GetDeviceId() int32
- func (o *DeviceStatus) GetDeviceIdOk() (*int32, bool)
- func (o *DeviceStatus) GetDeviceName() string
- func (o *DeviceStatus) GetDeviceNameOk() (*string, bool)
- func (o *DeviceStatus) GetDeviceType() string
- func (o *DeviceStatus) GetDeviceTypeOk() (*string, bool)
- func (o *DeviceStatus) GetSpeed() int64
- func (o *DeviceStatus) GetSpeedOk() (*int64, bool)
- func (o *DeviceStatus) GetTemperature() int32
- func (o *DeviceStatus) GetTemperatureOk() (*int32, bool)
- func (o *DeviceStatus) GetUtilization() int32
- func (o *DeviceStatus) GetUtilizationOk() (*int32, bool)
- func (o DeviceStatus) MarshalJSON() ([]byte, error)
- func (o *DeviceStatus) SetDeviceId(v int32)
- func (o *DeviceStatus) SetDeviceName(v string)
- func (o *DeviceStatus) SetDeviceType(v string)
- func (o *DeviceStatus) SetSpeed(v int64)
- func (o *DeviceStatus) SetTemperature(v int32)
- func (o *DeviceStatus) SetUtilization(v int32)
- func (o DeviceStatus) ToMap() (map[string]interface{}, error)
- func (o *DeviceStatus) UnmarshalJSON(data []byte) (err error)
- type ErrorObject
- type GenericOpenAPIError
- type HashcatBenchmark
- func (o *HashcatBenchmark) GetDevice() int32
- func (o *HashcatBenchmark) GetDeviceOk() (*int32, bool)
- func (o *HashcatBenchmark) GetHashSpeed() float32
- func (o *HashcatBenchmark) GetHashSpeedOk() (*float32, bool)
- func (o *HashcatBenchmark) GetHashType() int32
- func (o *HashcatBenchmark) GetHashTypeOk() (*int32, bool)
- func (o *HashcatBenchmark) GetRuntime() int64
- func (o *HashcatBenchmark) GetRuntimeOk() (*int64, bool)
- func (o HashcatBenchmark) MarshalJSON() ([]byte, error)
- func (o *HashcatBenchmark) SetDevice(v int32)
- func (o *HashcatBenchmark) SetHashSpeed(v float32)
- func (o *HashcatBenchmark) SetHashType(v int32)
- func (o *HashcatBenchmark) SetRuntime(v int64)
- func (o HashcatBenchmark) ToMap() (map[string]interface{}, error)
- func (o *HashcatBenchmark) UnmarshalJSON(data []byte) (err error)
- type HashcatGuess
- func (o *HashcatGuess) GetGuessBase() string
- func (o *HashcatGuess) GetGuessBaseCount() int64
- func (o *HashcatGuess) GetGuessBaseCountOk() (*int64, bool)
- func (o *HashcatGuess) GetGuessBaseOffset() int64
- func (o *HashcatGuess) GetGuessBaseOffsetOk() (*int64, bool)
- func (o *HashcatGuess) GetGuessBaseOk() (*string, bool)
- func (o *HashcatGuess) GetGuessBasePercentage() float32
- func (o *HashcatGuess) GetGuessBasePercentageOk() (*float32, bool)
- func (o *HashcatGuess) GetGuessMod() string
- func (o *HashcatGuess) GetGuessModCount() int64
- func (o *HashcatGuess) GetGuessModCountOk() (*int64, bool)
- func (o *HashcatGuess) GetGuessModOffset() int64
- func (o *HashcatGuess) GetGuessModOffsetOk() (*int64, bool)
- func (o *HashcatGuess) GetGuessModOk() (*string, bool)
- func (o *HashcatGuess) GetGuessModPercentage() float32
- func (o *HashcatGuess) GetGuessModPercentageOk() (*float32, bool)
- func (o *HashcatGuess) GetGuessMode() int32
- func (o *HashcatGuess) GetGuessModeOk() (*int32, bool)
- func (o HashcatGuess) MarshalJSON() ([]byte, error)
- func (o *HashcatGuess) SetGuessBase(v string)
- func (o *HashcatGuess) SetGuessBaseCount(v int64)
- func (o *HashcatGuess) SetGuessBaseOffset(v int64)
- func (o *HashcatGuess) SetGuessBasePercentage(v float32)
- func (o *HashcatGuess) SetGuessMod(v string)
- func (o *HashcatGuess) SetGuessModCount(v int64)
- func (o *HashcatGuess) SetGuessModOffset(v int64)
- func (o *HashcatGuess) SetGuessModPercentage(v float32)
- func (o *HashcatGuess) SetGuessMode(v int32)
- func (o HashcatGuess) ToMap() (map[string]interface{}, error)
- func (o *HashcatGuess) UnmarshalJSON(data []byte) (err error)
- type HashcatResult
- func (o *HashcatResult) GetHash() string
- func (o *HashcatResult) GetHashOk() (*string, bool)
- func (o *HashcatResult) GetPlainText() string
- func (o *HashcatResult) GetPlainTextOk() (*string, bool)
- func (o *HashcatResult) GetTimestamp() time.Time
- func (o *HashcatResult) GetTimestampOk() (*time.Time, bool)
- func (o HashcatResult) MarshalJSON() ([]byte, error)
- func (o *HashcatResult) SetHash(v string)
- func (o *HashcatResult) SetPlainText(v string)
- func (o *HashcatResult) SetTimestamp(v time.Time)
- func (o HashcatResult) ToMap() (map[string]interface{}, error)
- func (o *HashcatResult) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableAdvancedAgentConfiguration
- func (v NullableAdvancedAgentConfiguration) Get() *AdvancedAgentConfiguration
- func (v NullableAdvancedAgentConfiguration) IsSet() bool
- func (v NullableAdvancedAgentConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableAdvancedAgentConfiguration) Set(val *AdvancedAgentConfiguration)
- func (v *NullableAdvancedAgentConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableAdvancedAgentConfiguration) Unset()
- type NullableAgent
- type NullableAgentConfiguration
- func (v NullableAgentConfiguration) Get() *AgentConfiguration
- func (v NullableAgentConfiguration) IsSet() bool
- func (v NullableAgentConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableAgentConfiguration) Set(val *AgentConfiguration)
- func (v *NullableAgentConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableAgentConfiguration) Unset()
- type NullableAgentLastBenchmark
- func (v NullableAgentLastBenchmark) Get() *AgentLastBenchmark
- func (v NullableAgentLastBenchmark) IsSet() bool
- func (v NullableAgentLastBenchmark) MarshalJSON() ([]byte, error)
- func (v *NullableAgentLastBenchmark) Set(val *AgentLastBenchmark)
- func (v *NullableAgentLastBenchmark) UnmarshalJSON(src []byte) error
- func (v *NullableAgentLastBenchmark) Unset()
- type NullableAgentUpdate
- func (v NullableAgentUpdate) Get() *AgentUpdate
- func (v NullableAgentUpdate) IsSet() bool
- func (v NullableAgentUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableAgentUpdate) Set(val *AgentUpdate)
- func (v *NullableAgentUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableAgentUpdate) Unset()
- type NullableAttack
- type NullableAttackResourceFile
- func (v NullableAttackResourceFile) Get() *AttackResourceFile
- func (v NullableAttackResourceFile) IsSet() bool
- func (v NullableAttackResourceFile) MarshalJSON() ([]byte, error)
- func (v *NullableAttackResourceFile) Set(val *AttackResourceFile)
- func (v *NullableAttackResourceFile) UnmarshalJSON(src []byte) error
- func (v *NullableAttackResourceFile) Unset()
- type NullableAuthenticationResult
- func (v NullableAuthenticationResult) Get() *AuthenticationResult
- func (v NullableAuthenticationResult) IsSet() bool
- func (v NullableAuthenticationResult) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticationResult) Set(val *AuthenticationResult)
- func (v *NullableAuthenticationResult) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticationResult) Unset()
- type NullableBool
- type NullableCrackerUpdate
- func (v NullableCrackerUpdate) Get() *CrackerUpdate
- func (v NullableCrackerUpdate) IsSet() bool
- func (v NullableCrackerUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableCrackerUpdate) Set(val *CrackerUpdate)
- func (v *NullableCrackerUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableCrackerUpdate) Unset()
- type NullableDeviceStatus
- func (v NullableDeviceStatus) Get() *DeviceStatus
- func (v NullableDeviceStatus) IsSet() bool
- func (v NullableDeviceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceStatus) Set(val *DeviceStatus)
- func (v *NullableDeviceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceStatus) Unset()
- type NullableErrorObject
- func (v NullableErrorObject) Get() *ErrorObject
- func (v NullableErrorObject) IsSet() bool
- func (v NullableErrorObject) MarshalJSON() ([]byte, error)
- func (v *NullableErrorObject) Set(val *ErrorObject)
- func (v *NullableErrorObject) UnmarshalJSON(src []byte) error
- func (v *NullableErrorObject) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHashcatBenchmark
- func (v NullableHashcatBenchmark) Get() *HashcatBenchmark
- func (v NullableHashcatBenchmark) IsSet() bool
- func (v NullableHashcatBenchmark) MarshalJSON() ([]byte, error)
- func (v *NullableHashcatBenchmark) Set(val *HashcatBenchmark)
- func (v *NullableHashcatBenchmark) UnmarshalJSON(src []byte) error
- func (v *NullableHashcatBenchmark) Unset()
- type NullableHashcatGuess
- func (v NullableHashcatGuess) Get() *HashcatGuess
- func (v NullableHashcatGuess) IsSet() bool
- func (v NullableHashcatGuess) MarshalJSON() ([]byte, error)
- func (v *NullableHashcatGuess) Set(val *HashcatGuess)
- func (v *NullableHashcatGuess) UnmarshalJSON(src []byte) error
- func (v *NullableHashcatGuess) Unset()
- type NullableHashcatResult
- func (v NullableHashcatResult) Get() *HashcatResult
- func (v NullableHashcatResult) IsSet() bool
- func (v NullableHashcatResult) MarshalJSON() ([]byte, error)
- func (v *NullableHashcatResult) Set(val *HashcatResult)
- func (v *NullableHashcatResult) UnmarshalJSON(src []byte) error
- func (v *NullableHashcatResult) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableStateError
- type NullableString
- type NullableTask
- type NullableTaskStatus
- type NullableTime
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StateError
- type Task
- func (o *Task) GetAttackId() int64
- func (o *Task) GetAttackIdOk() (*int64, bool)
- func (o *Task) GetId() int64
- func (o *Task) GetIdOk() (*int64, bool)
- func (o *Task) GetLimit() int64
- func (o *Task) GetLimitOk() (*int64, bool)
- func (o *Task) GetSkip() int64
- func (o *Task) GetSkipOk() (*int64, bool)
- func (o *Task) GetStartDate() time.Time
- func (o *Task) GetStartDateOk() (*time.Time, bool)
- func (o *Task) GetStatus() string
- func (o *Task) GetStatusOk() (*string, bool)
- func (o *Task) HasLimit() bool
- func (o *Task) HasSkip() bool
- func (o Task) MarshalJSON() ([]byte, error)
- func (o *Task) SetAttackId(v int64)
- func (o *Task) SetId(v int64)
- func (o *Task) SetLimit(v int64)
- func (o *Task) SetLimitNil()
- func (o *Task) SetSkip(v int64)
- func (o *Task) SetSkipNil()
- func (o *Task) SetStartDate(v time.Time)
- func (o *Task) SetStatus(v string)
- func (o Task) ToMap() (map[string]interface{}, error)
- func (o *Task) UnmarshalJSON(data []byte) (err error)
- func (o *Task) UnsetLimit()
- func (o *Task) UnsetSkip()
- type TaskStatus
- func (o *TaskStatus) GetDeviceStatuses() []DeviceStatus
- func (o *TaskStatus) GetDeviceStatusesOk() ([]DeviceStatus, bool)
- func (o *TaskStatus) GetEstimatedStop() time.Time
- func (o *TaskStatus) GetEstimatedStopOk() (*time.Time, bool)
- func (o *TaskStatus) GetHashcatGuess() HashcatGuess
- func (o *TaskStatus) GetHashcatGuessOk() (*HashcatGuess, bool)
- func (o *TaskStatus) GetOriginalLine() string
- func (o *TaskStatus) GetOriginalLineOk() (*string, bool)
- func (o *TaskStatus) GetProgress() []int64
- func (o *TaskStatus) GetProgressOk() ([]int64, bool)
- func (o *TaskStatus) GetRecoveredHashes() []int32
- func (o *TaskStatus) GetRecoveredHashesOk() ([]int32, bool)
- func (o *TaskStatus) GetRecoveredSalts() []int32
- func (o *TaskStatus) GetRecoveredSaltsOk() ([]int32, bool)
- func (o *TaskStatus) GetRejected() int64
- func (o *TaskStatus) GetRejectedOk() (*int64, bool)
- func (o *TaskStatus) GetRestorePoint() int64
- func (o *TaskStatus) GetRestorePointOk() (*int64, bool)
- func (o *TaskStatus) GetSession() string
- func (o *TaskStatus) GetSessionOk() (*string, bool)
- func (o *TaskStatus) GetStatus() int32
- func (o *TaskStatus) GetStatusOk() (*int32, bool)
- func (o *TaskStatus) GetTarget() string
- func (o *TaskStatus) GetTargetOk() (*string, bool)
- func (o *TaskStatus) GetTime() time.Time
- func (o *TaskStatus) GetTimeOk() (*time.Time, bool)
- func (o *TaskStatus) GetTimeStart() time.Time
- func (o *TaskStatus) GetTimeStartOk() (*time.Time, bool)
- func (o TaskStatus) MarshalJSON() ([]byte, error)
- func (o *TaskStatus) SetDeviceStatuses(v []DeviceStatus)
- func (o *TaskStatus) SetEstimatedStop(v time.Time)
- func (o *TaskStatus) SetHashcatGuess(v HashcatGuess)
- func (o *TaskStatus) SetOriginalLine(v string)
- func (o *TaskStatus) SetProgress(v []int64)
- func (o *TaskStatus) SetRecoveredHashes(v []int32)
- func (o *TaskStatus) SetRecoveredSalts(v []int32)
- func (o *TaskStatus) SetRejected(v int64)
- func (o *TaskStatus) SetRestorePoint(v int64)
- func (o *TaskStatus) SetSession(v string)
- func (o *TaskStatus) SetStatus(v int32)
- func (o *TaskStatus) SetTarget(v string)
- func (o *TaskStatus) SetTime(v time.Time)
- func (o *TaskStatus) SetTimeStart(v time.Time)
- func (o TaskStatus) ToMap() (map[string]interface{}, error)
- func (o *TaskStatus) UnmarshalJSON(data []byte) (err error)
- type TasksAPIService
- func (a *TasksAPIService) AbandonTask(ctx context.Context, id int64) ApiAbandonTaskRequest
- func (a *TasksAPIService) AbandonTaskExecute(r ApiAbandonTaskRequest) (*http.Response, error)
- func (a *TasksAPIService) AcceptTask(ctx context.Context, id int64) ApiAcceptTaskRequest
- func (a *TasksAPIService) AcceptTaskExecute(r ApiAcceptTaskRequest) (*http.Response, error)
- func (a *TasksAPIService) ExhaustedTask(ctx context.Context, id int64) ApiExhaustedTaskRequest
- func (a *TasksAPIService) ExhaustedTaskExecute(r ApiExhaustedTaskRequest) (*http.Response, error)
- func (a *TasksAPIService) NewTask(ctx context.Context) ApiNewTaskRequest
- func (a *TasksAPIService) NewTaskExecute(r ApiNewTaskRequest) (*Task, *http.Response, error)
- func (a *TasksAPIService) ShowTask(ctx context.Context, id int64) ApiShowTaskRequest
- func (a *TasksAPIService) ShowTaskExecute(r ApiShowTaskRequest) (*Task, *http.Response, error)
- func (a *TasksAPIService) SubmitCrack(ctx context.Context, id int64) ApiSubmitCrackRequest
- func (a *TasksAPIService) SubmitCrackExecute(r ApiSubmitCrackRequest) (*http.Response, error)
- func (a *TasksAPIService) SubmitStatus(ctx context.Context, id int64) ApiSubmitStatusRequest
- func (a *TasksAPIService) SubmitStatusExecute(r ApiSubmitStatusRequest) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AgentsAPI *AgentsAPIService AttacksAPI *AttacksAPIService ClientAPI *ClientAPIService CrackersAPI *CrackersAPIService TasksAPI *TasksAPIService // contains filtered or unexported fields }
APIClient manages communication with the CypherSwarm Agent API API vv1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AdvancedAgentConfiguration ¶
type AdvancedAgentConfiguration struct { AgentUpdateInterval NullableInt32 `json:"agent_update_interval"` UseNativeHashcat NullableBool `json:"use_native_hashcat,omitempty"` BackendDevice NullableString `json:"backend_device,omitempty"` }
AdvancedAgentConfiguration struct for AdvancedAgentConfiguration
func NewAdvancedAgentConfiguration ¶
func NewAdvancedAgentConfiguration(agentUpdateInterval NullableInt32) *AdvancedAgentConfiguration
NewAdvancedAgentConfiguration instantiates a new AdvancedAgentConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAdvancedAgentConfigurationWithDefaults ¶
func NewAdvancedAgentConfigurationWithDefaults() *AdvancedAgentConfiguration
NewAdvancedAgentConfigurationWithDefaults instantiates a new AdvancedAgentConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AdvancedAgentConfiguration) GetAgentUpdateInterval ¶
func (o *AdvancedAgentConfiguration) GetAgentUpdateInterval() int32
GetAgentUpdateInterval returns the AgentUpdateInterval field value If the value is explicit nil, the zero value for int32 will be returned
func (*AdvancedAgentConfiguration) GetAgentUpdateIntervalOk ¶
func (o *AdvancedAgentConfiguration) GetAgentUpdateIntervalOk() (*int32, bool)
GetAgentUpdateIntervalOk returns a tuple with the AgentUpdateInterval field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AdvancedAgentConfiguration) GetBackendDevice ¶
func (o *AdvancedAgentConfiguration) GetBackendDevice() string
GetBackendDevice returns the BackendDevice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AdvancedAgentConfiguration) GetBackendDeviceOk ¶
func (o *AdvancedAgentConfiguration) GetBackendDeviceOk() (*string, bool)
GetBackendDeviceOk returns a tuple with the BackendDevice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AdvancedAgentConfiguration) GetUseNativeHashcat ¶
func (o *AdvancedAgentConfiguration) GetUseNativeHashcat() bool
GetUseNativeHashcat returns the UseNativeHashcat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AdvancedAgentConfiguration) GetUseNativeHashcatOk ¶
func (o *AdvancedAgentConfiguration) GetUseNativeHashcatOk() (*bool, bool)
GetUseNativeHashcatOk returns a tuple with the UseNativeHashcat field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AdvancedAgentConfiguration) HasBackendDevice ¶
func (o *AdvancedAgentConfiguration) HasBackendDevice() bool
HasBackendDevice returns a boolean if a field has been set.
func (*AdvancedAgentConfiguration) HasUseNativeHashcat ¶
func (o *AdvancedAgentConfiguration) HasUseNativeHashcat() bool
HasUseNativeHashcat returns a boolean if a field has been set.
func (AdvancedAgentConfiguration) MarshalJSON ¶
func (o AdvancedAgentConfiguration) MarshalJSON() ([]byte, error)
func (*AdvancedAgentConfiguration) SetAgentUpdateInterval ¶
func (o *AdvancedAgentConfiguration) SetAgentUpdateInterval(v int32)
SetAgentUpdateInterval sets field value
func (*AdvancedAgentConfiguration) SetBackendDevice ¶
func (o *AdvancedAgentConfiguration) SetBackendDevice(v string)
SetBackendDevice gets a reference to the given NullableString and assigns it to the BackendDevice field.
func (*AdvancedAgentConfiguration) SetBackendDeviceNil ¶
func (o *AdvancedAgentConfiguration) SetBackendDeviceNil()
SetBackendDeviceNil sets the value for BackendDevice to be an explicit nil
func (*AdvancedAgentConfiguration) SetUseNativeHashcat ¶
func (o *AdvancedAgentConfiguration) SetUseNativeHashcat(v bool)
SetUseNativeHashcat gets a reference to the given NullableBool and assigns it to the UseNativeHashcat field.
func (*AdvancedAgentConfiguration) SetUseNativeHashcatNil ¶
func (o *AdvancedAgentConfiguration) SetUseNativeHashcatNil()
SetUseNativeHashcatNil sets the value for UseNativeHashcat to be an explicit nil
func (AdvancedAgentConfiguration) ToMap ¶
func (o AdvancedAgentConfiguration) ToMap() (map[string]interface{}, error)
func (*AdvancedAgentConfiguration) UnmarshalJSON ¶
func (o *AdvancedAgentConfiguration) UnmarshalJSON(data []byte) (err error)
func (*AdvancedAgentConfiguration) UnsetBackendDevice ¶
func (o *AdvancedAgentConfiguration) UnsetBackendDevice()
UnsetBackendDevice ensures that no value is present for BackendDevice, not even an explicit nil
func (*AdvancedAgentConfiguration) UnsetUseNativeHashcat ¶
func (o *AdvancedAgentConfiguration) UnsetUseNativeHashcat()
UnsetUseNativeHashcat ensures that no value is present for UseNativeHashcat, not even an explicit nil
type Agent ¶
type Agent struct { Id int64 `json:"id"` Name string `json:"name"` ClientSignature string `json:"client_signature"` CommandParameters NullableString `json:"command_parameters"` CpuOnly bool `json:"cpu_only"` Trusted bool `json:"trusted"` IgnoreErrors bool `json:"ignore_errors"` OperatingSystem string `json:"operating_system"` Devices []string `json:"devices"` AdvancedConfiguration *AdvancedAgentConfiguration `json:"advanced_configuration,omitempty"` }
Agent struct for Agent
func NewAgent ¶
func NewAgent(id int64, name string, clientSignature string, commandParameters NullableString, cpuOnly bool, trusted bool, ignoreErrors bool, operatingSystem string, devices []string) *Agent
NewAgent instantiates a new Agent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAgentWithDefaults ¶
func NewAgentWithDefaults() *Agent
NewAgentWithDefaults instantiates a new Agent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Agent) GetAdvancedConfiguration ¶
func (o *Agent) GetAdvancedConfiguration() AdvancedAgentConfiguration
GetAdvancedConfiguration returns the AdvancedConfiguration field value if set, zero value otherwise.
func (*Agent) GetAdvancedConfigurationOk ¶
func (o *Agent) GetAdvancedConfigurationOk() (*AdvancedAgentConfiguration, bool)
GetAdvancedConfigurationOk returns a tuple with the AdvancedConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Agent) GetClientSignature ¶
GetClientSignature returns the ClientSignature field value
func (*Agent) GetClientSignatureOk ¶
GetClientSignatureOk returns a tuple with the ClientSignature field value and a boolean to check if the value has been set.
func (*Agent) GetCommandParameters ¶
GetCommandParameters returns the CommandParameters field value If the value is explicit nil, the zero value for string will be returned
func (*Agent) GetCommandParametersOk ¶
GetCommandParametersOk returns a tuple with the CommandParameters field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Agent) GetCpuOnly ¶
GetCpuOnly returns the CpuOnly field value
func (*Agent) GetCpuOnlyOk ¶
GetCpuOnlyOk returns a tuple with the CpuOnly field value and a boolean to check if the value has been set.
func (*Agent) GetDevices ¶
GetDevices returns the Devices field value
func (*Agent) GetDevicesOk ¶
GetDevicesOk returns a tuple with the Devices field value and a boolean to check if the value has been set.
func (*Agent) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Agent) GetIgnoreErrors ¶
GetIgnoreErrors returns the IgnoreErrors field value
func (*Agent) GetIgnoreErrorsOk ¶
GetIgnoreErrorsOk returns a tuple with the IgnoreErrors field value and a boolean to check if the value has been set.
func (*Agent) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Agent) GetOperatingSystem ¶
GetOperatingSystem returns the OperatingSystem field value
func (*Agent) GetOperatingSystemOk ¶
GetOperatingSystemOk returns a tuple with the OperatingSystem field value and a boolean to check if the value has been set.
func (*Agent) GetTrusted ¶
GetTrusted returns the Trusted field value
func (*Agent) GetTrustedOk ¶
GetTrustedOk returns a tuple with the Trusted field value and a boolean to check if the value has been set.
func (*Agent) HasAdvancedConfiguration ¶
HasAdvancedConfiguration returns a boolean if a field has been set.
func (Agent) MarshalJSON ¶
func (*Agent) SetAdvancedConfiguration ¶
func (o *Agent) SetAdvancedConfiguration(v AdvancedAgentConfiguration)
SetAdvancedConfiguration gets a reference to the given AdvancedAgentConfiguration and assigns it to the AdvancedConfiguration field.
func (*Agent) SetClientSignature ¶
SetClientSignature sets field value
func (*Agent) SetCommandParameters ¶
SetCommandParameters sets field value
func (*Agent) SetIgnoreErrors ¶
SetIgnoreErrors sets field value
func (*Agent) SetOperatingSystem ¶
SetOperatingSystem sets field value
func (*Agent) UnmarshalJSON ¶
type AgentConfiguration ¶ added in v0.1.11
type AgentConfiguration struct { Config AdvancedAgentConfiguration `json:"config"` ApiVersion int32 `json:"api_version"` }
AgentConfiguration struct for AgentConfiguration
func NewAgentConfiguration ¶ added in v0.1.11
func NewAgentConfiguration(config AdvancedAgentConfiguration, apiVersion int32) *AgentConfiguration
NewAgentConfiguration instantiates a new AgentConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAgentConfigurationWithDefaults ¶ added in v0.1.11
func NewAgentConfigurationWithDefaults() *AgentConfiguration
NewAgentConfigurationWithDefaults instantiates a new AgentConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AgentConfiguration) GetApiVersion ¶ added in v0.1.11
func (o *AgentConfiguration) GetApiVersion() int32
GetApiVersion returns the ApiVersion field value
func (*AgentConfiguration) GetApiVersionOk ¶ added in v0.1.11
func (o *AgentConfiguration) GetApiVersionOk() (*int32, bool)
GetApiVersionOk returns a tuple with the ApiVersion field value and a boolean to check if the value has been set.
func (*AgentConfiguration) GetConfig ¶ added in v0.1.11
func (o *AgentConfiguration) GetConfig() AdvancedAgentConfiguration
GetConfig returns the Config field value
func (*AgentConfiguration) GetConfigOk ¶ added in v0.1.11
func (o *AgentConfiguration) GetConfigOk() (*AdvancedAgentConfiguration, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (AgentConfiguration) MarshalJSON ¶ added in v0.1.11
func (o AgentConfiguration) MarshalJSON() ([]byte, error)
func (*AgentConfiguration) SetApiVersion ¶ added in v0.1.11
func (o *AgentConfiguration) SetApiVersion(v int32)
SetApiVersion sets field value
func (*AgentConfiguration) SetConfig ¶ added in v0.1.11
func (o *AgentConfiguration) SetConfig(v AdvancedAgentConfiguration)
SetConfig sets field value
func (AgentConfiguration) ToMap ¶ added in v0.1.11
func (o AgentConfiguration) ToMap() (map[string]interface{}, error)
func (*AgentConfiguration) UnmarshalJSON ¶ added in v0.1.11
func (o *AgentConfiguration) UnmarshalJSON(data []byte) (err error)
type AgentLastBenchmark ¶
AgentLastBenchmark struct for AgentLastBenchmark
func NewAgentLastBenchmark ¶
func NewAgentLastBenchmark(lastBenchmarkDate time.Time) *AgentLastBenchmark
NewAgentLastBenchmark instantiates a new AgentLastBenchmark object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAgentLastBenchmarkWithDefaults ¶
func NewAgentLastBenchmarkWithDefaults() *AgentLastBenchmark
NewAgentLastBenchmarkWithDefaults instantiates a new AgentLastBenchmark object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AgentLastBenchmark) GetLastBenchmarkDate ¶
func (o *AgentLastBenchmark) GetLastBenchmarkDate() time.Time
GetLastBenchmarkDate returns the LastBenchmarkDate field value
func (*AgentLastBenchmark) GetLastBenchmarkDateOk ¶
func (o *AgentLastBenchmark) GetLastBenchmarkDateOk() (*time.Time, bool)
GetLastBenchmarkDateOk returns a tuple with the LastBenchmarkDate field value and a boolean to check if the value has been set.
func (AgentLastBenchmark) MarshalJSON ¶
func (o AgentLastBenchmark) MarshalJSON() ([]byte, error)
func (*AgentLastBenchmark) SetLastBenchmarkDate ¶
func (o *AgentLastBenchmark) SetLastBenchmarkDate(v time.Time)
SetLastBenchmarkDate sets field value
func (AgentLastBenchmark) ToMap ¶
func (o AgentLastBenchmark) ToMap() (map[string]interface{}, error)
func (*AgentLastBenchmark) UnmarshalJSON ¶
func (o *AgentLastBenchmark) UnmarshalJSON(data []byte) (err error)
type AgentUpdate ¶
type AgentUpdate struct { Id int64 `json:"id"` Name string `json:"name"` ClientSignature string `json:"client_signature"` OperatingSystem string `json:"operating_system"` Devices []string `json:"devices"` }
AgentUpdate struct for AgentUpdate
func NewAgentUpdate ¶
func NewAgentUpdate(id int64, name string, clientSignature string, operatingSystem string, devices []string) *AgentUpdate
NewAgentUpdate instantiates a new AgentUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAgentUpdateWithDefaults ¶
func NewAgentUpdateWithDefaults() *AgentUpdate
NewAgentUpdateWithDefaults instantiates a new AgentUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AgentUpdate) GetClientSignature ¶
func (o *AgentUpdate) GetClientSignature() string
GetClientSignature returns the ClientSignature field value
func (*AgentUpdate) GetClientSignatureOk ¶
func (o *AgentUpdate) GetClientSignatureOk() (*string, bool)
GetClientSignatureOk returns a tuple with the ClientSignature field value and a boolean to check if the value has been set.
func (*AgentUpdate) GetDevices ¶
func (o *AgentUpdate) GetDevices() []string
GetDevices returns the Devices field value
func (*AgentUpdate) GetDevicesOk ¶
func (o *AgentUpdate) GetDevicesOk() ([]string, bool)
GetDevicesOk returns a tuple with the Devices field value and a boolean to check if the value has been set.
func (*AgentUpdate) GetIdOk ¶
func (o *AgentUpdate) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AgentUpdate) GetName ¶
func (o *AgentUpdate) GetName() string
GetName returns the Name field value
func (*AgentUpdate) GetNameOk ¶
func (o *AgentUpdate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AgentUpdate) GetOperatingSystem ¶
func (o *AgentUpdate) GetOperatingSystem() string
GetOperatingSystem returns the OperatingSystem field value
func (*AgentUpdate) GetOperatingSystemOk ¶
func (o *AgentUpdate) GetOperatingSystemOk() (*string, bool)
GetOperatingSystemOk returns a tuple with the OperatingSystem field value and a boolean to check if the value has been set.
func (AgentUpdate) MarshalJSON ¶
func (o AgentUpdate) MarshalJSON() ([]byte, error)
func (*AgentUpdate) SetClientSignature ¶
func (o *AgentUpdate) SetClientSignature(v string)
SetClientSignature sets field value
func (*AgentUpdate) SetDevices ¶
func (o *AgentUpdate) SetDevices(v []string)
SetDevices sets field value
func (*AgentUpdate) SetOperatingSystem ¶
func (o *AgentUpdate) SetOperatingSystem(v string)
SetOperatingSystem sets field value
func (AgentUpdate) ToMap ¶
func (o AgentUpdate) ToMap() (map[string]interface{}, error)
func (*AgentUpdate) UnmarshalJSON ¶
func (o *AgentUpdate) UnmarshalJSON(data []byte) (err error)
type AgentsAPIService ¶
type AgentsAPIService service
AgentsAPIService AgentsAPI service
func (*AgentsAPIService) HeartbeatAgent ¶
func (a *AgentsAPIService) HeartbeatAgent(ctx context.Context, id int64) ApiHeartbeatAgentRequest
HeartbeatAgent Send a heartbeat for an agent
Send a heartbeat for an agent to keep it alive.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiHeartbeatAgentRequest
func (*AgentsAPIService) HeartbeatAgentExecute ¶
func (a *AgentsAPIService) HeartbeatAgentExecute(r ApiHeartbeatAgentRequest) (*http.Response, error)
Execute executes the request
func (*AgentsAPIService) LastBenchmarkAgent ¶
func (a *AgentsAPIService) LastBenchmarkAgent(ctx context.Context, id int64) ApiLastBenchmarkAgentRequest
LastBenchmarkAgent last_benchmark agent
Returns the last benchmark date for an agent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiLastBenchmarkAgentRequest
func (*AgentsAPIService) LastBenchmarkAgentExecute ¶
func (a *AgentsAPIService) LastBenchmarkAgentExecute(r ApiLastBenchmarkAgentRequest) (*AgentLastBenchmark, *http.Response, error)
Execute executes the request
@return AgentLastBenchmark
func (*AgentsAPIService) ShowAgent ¶
func (a *AgentsAPIService) ShowAgent(ctx context.Context, id int64) ApiShowAgentRequest
ShowAgent Gets an instance of an agent
Returns an agent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiShowAgentRequest
func (*AgentsAPIService) ShowAgentExecute ¶
func (a *AgentsAPIService) ShowAgentExecute(r ApiShowAgentRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*AgentsAPIService) SubmitBenchmarkAgent ¶
func (a *AgentsAPIService) SubmitBenchmarkAgent(ctx context.Context, id int64) ApiSubmitBenchmarkAgentRequest
SubmitBenchmarkAgent submit_benchmark agent
Submit a benchmark for an agent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiSubmitBenchmarkAgentRequest
func (*AgentsAPIService) SubmitBenchmarkAgentExecute ¶
func (a *AgentsAPIService) SubmitBenchmarkAgentExecute(r ApiSubmitBenchmarkAgentRequest) (*http.Response, error)
Execute executes the request
func (*AgentsAPIService) UpdateAgent ¶
func (a *AgentsAPIService) UpdateAgent(ctx context.Context, id int64) ApiUpdateAgentRequest
UpdateAgent Updates the agent
Updates an agent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiUpdateAgentRequest
func (*AgentsAPIService) UpdateAgentExecute ¶
func (a *AgentsAPIService) UpdateAgentExecute(r ApiUpdateAgentRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
type ApiAbandonTaskRequest ¶
type ApiAbandonTaskRequest struct { ApiService *TasksAPIService // contains filtered or unexported fields }
type ApiAcceptTaskRequest ¶
type ApiAcceptTaskRequest struct { ApiService *TasksAPIService // contains filtered or unexported fields }
type ApiAuthenticateRequest ¶
type ApiAuthenticateRequest struct { ApiService *ClientAPIService // contains filtered or unexported fields }
func (ApiAuthenticateRequest) Execute ¶
func (r ApiAuthenticateRequest) Execute() (*AuthenticationResult, *http.Response, error)
type ApiCheckForCrackerUpdateRequest ¶
type ApiCheckForCrackerUpdateRequest struct { ApiService *CrackersAPIService // contains filtered or unexported fields }
func (ApiCheckForCrackerUpdateRequest) Execute ¶
func (r ApiCheckForCrackerUpdateRequest) Execute() (*CrackerUpdate, *http.Response, error)
func (ApiCheckForCrackerUpdateRequest) OperatingSystem ¶
func (r ApiCheckForCrackerUpdateRequest) OperatingSystem(operatingSystem string) ApiCheckForCrackerUpdateRequest
operating_system
func (ApiCheckForCrackerUpdateRequest) Version ¶
func (r ApiCheckForCrackerUpdateRequest) Version(version string) ApiCheckForCrackerUpdateRequest
version
type ApiConfigurationRequest ¶
type ApiConfigurationRequest struct { ApiService *ClientAPIService // contains filtered or unexported fields }
func (ApiConfigurationRequest) Execute ¶
func (r ApiConfigurationRequest) Execute() (*AgentConfiguration, *http.Response, error)
type ApiExhaustedTaskRequest ¶
type ApiExhaustedTaskRequest struct { ApiService *TasksAPIService // contains filtered or unexported fields }
type ApiHashListAttackRequest ¶
type ApiHashListAttackRequest struct { ApiService *AttacksAPIService // contains filtered or unexported fields }
type ApiHeartbeatAgentRequest ¶
type ApiHeartbeatAgentRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
type ApiLastBenchmarkAgentRequest ¶
type ApiLastBenchmarkAgentRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiLastBenchmarkAgentRequest) Execute ¶
func (r ApiLastBenchmarkAgentRequest) Execute() (*AgentLastBenchmark, *http.Response, error)
type ApiNewTaskRequest ¶
type ApiNewTaskRequest struct { ApiService *TasksAPIService // contains filtered or unexported fields }
type ApiShowAgentRequest ¶
type ApiShowAgentRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
type ApiShowAttackRequest ¶
type ApiShowAttackRequest struct { ApiService *AttacksAPIService // contains filtered or unexported fields }
type ApiShowTaskRequest ¶
type ApiShowTaskRequest struct { ApiService *TasksAPIService // contains filtered or unexported fields }
type ApiSubmitBenchmarkAgentRequest ¶
type ApiSubmitBenchmarkAgentRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiSubmitBenchmarkAgentRequest) Execute ¶
func (r ApiSubmitBenchmarkAgentRequest) Execute() (*http.Response, error)
func (ApiSubmitBenchmarkAgentRequest) HashcatBenchmark ¶
func (r ApiSubmitBenchmarkAgentRequest) HashcatBenchmark(hashcatBenchmark []HashcatBenchmark) ApiSubmitBenchmarkAgentRequest
type ApiSubmitCrackRequest ¶
type ApiSubmitCrackRequest struct { ApiService *TasksAPIService // contains filtered or unexported fields }
func (ApiSubmitCrackRequest) Execute ¶
func (r ApiSubmitCrackRequest) Execute() (*http.Response, error)
func (ApiSubmitCrackRequest) HashcatResult ¶
func (r ApiSubmitCrackRequest) HashcatResult(hashcatResult HashcatResult) ApiSubmitCrackRequest
type ApiSubmitStatusRequest ¶
type ApiSubmitStatusRequest struct { ApiService *TasksAPIService // contains filtered or unexported fields }
func (ApiSubmitStatusRequest) Execute ¶
func (r ApiSubmitStatusRequest) Execute() (*http.Response, error)
func (ApiSubmitStatusRequest) TaskStatus ¶
func (r ApiSubmitStatusRequest) TaskStatus(taskStatus TaskStatus) ApiSubmitStatusRequest
status
type ApiUpdateAgentRequest ¶
type ApiUpdateAgentRequest struct { ApiService *AgentsAPIService // contains filtered or unexported fields }
func (ApiUpdateAgentRequest) AgentUpdate ¶
func (r ApiUpdateAgentRequest) AgentUpdate(agentUpdate AgentUpdate) ApiUpdateAgentRequest
type Attack ¶
type Attack struct { Id int64 `json:"id"` AttackMode string `json:"attack_mode"` Mask *string `json:"mask,omitempty"` IncrementMode *bool `json:"increment_mode,omitempty"` IncrementMinimum NullableInt32 `json:"increment_minimum,omitempty"` IncrementMaximum NullableInt32 `json:"increment_maximum,omitempty"` Optimized bool `json:"optimized"` SlowCandidateGenerators bool `json:"slow_candidate_generators"` WorkloadProfile int32 `json:"workload_profile"` DisableMarkov *bool `json:"disable_markov,omitempty"` ClassicMarkov *bool `json:"classic_markov,omitempty"` MarkovThreshold *int32 `json:"markov_threshold,omitempty"` LeftRule NullableString `json:"left_rule,omitempty"` RightRule NullableString `json:"right_rule,omitempty"` CustomCharset1 NullableString `json:"custom_charset_1,omitempty"` CustomCharset2 NullableString `json:"custom_charset_2,omitempty"` CustomCharset3 NullableString `json:"custom_charset_3,omitempty"` CustomCharset4 NullableString `json:"custom_charset_4,omitempty"` HashListId int64 `json:"hash_list_id"` WordLists []AttackResourceFile `json:"word_lists,omitempty"` RuleLists []AttackResourceFile `json:"rule_lists,omitempty"` HashMode int32 `json:"hash_mode"` HashListUrl *string `json:"hash_list_url,omitempty"` HashListChecksum *string `json:"hash_list_checksum,omitempty"` Url string `json:"url"` }
Attack struct for Attack
func NewAttack ¶
func NewAttack(id int64, attackMode string, optimized bool, slowCandidateGenerators bool, workloadProfile int32, hashListId int64, hashMode int32, url string) *Attack
NewAttack instantiates a new Attack object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttackWithDefaults ¶
func NewAttackWithDefaults() *Attack
NewAttackWithDefaults instantiates a new Attack object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Attack) GetAttackMode ¶
GetAttackMode returns the AttackMode field value
func (*Attack) GetAttackModeOk ¶
GetAttackModeOk returns a tuple with the AttackMode field value and a boolean to check if the value has been set.
func (*Attack) GetClassicMarkov ¶
GetClassicMarkov returns the ClassicMarkov field value if set, zero value otherwise.
func (*Attack) GetClassicMarkovOk ¶
GetClassicMarkovOk returns a tuple with the ClassicMarkov field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetCustomCharset1 ¶
GetCustomCharset1 returns the CustomCharset1 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetCustomCharset1Ok ¶
GetCustomCharset1Ok returns a tuple with the CustomCharset1 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetCustomCharset2 ¶
GetCustomCharset2 returns the CustomCharset2 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetCustomCharset2Ok ¶
GetCustomCharset2Ok returns a tuple with the CustomCharset2 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetCustomCharset3 ¶
GetCustomCharset3 returns the CustomCharset3 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetCustomCharset3Ok ¶
GetCustomCharset3Ok returns a tuple with the CustomCharset3 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetCustomCharset4 ¶
GetCustomCharset4 returns the CustomCharset4 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetCustomCharset4Ok ¶
GetCustomCharset4Ok returns a tuple with the CustomCharset4 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetDisableMarkov ¶
GetDisableMarkov returns the DisableMarkov field value if set, zero value otherwise.
func (*Attack) GetDisableMarkovOk ¶
GetDisableMarkovOk returns a tuple with the DisableMarkov field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetHashListChecksum ¶
GetHashListChecksum returns the HashListChecksum field value if set, zero value otherwise.
func (*Attack) GetHashListChecksumOk ¶
GetHashListChecksumOk returns a tuple with the HashListChecksum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetHashListId ¶
GetHashListId returns the HashListId field value
func (*Attack) GetHashListIdOk ¶
GetHashListIdOk returns a tuple with the HashListId field value and a boolean to check if the value has been set.
func (*Attack) GetHashListUrl ¶
GetHashListUrl returns the HashListUrl field value if set, zero value otherwise.
func (*Attack) GetHashListUrlOk ¶
GetHashListUrlOk returns a tuple with the HashListUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetHashMode ¶
GetHashMode returns the HashMode field value
func (*Attack) GetHashModeOk ¶
GetHashModeOk returns a tuple with the HashMode field value and a boolean to check if the value has been set.
func (*Attack) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Attack) GetIncrementMaximum ¶
GetIncrementMaximum returns the IncrementMaximum field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetIncrementMaximumOk ¶
GetIncrementMaximumOk returns a tuple with the IncrementMaximum field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetIncrementMinimum ¶
GetIncrementMinimum returns the IncrementMinimum field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetIncrementMinimumOk ¶
GetIncrementMinimumOk returns a tuple with the IncrementMinimum field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetIncrementMode ¶
GetIncrementMode returns the IncrementMode field value if set, zero value otherwise.
func (*Attack) GetIncrementModeOk ¶
GetIncrementModeOk returns a tuple with the IncrementMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetLeftRule ¶
GetLeftRule returns the LeftRule field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetLeftRuleOk ¶
GetLeftRuleOk returns a tuple with the LeftRule field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetMarkovThreshold ¶
GetMarkovThreshold returns the MarkovThreshold field value if set, zero value otherwise.
func (*Attack) GetMarkovThresholdOk ¶
GetMarkovThresholdOk returns a tuple with the MarkovThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetMaskOk ¶
GetMaskOk returns a tuple with the Mask field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetOptimized ¶
GetOptimized returns the Optimized field value
func (*Attack) GetOptimizedOk ¶
GetOptimizedOk returns a tuple with the Optimized field value and a boolean to check if the value has been set.
func (*Attack) GetRightRule ¶
GetRightRule returns the RightRule field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Attack) GetRightRuleOk ¶
GetRightRuleOk returns a tuple with the RightRule field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Attack) GetRuleLists ¶
func (o *Attack) GetRuleLists() []AttackResourceFile
GetRuleLists returns the RuleLists field value if set, zero value otherwise.
func (*Attack) GetRuleListsOk ¶
func (o *Attack) GetRuleListsOk() ([]AttackResourceFile, bool)
GetRuleListsOk returns a tuple with the RuleLists field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetSlowCandidateGenerators ¶
GetSlowCandidateGenerators returns the SlowCandidateGenerators field value
func (*Attack) GetSlowCandidateGeneratorsOk ¶
GetSlowCandidateGeneratorsOk returns a tuple with the SlowCandidateGenerators field value and a boolean to check if the value has been set.
func (*Attack) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Attack) GetWordLists ¶
func (o *Attack) GetWordLists() []AttackResourceFile
GetWordLists returns the WordLists field value if set, zero value otherwise.
func (*Attack) GetWordListsOk ¶
func (o *Attack) GetWordListsOk() ([]AttackResourceFile, bool)
GetWordListsOk returns a tuple with the WordLists field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Attack) GetWorkloadProfile ¶
GetWorkloadProfile returns the WorkloadProfile field value
func (*Attack) GetWorkloadProfileOk ¶
GetWorkloadProfileOk returns a tuple with the WorkloadProfile field value and a boolean to check if the value has been set.
func (*Attack) HasClassicMarkov ¶
HasClassicMarkov returns a boolean if a field has been set.
func (*Attack) HasCustomCharset1 ¶
HasCustomCharset1 returns a boolean if a field has been set.
func (*Attack) HasCustomCharset2 ¶
HasCustomCharset2 returns a boolean if a field has been set.
func (*Attack) HasCustomCharset3 ¶
HasCustomCharset3 returns a boolean if a field has been set.
func (*Attack) HasCustomCharset4 ¶
HasCustomCharset4 returns a boolean if a field has been set.
func (*Attack) HasDisableMarkov ¶
HasDisableMarkov returns a boolean if a field has been set.
func (*Attack) HasHashListChecksum ¶
HasHashListChecksum returns a boolean if a field has been set.
func (*Attack) HasHashListUrl ¶
HasHashListUrl returns a boolean if a field has been set.
func (*Attack) HasIncrementMaximum ¶
HasIncrementMaximum returns a boolean if a field has been set.
func (*Attack) HasIncrementMinimum ¶
HasIncrementMinimum returns a boolean if a field has been set.
func (*Attack) HasIncrementMode ¶
HasIncrementMode returns a boolean if a field has been set.
func (*Attack) HasLeftRule ¶
HasLeftRule returns a boolean if a field has been set.
func (*Attack) HasMarkovThreshold ¶
HasMarkovThreshold returns a boolean if a field has been set.
func (*Attack) HasRightRule ¶
HasRightRule returns a boolean if a field has been set.
func (*Attack) HasRuleLists ¶
HasRuleLists returns a boolean if a field has been set.
func (*Attack) HasWordLists ¶
HasWordLists returns a boolean if a field has been set.
func (Attack) MarshalJSON ¶
func (*Attack) SetAttackMode ¶
SetAttackMode sets field value
func (*Attack) SetClassicMarkov ¶
SetClassicMarkov gets a reference to the given bool and assigns it to the ClassicMarkov field.
func (*Attack) SetCustomCharset1 ¶
SetCustomCharset1 gets a reference to the given NullableString and assigns it to the CustomCharset1 field.
func (*Attack) SetCustomCharset1Nil ¶
func (o *Attack) SetCustomCharset1Nil()
SetCustomCharset1Nil sets the value for CustomCharset1 to be an explicit nil
func (*Attack) SetCustomCharset2 ¶
SetCustomCharset2 gets a reference to the given NullableString and assigns it to the CustomCharset2 field.
func (*Attack) SetCustomCharset2Nil ¶
func (o *Attack) SetCustomCharset2Nil()
SetCustomCharset2Nil sets the value for CustomCharset2 to be an explicit nil
func (*Attack) SetCustomCharset3 ¶
SetCustomCharset3 gets a reference to the given NullableString and assigns it to the CustomCharset3 field.
func (*Attack) SetCustomCharset3Nil ¶
func (o *Attack) SetCustomCharset3Nil()
SetCustomCharset3Nil sets the value for CustomCharset3 to be an explicit nil
func (*Attack) SetCustomCharset4 ¶
SetCustomCharset4 gets a reference to the given NullableString and assigns it to the CustomCharset4 field.
func (*Attack) SetCustomCharset4Nil ¶
func (o *Attack) SetCustomCharset4Nil()
SetCustomCharset4Nil sets the value for CustomCharset4 to be an explicit nil
func (*Attack) SetDisableMarkov ¶
SetDisableMarkov gets a reference to the given bool and assigns it to the DisableMarkov field.
func (*Attack) SetHashListChecksum ¶
SetHashListChecksum gets a reference to the given string and assigns it to the HashListChecksum field.
func (*Attack) SetHashListId ¶
SetHashListId sets field value
func (*Attack) SetHashListUrl ¶
SetHashListUrl gets a reference to the given string and assigns it to the HashListUrl field.
func (*Attack) SetIncrementMaximum ¶
SetIncrementMaximum gets a reference to the given NullableInt32 and assigns it to the IncrementMaximum field.
func (*Attack) SetIncrementMaximumNil ¶ added in v0.1.2
func (o *Attack) SetIncrementMaximumNil()
SetIncrementMaximumNil sets the value for IncrementMaximum to be an explicit nil
func (*Attack) SetIncrementMinimum ¶
SetIncrementMinimum gets a reference to the given NullableInt32 and assigns it to the IncrementMinimum field.
func (*Attack) SetIncrementMinimumNil ¶ added in v0.1.2
func (o *Attack) SetIncrementMinimumNil()
SetIncrementMinimumNil sets the value for IncrementMinimum to be an explicit nil
func (*Attack) SetIncrementMode ¶
SetIncrementMode gets a reference to the given bool and assigns it to the IncrementMode field.
func (*Attack) SetLeftRule ¶
SetLeftRule gets a reference to the given NullableString and assigns it to the LeftRule field.
func (*Attack) SetLeftRuleNil ¶
func (o *Attack) SetLeftRuleNil()
SetLeftRuleNil sets the value for LeftRule to be an explicit nil
func (*Attack) SetMarkovThreshold ¶
SetMarkovThreshold gets a reference to the given int32 and assigns it to the MarkovThreshold field.
func (*Attack) SetMask ¶
SetMask gets a reference to the given string and assigns it to the Mask field.
func (*Attack) SetRightRule ¶
SetRightRule gets a reference to the given NullableString and assigns it to the RightRule field.
func (*Attack) SetRightRuleNil ¶
func (o *Attack) SetRightRuleNil()
SetRightRuleNil sets the value for RightRule to be an explicit nil
func (*Attack) SetRuleLists ¶
func (o *Attack) SetRuleLists(v []AttackResourceFile)
SetRuleLists gets a reference to the given []AttackResourceFile and assigns it to the RuleLists field.
func (*Attack) SetSlowCandidateGenerators ¶
SetSlowCandidateGenerators sets field value
func (*Attack) SetWordLists ¶
func (o *Attack) SetWordLists(v []AttackResourceFile)
SetWordLists gets a reference to the given []AttackResourceFile and assigns it to the WordLists field.
func (*Attack) SetWorkloadProfile ¶
SetWorkloadProfile sets field value
func (*Attack) UnmarshalJSON ¶
func (*Attack) UnsetCustomCharset1 ¶
func (o *Attack) UnsetCustomCharset1()
UnsetCustomCharset1 ensures that no value is present for CustomCharset1, not even an explicit nil
func (*Attack) UnsetCustomCharset2 ¶
func (o *Attack) UnsetCustomCharset2()
UnsetCustomCharset2 ensures that no value is present for CustomCharset2, not even an explicit nil
func (*Attack) UnsetCustomCharset3 ¶
func (o *Attack) UnsetCustomCharset3()
UnsetCustomCharset3 ensures that no value is present for CustomCharset3, not even an explicit nil
func (*Attack) UnsetCustomCharset4 ¶
func (o *Attack) UnsetCustomCharset4()
UnsetCustomCharset4 ensures that no value is present for CustomCharset4, not even an explicit nil
func (*Attack) UnsetIncrementMaximum ¶ added in v0.1.2
func (o *Attack) UnsetIncrementMaximum()
UnsetIncrementMaximum ensures that no value is present for IncrementMaximum, not even an explicit nil
func (*Attack) UnsetIncrementMinimum ¶ added in v0.1.2
func (o *Attack) UnsetIncrementMinimum()
UnsetIncrementMinimum ensures that no value is present for IncrementMinimum, not even an explicit nil
func (*Attack) UnsetLeftRule ¶
func (o *Attack) UnsetLeftRule()
UnsetLeftRule ensures that no value is present for LeftRule, not even an explicit nil
func (*Attack) UnsetRightRule ¶
func (o *Attack) UnsetRightRule()
UnsetRightRule ensures that no value is present for RightRule, not even an explicit nil
type AttackResourceFile ¶
type AttackResourceFile struct { Id int64 `json:"id"` DownloadUrl string `json:"download_url"` Checksum string `json:"checksum"` FileName string `json:"file_name"` }
AttackResourceFile struct for AttackResourceFile
func NewAttackResourceFile ¶
func NewAttackResourceFile(id int64, downloadUrl string, checksum string, fileName string) *AttackResourceFile
NewAttackResourceFile instantiates a new AttackResourceFile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttackResourceFileWithDefaults ¶
func NewAttackResourceFileWithDefaults() *AttackResourceFile
NewAttackResourceFileWithDefaults instantiates a new AttackResourceFile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AttackResourceFile) GetChecksum ¶
func (o *AttackResourceFile) GetChecksum() string
GetChecksum returns the Checksum field value
func (*AttackResourceFile) GetChecksumOk ¶
func (o *AttackResourceFile) GetChecksumOk() (*string, bool)
GetChecksumOk returns a tuple with the Checksum field value and a boolean to check if the value has been set.
func (*AttackResourceFile) GetDownloadUrl ¶
func (o *AttackResourceFile) GetDownloadUrl() string
GetDownloadUrl returns the DownloadUrl field value
func (*AttackResourceFile) GetDownloadUrlOk ¶
func (o *AttackResourceFile) GetDownloadUrlOk() (*string, bool)
GetDownloadUrlOk returns a tuple with the DownloadUrl field value and a boolean to check if the value has been set.
func (*AttackResourceFile) GetFileName ¶
func (o *AttackResourceFile) GetFileName() string
GetFileName returns the FileName field value
func (*AttackResourceFile) GetFileNameOk ¶
func (o *AttackResourceFile) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName field value and a boolean to check if the value has been set.
func (*AttackResourceFile) GetId ¶
func (o *AttackResourceFile) GetId() int64
GetId returns the Id field value
func (*AttackResourceFile) GetIdOk ¶
func (o *AttackResourceFile) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (AttackResourceFile) MarshalJSON ¶
func (o AttackResourceFile) MarshalJSON() ([]byte, error)
func (*AttackResourceFile) SetChecksum ¶
func (o *AttackResourceFile) SetChecksum(v string)
SetChecksum sets field value
func (*AttackResourceFile) SetDownloadUrl ¶
func (o *AttackResourceFile) SetDownloadUrl(v string)
SetDownloadUrl sets field value
func (*AttackResourceFile) SetFileName ¶
func (o *AttackResourceFile) SetFileName(v string)
SetFileName sets field value
func (*AttackResourceFile) SetId ¶
func (o *AttackResourceFile) SetId(v int64)
SetId sets field value
func (AttackResourceFile) ToMap ¶
func (o AttackResourceFile) ToMap() (map[string]interface{}, error)
func (*AttackResourceFile) UnmarshalJSON ¶
func (o *AttackResourceFile) UnmarshalJSON(data []byte) (err error)
type AttacksAPIService ¶
type AttacksAPIService service
AttacksAPIService AttacksAPI service
func (*AttacksAPIService) HashListAttack ¶
func (a *AttacksAPIService) HashListAttack(ctx context.Context, id int64) ApiHashListAttackRequest
HashListAttack Get the hash list
Returns the hash list for an attack.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiHashListAttackRequest
func (*AttacksAPIService) HashListAttackExecute ¶
func (a *AttacksAPIService) HashListAttackExecute(r ApiHashListAttackRequest) (*os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*AttacksAPIService) ShowAttack ¶
func (a *AttacksAPIService) ShowAttack(ctx context.Context, id int64) ApiShowAttackRequest
ShowAttack show attack
Returns an attack by id. This is used to get the details of an attack.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiShowAttackRequest
func (*AttacksAPIService) ShowAttackExecute ¶
func (a *AttacksAPIService) ShowAttackExecute(r ApiShowAttackRequest) (*Attack, *http.Response, error)
Execute executes the request
@return Attack
type AuthenticationResult ¶ added in v0.1.11
type AuthenticationResult struct { Authenticated bool `json:"authenticated"` AgentId int64 `json:"agent_id"` }
AuthenticationResult struct for AuthenticationResult
func NewAuthenticationResult ¶ added in v0.1.11
func NewAuthenticationResult(authenticated bool, agentId int64) *AuthenticationResult
NewAuthenticationResult instantiates a new AuthenticationResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAuthenticationResultWithDefaults ¶ added in v0.1.11
func NewAuthenticationResultWithDefaults() *AuthenticationResult
NewAuthenticationResultWithDefaults instantiates a new AuthenticationResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AuthenticationResult) GetAgentId ¶ added in v0.1.11
func (o *AuthenticationResult) GetAgentId() int64
GetAgentId returns the AgentId field value
func (*AuthenticationResult) GetAgentIdOk ¶ added in v0.1.11
func (o *AuthenticationResult) GetAgentIdOk() (*int64, bool)
GetAgentIdOk returns a tuple with the AgentId field value and a boolean to check if the value has been set.
func (*AuthenticationResult) GetAuthenticated ¶ added in v0.1.11
func (o *AuthenticationResult) GetAuthenticated() bool
GetAuthenticated returns the Authenticated field value
func (*AuthenticationResult) GetAuthenticatedOk ¶ added in v0.1.11
func (o *AuthenticationResult) GetAuthenticatedOk() (*bool, bool)
GetAuthenticatedOk returns a tuple with the Authenticated field value and a boolean to check if the value has been set.
func (AuthenticationResult) MarshalJSON ¶ added in v0.1.11
func (o AuthenticationResult) MarshalJSON() ([]byte, error)
func (*AuthenticationResult) SetAgentId ¶ added in v0.1.11
func (o *AuthenticationResult) SetAgentId(v int64)
SetAgentId sets field value
func (*AuthenticationResult) SetAuthenticated ¶ added in v0.1.11
func (o *AuthenticationResult) SetAuthenticated(v bool)
SetAuthenticated sets field value
func (AuthenticationResult) ToMap ¶ added in v0.1.11
func (o AuthenticationResult) ToMap() (map[string]interface{}, error)
func (*AuthenticationResult) UnmarshalJSON ¶ added in v0.1.11
func (o *AuthenticationResult) UnmarshalJSON(data []byte) (err error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ClientAPIService ¶
type ClientAPIService service
ClientAPIService ClientAPI service
func (*ClientAPIService) Authenticate ¶
func (a *ClientAPIService) Authenticate(ctx context.Context) ApiAuthenticateRequest
Authenticate Authenticate Client
Authenticates the client. This is used to verify that the client is able to connect to the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAuthenticateRequest
func (*ClientAPIService) AuthenticateExecute ¶
func (a *ClientAPIService) AuthenticateExecute(r ApiAuthenticateRequest) (*AuthenticationResult, *http.Response, error)
Execute executes the request
@return AuthenticationResult
func (*ClientAPIService) Configuration ¶
func (a *ClientAPIService) Configuration(ctx context.Context) ApiConfigurationRequest
Configuration Get Agent Configuration
Returns the configuration for the agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConfigurationRequest
func (*ClientAPIService) ConfigurationExecute ¶
func (a *ClientAPIService) ConfigurationExecute(r ApiConfigurationRequest) (*AgentConfiguration, *http.Response, error)
Execute executes the request
@return AgentConfiguration
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CrackerUpdate ¶
type CrackerUpdate struct { Available bool `json:"available"` LatestVersion NullableString `json:"latest_version,omitempty"` DownloadUrl NullableString `json:"download_url,omitempty"` ExecName NullableString `json:"exec_name,omitempty"` Message NullableString `json:"message,omitempty"` }
CrackerUpdate struct for CrackerUpdate
func NewCrackerUpdate ¶
func NewCrackerUpdate(available bool) *CrackerUpdate
NewCrackerUpdate instantiates a new CrackerUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCrackerUpdateWithDefaults ¶
func NewCrackerUpdateWithDefaults() *CrackerUpdate
NewCrackerUpdateWithDefaults instantiates a new CrackerUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CrackerUpdate) GetAvailable ¶
func (o *CrackerUpdate) GetAvailable() bool
GetAvailable returns the Available field value
func (*CrackerUpdate) GetAvailableOk ¶
func (o *CrackerUpdate) GetAvailableOk() (*bool, bool)
GetAvailableOk returns a tuple with the Available field value and a boolean to check if the value has been set.
func (*CrackerUpdate) GetDownloadUrl ¶
func (o *CrackerUpdate) GetDownloadUrl() string
GetDownloadUrl returns the DownloadUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CrackerUpdate) GetDownloadUrlOk ¶
func (o *CrackerUpdate) GetDownloadUrlOk() (*string, bool)
GetDownloadUrlOk returns a tuple with the DownloadUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CrackerUpdate) GetExecName ¶
func (o *CrackerUpdate) GetExecName() string
GetExecName returns the ExecName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CrackerUpdate) GetExecNameOk ¶
func (o *CrackerUpdate) GetExecNameOk() (*string, bool)
GetExecNameOk returns a tuple with the ExecName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CrackerUpdate) GetLatestVersion ¶
func (o *CrackerUpdate) GetLatestVersion() string
GetLatestVersion returns the LatestVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CrackerUpdate) GetLatestVersionOk ¶
func (o *CrackerUpdate) GetLatestVersionOk() (*string, bool)
GetLatestVersionOk returns a tuple with the LatestVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CrackerUpdate) GetMessage ¶
func (o *CrackerUpdate) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CrackerUpdate) GetMessageOk ¶
func (o *CrackerUpdate) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CrackerUpdate) HasDownloadUrl ¶
func (o *CrackerUpdate) HasDownloadUrl() bool
HasDownloadUrl returns a boolean if a field has been set.
func (*CrackerUpdate) HasExecName ¶
func (o *CrackerUpdate) HasExecName() bool
HasExecName returns a boolean if a field has been set.
func (*CrackerUpdate) HasLatestVersion ¶
func (o *CrackerUpdate) HasLatestVersion() bool
HasLatestVersion returns a boolean if a field has been set.
func (*CrackerUpdate) HasMessage ¶
func (o *CrackerUpdate) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (CrackerUpdate) MarshalJSON ¶
func (o CrackerUpdate) MarshalJSON() ([]byte, error)
func (*CrackerUpdate) SetAvailable ¶
func (o *CrackerUpdate) SetAvailable(v bool)
SetAvailable sets field value
func (*CrackerUpdate) SetDownloadUrl ¶
func (o *CrackerUpdate) SetDownloadUrl(v string)
SetDownloadUrl gets a reference to the given NullableString and assigns it to the DownloadUrl field.
func (*CrackerUpdate) SetDownloadUrlNil ¶
func (o *CrackerUpdate) SetDownloadUrlNil()
SetDownloadUrlNil sets the value for DownloadUrl to be an explicit nil
func (*CrackerUpdate) SetExecName ¶
func (o *CrackerUpdate) SetExecName(v string)
SetExecName gets a reference to the given NullableString and assigns it to the ExecName field.
func (*CrackerUpdate) SetExecNameNil ¶
func (o *CrackerUpdate) SetExecNameNil()
SetExecNameNil sets the value for ExecName to be an explicit nil
func (*CrackerUpdate) SetLatestVersion ¶
func (o *CrackerUpdate) SetLatestVersion(v string)
SetLatestVersion gets a reference to the given NullableString and assigns it to the LatestVersion field.
func (*CrackerUpdate) SetLatestVersionNil ¶
func (o *CrackerUpdate) SetLatestVersionNil()
SetLatestVersionNil sets the value for LatestVersion to be an explicit nil
func (*CrackerUpdate) SetMessage ¶
func (o *CrackerUpdate) SetMessage(v string)
SetMessage gets a reference to the given NullableString and assigns it to the Message field.
func (*CrackerUpdate) SetMessageNil ¶
func (o *CrackerUpdate) SetMessageNil()
SetMessageNil sets the value for Message to be an explicit nil
func (CrackerUpdate) ToMap ¶
func (o CrackerUpdate) ToMap() (map[string]interface{}, error)
func (*CrackerUpdate) UnmarshalJSON ¶
func (o *CrackerUpdate) UnmarshalJSON(data []byte) (err error)
func (*CrackerUpdate) UnsetDownloadUrl ¶
func (o *CrackerUpdate) UnsetDownloadUrl()
UnsetDownloadUrl ensures that no value is present for DownloadUrl, not even an explicit nil
func (*CrackerUpdate) UnsetExecName ¶
func (o *CrackerUpdate) UnsetExecName()
UnsetExecName ensures that no value is present for ExecName, not even an explicit nil
func (*CrackerUpdate) UnsetLatestVersion ¶
func (o *CrackerUpdate) UnsetLatestVersion()
UnsetLatestVersion ensures that no value is present for LatestVersion, not even an explicit nil
func (*CrackerUpdate) UnsetMessage ¶
func (o *CrackerUpdate) UnsetMessage()
UnsetMessage ensures that no value is present for Message, not even an explicit nil
type CrackersAPIService ¶
type CrackersAPIService service
CrackersAPIService CrackersAPI service
func (*CrackersAPIService) CheckForCrackerUpdate ¶
func (a *CrackersAPIService) CheckForCrackerUpdate(ctx context.Context) ApiCheckForCrackerUpdateRequest
CheckForCrackerUpdate Check for Cracker Update
Check for a cracker update, based on the operating system and version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCheckForCrackerUpdateRequest
func (*CrackersAPIService) CheckForCrackerUpdateExecute ¶
func (a *CrackersAPIService) CheckForCrackerUpdateExecute(r ApiCheckForCrackerUpdateRequest) (*CrackerUpdate, *http.Response, error)
Execute executes the request
@return CrackerUpdate
type DeviceStatus ¶
type DeviceStatus struct { DeviceId int32 `json:"device_id"` DeviceName string `json:"device_name"` DeviceType string `json:"device_type"` Speed int64 `json:"speed"` Utilization int32 `json:"utilization"` Temperature int32 `json:"temperature"` }
DeviceStatus struct for DeviceStatus
func NewDeviceStatus ¶
func NewDeviceStatus(deviceId int32, deviceName string, deviceType string, speed int64, utilization int32, temperature int32) *DeviceStatus
NewDeviceStatus instantiates a new DeviceStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceStatusWithDefaults ¶
func NewDeviceStatusWithDefaults() *DeviceStatus
NewDeviceStatusWithDefaults instantiates a new DeviceStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeviceStatus) GetDeviceId ¶
func (o *DeviceStatus) GetDeviceId() int32
GetDeviceId returns the DeviceId field value
func (*DeviceStatus) GetDeviceIdOk ¶
func (o *DeviceStatus) GetDeviceIdOk() (*int32, bool)
GetDeviceIdOk returns a tuple with the DeviceId field value and a boolean to check if the value has been set.
func (*DeviceStatus) GetDeviceName ¶
func (o *DeviceStatus) GetDeviceName() string
GetDeviceName returns the DeviceName field value
func (*DeviceStatus) GetDeviceNameOk ¶
func (o *DeviceStatus) GetDeviceNameOk() (*string, bool)
GetDeviceNameOk returns a tuple with the DeviceName field value and a boolean to check if the value has been set.
func (*DeviceStatus) GetDeviceType ¶
func (o *DeviceStatus) GetDeviceType() string
GetDeviceType returns the DeviceType field value
func (*DeviceStatus) GetDeviceTypeOk ¶
func (o *DeviceStatus) GetDeviceTypeOk() (*string, bool)
GetDeviceTypeOk returns a tuple with the DeviceType field value and a boolean to check if the value has been set.
func (*DeviceStatus) GetSpeed ¶
func (o *DeviceStatus) GetSpeed() int64
GetSpeed returns the Speed field value
func (*DeviceStatus) GetSpeedOk ¶
func (o *DeviceStatus) GetSpeedOk() (*int64, bool)
GetSpeedOk returns a tuple with the Speed field value and a boolean to check if the value has been set.
func (*DeviceStatus) GetTemperature ¶
func (o *DeviceStatus) GetTemperature() int32
GetTemperature returns the Temperature field value
func (*DeviceStatus) GetTemperatureOk ¶
func (o *DeviceStatus) GetTemperatureOk() (*int32, bool)
GetTemperatureOk returns a tuple with the Temperature field value and a boolean to check if the value has been set.
func (*DeviceStatus) GetUtilization ¶
func (o *DeviceStatus) GetUtilization() int32
GetUtilization returns the Utilization field value
func (*DeviceStatus) GetUtilizationOk ¶
func (o *DeviceStatus) GetUtilizationOk() (*int32, bool)
GetUtilizationOk returns a tuple with the Utilization field value and a boolean to check if the value has been set.
func (DeviceStatus) MarshalJSON ¶
func (o DeviceStatus) MarshalJSON() ([]byte, error)
func (*DeviceStatus) SetDeviceId ¶
func (o *DeviceStatus) SetDeviceId(v int32)
SetDeviceId sets field value
func (*DeviceStatus) SetDeviceName ¶
func (o *DeviceStatus) SetDeviceName(v string)
SetDeviceName sets field value
func (*DeviceStatus) SetDeviceType ¶
func (o *DeviceStatus) SetDeviceType(v string)
SetDeviceType sets field value
func (*DeviceStatus) SetTemperature ¶
func (o *DeviceStatus) SetTemperature(v int32)
SetTemperature sets field value
func (*DeviceStatus) SetUtilization ¶
func (o *DeviceStatus) SetUtilization(v int32)
SetUtilization sets field value
func (DeviceStatus) ToMap ¶
func (o DeviceStatus) ToMap() (map[string]interface{}, error)
func (*DeviceStatus) UnmarshalJSON ¶ added in v0.1.2
func (o *DeviceStatus) UnmarshalJSON(data []byte) (err error)
type ErrorObject ¶
type ErrorObject struct {
Error *string `json:"error,omitempty"`
}
ErrorObject struct for ErrorObject
func NewErrorObject ¶
func NewErrorObject() *ErrorObject
NewErrorObject instantiates a new ErrorObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorObjectWithDefaults ¶
func NewErrorObjectWithDefaults() *ErrorObject
NewErrorObjectWithDefaults instantiates a new ErrorObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorObject) GetError ¶
func (o *ErrorObject) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ErrorObject) GetErrorOk ¶
func (o *ErrorObject) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorObject) HasError ¶
func (o *ErrorObject) HasError() bool
HasError returns a boolean if a field has been set.
func (ErrorObject) MarshalJSON ¶
func (o ErrorObject) MarshalJSON() ([]byte, error)
func (*ErrorObject) SetError ¶
func (o *ErrorObject) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (ErrorObject) ToMap ¶
func (o ErrorObject) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HashcatBenchmark ¶
type HashcatBenchmark struct { HashType int32 `json:"hash_type"` Runtime int64 `json:"runtime"` HashSpeed float32 `json:"hash_speed"` Device int32 `json:"device"` }
HashcatBenchmark struct for HashcatBenchmark
func NewHashcatBenchmark ¶
func NewHashcatBenchmark(hashType int32, runtime int64, hashSpeed float32, device int32) *HashcatBenchmark
NewHashcatBenchmark instantiates a new HashcatBenchmark object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHashcatBenchmarkWithDefaults ¶
func NewHashcatBenchmarkWithDefaults() *HashcatBenchmark
NewHashcatBenchmarkWithDefaults instantiates a new HashcatBenchmark object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HashcatBenchmark) GetDevice ¶
func (o *HashcatBenchmark) GetDevice() int32
GetDevice returns the Device field value
func (*HashcatBenchmark) GetDeviceOk ¶
func (o *HashcatBenchmark) GetDeviceOk() (*int32, bool)
GetDeviceOk returns a tuple with the Device field value and a boolean to check if the value has been set.
func (*HashcatBenchmark) GetHashSpeed ¶
func (o *HashcatBenchmark) GetHashSpeed() float32
GetHashSpeed returns the HashSpeed field value
func (*HashcatBenchmark) GetHashSpeedOk ¶
func (o *HashcatBenchmark) GetHashSpeedOk() (*float32, bool)
GetHashSpeedOk returns a tuple with the HashSpeed field value and a boolean to check if the value has been set.
func (*HashcatBenchmark) GetHashType ¶
func (o *HashcatBenchmark) GetHashType() int32
GetHashType returns the HashType field value
func (*HashcatBenchmark) GetHashTypeOk ¶
func (o *HashcatBenchmark) GetHashTypeOk() (*int32, bool)
GetHashTypeOk returns a tuple with the HashType field value and a boolean to check if the value has been set.
func (*HashcatBenchmark) GetRuntime ¶
func (o *HashcatBenchmark) GetRuntime() int64
GetRuntime returns the Runtime field value
func (*HashcatBenchmark) GetRuntimeOk ¶
func (o *HashcatBenchmark) GetRuntimeOk() (*int64, bool)
GetRuntimeOk returns a tuple with the Runtime field value and a boolean to check if the value has been set.
func (HashcatBenchmark) MarshalJSON ¶
func (o HashcatBenchmark) MarshalJSON() ([]byte, error)
func (*HashcatBenchmark) SetDevice ¶
func (o *HashcatBenchmark) SetDevice(v int32)
SetDevice sets field value
func (*HashcatBenchmark) SetHashSpeed ¶
func (o *HashcatBenchmark) SetHashSpeed(v float32)
SetHashSpeed sets field value
func (*HashcatBenchmark) SetHashType ¶
func (o *HashcatBenchmark) SetHashType(v int32)
SetHashType sets field value
func (*HashcatBenchmark) SetRuntime ¶
func (o *HashcatBenchmark) SetRuntime(v int64)
SetRuntime sets field value
func (HashcatBenchmark) ToMap ¶
func (o HashcatBenchmark) ToMap() (map[string]interface{}, error)
func (*HashcatBenchmark) UnmarshalJSON ¶
func (o *HashcatBenchmark) UnmarshalJSON(data []byte) (err error)
type HashcatGuess ¶
type HashcatGuess struct { GuessBase string `json:"guess_base"` GuessBaseCount int64 `json:"guess_base_count"` GuessBaseOffset int64 `json:"guess_base_offset"` GuessBasePercentage float32 `json:"guess_base_percentage"` GuessMod string `json:"guess_mod"` GuessModCount int64 `json:"guess_mod_count"` GuessModOffset int64 `json:"guess_mod_offset"` GuessModPercentage float32 `json:"guess_mod_percentage"` GuessMode int32 `json:"guess_mode"` }
HashcatGuess struct for HashcatGuess
func NewHashcatGuess ¶
func NewHashcatGuess(guessBase string, guessBaseCount int64, guessBaseOffset int64, guessBasePercentage float32, guessMod string, guessModCount int64, guessModOffset int64, guessModPercentage float32, guessMode int32) *HashcatGuess
NewHashcatGuess instantiates a new HashcatGuess object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHashcatGuessWithDefaults ¶
func NewHashcatGuessWithDefaults() *HashcatGuess
NewHashcatGuessWithDefaults instantiates a new HashcatGuess object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HashcatGuess) GetGuessBase ¶
func (o *HashcatGuess) GetGuessBase() string
GetGuessBase returns the GuessBase field value
func (*HashcatGuess) GetGuessBaseCount ¶
func (o *HashcatGuess) GetGuessBaseCount() int64
GetGuessBaseCount returns the GuessBaseCount field value
func (*HashcatGuess) GetGuessBaseCountOk ¶
func (o *HashcatGuess) GetGuessBaseCountOk() (*int64, bool)
GetGuessBaseCountOk returns a tuple with the GuessBaseCount field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessBaseOffset ¶
func (o *HashcatGuess) GetGuessBaseOffset() int64
GetGuessBaseOffset returns the GuessBaseOffset field value
func (*HashcatGuess) GetGuessBaseOffsetOk ¶
func (o *HashcatGuess) GetGuessBaseOffsetOk() (*int64, bool)
GetGuessBaseOffsetOk returns a tuple with the GuessBaseOffset field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessBaseOk ¶
func (o *HashcatGuess) GetGuessBaseOk() (*string, bool)
GetGuessBaseOk returns a tuple with the GuessBase field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessBasePercentage ¶ added in v0.1.10
func (o *HashcatGuess) GetGuessBasePercentage() float32
GetGuessBasePercentage returns the GuessBasePercentage field value
func (*HashcatGuess) GetGuessBasePercentageOk ¶ added in v0.1.10
func (o *HashcatGuess) GetGuessBasePercentageOk() (*float32, bool)
GetGuessBasePercentageOk returns a tuple with the GuessBasePercentage field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessMod ¶
func (o *HashcatGuess) GetGuessMod() string
GetGuessMod returns the GuessMod field value
func (*HashcatGuess) GetGuessModCount ¶
func (o *HashcatGuess) GetGuessModCount() int64
GetGuessModCount returns the GuessModCount field value
func (*HashcatGuess) GetGuessModCountOk ¶
func (o *HashcatGuess) GetGuessModCountOk() (*int64, bool)
GetGuessModCountOk returns a tuple with the GuessModCount field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessModOffset ¶
func (o *HashcatGuess) GetGuessModOffset() int64
GetGuessModOffset returns the GuessModOffset field value
func (*HashcatGuess) GetGuessModOffsetOk ¶
func (o *HashcatGuess) GetGuessModOffsetOk() (*int64, bool)
GetGuessModOffsetOk returns a tuple with the GuessModOffset field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessModOk ¶
func (o *HashcatGuess) GetGuessModOk() (*string, bool)
GetGuessModOk returns a tuple with the GuessMod field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessModPercentage ¶ added in v0.1.10
func (o *HashcatGuess) GetGuessModPercentage() float32
GetGuessModPercentage returns the GuessModPercentage field value
func (*HashcatGuess) GetGuessModPercentageOk ¶ added in v0.1.10
func (o *HashcatGuess) GetGuessModPercentageOk() (*float32, bool)
GetGuessModPercentageOk returns a tuple with the GuessModPercentage field value and a boolean to check if the value has been set.
func (*HashcatGuess) GetGuessMode ¶
func (o *HashcatGuess) GetGuessMode() int32
GetGuessMode returns the GuessMode field value
func (*HashcatGuess) GetGuessModeOk ¶
func (o *HashcatGuess) GetGuessModeOk() (*int32, bool)
GetGuessModeOk returns a tuple with the GuessMode field value and a boolean to check if the value has been set.
func (HashcatGuess) MarshalJSON ¶
func (o HashcatGuess) MarshalJSON() ([]byte, error)
func (*HashcatGuess) SetGuessBase ¶
func (o *HashcatGuess) SetGuessBase(v string)
SetGuessBase sets field value
func (*HashcatGuess) SetGuessBaseCount ¶
func (o *HashcatGuess) SetGuessBaseCount(v int64)
SetGuessBaseCount sets field value
func (*HashcatGuess) SetGuessBaseOffset ¶
func (o *HashcatGuess) SetGuessBaseOffset(v int64)
SetGuessBaseOffset sets field value
func (*HashcatGuess) SetGuessBasePercentage ¶ added in v0.1.10
func (o *HashcatGuess) SetGuessBasePercentage(v float32)
SetGuessBasePercentage sets field value
func (*HashcatGuess) SetGuessMod ¶
func (o *HashcatGuess) SetGuessMod(v string)
SetGuessMod sets field value
func (*HashcatGuess) SetGuessModCount ¶
func (o *HashcatGuess) SetGuessModCount(v int64)
SetGuessModCount sets field value
func (*HashcatGuess) SetGuessModOffset ¶
func (o *HashcatGuess) SetGuessModOffset(v int64)
SetGuessModOffset sets field value
func (*HashcatGuess) SetGuessModPercentage ¶ added in v0.1.10
func (o *HashcatGuess) SetGuessModPercentage(v float32)
SetGuessModPercentage sets field value
func (*HashcatGuess) SetGuessMode ¶
func (o *HashcatGuess) SetGuessMode(v int32)
SetGuessMode sets field value
func (HashcatGuess) ToMap ¶
func (o HashcatGuess) ToMap() (map[string]interface{}, error)
func (*HashcatGuess) UnmarshalJSON ¶ added in v0.1.2
func (o *HashcatGuess) UnmarshalJSON(data []byte) (err error)
type HashcatResult ¶
type HashcatResult struct { Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` PlainText string `json:"plain_text"` }
HashcatResult struct for HashcatResult
func NewHashcatResult ¶
func NewHashcatResult(timestamp time.Time, hash string, plainText string) *HashcatResult
NewHashcatResult instantiates a new HashcatResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHashcatResultWithDefaults ¶
func NewHashcatResultWithDefaults() *HashcatResult
NewHashcatResultWithDefaults instantiates a new HashcatResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HashcatResult) GetHash ¶
func (o *HashcatResult) GetHash() string
GetHash returns the Hash field value
func (*HashcatResult) GetHashOk ¶
func (o *HashcatResult) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.
func (*HashcatResult) GetPlainText ¶
func (o *HashcatResult) GetPlainText() string
GetPlainText returns the PlainText field value
func (*HashcatResult) GetPlainTextOk ¶
func (o *HashcatResult) GetPlainTextOk() (*string, bool)
GetPlainTextOk returns a tuple with the PlainText field value and a boolean to check if the value has been set.
func (*HashcatResult) GetTimestamp ¶
func (o *HashcatResult) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value
func (*HashcatResult) GetTimestampOk ¶
func (o *HashcatResult) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (HashcatResult) MarshalJSON ¶
func (o HashcatResult) MarshalJSON() ([]byte, error)
func (*HashcatResult) SetPlainText ¶
func (o *HashcatResult) SetPlainText(v string)
SetPlainText sets field value
func (*HashcatResult) SetTimestamp ¶
func (o *HashcatResult) SetTimestamp(v time.Time)
SetTimestamp sets field value
func (HashcatResult) ToMap ¶
func (o HashcatResult) ToMap() (map[string]interface{}, error)
func (*HashcatResult) UnmarshalJSON ¶
func (o *HashcatResult) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableAdvancedAgentConfiguration ¶
type NullableAdvancedAgentConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableAdvancedAgentConfiguration ¶
func NewNullableAdvancedAgentConfiguration(val *AdvancedAgentConfiguration) *NullableAdvancedAgentConfiguration
func (NullableAdvancedAgentConfiguration) Get ¶
func (v NullableAdvancedAgentConfiguration) Get() *AdvancedAgentConfiguration
func (NullableAdvancedAgentConfiguration) IsSet ¶
func (v NullableAdvancedAgentConfiguration) IsSet() bool
func (NullableAdvancedAgentConfiguration) MarshalJSON ¶
func (v NullableAdvancedAgentConfiguration) MarshalJSON() ([]byte, error)
func (*NullableAdvancedAgentConfiguration) Set ¶
func (v *NullableAdvancedAgentConfiguration) Set(val *AdvancedAgentConfiguration)
func (*NullableAdvancedAgentConfiguration) UnmarshalJSON ¶
func (v *NullableAdvancedAgentConfiguration) UnmarshalJSON(src []byte) error
func (*NullableAdvancedAgentConfiguration) Unset ¶
func (v *NullableAdvancedAgentConfiguration) Unset()
type NullableAgent ¶
type NullableAgent struct {
// contains filtered or unexported fields
}
func NewNullableAgent ¶
func NewNullableAgent(val *Agent) *NullableAgent
func (NullableAgent) Get ¶
func (v NullableAgent) Get() *Agent
func (NullableAgent) IsSet ¶
func (v NullableAgent) IsSet() bool
func (NullableAgent) MarshalJSON ¶
func (v NullableAgent) MarshalJSON() ([]byte, error)
func (*NullableAgent) Set ¶
func (v *NullableAgent) Set(val *Agent)
func (*NullableAgent) UnmarshalJSON ¶
func (v *NullableAgent) UnmarshalJSON(src []byte) error
func (*NullableAgent) Unset ¶
func (v *NullableAgent) Unset()
type NullableAgentConfiguration ¶ added in v0.1.11
type NullableAgentConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableAgentConfiguration ¶ added in v0.1.11
func NewNullableAgentConfiguration(val *AgentConfiguration) *NullableAgentConfiguration
func (NullableAgentConfiguration) Get ¶ added in v0.1.11
func (v NullableAgentConfiguration) Get() *AgentConfiguration
func (NullableAgentConfiguration) IsSet ¶ added in v0.1.11
func (v NullableAgentConfiguration) IsSet() bool
func (NullableAgentConfiguration) MarshalJSON ¶ added in v0.1.11
func (v NullableAgentConfiguration) MarshalJSON() ([]byte, error)
func (*NullableAgentConfiguration) Set ¶ added in v0.1.11
func (v *NullableAgentConfiguration) Set(val *AgentConfiguration)
func (*NullableAgentConfiguration) UnmarshalJSON ¶ added in v0.1.11
func (v *NullableAgentConfiguration) UnmarshalJSON(src []byte) error
func (*NullableAgentConfiguration) Unset ¶ added in v0.1.11
func (v *NullableAgentConfiguration) Unset()
type NullableAgentLastBenchmark ¶
type NullableAgentLastBenchmark struct {
// contains filtered or unexported fields
}
func NewNullableAgentLastBenchmark ¶
func NewNullableAgentLastBenchmark(val *AgentLastBenchmark) *NullableAgentLastBenchmark
func (NullableAgentLastBenchmark) Get ¶
func (v NullableAgentLastBenchmark) Get() *AgentLastBenchmark
func (NullableAgentLastBenchmark) IsSet ¶
func (v NullableAgentLastBenchmark) IsSet() bool
func (NullableAgentLastBenchmark) MarshalJSON ¶
func (v NullableAgentLastBenchmark) MarshalJSON() ([]byte, error)
func (*NullableAgentLastBenchmark) Set ¶
func (v *NullableAgentLastBenchmark) Set(val *AgentLastBenchmark)
func (*NullableAgentLastBenchmark) UnmarshalJSON ¶
func (v *NullableAgentLastBenchmark) UnmarshalJSON(src []byte) error
func (*NullableAgentLastBenchmark) Unset ¶
func (v *NullableAgentLastBenchmark) Unset()
type NullableAgentUpdate ¶
type NullableAgentUpdate struct {
// contains filtered or unexported fields
}
func NewNullableAgentUpdate ¶
func NewNullableAgentUpdate(val *AgentUpdate) *NullableAgentUpdate
func (NullableAgentUpdate) Get ¶
func (v NullableAgentUpdate) Get() *AgentUpdate
func (NullableAgentUpdate) IsSet ¶
func (v NullableAgentUpdate) IsSet() bool
func (NullableAgentUpdate) MarshalJSON ¶
func (v NullableAgentUpdate) MarshalJSON() ([]byte, error)
func (*NullableAgentUpdate) Set ¶
func (v *NullableAgentUpdate) Set(val *AgentUpdate)
func (*NullableAgentUpdate) UnmarshalJSON ¶
func (v *NullableAgentUpdate) UnmarshalJSON(src []byte) error
func (*NullableAgentUpdate) Unset ¶
func (v *NullableAgentUpdate) Unset()
type NullableAttack ¶
type NullableAttack struct {
// contains filtered or unexported fields
}
func NewNullableAttack ¶
func NewNullableAttack(val *Attack) *NullableAttack
func (NullableAttack) Get ¶
func (v NullableAttack) Get() *Attack
func (NullableAttack) IsSet ¶
func (v NullableAttack) IsSet() bool
func (NullableAttack) MarshalJSON ¶
func (v NullableAttack) MarshalJSON() ([]byte, error)
func (*NullableAttack) Set ¶
func (v *NullableAttack) Set(val *Attack)
func (*NullableAttack) UnmarshalJSON ¶
func (v *NullableAttack) UnmarshalJSON(src []byte) error
func (*NullableAttack) Unset ¶
func (v *NullableAttack) Unset()
type NullableAttackResourceFile ¶
type NullableAttackResourceFile struct {
// contains filtered or unexported fields
}
func NewNullableAttackResourceFile ¶
func NewNullableAttackResourceFile(val *AttackResourceFile) *NullableAttackResourceFile
func (NullableAttackResourceFile) Get ¶
func (v NullableAttackResourceFile) Get() *AttackResourceFile
func (NullableAttackResourceFile) IsSet ¶
func (v NullableAttackResourceFile) IsSet() bool
func (NullableAttackResourceFile) MarshalJSON ¶
func (v NullableAttackResourceFile) MarshalJSON() ([]byte, error)
func (*NullableAttackResourceFile) Set ¶
func (v *NullableAttackResourceFile) Set(val *AttackResourceFile)
func (*NullableAttackResourceFile) UnmarshalJSON ¶
func (v *NullableAttackResourceFile) UnmarshalJSON(src []byte) error
func (*NullableAttackResourceFile) Unset ¶
func (v *NullableAttackResourceFile) Unset()
type NullableAuthenticationResult ¶ added in v0.1.11
type NullableAuthenticationResult struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticationResult ¶ added in v0.1.11
func NewNullableAuthenticationResult(val *AuthenticationResult) *NullableAuthenticationResult
func (NullableAuthenticationResult) Get ¶ added in v0.1.11
func (v NullableAuthenticationResult) Get() *AuthenticationResult
func (NullableAuthenticationResult) IsSet ¶ added in v0.1.11
func (v NullableAuthenticationResult) IsSet() bool
func (NullableAuthenticationResult) MarshalJSON ¶ added in v0.1.11
func (v NullableAuthenticationResult) MarshalJSON() ([]byte, error)
func (*NullableAuthenticationResult) Set ¶ added in v0.1.11
func (v *NullableAuthenticationResult) Set(val *AuthenticationResult)
func (*NullableAuthenticationResult) UnmarshalJSON ¶ added in v0.1.11
func (v *NullableAuthenticationResult) UnmarshalJSON(src []byte) error
func (*NullableAuthenticationResult) Unset ¶ added in v0.1.11
func (v *NullableAuthenticationResult) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCrackerUpdate ¶
type NullableCrackerUpdate struct {
// contains filtered or unexported fields
}
func NewNullableCrackerUpdate ¶
func NewNullableCrackerUpdate(val *CrackerUpdate) *NullableCrackerUpdate
func (NullableCrackerUpdate) Get ¶
func (v NullableCrackerUpdate) Get() *CrackerUpdate
func (NullableCrackerUpdate) IsSet ¶
func (v NullableCrackerUpdate) IsSet() bool
func (NullableCrackerUpdate) MarshalJSON ¶
func (v NullableCrackerUpdate) MarshalJSON() ([]byte, error)
func (*NullableCrackerUpdate) Set ¶
func (v *NullableCrackerUpdate) Set(val *CrackerUpdate)
func (*NullableCrackerUpdate) UnmarshalJSON ¶
func (v *NullableCrackerUpdate) UnmarshalJSON(src []byte) error
func (*NullableCrackerUpdate) Unset ¶
func (v *NullableCrackerUpdate) Unset()
type NullableDeviceStatus ¶
type NullableDeviceStatus struct {
// contains filtered or unexported fields
}
func NewNullableDeviceStatus ¶
func NewNullableDeviceStatus(val *DeviceStatus) *NullableDeviceStatus
func (NullableDeviceStatus) Get ¶
func (v NullableDeviceStatus) Get() *DeviceStatus
func (NullableDeviceStatus) IsSet ¶
func (v NullableDeviceStatus) IsSet() bool
func (NullableDeviceStatus) MarshalJSON ¶
func (v NullableDeviceStatus) MarshalJSON() ([]byte, error)
func (*NullableDeviceStatus) Set ¶
func (v *NullableDeviceStatus) Set(val *DeviceStatus)
func (*NullableDeviceStatus) UnmarshalJSON ¶
func (v *NullableDeviceStatus) UnmarshalJSON(src []byte) error
func (*NullableDeviceStatus) Unset ¶
func (v *NullableDeviceStatus) Unset()
type NullableErrorObject ¶
type NullableErrorObject struct {
// contains filtered or unexported fields
}
func NewNullableErrorObject ¶
func NewNullableErrorObject(val *ErrorObject) *NullableErrorObject
func (NullableErrorObject) Get ¶
func (v NullableErrorObject) Get() *ErrorObject
func (NullableErrorObject) IsSet ¶
func (v NullableErrorObject) IsSet() bool
func (NullableErrorObject) MarshalJSON ¶
func (v NullableErrorObject) MarshalJSON() ([]byte, error)
func (*NullableErrorObject) Set ¶
func (v *NullableErrorObject) Set(val *ErrorObject)
func (*NullableErrorObject) UnmarshalJSON ¶
func (v *NullableErrorObject) UnmarshalJSON(src []byte) error
func (*NullableErrorObject) Unset ¶
func (v *NullableErrorObject) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableHashcatBenchmark ¶
type NullableHashcatBenchmark struct {
// contains filtered or unexported fields
}
func NewNullableHashcatBenchmark ¶
func NewNullableHashcatBenchmark(val *HashcatBenchmark) *NullableHashcatBenchmark
func (NullableHashcatBenchmark) Get ¶
func (v NullableHashcatBenchmark) Get() *HashcatBenchmark
func (NullableHashcatBenchmark) IsSet ¶
func (v NullableHashcatBenchmark) IsSet() bool
func (NullableHashcatBenchmark) MarshalJSON ¶
func (v NullableHashcatBenchmark) MarshalJSON() ([]byte, error)
func (*NullableHashcatBenchmark) Set ¶
func (v *NullableHashcatBenchmark) Set(val *HashcatBenchmark)
func (*NullableHashcatBenchmark) UnmarshalJSON ¶
func (v *NullableHashcatBenchmark) UnmarshalJSON(src []byte) error
func (*NullableHashcatBenchmark) Unset ¶
func (v *NullableHashcatBenchmark) Unset()
type NullableHashcatGuess ¶
type NullableHashcatGuess struct {
// contains filtered or unexported fields
}
func NewNullableHashcatGuess ¶
func NewNullableHashcatGuess(val *HashcatGuess) *NullableHashcatGuess
func (NullableHashcatGuess) Get ¶
func (v NullableHashcatGuess) Get() *HashcatGuess
func (NullableHashcatGuess) IsSet ¶
func (v NullableHashcatGuess) IsSet() bool
func (NullableHashcatGuess) MarshalJSON ¶
func (v NullableHashcatGuess) MarshalJSON() ([]byte, error)
func (*NullableHashcatGuess) Set ¶
func (v *NullableHashcatGuess) Set(val *HashcatGuess)
func (*NullableHashcatGuess) UnmarshalJSON ¶
func (v *NullableHashcatGuess) UnmarshalJSON(src []byte) error
func (*NullableHashcatGuess) Unset ¶
func (v *NullableHashcatGuess) Unset()
type NullableHashcatResult ¶
type NullableHashcatResult struct {
// contains filtered or unexported fields
}
func NewNullableHashcatResult ¶
func NewNullableHashcatResult(val *HashcatResult) *NullableHashcatResult
func (NullableHashcatResult) Get ¶
func (v NullableHashcatResult) Get() *HashcatResult
func (NullableHashcatResult) IsSet ¶
func (v NullableHashcatResult) IsSet() bool
func (NullableHashcatResult) MarshalJSON ¶
func (v NullableHashcatResult) MarshalJSON() ([]byte, error)
func (*NullableHashcatResult) Set ¶
func (v *NullableHashcatResult) Set(val *HashcatResult)
func (*NullableHashcatResult) UnmarshalJSON ¶
func (v *NullableHashcatResult) UnmarshalJSON(src []byte) error
func (*NullableHashcatResult) Unset ¶
func (v *NullableHashcatResult) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableStateError ¶
type NullableStateError struct {
// contains filtered or unexported fields
}
func NewNullableStateError ¶
func NewNullableStateError(val *StateError) *NullableStateError
func (NullableStateError) Get ¶
func (v NullableStateError) Get() *StateError
func (NullableStateError) IsSet ¶
func (v NullableStateError) IsSet() bool
func (NullableStateError) MarshalJSON ¶
func (v NullableStateError) MarshalJSON() ([]byte, error)
func (*NullableStateError) Set ¶
func (v *NullableStateError) Set(val *StateError)
func (*NullableStateError) UnmarshalJSON ¶
func (v *NullableStateError) UnmarshalJSON(src []byte) error
func (*NullableStateError) Unset ¶
func (v *NullableStateError) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTask ¶
type NullableTask struct {
// contains filtered or unexported fields
}
func NewNullableTask ¶
func NewNullableTask(val *Task) *NullableTask
func (NullableTask) Get ¶
func (v NullableTask) Get() *Task
func (NullableTask) IsSet ¶
func (v NullableTask) IsSet() bool
func (NullableTask) MarshalJSON ¶
func (v NullableTask) MarshalJSON() ([]byte, error)
func (*NullableTask) Set ¶
func (v *NullableTask) Set(val *Task)
func (*NullableTask) UnmarshalJSON ¶
func (v *NullableTask) UnmarshalJSON(src []byte) error
func (*NullableTask) Unset ¶
func (v *NullableTask) Unset()
type NullableTaskStatus ¶
type NullableTaskStatus struct {
// contains filtered or unexported fields
}
func NewNullableTaskStatus ¶
func NewNullableTaskStatus(val *TaskStatus) *NullableTaskStatus
func (NullableTaskStatus) Get ¶
func (v NullableTaskStatus) Get() *TaskStatus
func (NullableTaskStatus) IsSet ¶
func (v NullableTaskStatus) IsSet() bool
func (NullableTaskStatus) MarshalJSON ¶
func (v NullableTaskStatus) MarshalJSON() ([]byte, error)
func (*NullableTaskStatus) Set ¶
func (v *NullableTaskStatus) Set(val *TaskStatus)
func (*NullableTaskStatus) UnmarshalJSON ¶
func (v *NullableTaskStatus) UnmarshalJSON(src []byte) error
func (*NullableTaskStatus) Unset ¶
func (v *NullableTaskStatus) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type StateError ¶
type StateError struct {
State []string `json:"state,omitempty"`
}
StateError struct for StateError
func NewStateError ¶
func NewStateError() *StateError
NewStateError instantiates a new StateError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStateErrorWithDefaults ¶
func NewStateErrorWithDefaults() *StateError
NewStateErrorWithDefaults instantiates a new StateError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StateError) GetState ¶
func (o *StateError) GetState() []string
GetState returns the State field value if set, zero value otherwise.
func (*StateError) GetStateOk ¶
func (o *StateError) GetStateOk() ([]string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StateError) HasState ¶
func (o *StateError) HasState() bool
HasState returns a boolean if a field has been set.
func (StateError) MarshalJSON ¶
func (o StateError) MarshalJSON() ([]byte, error)
func (*StateError) SetState ¶
func (o *StateError) SetState(v []string)
SetState gets a reference to the given []string and assigns it to the State field.
func (StateError) ToMap ¶
func (o StateError) ToMap() (map[string]interface{}, error)
type Task ¶
type Task struct { Id int64 `json:"id"` AttackId int64 `json:"attack_id"` StartDate time.Time `json:"start_date"` Status string `json:"status"` Skip NullableInt64 `json:"skip,omitempty"` Limit NullableInt64 `json:"limit,omitempty"` }
Task struct for Task
func NewTask ¶
NewTask instantiates a new Task object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskWithDefaults ¶
func NewTaskWithDefaults() *Task
NewTaskWithDefaults instantiates a new Task object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Task) GetAttackId ¶
GetAttackId returns the AttackId field value
func (*Task) GetAttackIdOk ¶
GetAttackIdOk returns a tuple with the AttackId field value and a boolean to check if the value has been set.
func (*Task) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Task) GetLimit ¶
GetLimit returns the Limit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Task) GetLimitOk ¶
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Task) GetSkip ¶
GetSkip returns the Skip field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Task) GetSkipOk ¶
GetSkipOk returns a tuple with the Skip field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Task) GetStartDate ¶
GetStartDate returns the StartDate field value
func (*Task) GetStartDateOk ¶
GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set.
func (*Task) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (Task) MarshalJSON ¶
func (*Task) SetLimit ¶
SetLimit gets a reference to the given NullableInt64 and assigns it to the Limit field.
func (*Task) SetLimitNil ¶
func (o *Task) SetLimitNil()
SetLimitNil sets the value for Limit to be an explicit nil
func (*Task) SetSkip ¶
SetSkip gets a reference to the given NullableInt64 and assigns it to the Skip field.
func (*Task) SetSkipNil ¶
func (o *Task) SetSkipNil()
SetSkipNil sets the value for Skip to be an explicit nil
func (*Task) UnmarshalJSON ¶
func (*Task) UnsetLimit ¶
func (o *Task) UnsetLimit()
UnsetLimit ensures that no value is present for Limit, not even an explicit nil
type TaskStatus ¶
type TaskStatus struct { OriginalLine string `json:"original_line"` Time time.Time `json:"time"` Session string `json:"session"` HashcatGuess HashcatGuess `json:"hashcat_guess"` Status int32 `json:"status"` Target string `json:"target"` Progress []int64 `json:"progress"` RestorePoint int64 `json:"restore_point"` RecoveredHashes []int32 `json:"recovered_hashes"` RecoveredSalts []int32 `json:"recovered_salts"` Rejected int64 `json:"rejected"` DeviceStatuses []DeviceStatus `json:"device_statuses"` TimeStart time.Time `json:"time_start"` EstimatedStop time.Time `json:"estimated_stop"` }
TaskStatus struct for TaskStatus
func NewTaskStatus ¶
func NewTaskStatus(originalLine string, time time.Time, session string, hashcatGuess HashcatGuess, status int32, target string, progress []int64, restorePoint int64, recoveredHashes []int32, recoveredSalts []int32, rejected int64, deviceStatuses []DeviceStatus, timeStart time.Time, estimatedStop time.Time) *TaskStatus
NewTaskStatus instantiates a new TaskStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskStatusWithDefaults ¶
func NewTaskStatusWithDefaults() *TaskStatus
NewTaskStatusWithDefaults instantiates a new TaskStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskStatus) GetDeviceStatuses ¶ added in v0.1.8
func (o *TaskStatus) GetDeviceStatuses() []DeviceStatus
GetDeviceStatuses returns the DeviceStatuses field value
func (*TaskStatus) GetDeviceStatusesOk ¶ added in v0.1.8
func (o *TaskStatus) GetDeviceStatusesOk() ([]DeviceStatus, bool)
GetDeviceStatusesOk returns a tuple with the DeviceStatuses field value and a boolean to check if the value has been set.
func (*TaskStatus) GetEstimatedStop ¶
func (o *TaskStatus) GetEstimatedStop() time.Time
GetEstimatedStop returns the EstimatedStop field value
func (*TaskStatus) GetEstimatedStopOk ¶
func (o *TaskStatus) GetEstimatedStopOk() (*time.Time, bool)
GetEstimatedStopOk returns a tuple with the EstimatedStop field value and a boolean to check if the value has been set.
func (*TaskStatus) GetHashcatGuess ¶ added in v0.1.8
func (o *TaskStatus) GetHashcatGuess() HashcatGuess
GetHashcatGuess returns the HashcatGuess field value
func (*TaskStatus) GetHashcatGuessOk ¶ added in v0.1.8
func (o *TaskStatus) GetHashcatGuessOk() (*HashcatGuess, bool)
GetHashcatGuessOk returns a tuple with the HashcatGuess field value and a boolean to check if the value has been set.
func (*TaskStatus) GetOriginalLine ¶
func (o *TaskStatus) GetOriginalLine() string
GetOriginalLine returns the OriginalLine field value
func (*TaskStatus) GetOriginalLineOk ¶
func (o *TaskStatus) GetOriginalLineOk() (*string, bool)
GetOriginalLineOk returns a tuple with the OriginalLine field value and a boolean to check if the value has been set.
func (*TaskStatus) GetProgress ¶
func (o *TaskStatus) GetProgress() []int64
GetProgress returns the Progress field value
func (*TaskStatus) GetProgressOk ¶
func (o *TaskStatus) GetProgressOk() ([]int64, bool)
GetProgressOk returns a tuple with the Progress field value and a boolean to check if the value has been set.
func (*TaskStatus) GetRecoveredHashes ¶
func (o *TaskStatus) GetRecoveredHashes() []int32
GetRecoveredHashes returns the RecoveredHashes field value
func (*TaskStatus) GetRecoveredHashesOk ¶
func (o *TaskStatus) GetRecoveredHashesOk() ([]int32, bool)
GetRecoveredHashesOk returns a tuple with the RecoveredHashes field value and a boolean to check if the value has been set.
func (*TaskStatus) GetRecoveredSalts ¶
func (o *TaskStatus) GetRecoveredSalts() []int32
GetRecoveredSalts returns the RecoveredSalts field value
func (*TaskStatus) GetRecoveredSaltsOk ¶
func (o *TaskStatus) GetRecoveredSaltsOk() ([]int32, bool)
GetRecoveredSaltsOk returns a tuple with the RecoveredSalts field value and a boolean to check if the value has been set.
func (*TaskStatus) GetRejected ¶
func (o *TaskStatus) GetRejected() int64
GetRejected returns the Rejected field value
func (*TaskStatus) GetRejectedOk ¶
func (o *TaskStatus) GetRejectedOk() (*int64, bool)
GetRejectedOk returns a tuple with the Rejected field value and a boolean to check if the value has been set.
func (*TaskStatus) GetRestorePoint ¶
func (o *TaskStatus) GetRestorePoint() int64
GetRestorePoint returns the RestorePoint field value
func (*TaskStatus) GetRestorePointOk ¶
func (o *TaskStatus) GetRestorePointOk() (*int64, bool)
GetRestorePointOk returns a tuple with the RestorePoint field value and a boolean to check if the value has been set.
func (*TaskStatus) GetSession ¶
func (o *TaskStatus) GetSession() string
GetSession returns the Session field value
func (*TaskStatus) GetSessionOk ¶
func (o *TaskStatus) GetSessionOk() (*string, bool)
GetSessionOk returns a tuple with the Session field value and a boolean to check if the value has been set.
func (*TaskStatus) GetStatus ¶
func (o *TaskStatus) GetStatus() int32
GetStatus returns the Status field value
func (*TaskStatus) GetStatusOk ¶
func (o *TaskStatus) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*TaskStatus) GetTarget ¶
func (o *TaskStatus) GetTarget() string
GetTarget returns the Target field value
func (*TaskStatus) GetTargetOk ¶
func (o *TaskStatus) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.
func (*TaskStatus) GetTime ¶
func (o *TaskStatus) GetTime() time.Time
GetTime returns the Time field value
func (*TaskStatus) GetTimeOk ¶
func (o *TaskStatus) GetTimeOk() (*time.Time, bool)
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.
func (*TaskStatus) GetTimeStart ¶
func (o *TaskStatus) GetTimeStart() time.Time
GetTimeStart returns the TimeStart field value
func (*TaskStatus) GetTimeStartOk ¶
func (o *TaskStatus) GetTimeStartOk() (*time.Time, bool)
GetTimeStartOk returns a tuple with the TimeStart field value and a boolean to check if the value has been set.
func (TaskStatus) MarshalJSON ¶
func (o TaskStatus) MarshalJSON() ([]byte, error)
func (*TaskStatus) SetDeviceStatuses ¶ added in v0.1.8
func (o *TaskStatus) SetDeviceStatuses(v []DeviceStatus)
SetDeviceStatuses sets field value
func (*TaskStatus) SetEstimatedStop ¶
func (o *TaskStatus) SetEstimatedStop(v time.Time)
SetEstimatedStop sets field value
func (*TaskStatus) SetHashcatGuess ¶ added in v0.1.8
func (o *TaskStatus) SetHashcatGuess(v HashcatGuess)
SetHashcatGuess sets field value
func (*TaskStatus) SetOriginalLine ¶
func (o *TaskStatus) SetOriginalLine(v string)
SetOriginalLine sets field value
func (*TaskStatus) SetProgress ¶
func (o *TaskStatus) SetProgress(v []int64)
SetProgress sets field value
func (*TaskStatus) SetRecoveredHashes ¶
func (o *TaskStatus) SetRecoveredHashes(v []int32)
SetRecoveredHashes sets field value
func (*TaskStatus) SetRecoveredSalts ¶
func (o *TaskStatus) SetRecoveredSalts(v []int32)
SetRecoveredSalts sets field value
func (*TaskStatus) SetRejected ¶
func (o *TaskStatus) SetRejected(v int64)
SetRejected sets field value
func (*TaskStatus) SetRestorePoint ¶
func (o *TaskStatus) SetRestorePoint(v int64)
SetRestorePoint sets field value
func (*TaskStatus) SetSession ¶
func (o *TaskStatus) SetSession(v string)
SetSession sets field value
func (*TaskStatus) SetTimeStart ¶
func (o *TaskStatus) SetTimeStart(v time.Time)
SetTimeStart sets field value
func (TaskStatus) ToMap ¶
func (o TaskStatus) ToMap() (map[string]interface{}, error)
func (*TaskStatus) UnmarshalJSON ¶
func (o *TaskStatus) UnmarshalJSON(data []byte) (err error)
type TasksAPIService ¶
type TasksAPIService service
TasksAPIService TasksAPI service
func (*TasksAPIService) AbandonTask ¶
func (a *TasksAPIService) AbandonTask(ctx context.Context, id int64) ApiAbandonTaskRequest
AbandonTask Abandon Task
Abandon a task. This will mark the task as abandoned. Usually used when the client is unable to complete the task.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiAbandonTaskRequest
func (*TasksAPIService) AbandonTaskExecute ¶
func (a *TasksAPIService) AbandonTaskExecute(r ApiAbandonTaskRequest) (*http.Response, error)
Execute executes the request
func (*TasksAPIService) AcceptTask ¶
func (a *TasksAPIService) AcceptTask(ctx context.Context, id int64) ApiAcceptTaskRequest
AcceptTask Accept Task
Accept an offered task from the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiAcceptTaskRequest
func (*TasksAPIService) AcceptTaskExecute ¶
func (a *TasksAPIService) AcceptTaskExecute(r ApiAcceptTaskRequest) (*http.Response, error)
Execute executes the request
func (*TasksAPIService) ExhaustedTask ¶
func (a *TasksAPIService) ExhaustedTask(ctx context.Context, id int64) ApiExhaustedTaskRequest
ExhaustedTask Notify of Exhausted Task
Notify the server that the task is exhausted. This will mark the task as completed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiExhaustedTaskRequest
func (*TasksAPIService) ExhaustedTaskExecute ¶
func (a *TasksAPIService) ExhaustedTaskExecute(r ApiExhaustedTaskRequest) (*http.Response, error)
Execute executes the request
func (*TasksAPIService) NewTask ¶
func (a *TasksAPIService) NewTask(ctx context.Context) ApiNewTaskRequest
NewTask Request a new task from server
Request a new task from the server, if available.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiNewTaskRequest
func (*TasksAPIService) NewTaskExecute ¶
func (a *TasksAPIService) NewTaskExecute(r ApiNewTaskRequest) (*Task, *http.Response, error)
Execute executes the request
@return Task
func (*TasksAPIService) ShowTask ¶
func (a *TasksAPIService) ShowTask(ctx context.Context, id int64) ApiShowTaskRequest
ShowTask Request the task information
Request the task information from the server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiShowTaskRequest
func (*TasksAPIService) ShowTaskExecute ¶
func (a *TasksAPIService) ShowTaskExecute(r ApiShowTaskRequest) (*Task, *http.Response, error)
Execute executes the request
@return Task
func (*TasksAPIService) SubmitCrack ¶
func (a *TasksAPIService) SubmitCrack(ctx context.Context, id int64) ApiSubmitCrackRequest
SubmitCrack Submit a cracked hash result for a task
Submit a cracked hash result for a task.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiSubmitCrackRequest
func (*TasksAPIService) SubmitCrackExecute ¶
func (a *TasksAPIService) SubmitCrackExecute(r ApiSubmitCrackRequest) (*http.Response, error)
Execute executes the request
func (*TasksAPIService) SubmitStatus ¶
func (a *TasksAPIService) SubmitStatus(ctx context.Context, id int64) ApiSubmitStatusRequest
SubmitStatus Submit a status update for a task
Submit a status update for a task. This includes the status of the current guess and the devices.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id id @return ApiSubmitStatusRequest
func (*TasksAPIService) SubmitStatusExecute ¶
func (a *TasksAPIService) SubmitStatusExecute(r ApiSubmitStatusRequest) (*http.Response, error)
Execute executes the request
Source Files ¶
- api_agents.go
- api_attacks.go
- api_client.go
- api_crackers.go
- api_tasks.go
- client.go
- configuration.go
- model_advanced_agent_configuration.go
- model_agent.go
- model_agent_configuration.go
- model_agent_last_benchmark.go
- model_agent_update.go
- model_attack.go
- model_attack_resource_file.go
- model_authentication_result.go
- model_cracker_update.go
- model_device_status.go
- model_error_object.go
- model_hashcat_benchmark.go
- model_hashcat_guess.go
- model_hashcat_result.go
- model_state_error.go
- model_task.go
- model_task_status.go
- response.go
- utils.go