Versions in this module Expand all Collapse all v0 v0.1.0 Feb 4, 2021 Changes in this version + var ContextAPIKeys = contextKey("apiKeys") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextHttpSignatureAuth = contextKey("httpsignature") + var ContextOAuth2 = contextKey("token") + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + func CacheExpires(r *http.Response) time.Time + func GetAPIBase(client *APIClient, ctx context.Context) string + func NodeToURI(client *APIClient, ctx context.Context, name string) string + 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 + func URIToNode(client *APIClient, ctx context.Context, uri string) string + type APIClient struct + DefaultApi DefaultApi + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type AggregationResetBody struct + AdditionalProperties map[string]interface{} + ResetType *ResetType + TargetURIs *[]string + func NewAggregationResetBody() *AggregationResetBody + func NewAggregationResetBodyWithDefaults() *AggregationResetBody + func (o *AggregationResetBody) GetResetType() ResetType + func (o *AggregationResetBody) GetResetTypeOk() (*ResetType, bool) + func (o *AggregationResetBody) GetTargetURIs() []string + func (o *AggregationResetBody) GetTargetURIsOk() (*[]string, bool) + func (o *AggregationResetBody) HasResetType() bool + func (o *AggregationResetBody) HasTargetURIs() bool + func (o *AggregationResetBody) SetResetType(v ResetType) + func (o *AggregationResetBody) SetTargetURIs(v []string) + func (o *AggregationResetBody) UnmarshalJSON(bytes []byte) (err error) + func (o AggregationResetBody) MarshalJSON() ([]byte, error) + type ApiAggregationServiceActionsAggregationServiceResetPostRequest struct + ApiService DefaultApi + func (r ApiAggregationServiceActionsAggregationServiceResetPostRequest) AggregationResetBody(aggregationResetBody AggregationResetBody) ApiAggregationServiceActionsAggregationServiceResetPostRequest + func (r ApiAggregationServiceActionsAggregationServiceResetPostRequest) Execute() (AggregationResetBody, *_nethttp.Response, error) + type ApiComputerSystemsGetRequest struct + ApiService DefaultApi + func (r ApiComputerSystemsGetRequest) Execute() (ComputerSystemCollection, *_nethttp.Response, error) + type ApiComputerSystemsNameActionsComputerSystemResetPostRequest struct + ApiService DefaultApi + func (r ApiComputerSystemsNameActionsComputerSystemResetPostRequest) Execute() (ResetRequestBody, *_nethttp.Response, error) + func (r ApiComputerSystemsNameActionsComputerSystemResetPostRequest) ResetRequestBody(resetRequestBody ResetRequestBody) ApiComputerSystemsNameActionsComputerSystemResetPostRequest + type ApiComputerSystemsNameGetRequest struct + ApiService DefaultApi + func (r ApiComputerSystemsNameGetRequest) Execute() (ComputerSystem, *_nethttp.Response, error) + type BasicAuth struct + Password string + UserName string + type ComputerSystem struct + AdditionalProperties map[string]interface{} + Id string + Name string + PowerState *PowerState + func NewComputerSystem(id string, name string) *ComputerSystem + func NewComputerSystemWithDefaults() *ComputerSystem + func (o *ComputerSystem) GetId() string + func (o *ComputerSystem) GetIdOk() (*string, bool) + func (o *ComputerSystem) GetName() string + func (o *ComputerSystem) GetNameOk() (*string, bool) + func (o *ComputerSystem) GetPowerState() PowerState + func (o *ComputerSystem) GetPowerStateOk() (*PowerState, bool) + func (o *ComputerSystem) HasPowerState() bool + func (o *ComputerSystem) SetId(v string) + func (o *ComputerSystem) SetName(v string) + func (o *ComputerSystem) SetPowerState(v PowerState) + func (o *ComputerSystem) UnmarshalJSON(bytes []byte) (err error) + func (o ComputerSystem) MarshalJSON() ([]byte, error) + type ComputerSystemCollection struct + AdditionalProperties map[string]interface{} + Id *string + Name *string + Systems *[]ComputerSystem + func NewComputerSystemCollection() *ComputerSystemCollection + func NewComputerSystemCollectionWithDefaults() *ComputerSystemCollection + func (o *ComputerSystemCollection) GetId() string + func (o *ComputerSystemCollection) GetIdOk() (*string, bool) + func (o *ComputerSystemCollection) GetName() string + func (o *ComputerSystemCollection) GetNameOk() (*string, bool) + func (o *ComputerSystemCollection) GetSystems() []ComputerSystem + func (o *ComputerSystemCollection) GetSystemsOk() (*[]ComputerSystem, bool) + func (o *ComputerSystemCollection) HasId() bool + func (o *ComputerSystemCollection) HasName() bool + func (o *ComputerSystemCollection) HasSystems() bool + func (o *ComputerSystemCollection) SetId(v string) + func (o *ComputerSystemCollection) SetName(v string) + func (o *ComputerSystemCollection) SetSystems(v []ComputerSystem) + func (o *ComputerSystemCollection) UnmarshalJSON(bytes []byte) (err error) + func (o ComputerSystemCollection) MarshalJSON() ([]byte, error) + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type DefaultApi interface + AggregationServiceActionsAggregationServiceResetPost func(ctx _context.Context) ApiAggregationServiceActionsAggregationServiceResetPostRequest + AggregationServiceActionsAggregationServiceResetPostExecute func(r ApiAggregationServiceActionsAggregationServiceResetPostRequest) (AggregationResetBody, *_nethttp.Response, error) + ComputerSystemsGet func(ctx _context.Context) ApiComputerSystemsGetRequest + ComputerSystemsGetExecute func(r ApiComputerSystemsGetRequest) (ComputerSystemCollection, *_nethttp.Response, error) + ComputerSystemsNameActionsComputerSystemResetPost func(ctx _context.Context, name string) ApiComputerSystemsNameActionsComputerSystemResetPostRequest + ComputerSystemsNameActionsComputerSystemResetPostExecute func(r ApiComputerSystemsNameActionsComputerSystemResetPostRequest) (ResetRequestBody, *_nethttp.Response, error) + ComputerSystemsNameGet func(ctx _context.Context, name string) ApiComputerSystemsNameGetRequest + ComputerSystemsNameGetExecute func(r ApiComputerSystemsNameGetRequest) (ComputerSystem, *_nethttp.Response, error) + type DefaultApiService service + func (a *DefaultApiService) AggregationServiceActionsAggregationServiceResetPost(ctx _context.Context) ApiAggregationServiceActionsAggregationServiceResetPostRequest + func (a *DefaultApiService) AggregationServiceActionsAggregationServiceResetPostExecute(r ApiAggregationServiceActionsAggregationServiceResetPostRequest) (AggregationResetBody, *_nethttp.Response, error) + func (a *DefaultApiService) ComputerSystemsGet(ctx _context.Context) ApiComputerSystemsGetRequest + func (a *DefaultApiService) ComputerSystemsGetExecute(r ApiComputerSystemsGetRequest) (ComputerSystemCollection, *_nethttp.Response, error) + func (a *DefaultApiService) ComputerSystemsNameActionsComputerSystemResetPost(ctx _context.Context, name string) ApiComputerSystemsNameActionsComputerSystemResetPostRequest + func (a *DefaultApiService) ComputerSystemsNameActionsComputerSystemResetPostExecute(r ApiComputerSystemsNameActionsComputerSystemResetPostRequest) (ResetRequestBody, *_nethttp.Response, error) + func (a *DefaultApiService) ComputerSystemsNameGet(ctx _context.Context, name string) ApiComputerSystemsNameGetRequest + func (a *DefaultApiService) ComputerSystemsNameGetExecute(r ApiComputerSystemsNameGetRequest) (ComputerSystem, *_nethttp.Response, error) + type Error struct + AdditionalProperties map[string]interface{} + Error *ErrorError + func NewError() *Error + func NewErrorWithDefaults() *Error + func (o *Error) GetError() ErrorError + func (o *Error) GetErrorOk() (*ErrorError, bool) + func (o *Error) HasError() bool + func (o *Error) SetError(v ErrorError) + func (o *Error) UnmarshalJSON(bytes []byte) (err error) + func (o Error) MarshalJSON() ([]byte, error) + type ErrorError struct + AdditionalProperties map[string]interface{} + Code string + Message string + func NewErrorError(code string, message string) *ErrorError + func NewErrorErrorWithDefaults() *ErrorError + func (o *ErrorError) GetCode() string + func (o *ErrorError) GetCodeOk() (*string, bool) + func (o *ErrorError) GetMessage() string + func (o *ErrorError) GetMessageOk() (*string, bool) + func (o *ErrorError) SetCode(v string) + func (o *ErrorError) SetMessage(v string) + func (o *ErrorError) UnmarshalJSON(bytes []byte) (err error) + func (o ErrorError) MarshalJSON() ([]byte, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type NullableAggregationResetBody struct + func NewNullableAggregationResetBody(val *AggregationResetBody) *NullableAggregationResetBody + func (v *NullableAggregationResetBody) Set(val *AggregationResetBody) + func (v *NullableAggregationResetBody) UnmarshalJSON(src []byte) error + func (v *NullableAggregationResetBody) Unset() + func (v NullableAggregationResetBody) Get() *AggregationResetBody + func (v NullableAggregationResetBody) IsSet() bool + func (v NullableAggregationResetBody) MarshalJSON() ([]byte, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableComputerSystem struct + func NewNullableComputerSystem(val *ComputerSystem) *NullableComputerSystem + func (v *NullableComputerSystem) Set(val *ComputerSystem) + func (v *NullableComputerSystem) UnmarshalJSON(src []byte) error + func (v *NullableComputerSystem) Unset() + func (v NullableComputerSystem) Get() *ComputerSystem + func (v NullableComputerSystem) IsSet() bool + func (v NullableComputerSystem) MarshalJSON() ([]byte, error) + type NullableComputerSystemCollection struct + func NewNullableComputerSystemCollection(val *ComputerSystemCollection) *NullableComputerSystemCollection + func (v *NullableComputerSystemCollection) Set(val *ComputerSystemCollection) + func (v *NullableComputerSystemCollection) UnmarshalJSON(src []byte) error + func (v *NullableComputerSystemCollection) Unset() + func (v NullableComputerSystemCollection) Get() *ComputerSystemCollection + func (v NullableComputerSystemCollection) IsSet() bool + func (v NullableComputerSystemCollection) MarshalJSON() ([]byte, error) + type NullableError struct + func NewNullableError(val *Error) *NullableError + func (v *NullableError) Set(val *Error) + func (v *NullableError) UnmarshalJSON(src []byte) error + func (v *NullableError) Unset() + func (v NullableError) Get() *Error + func (v NullableError) IsSet() bool + func (v NullableError) MarshalJSON() ([]byte, error) + type NullableErrorError struct + func NewNullableErrorError(val *ErrorError) *NullableErrorError + func (v *NullableErrorError) Set(val *ErrorError) + func (v *NullableErrorError) UnmarshalJSON(src []byte) error + func (v *NullableErrorError) Unset() + func (v NullableErrorError) Get() *ErrorError + func (v NullableErrorError) IsSet() bool + func (v NullableErrorError) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullablePowerState struct + func NewNullablePowerState(val *PowerState) *NullablePowerState + func (v *NullablePowerState) Set(val *PowerState) + func (v *NullablePowerState) UnmarshalJSON(src []byte) error + func (v *NullablePowerState) Unset() + func (v NullablePowerState) Get() *PowerState + func (v NullablePowerState) IsSet() bool + func (v NullablePowerState) MarshalJSON() ([]byte, error) + type NullableResetRequestBody struct + func NewNullableResetRequestBody(val *ResetRequestBody) *NullableResetRequestBody + func (v *NullableResetRequestBody) Set(val *ResetRequestBody) + func (v *NullableResetRequestBody) UnmarshalJSON(src []byte) error + func (v *NullableResetRequestBody) Unset() + func (v NullableResetRequestBody) Get() *ResetRequestBody + func (v NullableResetRequestBody) IsSet() bool + func (v NullableResetRequestBody) MarshalJSON() ([]byte, error) + type NullableResetType struct + func NewNullableResetType(val *ResetType) *NullableResetType + func (v *NullableResetType) Set(val *ResetType) + func (v *NullableResetType) UnmarshalJSON(src []byte) error + func (v *NullableResetType) Unset() + func (v NullableResetType) Get() *ResetType + func (v NullableResetType) IsSet() bool + func (v NullableResetType) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type PowerState string + const POWERSTATE_OFF + const POWERSTATE_ON + func (v *PowerState) UnmarshalJSON(src []byte) error + func (v PowerState) Ptr() *PowerState + type ResetRequestBody struct + AdditionalProperties map[string]interface{} + ResetType ResetType + func NewResetRequestBody(resetType ResetType) *ResetRequestBody + func NewResetRequestBodyWithDefaults() *ResetRequestBody + func (o *ResetRequestBody) GetResetType() ResetType + func (o *ResetRequestBody) GetResetTypeOk() (*ResetType, bool) + func (o *ResetRequestBody) SetResetType(v ResetType) + func (o *ResetRequestBody) UnmarshalJSON(bytes []byte) (err error) + func (o ResetRequestBody) MarshalJSON() ([]byte, error) + type ResetType string + const RESETTYPE_FORCE_OFF + const RESETTYPE_FORCE_ON + const RESETTYPE_FORCE_RESTART + const RESETTYPE_GRACEFUL_RESTART + const RESETTYPE_GRACEFUL_SHUTDOWN + const RESETTYPE_NMI + const RESETTYPE_ON + const RESETTYPE_POWER_CYCLE + const RESETTYPE_PUSH_POWER_BUTTON + func (v *ResetType) UnmarshalJSON(src []byte) error + func (v ResetType) Ptr() *ResetType + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string