openapi

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 21 Imported by: 0

README

Go API client for openapi

API exposed from each rover to allow process, service, source and file management

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value openapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value openapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using openapi.ContextOperationServerIndices and openapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
HealthAPI RootGet Get / Retrieve the health and versioning information
HealthAPI ShutdownPost Post /shutdown Shutdown the rover.
HealthAPI StatusGet Get /status Retrieve the health and versioning information
HealthAPI UpdatePost Post /update Self-update the roverd daemon process
PipelineAPI LogsAuthorNameVersionGet Get /logs/{author}/{name}/{version} Retrieve logs for any service. Logs from running or previously run services can be viewed and will be kept until rover reboot.
PipelineAPI PipelineGet Get /pipeline Retrieve pipeline status and process execution information
PipelineAPI PipelinePost Post /pipeline Set the services that are enabled in this pipeline, by specifying the fully qualified services
PipelineAPI PipelineStartPost Post /pipeline/start Start the pipeline
PipelineAPI PipelineStopPost Post /pipeline/stop Stop the pipeline
ServicesAPI FetchPost Post /fetch Fetches the zip file from the given URL and installs the service onto the filesystem
ServicesAPI ServicesAuthorGet Get /services/{author} Retrieve the list of parsable services for a specific author
ServicesAPI ServicesAuthorServiceGet Get /services/{author}/{service} Retrieve the list of parsable service versions for a specific author and service
ServicesAPI ServicesAuthorServiceVersionDelete Delete /services/{author}/{service}/{version} Delete a specific version of a service
ServicesAPI ServicesAuthorServiceVersionGet Get /services/{author}/{service}/{version} Retrieve the status of a specific version of a service
ServicesAPI ServicesAuthorServiceVersionPost Post /services/{author}/{service}/{version} Build a fully qualified service version
ServicesAPI ServicesGet Get /services Retrieve the list of all authors that have parsable services. With these authors you can query further for services
ServicesAPI UploadPost Post /upload Upload a new service or new version to the rover by uploading a ZIP file

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BasicAuth
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), openapi.ContextBasicAuth, openapi.BasicAuth{
	UserName: "username",
	Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// 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")
)
View Source
var AllowedDaemonStatusEnumValues = []DaemonStatus{
	"operational",
	"recoverable",
	"unrecoverable",
}

All allowed values of DaemonStatus enum

View Source
var AllowedPipelineStatusEnumValues = []PipelineStatus{
	"empty",
	"startable",
	"started",
	"restarting",
}

All allowed values of PipelineStatus enum

View Source
var AllowedProcessStatusEnumValues = []ProcessStatus{
	"running",
	"stopped",
	"terminated",
	"killed",
}

All allowed values of ProcessStatus enum

View Source
var AllowedServiceStatusEnumValues = []ServiceStatus{
	"enabled",
	"disabled",
}

All allowed values of ServiceStatus enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	HealthAPI *HealthAPIService

	PipelineAPI *PipelineAPIService

	ServicesAPI *ServicesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the roverd REST API API v1.0.0 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

type APIKey struct {
	Key    string
	Prefix string
}

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 ApiFetchPostRequest

type ApiFetchPostRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiFetchPostRequest) Execute

func (ApiFetchPostRequest) FetchPostRequest

func (r ApiFetchPostRequest) FetchPostRequest(fetchPostRequest FetchPostRequest) ApiFetchPostRequest

type ApiLogsAuthorNameVersionGetRequest

type ApiLogsAuthorNameVersionGetRequest struct {
	ApiService *PipelineAPIService
	// contains filtered or unexported fields
}

func (ApiLogsAuthorNameVersionGetRequest) Execute

func (ApiLogsAuthorNameVersionGetRequest) Lines

The number of log lines to retrieve

type ApiPipelineGetRequest

type ApiPipelineGetRequest struct {
	ApiService *PipelineAPIService
	// contains filtered or unexported fields
}

func (ApiPipelineGetRequest) Execute

type ApiPipelinePostRequest

type ApiPipelinePostRequest struct {
	ApiService *PipelineAPIService
	// contains filtered or unexported fields
}

func (ApiPipelinePostRequest) Execute

func (r ApiPipelinePostRequest) Execute() (*http.Response, error)

func (ApiPipelinePostRequest) PipelinePostRequestInner

func (r ApiPipelinePostRequest) PipelinePostRequestInner(pipelinePostRequestInner []PipelinePostRequestInner) ApiPipelinePostRequest

type ApiPipelineStartPostRequest

type ApiPipelineStartPostRequest struct {
	ApiService *PipelineAPIService
	// contains filtered or unexported fields
}

func (ApiPipelineStartPostRequest) Execute

type ApiPipelineStopPostRequest

type ApiPipelineStopPostRequest struct {
	ApiService *PipelineAPIService
	// contains filtered or unexported fields
}

func (ApiPipelineStopPostRequest) Execute

type ApiRootGetRequest added in v1.3.0

type ApiRootGetRequest struct {
	ApiService *HealthAPIService
	// contains filtered or unexported fields
}

func (ApiRootGetRequest) Execute added in v1.3.0

type ApiServicesAuthorGetRequest

type ApiServicesAuthorGetRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiServicesAuthorGetRequest) Execute

type ApiServicesAuthorServiceGetRequest

type ApiServicesAuthorServiceGetRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiServicesAuthorServiceGetRequest) Execute

type ApiServicesAuthorServiceVersionDeleteRequest

type ApiServicesAuthorServiceVersionDeleteRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiServicesAuthorServiceVersionDeleteRequest) Execute

type ApiServicesAuthorServiceVersionGetRequest

type ApiServicesAuthorServiceVersionGetRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiServicesAuthorServiceVersionGetRequest) Execute

type ApiServicesAuthorServiceVersionPostRequest

type ApiServicesAuthorServiceVersionPostRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiServicesAuthorServiceVersionPostRequest) Execute

type ApiServicesGetRequest

type ApiServicesGetRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiServicesGetRequest) Execute

func (r ApiServicesGetRequest) Execute() ([]string, *http.Response, error)

type ApiShutdownPostRequest added in v1.3.0

type ApiShutdownPostRequest struct {
	ApiService *HealthAPIService
	// contains filtered or unexported fields
}

func (ApiShutdownPostRequest) Execute added in v1.3.0

func (r ApiShutdownPostRequest) Execute() (*http.Response, error)

type ApiSourcesDeleteRequest

type ApiSourcesDeleteRequest struct {
	ApiService *SourcesAPIService
	// contains filtered or unexported fields
}

func (ApiSourcesDeleteRequest) Execute

func (r ApiSourcesDeleteRequest) Execute() (*http.Response, error)

func (ApiSourcesDeleteRequest) SourcesPostRequest

func (r ApiSourcesDeleteRequest) SourcesPostRequest(sourcesPostRequest SourcesPostRequest) ApiSourcesDeleteRequest

type ApiSourcesGetRequest

type ApiSourcesGetRequest struct {
	ApiService *SourcesAPIService
	// contains filtered or unexported fields
}

func (ApiSourcesGetRequest) Execute

type ApiSourcesPostRequest

type ApiSourcesPostRequest struct {
	ApiService *SourcesAPIService
	// contains filtered or unexported fields
}

func (ApiSourcesPostRequest) Execute

func (r ApiSourcesPostRequest) Execute() (*http.Response, error)

func (ApiSourcesPostRequest) SourcesPostRequest

func (r ApiSourcesPostRequest) SourcesPostRequest(sourcesPostRequest SourcesPostRequest) ApiSourcesPostRequest

type ApiStatusGetRequest

type ApiStatusGetRequest struct {
	ApiService *HealthAPIService
	// contains filtered or unexported fields
}

func (ApiStatusGetRequest) Execute

type ApiUpdatePostRequest

type ApiUpdatePostRequest struct {
	ApiService *HealthAPIService
	// contains filtered or unexported fields
}

func (ApiUpdatePostRequest) Execute

func (r ApiUpdatePostRequest) Execute() (*http.Response, error)

type ApiUploadPostRequest

type ApiUploadPostRequest struct {
	ApiService *ServicesAPIService
	// contains filtered or unexported fields
}

func (ApiUploadPostRequest) Content

func (r ApiUploadPostRequest) Content(content *os.File) ApiUploadPostRequest

The content of the ZIP file to upload

func (ApiUploadPostRequest) Execute

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 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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DaemonStatus

type DaemonStatus string

DaemonStatus The status of the roverd process

const (
	OPERATIONAL   DaemonStatus = "operational"
	RECOVERABLE   DaemonStatus = "recoverable"
	UNRECOVERABLE DaemonStatus = "unrecoverable"
)

List of DaemonStatus

func NewDaemonStatusFromValue

func NewDaemonStatusFromValue(v string) (*DaemonStatus, error)

NewDaemonStatusFromValue returns a pointer to a valid DaemonStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DaemonStatus) IsValid

func (v DaemonStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DaemonStatus) Ptr

func (v DaemonStatus) Ptr() *DaemonStatus

Ptr returns reference to DaemonStatus value

func (*DaemonStatus) UnmarshalJSON

func (v *DaemonStatus) UnmarshalJSON(src []byte) error

type FetchPost200Response

type FetchPost200Response struct {
	// The name of the service
	Name string `json:"name"`
	// The version of the service
	Version string `json:"version"`
	// The author of the service
	Author string `json:"author"`
	// Whether the pipeline was invalidated by this service upload
	InvalidatedPipeline bool `json:"invalidated_pipeline"`
}

FetchPost200Response struct for FetchPost200Response

func NewFetchPost200Response

func NewFetchPost200Response(name string, version string, author string, invalidatedPipeline bool) *FetchPost200Response

NewFetchPost200Response instantiates a new FetchPost200Response 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 NewFetchPost200ResponseWithDefaults

func NewFetchPost200ResponseWithDefaults() *FetchPost200Response

NewFetchPost200ResponseWithDefaults instantiates a new FetchPost200Response 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 (*FetchPost200Response) GetAuthor

func (o *FetchPost200Response) GetAuthor() string

GetAuthor returns the Author field value

func (*FetchPost200Response) GetAuthorOk

func (o *FetchPost200Response) GetAuthorOk() (*string, bool)

GetAuthorOk returns a tuple with the Author field value and a boolean to check if the value has been set.

func (*FetchPost200Response) GetInvalidatedPipeline

func (o *FetchPost200Response) GetInvalidatedPipeline() bool

GetInvalidatedPipeline returns the InvalidatedPipeline field value

func (*FetchPost200Response) GetInvalidatedPipelineOk

func (o *FetchPost200Response) GetInvalidatedPipelineOk() (*bool, bool)

GetInvalidatedPipelineOk returns a tuple with the InvalidatedPipeline field value and a boolean to check if the value has been set.

func (*FetchPost200Response) GetName

func (o *FetchPost200Response) GetName() string

GetName returns the Name field value

func (*FetchPost200Response) GetNameOk

func (o *FetchPost200Response) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FetchPost200Response) GetVersion

func (o *FetchPost200Response) GetVersion() string

GetVersion returns the Version field value

func (*FetchPost200Response) GetVersionOk

func (o *FetchPost200Response) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (FetchPost200Response) MarshalJSON

func (o FetchPost200Response) MarshalJSON() ([]byte, error)

func (*FetchPost200Response) SetAuthor

func (o *FetchPost200Response) SetAuthor(v string)

SetAuthor sets field value

func (*FetchPost200Response) SetInvalidatedPipeline

func (o *FetchPost200Response) SetInvalidatedPipeline(v bool)

SetInvalidatedPipeline sets field value

func (*FetchPost200Response) SetName

func (o *FetchPost200Response) SetName(v string)

SetName sets field value

func (*FetchPost200Response) SetVersion

func (o *FetchPost200Response) SetVersion(v string)

SetVersion sets field value

func (FetchPost200Response) ToMap

func (o FetchPost200Response) ToMap() (map[string]interface{}, error)

func (*FetchPost200Response) UnmarshalJSON

func (o *FetchPost200Response) UnmarshalJSON(data []byte) (err error)

type FetchPostRequest

type FetchPostRequest struct {
	// Download URL of the service to be downloaded, must include scheme
	Url string `json:"url"`
}

FetchPostRequest struct for FetchPostRequest

func NewFetchPostRequest

func NewFetchPostRequest(url string) *FetchPostRequest

NewFetchPostRequest instantiates a new FetchPostRequest 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 NewFetchPostRequestWithDefaults

func NewFetchPostRequestWithDefaults() *FetchPostRequest

NewFetchPostRequestWithDefaults instantiates a new FetchPostRequest 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 (*FetchPostRequest) GetUrl

func (o *FetchPostRequest) GetUrl() string

GetUrl returns the Url field value

func (*FetchPostRequest) GetUrlOk

func (o *FetchPostRequest) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (FetchPostRequest) MarshalJSON

func (o FetchPostRequest) MarshalJSON() ([]byte, error)

func (*FetchPostRequest) SetUrl

func (o *FetchPostRequest) SetUrl(v string)

SetUrl sets field value

func (FetchPostRequest) ToMap

func (o FetchPostRequest) ToMap() (map[string]interface{}, error)

func (*FetchPostRequest) UnmarshalJSON

func (o *FetchPostRequest) UnmarshalJSON(data []byte) (err error)

type GenericError

type GenericError struct {
	// A message describing the error
	Message *string `json:"message,omitempty"`
	// A code describing the error (this is not an HTTP status code)
	Code *int32 `json:"code,omitempty"`
}

GenericError struct for GenericError

func NewGenericError

func NewGenericError() *GenericError

NewGenericError instantiates a new GenericError 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 NewGenericErrorWithDefaults

func NewGenericErrorWithDefaults() *GenericError

NewGenericErrorWithDefaults instantiates a new GenericError 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 (*GenericError) GetCode

func (o *GenericError) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*GenericError) GetCodeOk

func (o *GenericError) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GenericError) GetMessage

func (o *GenericError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GenericError) GetMessageOk

func (o *GenericError) 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.

func (*GenericError) HasCode

func (o *GenericError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*GenericError) HasMessage

func (o *GenericError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GenericError) MarshalJSON

func (o GenericError) MarshalJSON() ([]byte, error)

func (*GenericError) SetCode

func (o *GenericError) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*GenericError) SetMessage

func (o *GenericError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GenericError) ToMap

func (o GenericError) 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 HealthAPIService

type HealthAPIService service

HealthAPIService HealthAPI service

func (*HealthAPIService) RootGet added in v1.3.0

RootGet Retrieve the health and versioning information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRootGetRequest

func (*HealthAPIService) RootGetExecute added in v1.3.0

Execute executes the request

@return StatusGet200Response

func (*HealthAPIService) ShutdownPost added in v1.3.0

ShutdownPost Shutdown the rover.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiShutdownPostRequest

func (*HealthAPIService) ShutdownPostExecute added in v1.3.0

func (a *HealthAPIService) ShutdownPostExecute(r ApiShutdownPostRequest) (*http.Response, error)

Execute executes the request

func (*HealthAPIService) StatusGet

StatusGet Retrieve the health and versioning information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiStatusGetRequest

func (*HealthAPIService) StatusGetExecute

Execute executes the request

@return StatusGet200Response

func (*HealthAPIService) UpdatePost

UpdatePost Self-update the roverd daemon process

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdatePostRequest

func (*HealthAPIService) UpdatePostExecute

func (a *HealthAPIService) UpdatePostExecute(r ApiUpdatePostRequest) (*http.Response, error)

Execute executes the request

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 NullableDaemonStatus

type NullableDaemonStatus struct {
	// contains filtered or unexported fields
}

func NewNullableDaemonStatus

func NewNullableDaemonStatus(val *DaemonStatus) *NullableDaemonStatus

func (NullableDaemonStatus) Get

func (NullableDaemonStatus) IsSet

func (v NullableDaemonStatus) IsSet() bool

func (NullableDaemonStatus) MarshalJSON

func (v NullableDaemonStatus) MarshalJSON() ([]byte, error)

func (*NullableDaemonStatus) Set

func (v *NullableDaemonStatus) Set(val *DaemonStatus)

func (*NullableDaemonStatus) UnmarshalJSON

func (v *NullableDaemonStatus) UnmarshalJSON(src []byte) error

func (*NullableDaemonStatus) Unset

func (v *NullableDaemonStatus) Unset()

type NullableFetchPost200Response

type NullableFetchPost200Response struct {
	// contains filtered or unexported fields
}

func NewNullableFetchPost200Response

func NewNullableFetchPost200Response(val *FetchPost200Response) *NullableFetchPost200Response

func (NullableFetchPost200Response) Get

func (NullableFetchPost200Response) IsSet

func (NullableFetchPost200Response) MarshalJSON

func (v NullableFetchPost200Response) MarshalJSON() ([]byte, error)

func (*NullableFetchPost200Response) Set

func (*NullableFetchPost200Response) UnmarshalJSON

func (v *NullableFetchPost200Response) UnmarshalJSON(src []byte) error

func (*NullableFetchPost200Response) Unset

func (v *NullableFetchPost200Response) Unset()

type NullableFetchPostRequest

type NullableFetchPostRequest struct {
	// contains filtered or unexported fields
}

func NewNullableFetchPostRequest

func NewNullableFetchPostRequest(val *FetchPostRequest) *NullableFetchPostRequest

func (NullableFetchPostRequest) Get

func (NullableFetchPostRequest) IsSet

func (v NullableFetchPostRequest) IsSet() bool

func (NullableFetchPostRequest) MarshalJSON

func (v NullableFetchPostRequest) MarshalJSON() ([]byte, error)

func (*NullableFetchPostRequest) Set

func (*NullableFetchPostRequest) UnmarshalJSON

func (v *NullableFetchPostRequest) UnmarshalJSON(src []byte) error

func (*NullableFetchPostRequest) Unset

func (v *NullableFetchPostRequest) 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 NullableGenericError

type NullableGenericError struct {
	// contains filtered or unexported fields
}

func NewNullableGenericError

func NewNullableGenericError(val *GenericError) *NullableGenericError

func (NullableGenericError) Get

func (NullableGenericError) IsSet

func (v NullableGenericError) IsSet() bool

func (NullableGenericError) MarshalJSON

func (v NullableGenericError) MarshalJSON() ([]byte, error)

func (*NullableGenericError) Set

func (v *NullableGenericError) Set(val *GenericError)

func (*NullableGenericError) UnmarshalJSON

func (v *NullableGenericError) UnmarshalJSON(src []byte) error

func (*NullableGenericError) Unset

func (v *NullableGenericError) 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 NullablePipelineGet200Response

type NullablePipelineGet200Response struct {
	// contains filtered or unexported fields
}

func (NullablePipelineGet200Response) Get

func (NullablePipelineGet200Response) IsSet

func (NullablePipelineGet200Response) MarshalJSON

func (v NullablePipelineGet200Response) MarshalJSON() ([]byte, error)

func (*NullablePipelineGet200Response) Set

func (*NullablePipelineGet200Response) UnmarshalJSON

func (v *NullablePipelineGet200Response) UnmarshalJSON(src []byte) error

func (*NullablePipelineGet200Response) Unset

func (v *NullablePipelineGet200Response) Unset()

type NullablePipelineGet200ResponseEnabledInner

type NullablePipelineGet200ResponseEnabledInner struct {
	// contains filtered or unexported fields
}

func (NullablePipelineGet200ResponseEnabledInner) Get

func (NullablePipelineGet200ResponseEnabledInner) IsSet

func (NullablePipelineGet200ResponseEnabledInner) MarshalJSON

func (*NullablePipelineGet200ResponseEnabledInner) Set

func (*NullablePipelineGet200ResponseEnabledInner) UnmarshalJSON

func (v *NullablePipelineGet200ResponseEnabledInner) UnmarshalJSON(src []byte) error

func (*NullablePipelineGet200ResponseEnabledInner) Unset

type NullablePipelineGet200ResponseEnabledInnerProcess

type NullablePipelineGet200ResponseEnabledInnerProcess struct {
	// contains filtered or unexported fields
}

func (NullablePipelineGet200ResponseEnabledInnerProcess) Get

func (NullablePipelineGet200ResponseEnabledInnerProcess) IsSet

func (NullablePipelineGet200ResponseEnabledInnerProcess) MarshalJSON

func (*NullablePipelineGet200ResponseEnabledInnerProcess) Set

func (*NullablePipelineGet200ResponseEnabledInnerProcess) UnmarshalJSON

func (*NullablePipelineGet200ResponseEnabledInnerProcess) Unset

type NullablePipelineGet200ResponseEnabledInnerService

type NullablePipelineGet200ResponseEnabledInnerService struct {
	// contains filtered or unexported fields
}

func (NullablePipelineGet200ResponseEnabledInnerService) Get

func (NullablePipelineGet200ResponseEnabledInnerService) IsSet

func (NullablePipelineGet200ResponseEnabledInnerService) MarshalJSON

func (*NullablePipelineGet200ResponseEnabledInnerService) Set

func (*NullablePipelineGet200ResponseEnabledInnerService) UnmarshalJSON

func (*NullablePipelineGet200ResponseEnabledInnerService) Unset

type NullablePipelinePost400Response

type NullablePipelinePost400Response struct {
	// contains filtered or unexported fields
}

func (NullablePipelinePost400Response) Get

func (NullablePipelinePost400Response) IsSet

func (NullablePipelinePost400Response) MarshalJSON

func (v NullablePipelinePost400Response) MarshalJSON() ([]byte, error)

func (*NullablePipelinePost400Response) Set

func (*NullablePipelinePost400Response) UnmarshalJSON

func (v *NullablePipelinePost400Response) UnmarshalJSON(src []byte) error

func (*NullablePipelinePost400Response) Unset

type NullablePipelinePost400ResponseValidationErrors

type NullablePipelinePost400ResponseValidationErrors struct {
	// contains filtered or unexported fields
}

func (NullablePipelinePost400ResponseValidationErrors) Get

func (NullablePipelinePost400ResponseValidationErrors) IsSet

func (NullablePipelinePost400ResponseValidationErrors) MarshalJSON

func (*NullablePipelinePost400ResponseValidationErrors) Set

func (*NullablePipelinePost400ResponseValidationErrors) UnmarshalJSON

func (*NullablePipelinePost400ResponseValidationErrors) Unset

type NullablePipelinePostRequestInner

type NullablePipelinePostRequestInner struct {
	// contains filtered or unexported fields
}

func (NullablePipelinePostRequestInner) Get

func (NullablePipelinePostRequestInner) IsSet

func (NullablePipelinePostRequestInner) MarshalJSON

func (v NullablePipelinePostRequestInner) MarshalJSON() ([]byte, error)

func (*NullablePipelinePostRequestInner) Set

func (*NullablePipelinePostRequestInner) UnmarshalJSON

func (v *NullablePipelinePostRequestInner) UnmarshalJSON(src []byte) error

func (*NullablePipelinePostRequestInner) Unset

type NullablePipelineStatus

type NullablePipelineStatus struct {
	// contains filtered or unexported fields
}

func NewNullablePipelineStatus

func NewNullablePipelineStatus(val *PipelineStatus) *NullablePipelineStatus

func (NullablePipelineStatus) Get

func (NullablePipelineStatus) IsSet

func (v NullablePipelineStatus) IsSet() bool

func (NullablePipelineStatus) MarshalJSON

func (v NullablePipelineStatus) MarshalJSON() ([]byte, error)

func (*NullablePipelineStatus) Set

func (*NullablePipelineStatus) UnmarshalJSON

func (v *NullablePipelineStatus) UnmarshalJSON(src []byte) error

func (*NullablePipelineStatus) Unset

func (v *NullablePipelineStatus) Unset()

type NullableProcessStatus

type NullableProcessStatus struct {
	// contains filtered or unexported fields
}

func NewNullableProcessStatus

func NewNullableProcessStatus(val *ProcessStatus) *NullableProcessStatus

func (NullableProcessStatus) Get

func (NullableProcessStatus) IsSet

func (v NullableProcessStatus) IsSet() bool

func (NullableProcessStatus) MarshalJSON

func (v NullableProcessStatus) MarshalJSON() ([]byte, error)

func (*NullableProcessStatus) Set

func (v *NullableProcessStatus) Set(val *ProcessStatus)

func (*NullableProcessStatus) UnmarshalJSON

func (v *NullableProcessStatus) UnmarshalJSON(src []byte) error

func (*NullableProcessStatus) Unset

func (v *NullableProcessStatus) Unset()

type NullableReferencedService

type NullableReferencedService struct {
	// contains filtered or unexported fields
}

func NewNullableReferencedService

func NewNullableReferencedService(val *ReferencedService) *NullableReferencedService

func (NullableReferencedService) Get

func (NullableReferencedService) IsSet

func (v NullableReferencedService) IsSet() bool

func (NullableReferencedService) MarshalJSON

func (v NullableReferencedService) MarshalJSON() ([]byte, error)

func (*NullableReferencedService) Set

func (*NullableReferencedService) UnmarshalJSON

func (v *NullableReferencedService) UnmarshalJSON(src []byte) error

func (*NullableReferencedService) Unset

func (v *NullableReferencedService) Unset()

type NullableServiceStatus

type NullableServiceStatus struct {
	// contains filtered or unexported fields
}

func NewNullableServiceStatus

func NewNullableServiceStatus(val *ServiceStatus) *NullableServiceStatus

func (NullableServiceStatus) Get

func (NullableServiceStatus) IsSet

func (v NullableServiceStatus) IsSet() bool

func (NullableServiceStatus) MarshalJSON

func (v NullableServiceStatus) MarshalJSON() ([]byte, error)

func (*NullableServiceStatus) Set

func (v *NullableServiceStatus) Set(val *ServiceStatus)

func (*NullableServiceStatus) UnmarshalJSON

func (v *NullableServiceStatus) UnmarshalJSON(src []byte) error

func (*NullableServiceStatus) Unset

func (v *NullableServiceStatus) Unset()

type NullableServicesAuthorServiceVersionDelete200Response

type NullableServicesAuthorServiceVersionDelete200Response struct {
	// contains filtered or unexported fields
}

func (NullableServicesAuthorServiceVersionDelete200Response) Get

func (NullableServicesAuthorServiceVersionDelete200Response) IsSet

func (NullableServicesAuthorServiceVersionDelete200Response) MarshalJSON

func (*NullableServicesAuthorServiceVersionDelete200Response) Set

func (*NullableServicesAuthorServiceVersionDelete200Response) UnmarshalJSON

func (*NullableServicesAuthorServiceVersionDelete200Response) Unset

type NullableServicesAuthorServiceVersionGet200Response

type NullableServicesAuthorServiceVersionGet200Response struct {
	// contains filtered or unexported fields
}

func (NullableServicesAuthorServiceVersionGet200Response) Get

func (NullableServicesAuthorServiceVersionGet200Response) IsSet

func (NullableServicesAuthorServiceVersionGet200Response) MarshalJSON

func (*NullableServicesAuthorServiceVersionGet200Response) Set

func (*NullableServicesAuthorServiceVersionGet200Response) UnmarshalJSON

func (*NullableServicesAuthorServiceVersionGet200Response) Unset

type NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner

type NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner struct {
	// contains filtered or unexported fields
}

func (NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner) Get

func (NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner) IsSet

func (NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner) MarshalJSON

func (*NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner) Set

func (*NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner) UnmarshalJSON

func (*NullableServicesAuthorServiceVersionGet200ResponseConfigurationInner) Unset

type NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

type NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue struct {
	// contains filtered or unexported fields
}

func (NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) Get

func (NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) IsSet

func (NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) MarshalJSON

func (*NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) Set

func (*NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) UnmarshalJSON

func (*NullableServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) Unset

type NullableServicesAuthorServiceVersionGet200ResponseInputsInner

type NullableServicesAuthorServiceVersionGet200ResponseInputsInner struct {
	// contains filtered or unexported fields
}

func (NullableServicesAuthorServiceVersionGet200ResponseInputsInner) Get

func (NullableServicesAuthorServiceVersionGet200ResponseInputsInner) IsSet

func (NullableServicesAuthorServiceVersionGet200ResponseInputsInner) MarshalJSON

func (*NullableServicesAuthorServiceVersionGet200ResponseInputsInner) Set

func (*NullableServicesAuthorServiceVersionGet200ResponseInputsInner) UnmarshalJSON

func (*NullableServicesAuthorServiceVersionGet200ResponseInputsInner) Unset

type NullableServicesAuthorServiceVersionPost400Response

type NullableServicesAuthorServiceVersionPost400Response struct {
	// contains filtered or unexported fields
}

func (NullableServicesAuthorServiceVersionPost400Response) Get

func (NullableServicesAuthorServiceVersionPost400Response) IsSet

func (NullableServicesAuthorServiceVersionPost400Response) MarshalJSON

func (*NullableServicesAuthorServiceVersionPost400Response) Set

func (*NullableServicesAuthorServiceVersionPost400Response) UnmarshalJSON

func (*NullableServicesAuthorServiceVersionPost400Response) Unset

type NullableServicesPost200Response

type NullableServicesPost200Response struct {
	// contains filtered or unexported fields
}

func (NullableServicesPost200Response) Get

func (NullableServicesPost200Response) IsSet

func (NullableServicesPost200Response) MarshalJSON

func (v NullableServicesPost200Response) MarshalJSON() ([]byte, error)

func (*NullableServicesPost200Response) Set

func (*NullableServicesPost200Response) UnmarshalJSON

func (v *NullableServicesPost200Response) UnmarshalJSON(src []byte) error

func (*NullableServicesPost200Response) Unset

type NullableSourcesGet200ResponseInner

type NullableSourcesGet200ResponseInner struct {
	// contains filtered or unexported fields
}

func (NullableSourcesGet200ResponseInner) Get

func (NullableSourcesGet200ResponseInner) IsSet

func (NullableSourcesGet200ResponseInner) MarshalJSON

func (v NullableSourcesGet200ResponseInner) MarshalJSON() ([]byte, error)

func (*NullableSourcesGet200ResponseInner) Set

func (*NullableSourcesGet200ResponseInner) UnmarshalJSON

func (v *NullableSourcesGet200ResponseInner) UnmarshalJSON(src []byte) error

func (*NullableSourcesGet200ResponseInner) Unset

type NullableSourcesPostRequest

type NullableSourcesPostRequest struct {
	// contains filtered or unexported fields
}

func NewNullableSourcesPostRequest

func NewNullableSourcesPostRequest(val *SourcesPostRequest) *NullableSourcesPostRequest

func (NullableSourcesPostRequest) Get

func (NullableSourcesPostRequest) IsSet

func (v NullableSourcesPostRequest) IsSet() bool

func (NullableSourcesPostRequest) MarshalJSON

func (v NullableSourcesPostRequest) MarshalJSON() ([]byte, error)

func (*NullableSourcesPostRequest) Set

func (*NullableSourcesPostRequest) UnmarshalJSON

func (v *NullableSourcesPostRequest) UnmarshalJSON(src []byte) error

func (*NullableSourcesPostRequest) Unset

func (v *NullableSourcesPostRequest) Unset()

type NullableStatusGet200Response

type NullableStatusGet200Response struct {
	// contains filtered or unexported fields
}

func NewNullableStatusGet200Response

func NewNullableStatusGet200Response(val *StatusGet200Response) *NullableStatusGet200Response

func (NullableStatusGet200Response) Get

func (NullableStatusGet200Response) IsSet

func (NullableStatusGet200Response) MarshalJSON

func (v NullableStatusGet200Response) MarshalJSON() ([]byte, error)

func (*NullableStatusGet200Response) Set

func (*NullableStatusGet200Response) UnmarshalJSON

func (v *NullableStatusGet200Response) UnmarshalJSON(src []byte) error

func (*NullableStatusGet200Response) Unset

func (v *NullableStatusGet200Response) Unset()

type NullableStatusGet200ResponseCpuInner

type NullableStatusGet200ResponseCpuInner struct {
	// contains filtered or unexported fields
}

func (NullableStatusGet200ResponseCpuInner) Get

func (NullableStatusGet200ResponseCpuInner) IsSet

func (NullableStatusGet200ResponseCpuInner) MarshalJSON

func (v NullableStatusGet200ResponseCpuInner) MarshalJSON() ([]byte, error)

func (*NullableStatusGet200ResponseCpuInner) Set

func (*NullableStatusGet200ResponseCpuInner) UnmarshalJSON

func (v *NullableStatusGet200ResponseCpuInner) UnmarshalJSON(src []byte) error

func (*NullableStatusGet200ResponseCpuInner) Unset

type NullableStatusGet200ResponseMemory

type NullableStatusGet200ResponseMemory struct {
	// contains filtered or unexported fields
}

func (NullableStatusGet200ResponseMemory) Get

func (NullableStatusGet200ResponseMemory) IsSet

func (NullableStatusGet200ResponseMemory) MarshalJSON

func (v NullableStatusGet200ResponseMemory) MarshalJSON() ([]byte, error)

func (*NullableStatusGet200ResponseMemory) Set

func (*NullableStatusGet200ResponseMemory) UnmarshalJSON

func (v *NullableStatusGet200ResponseMemory) UnmarshalJSON(src []byte) error

func (*NullableStatusGet200ResponseMemory) 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 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 NullableUnmetServiceError

type NullableUnmetServiceError struct {
	// contains filtered or unexported fields
}

func NewNullableUnmetServiceError

func NewNullableUnmetServiceError(val *UnmetServiceError) *NullableUnmetServiceError

func (NullableUnmetServiceError) Get

func (NullableUnmetServiceError) IsSet

func (v NullableUnmetServiceError) IsSet() bool

func (NullableUnmetServiceError) MarshalJSON

func (v NullableUnmetServiceError) MarshalJSON() ([]byte, error)

func (*NullableUnmetServiceError) Set

func (*NullableUnmetServiceError) UnmarshalJSON

func (v *NullableUnmetServiceError) UnmarshalJSON(src []byte) error

func (*NullableUnmetServiceError) Unset

func (v *NullableUnmetServiceError) Unset()

type NullableUnmetStreamError

type NullableUnmetStreamError struct {
	// contains filtered or unexported fields
}

func NewNullableUnmetStreamError

func NewNullableUnmetStreamError(val *UnmetStreamError) *NullableUnmetStreamError

func (NullableUnmetStreamError) Get

func (NullableUnmetStreamError) IsSet

func (v NullableUnmetStreamError) IsSet() bool

func (NullableUnmetStreamError) MarshalJSON

func (v NullableUnmetStreamError) MarshalJSON() ([]byte, error)

func (*NullableUnmetStreamError) Set

func (*NullableUnmetStreamError) UnmarshalJSON

func (v *NullableUnmetStreamError) UnmarshalJSON(src []byte) error

func (*NullableUnmetStreamError) Unset

func (v *NullableUnmetStreamError) Unset()

type NullableUpdatePost200Response

type NullableUpdatePost200Response struct {
	// contains filtered or unexported fields
}

func (NullableUpdatePost200Response) Get

func (NullableUpdatePost200Response) IsSet

func (NullableUpdatePost200Response) MarshalJSON

func (v NullableUpdatePost200Response) MarshalJSON() ([]byte, error)

func (*NullableUpdatePost200Response) Set

func (*NullableUpdatePost200Response) UnmarshalJSON

func (v *NullableUpdatePost200Response) UnmarshalJSON(src []byte) error

func (*NullableUpdatePost200Response) Unset

func (v *NullableUpdatePost200Response) Unset()

type PipelineAPIService

type PipelineAPIService service

PipelineAPIService PipelineAPI service

func (*PipelineAPIService) LogsAuthorNameVersionGet

func (a *PipelineAPIService) LogsAuthorNameVersionGet(ctx context.Context, author string, name string, version string) ApiLogsAuthorNameVersionGetRequest

LogsAuthorNameVersionGet Retrieve logs for any service. Logs from running or previously run services can be viewed and will be kept until rover reboot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param author The author of the service.
@param name The name of the service.
@param version The version of the service.
@return ApiLogsAuthorNameVersionGetRequest

func (*PipelineAPIService) LogsAuthorNameVersionGetExecute

func (a *PipelineAPIService) LogsAuthorNameVersionGetExecute(r ApiLogsAuthorNameVersionGetRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*PipelineAPIService) PipelineGet

PipelineGet Retrieve pipeline status and process execution information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPipelineGetRequest

func (*PipelineAPIService) PipelineGetExecute

Execute executes the request

@return PipelineGet200Response

func (*PipelineAPIService) PipelinePost

PipelinePost Set the services that are enabled in this pipeline, by specifying the fully qualified services

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPipelinePostRequest

func (*PipelineAPIService) PipelinePostExecute

func (a *PipelineAPIService) PipelinePostExecute(r ApiPipelinePostRequest) (*http.Response, error)

Execute executes the request

func (*PipelineAPIService) PipelineStartPost

PipelineStartPost Start the pipeline

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPipelineStartPostRequest

func (*PipelineAPIService) PipelineStartPostExecute

func (a *PipelineAPIService) PipelineStartPostExecute(r ApiPipelineStartPostRequest) (*http.Response, error)

Execute executes the request

func (*PipelineAPIService) PipelineStopPost

PipelineStopPost Stop the pipeline

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPipelineStopPostRequest

func (*PipelineAPIService) PipelineStopPostExecute

func (a *PipelineAPIService) PipelineStopPostExecute(r ApiPipelineStopPostRequest) (*http.Response, error)

Execute executes the request

type PipelineGet200Response

type PipelineGet200Response struct {
	Status PipelineStatus `json:"status"`
	// Milliseconds since epoch when the pipeline was manually started
	LastStart *int64 `json:"last_start,omitempty"`
	// Milliseconds since epoch when the pipeline was manually stopped
	LastStop *int64 `json:"last_stop,omitempty"`
	// Milliseconds since epoch when the pipeline was automatically restarted (on process faults)
	LastRestart *int64 `json:"last_restart,omitempty"`
	// The list of fully qualified services that are enabled in this pipeline. If the pipeline was started, this includes a process for each service
	Enabled []PipelineGet200ResponseEnabledInner `json:"enabled"`
}

PipelineGet200Response struct for PipelineGet200Response

func NewPipelineGet200Response

func NewPipelineGet200Response(status PipelineStatus, enabled []PipelineGet200ResponseEnabledInner) *PipelineGet200Response

NewPipelineGet200Response instantiates a new PipelineGet200Response 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 NewPipelineGet200ResponseWithDefaults

func NewPipelineGet200ResponseWithDefaults() *PipelineGet200Response

NewPipelineGet200ResponseWithDefaults instantiates a new PipelineGet200Response 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 (*PipelineGet200Response) GetEnabled

GetEnabled returns the Enabled field value

func (*PipelineGet200Response) GetEnabledOk

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*PipelineGet200Response) GetLastRestart

func (o *PipelineGet200Response) GetLastRestart() int64

GetLastRestart returns the LastRestart field value if set, zero value otherwise.

func (*PipelineGet200Response) GetLastRestartOk

func (o *PipelineGet200Response) GetLastRestartOk() (*int64, bool)

GetLastRestartOk returns a tuple with the LastRestart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineGet200Response) GetLastStart

func (o *PipelineGet200Response) GetLastStart() int64

GetLastStart returns the LastStart field value if set, zero value otherwise.

func (*PipelineGet200Response) GetLastStartOk

func (o *PipelineGet200Response) GetLastStartOk() (*int64, bool)

GetLastStartOk returns a tuple with the LastStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineGet200Response) GetLastStop

func (o *PipelineGet200Response) GetLastStop() int64

GetLastStop returns the LastStop field value if set, zero value otherwise.

func (*PipelineGet200Response) GetLastStopOk

func (o *PipelineGet200Response) GetLastStopOk() (*int64, bool)

GetLastStopOk returns a tuple with the LastStop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineGet200Response) GetStatus

func (o *PipelineGet200Response) GetStatus() PipelineStatus

GetStatus returns the Status field value

func (*PipelineGet200Response) GetStatusOk

func (o *PipelineGet200Response) GetStatusOk() (*PipelineStatus, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*PipelineGet200Response) HasLastRestart

func (o *PipelineGet200Response) HasLastRestart() bool

HasLastRestart returns a boolean if a field has been set.

func (*PipelineGet200Response) HasLastStart

func (o *PipelineGet200Response) HasLastStart() bool

HasLastStart returns a boolean if a field has been set.

func (*PipelineGet200Response) HasLastStop

func (o *PipelineGet200Response) HasLastStop() bool

HasLastStop returns a boolean if a field has been set.

func (PipelineGet200Response) MarshalJSON

func (o PipelineGet200Response) MarshalJSON() ([]byte, error)

func (*PipelineGet200Response) SetEnabled

SetEnabled sets field value

func (*PipelineGet200Response) SetLastRestart

func (o *PipelineGet200Response) SetLastRestart(v int64)

SetLastRestart gets a reference to the given int64 and assigns it to the LastRestart field.

func (*PipelineGet200Response) SetLastStart

func (o *PipelineGet200Response) SetLastStart(v int64)

SetLastStart gets a reference to the given int64 and assigns it to the LastStart field.

func (*PipelineGet200Response) SetLastStop

func (o *PipelineGet200Response) SetLastStop(v int64)

SetLastStop gets a reference to the given int64 and assigns it to the LastStop field.

func (*PipelineGet200Response) SetStatus

func (o *PipelineGet200Response) SetStatus(v PipelineStatus)

SetStatus sets field value

func (PipelineGet200Response) ToMap

func (o PipelineGet200Response) ToMap() (map[string]interface{}, error)

func (*PipelineGet200Response) UnmarshalJSON

func (o *PipelineGet200Response) UnmarshalJSON(data []byte) (err error)

type PipelineGet200ResponseEnabledInner

type PipelineGet200ResponseEnabledInner struct {
	Service PipelineGet200ResponseEnabledInnerService  `json:"service"`
	Process *PipelineGet200ResponseEnabledInnerProcess `json:"process,omitempty"`
}

PipelineGet200ResponseEnabledInner struct for PipelineGet200ResponseEnabledInner

func NewPipelineGet200ResponseEnabledInner

func NewPipelineGet200ResponseEnabledInner(service PipelineGet200ResponseEnabledInnerService) *PipelineGet200ResponseEnabledInner

NewPipelineGet200ResponseEnabledInner instantiates a new PipelineGet200ResponseEnabledInner 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 NewPipelineGet200ResponseEnabledInnerWithDefaults

func NewPipelineGet200ResponseEnabledInnerWithDefaults() *PipelineGet200ResponseEnabledInner

NewPipelineGet200ResponseEnabledInnerWithDefaults instantiates a new PipelineGet200ResponseEnabledInner 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 (*PipelineGet200ResponseEnabledInner) GetProcess

GetProcess returns the Process field value if set, zero value otherwise.

func (*PipelineGet200ResponseEnabledInner) GetProcessOk

GetProcessOk returns a tuple with the Process field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInner) GetService

GetService returns the Service field value

func (*PipelineGet200ResponseEnabledInner) GetServiceOk

GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInner) HasProcess

func (o *PipelineGet200ResponseEnabledInner) HasProcess() bool

HasProcess returns a boolean if a field has been set.

func (PipelineGet200ResponseEnabledInner) MarshalJSON

func (o PipelineGet200ResponseEnabledInner) MarshalJSON() ([]byte, error)

func (*PipelineGet200ResponseEnabledInner) SetProcess

SetProcess gets a reference to the given PipelineGet200ResponseEnabledInnerProcess and assigns it to the Process field.

func (*PipelineGet200ResponseEnabledInner) SetService

SetService sets field value

func (PipelineGet200ResponseEnabledInner) ToMap

func (o PipelineGet200ResponseEnabledInner) ToMap() (map[string]interface{}, error)

func (*PipelineGet200ResponseEnabledInner) UnmarshalJSON

func (o *PipelineGet200ResponseEnabledInner) UnmarshalJSON(data []byte) (err error)

type PipelineGet200ResponseEnabledInnerProcess

type PipelineGet200ResponseEnabledInnerProcess struct {
	// The process ID. Depending on the status, this PID might not exist anymore
	Pid    int32         `json:"pid"`
	Status ProcessStatus `json:"status"`
	// The number of milliseconds the process has been running
	Uptime int64 `json:"uptime"`
	// The amount of memory used by the process in megabytes
	Memory int32 `json:"memory"`
	// The percentage of CPU used by the process
	Cpu int32 `json:"cpu"`
}

PipelineGet200ResponseEnabledInnerProcess The last process that was started for this service (instantiated from the service). This can be undefined if the pipeline was not started before.

func NewPipelineGet200ResponseEnabledInnerProcess

func NewPipelineGet200ResponseEnabledInnerProcess(pid int32, status ProcessStatus, uptime int64, memory int32, cpu int32) *PipelineGet200ResponseEnabledInnerProcess

NewPipelineGet200ResponseEnabledInnerProcess instantiates a new PipelineGet200ResponseEnabledInnerProcess 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 NewPipelineGet200ResponseEnabledInnerProcessWithDefaults

func NewPipelineGet200ResponseEnabledInnerProcessWithDefaults() *PipelineGet200ResponseEnabledInnerProcess

NewPipelineGet200ResponseEnabledInnerProcessWithDefaults instantiates a new PipelineGet200ResponseEnabledInnerProcess 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 (*PipelineGet200ResponseEnabledInnerProcess) GetCpu

GetCpu returns the Cpu field value

func (*PipelineGet200ResponseEnabledInnerProcess) GetCpuOk

GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerProcess) GetMemory

GetMemory returns the Memory field value

func (*PipelineGet200ResponseEnabledInnerProcess) GetMemoryOk

GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerProcess) GetPid

GetPid returns the Pid field value

func (*PipelineGet200ResponseEnabledInnerProcess) GetPidOk

GetPidOk returns a tuple with the Pid field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerProcess) GetStatus

GetStatus returns the Status field value

func (*PipelineGet200ResponseEnabledInnerProcess) GetStatusOk

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerProcess) GetUptime

GetUptime returns the Uptime field value

func (*PipelineGet200ResponseEnabledInnerProcess) GetUptimeOk

GetUptimeOk returns a tuple with the Uptime field value and a boolean to check if the value has been set.

func (PipelineGet200ResponseEnabledInnerProcess) MarshalJSON

func (*PipelineGet200ResponseEnabledInnerProcess) SetCpu

SetCpu sets field value

func (*PipelineGet200ResponseEnabledInnerProcess) SetMemory

SetMemory sets field value

func (*PipelineGet200ResponseEnabledInnerProcess) SetPid

SetPid sets field value

func (*PipelineGet200ResponseEnabledInnerProcess) SetStatus

SetStatus sets field value

func (*PipelineGet200ResponseEnabledInnerProcess) SetUptime

SetUptime sets field value

func (PipelineGet200ResponseEnabledInnerProcess) ToMap

func (o PipelineGet200ResponseEnabledInnerProcess) ToMap() (map[string]interface{}, error)

func (*PipelineGet200ResponseEnabledInnerProcess) UnmarshalJSON

func (o *PipelineGet200ResponseEnabledInnerProcess) UnmarshalJSON(data []byte) (err error)

type PipelineGet200ResponseEnabledInnerService

type PipelineGet200ResponseEnabledInnerService struct {
	// The name of the service
	Name string `json:"name"`
	// The version of the service
	Version string `json:"version"`
	// The author of the service
	Author string `json:"author"`
	// The number of faults that have occurred (causing the pipeline to restart) since pipeline.last_start
	Faults int32 `json:"faults"`
	// The most recent exit code returned by the process.
	Exit int32 `json:"exit"`
}

PipelineGet200ResponseEnabledInnerService The fully qualified service that is enabled

func NewPipelineGet200ResponseEnabledInnerService

func NewPipelineGet200ResponseEnabledInnerService(name string, version string, author string, faults int32, exit int32) *PipelineGet200ResponseEnabledInnerService

NewPipelineGet200ResponseEnabledInnerService instantiates a new PipelineGet200ResponseEnabledInnerService 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 NewPipelineGet200ResponseEnabledInnerServiceWithDefaults

func NewPipelineGet200ResponseEnabledInnerServiceWithDefaults() *PipelineGet200ResponseEnabledInnerService

NewPipelineGet200ResponseEnabledInnerServiceWithDefaults instantiates a new PipelineGet200ResponseEnabledInnerService 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 (*PipelineGet200ResponseEnabledInnerService) GetAuthor

GetAuthor returns the Author field value

func (*PipelineGet200ResponseEnabledInnerService) GetAuthorOk

GetAuthorOk returns a tuple with the Author field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerService) GetExit

GetExit returns the Exit field value

func (*PipelineGet200ResponseEnabledInnerService) GetExitOk

GetExitOk returns a tuple with the Exit field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerService) GetFaults

GetFaults returns the Faults field value

func (*PipelineGet200ResponseEnabledInnerService) GetFaultsOk

GetFaultsOk returns a tuple with the Faults field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerService) GetName

GetName returns the Name field value

func (*PipelineGet200ResponseEnabledInnerService) GetNameOk

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PipelineGet200ResponseEnabledInnerService) GetVersion

GetVersion returns the Version field value

func (*PipelineGet200ResponseEnabledInnerService) GetVersionOk

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (PipelineGet200ResponseEnabledInnerService) MarshalJSON

func (*PipelineGet200ResponseEnabledInnerService) SetAuthor

SetAuthor sets field value

func (*PipelineGet200ResponseEnabledInnerService) SetExit

SetExit sets field value

func (*PipelineGet200ResponseEnabledInnerService) SetFaults

SetFaults sets field value

func (*PipelineGet200ResponseEnabledInnerService) SetName

SetName sets field value

func (*PipelineGet200ResponseEnabledInnerService) SetVersion

SetVersion sets field value

func (PipelineGet200ResponseEnabledInnerService) ToMap

func (o PipelineGet200ResponseEnabledInnerService) ToMap() (map[string]interface{}, error)

func (*PipelineGet200ResponseEnabledInnerService) UnmarshalJSON

func (o *PipelineGet200ResponseEnabledInnerService) UnmarshalJSON(data []byte) (err error)

type PipelinePost400Response

type PipelinePost400Response struct {
	// Additional information
	Message          *string                                 `json:"message,omitempty"`
	ValidationErrors PipelinePost400ResponseValidationErrors `json:"validation_errors"`
}

PipelinePost400Response struct for PipelinePost400Response

func NewPipelinePost400Response

func NewPipelinePost400Response(validationErrors PipelinePost400ResponseValidationErrors) *PipelinePost400Response

NewPipelinePost400Response instantiates a new PipelinePost400Response 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 NewPipelinePost400ResponseWithDefaults

func NewPipelinePost400ResponseWithDefaults() *PipelinePost400Response

NewPipelinePost400ResponseWithDefaults instantiates a new PipelinePost400Response 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 (*PipelinePost400Response) GetMessage

func (o *PipelinePost400Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*PipelinePost400Response) GetMessageOk

func (o *PipelinePost400Response) 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.

func (*PipelinePost400Response) GetValidationErrors

GetValidationErrors returns the ValidationErrors field value

func (*PipelinePost400Response) GetValidationErrorsOk

GetValidationErrorsOk returns a tuple with the ValidationErrors field value and a boolean to check if the value has been set.

func (*PipelinePost400Response) HasMessage

func (o *PipelinePost400Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (PipelinePost400Response) MarshalJSON

func (o PipelinePost400Response) MarshalJSON() ([]byte, error)

func (*PipelinePost400Response) SetMessage

func (o *PipelinePost400Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*PipelinePost400Response) SetValidationErrors

SetValidationErrors sets field value

func (PipelinePost400Response) ToMap

func (o PipelinePost400Response) ToMap() (map[string]interface{}, error)

func (*PipelinePost400Response) UnmarshalJSON

func (o *PipelinePost400Response) UnmarshalJSON(data []byte) (err error)

type PipelinePost400ResponseValidationErrors

type PipelinePost400ResponseValidationErrors struct {
	UnmetStreams     []UnmetStreamError  `json:"unmet_streams,omitempty"`
	UnmetServices    []UnmetServiceError `json:"unmet_services,omitempty"`
	DuplicateService []string            `json:"duplicate_service,omitempty"`
}

PipelinePost400ResponseValidationErrors The validation errors that prevent the pipeline from being set

func NewPipelinePost400ResponseValidationErrors

func NewPipelinePost400ResponseValidationErrors() *PipelinePost400ResponseValidationErrors

NewPipelinePost400ResponseValidationErrors instantiates a new PipelinePost400ResponseValidationErrors 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 NewPipelinePost400ResponseValidationErrorsWithDefaults

func NewPipelinePost400ResponseValidationErrorsWithDefaults() *PipelinePost400ResponseValidationErrors

NewPipelinePost400ResponseValidationErrorsWithDefaults instantiates a new PipelinePost400ResponseValidationErrors 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 (*PipelinePost400ResponseValidationErrors) GetDuplicateService

func (o *PipelinePost400ResponseValidationErrors) GetDuplicateService() []string

GetDuplicateService returns the DuplicateService field value if set, zero value otherwise.

func (*PipelinePost400ResponseValidationErrors) GetDuplicateServiceOk

func (o *PipelinePost400ResponseValidationErrors) GetDuplicateServiceOk() ([]string, bool)

GetDuplicateServiceOk returns a tuple with the DuplicateService field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinePost400ResponseValidationErrors) GetUnmetServices

GetUnmetServices returns the UnmetServices field value if set, zero value otherwise.

func (*PipelinePost400ResponseValidationErrors) GetUnmetServicesOk

func (o *PipelinePost400ResponseValidationErrors) GetUnmetServicesOk() ([]UnmetServiceError, bool)

GetUnmetServicesOk returns a tuple with the UnmetServices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinePost400ResponseValidationErrors) GetUnmetStreams

GetUnmetStreams returns the UnmetStreams field value if set, zero value otherwise.

func (*PipelinePost400ResponseValidationErrors) GetUnmetStreamsOk

GetUnmetStreamsOk returns a tuple with the UnmetStreams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinePost400ResponseValidationErrors) HasDuplicateService

func (o *PipelinePost400ResponseValidationErrors) HasDuplicateService() bool

HasDuplicateService returns a boolean if a field has been set.

func (*PipelinePost400ResponseValidationErrors) HasUnmetServices

func (o *PipelinePost400ResponseValidationErrors) HasUnmetServices() bool

HasUnmetServices returns a boolean if a field has been set.

func (*PipelinePost400ResponseValidationErrors) HasUnmetStreams

func (o *PipelinePost400ResponseValidationErrors) HasUnmetStreams() bool

HasUnmetStreams returns a boolean if a field has been set.

func (PipelinePost400ResponseValidationErrors) MarshalJSON

func (o PipelinePost400ResponseValidationErrors) MarshalJSON() ([]byte, error)

func (*PipelinePost400ResponseValidationErrors) SetDuplicateService

func (o *PipelinePost400ResponseValidationErrors) SetDuplicateService(v []string)

SetDuplicateService gets a reference to the given []string and assigns it to the DuplicateService field.

func (*PipelinePost400ResponseValidationErrors) SetUnmetServices

SetUnmetServices gets a reference to the given []UnmetServiceError and assigns it to the UnmetServices field.

func (*PipelinePost400ResponseValidationErrors) SetUnmetStreams

SetUnmetStreams gets a reference to the given []UnmetStreamError and assigns it to the UnmetStreams field.

func (PipelinePost400ResponseValidationErrors) ToMap

func (o PipelinePost400ResponseValidationErrors) ToMap() (map[string]interface{}, error)

type PipelinePostRequestInner

type PipelinePostRequestInner struct {
	// The name of the service
	Name string `json:"name"`
	// The version of the service
	Version string `json:"version"`
	// The author of the service
	Author string `json:"author"`
}

PipelinePostRequestInner struct for PipelinePostRequestInner

func NewPipelinePostRequestInner

func NewPipelinePostRequestInner(name string, version string, author string) *PipelinePostRequestInner

NewPipelinePostRequestInner instantiates a new PipelinePostRequestInner 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 NewPipelinePostRequestInnerWithDefaults

func NewPipelinePostRequestInnerWithDefaults() *PipelinePostRequestInner

NewPipelinePostRequestInnerWithDefaults instantiates a new PipelinePostRequestInner 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 (*PipelinePostRequestInner) GetAuthor

func (o *PipelinePostRequestInner) GetAuthor() string

GetAuthor returns the Author field value

func (*PipelinePostRequestInner) GetAuthorOk

func (o *PipelinePostRequestInner) GetAuthorOk() (*string, bool)

GetAuthorOk returns a tuple with the Author field value and a boolean to check if the value has been set.

func (*PipelinePostRequestInner) GetName

func (o *PipelinePostRequestInner) GetName() string

GetName returns the Name field value

func (*PipelinePostRequestInner) GetNameOk

func (o *PipelinePostRequestInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PipelinePostRequestInner) GetVersion

func (o *PipelinePostRequestInner) GetVersion() string

GetVersion returns the Version field value

func (*PipelinePostRequestInner) GetVersionOk

func (o *PipelinePostRequestInner) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (PipelinePostRequestInner) MarshalJSON

func (o PipelinePostRequestInner) MarshalJSON() ([]byte, error)

func (*PipelinePostRequestInner) SetAuthor

func (o *PipelinePostRequestInner) SetAuthor(v string)

SetAuthor sets field value

func (*PipelinePostRequestInner) SetName

func (o *PipelinePostRequestInner) SetName(v string)

SetName sets field value

func (*PipelinePostRequestInner) SetVersion

func (o *PipelinePostRequestInner) SetVersion(v string)

SetVersion sets field value

func (PipelinePostRequestInner) ToMap

func (o PipelinePostRequestInner) ToMap() (map[string]interface{}, error)

func (*PipelinePostRequestInner) UnmarshalJSON

func (o *PipelinePostRequestInner) UnmarshalJSON(data []byte) (err error)

type PipelineStatus

type PipelineStatus string

PipelineStatus The status of the entire pipeline corresponding to a state machine

const (
	EMPTY      PipelineStatus = "empty"
	STARTABLE  PipelineStatus = "startable"
	STARTED    PipelineStatus = "started"
	RESTARTING PipelineStatus = "restarting"
)

List of PipelineStatus

func NewPipelineStatusFromValue

func NewPipelineStatusFromValue(v string) (*PipelineStatus, error)

NewPipelineStatusFromValue returns a pointer to a valid PipelineStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PipelineStatus) IsValid

func (v PipelineStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PipelineStatus) Ptr

func (v PipelineStatus) Ptr() *PipelineStatus

Ptr returns reference to PipelineStatus value

func (*PipelineStatus) UnmarshalJSON

func (v *PipelineStatus) UnmarshalJSON(src []byte) error

type ProcessStatus

type ProcessStatus string

ProcessStatus The status of a process in the pipeline

const (
	RUNNING    ProcessStatus = "running"
	STOPPED    ProcessStatus = "stopped"
	TERMINATED ProcessStatus = "terminated"
	KILLED     ProcessStatus = "killed"
)

List of ProcessStatus

func NewProcessStatusFromValue

func NewProcessStatusFromValue(v string) (*ProcessStatus, error)

NewProcessStatusFromValue returns a pointer to a valid ProcessStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProcessStatus) IsValid

func (v ProcessStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProcessStatus) Ptr

func (v ProcessStatus) Ptr() *ProcessStatus

Ptr returns reference to ProcessStatus value

func (*ProcessStatus) UnmarshalJSON

func (v *ProcessStatus) UnmarshalJSON(src []byte) error

type ReferencedService

type ReferencedService struct {
	// Fully qualified download url.
	Url *string `json:"url,omitempty"`
}

ReferencedService struct for ReferencedService

func NewReferencedService

func NewReferencedService() *ReferencedService

NewReferencedService instantiates a new ReferencedService 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 NewReferencedServiceWithDefaults

func NewReferencedServiceWithDefaults() *ReferencedService

NewReferencedServiceWithDefaults instantiates a new ReferencedService 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 (*ReferencedService) GetUrl

func (o *ReferencedService) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*ReferencedService) GetUrlOk

func (o *ReferencedService) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReferencedService) HasUrl

func (o *ReferencedService) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ReferencedService) MarshalJSON

func (o ReferencedService) MarshalJSON() ([]byte, error)

func (*ReferencedService) SetUrl

func (o *ReferencedService) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (ReferencedService) ToMap

func (o ReferencedService) ToMap() (map[string]interface{}, error)

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ServiceStatus

type ServiceStatus string

ServiceStatus The status of any given service is either enabled or disabled

const (
	ENABLED  ServiceStatus = "enabled"
	DISABLED ServiceStatus = "disabled"
)

List of ServiceStatus

func NewServiceStatusFromValue

func NewServiceStatusFromValue(v string) (*ServiceStatus, error)

NewServiceStatusFromValue returns a pointer to a valid ServiceStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ServiceStatus) IsValid

func (v ServiceStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ServiceStatus) Ptr

func (v ServiceStatus) Ptr() *ServiceStatus

Ptr returns reference to ServiceStatus value

func (*ServiceStatus) UnmarshalJSON

func (v *ServiceStatus) UnmarshalJSON(src []byte) error

type ServicesAPIService

type ServicesAPIService service

ServicesAPIService ServicesAPI service

func (*ServicesAPIService) FetchPost

FetchPost Fetches the zip file from the given URL and installs the service onto the filesystem

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFetchPostRequest

func (*ServicesAPIService) FetchPostExecute

Execute executes the request

@return FetchPost200Response

func (*ServicesAPIService) ServicesAuthorGet

func (a *ServicesAPIService) ServicesAuthorGet(ctx context.Context, author string) ApiServicesAuthorGetRequest

ServicesAuthorGet Retrieve the list of parsable services for a specific author

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param author The author name
@return ApiServicesAuthorGetRequest

func (*ServicesAPIService) ServicesAuthorGetExecute

func (a *ServicesAPIService) ServicesAuthorGetExecute(r ApiServicesAuthorGetRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ServicesAPIService) ServicesAuthorServiceGet

func (a *ServicesAPIService) ServicesAuthorServiceGet(ctx context.Context, author string, service string) ApiServicesAuthorServiceGetRequest

ServicesAuthorServiceGet Retrieve the list of parsable service versions for a specific author and service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param author The author name
@param service The service name
@return ApiServicesAuthorServiceGetRequest

func (*ServicesAPIService) ServicesAuthorServiceGetExecute

func (a *ServicesAPIService) ServicesAuthorServiceGetExecute(r ApiServicesAuthorServiceGetRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ServicesAPIService) ServicesAuthorServiceVersionDelete

func (a *ServicesAPIService) ServicesAuthorServiceVersionDelete(ctx context.Context, author string, service string, version string) ApiServicesAuthorServiceVersionDeleteRequest

ServicesAuthorServiceVersionDelete Delete a specific version of a service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param author The author name
@param service The service name
@param version The version of the service
@return ApiServicesAuthorServiceVersionDeleteRequest

func (*ServicesAPIService) ServicesAuthorServiceVersionDeleteExecute

Execute executes the request

@return ServicesAuthorServiceVersionDelete200Response

func (*ServicesAPIService) ServicesAuthorServiceVersionGet

func (a *ServicesAPIService) ServicesAuthorServiceVersionGet(ctx context.Context, author string, service string, version string) ApiServicesAuthorServiceVersionGetRequest

ServicesAuthorServiceVersionGet Retrieve the status of a specific version of a service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param author The author name
@param service The service name
@param version The version of the service
@return ApiServicesAuthorServiceVersionGetRequest

func (*ServicesAPIService) ServicesAuthorServiceVersionGetExecute

Execute executes the request

@return ServicesAuthorServiceVersionGet200Response

func (*ServicesAPIService) ServicesAuthorServiceVersionPost

func (a *ServicesAPIService) ServicesAuthorServiceVersionPost(ctx context.Context, author string, service string, version string) ApiServicesAuthorServiceVersionPostRequest

ServicesAuthorServiceVersionPost Build a fully qualified service version

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param author The author name
@param service The service name
@param version The version of the service
@return ApiServicesAuthorServiceVersionPostRequest

func (*ServicesAPIService) ServicesAuthorServiceVersionPostExecute

func (a *ServicesAPIService) ServicesAuthorServiceVersionPostExecute(r ApiServicesAuthorServiceVersionPostRequest) (*http.Response, error)

Execute executes the request

func (*ServicesAPIService) ServicesGet

ServicesGet Retrieve the list of all authors that have parsable services. With these authors you can query further for services

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiServicesGetRequest

func (*ServicesAPIService) ServicesGetExecute

func (a *ServicesAPIService) ServicesGetExecute(r ApiServicesGetRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*ServicesAPIService) UploadPost

UploadPost Upload a new service or new version to the rover by uploading a ZIP file

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUploadPostRequest

func (*ServicesAPIService) UploadPostExecute

Execute executes the request

@return FetchPost200Response

type ServicesAuthorServiceVersionDelete200Response

type ServicesAuthorServiceVersionDelete200Response struct {
	// Whether the pipeline was invalidated by this service deletion
	InvalidatedPipeline bool `json:"invalidated_pipeline"`
}

ServicesAuthorServiceVersionDelete200Response struct for ServicesAuthorServiceVersionDelete200Response

func NewServicesAuthorServiceVersionDelete200Response

func NewServicesAuthorServiceVersionDelete200Response(invalidatedPipeline bool) *ServicesAuthorServiceVersionDelete200Response

NewServicesAuthorServiceVersionDelete200Response instantiates a new ServicesAuthorServiceVersionDelete200Response 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 NewServicesAuthorServiceVersionDelete200ResponseWithDefaults

func NewServicesAuthorServiceVersionDelete200ResponseWithDefaults() *ServicesAuthorServiceVersionDelete200Response

NewServicesAuthorServiceVersionDelete200ResponseWithDefaults instantiates a new ServicesAuthorServiceVersionDelete200Response 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 (*ServicesAuthorServiceVersionDelete200Response) GetInvalidatedPipeline

func (o *ServicesAuthorServiceVersionDelete200Response) GetInvalidatedPipeline() bool

GetInvalidatedPipeline returns the InvalidatedPipeline field value

func (*ServicesAuthorServiceVersionDelete200Response) GetInvalidatedPipelineOk

func (o *ServicesAuthorServiceVersionDelete200Response) GetInvalidatedPipelineOk() (*bool, bool)

GetInvalidatedPipelineOk returns a tuple with the InvalidatedPipeline field value and a boolean to check if the value has been set.

func (ServicesAuthorServiceVersionDelete200Response) MarshalJSON

func (*ServicesAuthorServiceVersionDelete200Response) SetInvalidatedPipeline

func (o *ServicesAuthorServiceVersionDelete200Response) SetInvalidatedPipeline(v bool)

SetInvalidatedPipeline sets field value

func (ServicesAuthorServiceVersionDelete200Response) ToMap

func (o ServicesAuthorServiceVersionDelete200Response) ToMap() (map[string]interface{}, error)

func (*ServicesAuthorServiceVersionDelete200Response) UnmarshalJSON

func (o *ServicesAuthorServiceVersionDelete200Response) UnmarshalJSON(data []byte) (err error)

type ServicesAuthorServiceVersionGet200Response

type ServicesAuthorServiceVersionGet200Response struct {
	// The time this version was last built as milliseconds since epoch, not set if the service was never built
	BuiltAt *int64 `json:"built_at,omitempty"`
	// The dependencies/inputs of this service version
	Inputs []ServicesAuthorServiceVersionGet200ResponseInputsInner `json:"inputs"`
	// The output streams of this service version
	Outputs []string `json:"outputs"`
	// All configuration values of this service version and their tunability
	Configuration []ServicesAuthorServiceVersionGet200ResponseConfigurationInner `json:"configuration"`
}

ServicesAuthorServiceVersionGet200Response struct for ServicesAuthorServiceVersionGet200Response

func NewServicesAuthorServiceVersionGet200Response

NewServicesAuthorServiceVersionGet200Response instantiates a new ServicesAuthorServiceVersionGet200Response 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 NewServicesAuthorServiceVersionGet200ResponseWithDefaults

func NewServicesAuthorServiceVersionGet200ResponseWithDefaults() *ServicesAuthorServiceVersionGet200Response

NewServicesAuthorServiceVersionGet200ResponseWithDefaults instantiates a new ServicesAuthorServiceVersionGet200Response 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 (*ServicesAuthorServiceVersionGet200Response) GetBuiltAt

GetBuiltAt returns the BuiltAt field value if set, zero value otherwise.

func (*ServicesAuthorServiceVersionGet200Response) GetBuiltAtOk

GetBuiltAtOk returns a tuple with the BuiltAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200Response) GetConfiguration

GetConfiguration returns the Configuration field value

func (*ServicesAuthorServiceVersionGet200Response) GetConfigurationOk

GetConfigurationOk returns a tuple with the Configuration field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200Response) GetInputs

GetInputs returns the Inputs field value

func (*ServicesAuthorServiceVersionGet200Response) GetInputsOk

GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200Response) GetOutputs

GetOutputs returns the Outputs field value

func (*ServicesAuthorServiceVersionGet200Response) GetOutputsOk

GetOutputsOk returns a tuple with the Outputs field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200Response) HasBuiltAt

HasBuiltAt returns a boolean if a field has been set.

func (ServicesAuthorServiceVersionGet200Response) MarshalJSON

func (*ServicesAuthorServiceVersionGet200Response) SetBuiltAt

SetBuiltAt gets a reference to the given int64 and assigns it to the BuiltAt field.

func (*ServicesAuthorServiceVersionGet200Response) SetConfiguration

SetConfiguration sets field value

func (*ServicesAuthorServiceVersionGet200Response) SetInputs

SetInputs sets field value

func (*ServicesAuthorServiceVersionGet200Response) SetOutputs

SetOutputs sets field value

func (ServicesAuthorServiceVersionGet200Response) ToMap

func (o ServicesAuthorServiceVersionGet200Response) ToMap() (map[string]interface{}, error)

func (*ServicesAuthorServiceVersionGet200Response) UnmarshalJSON

func (o *ServicesAuthorServiceVersionGet200Response) UnmarshalJSON(data []byte) (err error)

type ServicesAuthorServiceVersionGet200ResponseConfigurationInner

type ServicesAuthorServiceVersionGet200ResponseConfigurationInner struct {
	// The name of the configuration value
	Name string `json:"name"`
	// The type of the configuration value
	Type  string                                                            `json:"type"`
	Value ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue `json:"value"`
	// Whether this configuration value is tunable
	Tunable bool `json:"tunable"`
}

ServicesAuthorServiceVersionGet200ResponseConfigurationInner struct for ServicesAuthorServiceVersionGet200ResponseConfigurationInner

func NewServicesAuthorServiceVersionGet200ResponseConfigurationInner

func NewServicesAuthorServiceVersionGet200ResponseConfigurationInner(name string, type_ string, value ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue, tunable bool) *ServicesAuthorServiceVersionGet200ResponseConfigurationInner

NewServicesAuthorServiceVersionGet200ResponseConfigurationInner instantiates a new ServicesAuthorServiceVersionGet200ResponseConfigurationInner 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 NewServicesAuthorServiceVersionGet200ResponseConfigurationInnerWithDefaults

func NewServicesAuthorServiceVersionGet200ResponseConfigurationInnerWithDefaults() *ServicesAuthorServiceVersionGet200ResponseConfigurationInner

NewServicesAuthorServiceVersionGet200ResponseConfigurationInnerWithDefaults instantiates a new ServicesAuthorServiceVersionGet200ResponseConfigurationInner 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 (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetName

GetName returns the Name field value

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetNameOk

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetTunable

GetTunable returns the Tunable field value

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetTunableOk

GetTunableOk returns a tuple with the Tunable field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetType

GetType returns the Type field value

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetValue

GetValue returns the Value field value

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) GetValueOk

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (ServicesAuthorServiceVersionGet200ResponseConfigurationInner) MarshalJSON

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) SetName

SetName sets field value

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) SetTunable

SetTunable sets field value

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) SetType

SetType sets field value

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) SetValue

SetValue sets field value

func (ServicesAuthorServiceVersionGet200ResponseConfigurationInner) ToMap

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInner) UnmarshalJSON

type ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

type ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue struct {
	Float32 *float32
	String  *string
}

ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue - The value of the configuration

func Float32AsServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

func Float32AsServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue(v *float32) ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

float32AsServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue is a convenience function that returns float32 wrapped in ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

func StringAsServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

func StringAsServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue(v *string) ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

stringAsServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue is a convenience function that returns string wrapped in ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) GetActualInstance

func (obj *ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) GetActualInstance() interface{}

Get the actual instance

func (ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) MarshalJSON

Marshal data from the first non-nil pointers in the struct to JSON

func (*ServicesAuthorServiceVersionGet200ResponseConfigurationInnerValue) UnmarshalJSON

Unmarshal JSON data into one of the pointers in the struct

type ServicesAuthorServiceVersionGet200ResponseInputsInner

type ServicesAuthorServiceVersionGet200ResponseInputsInner struct {
	// The name of the service dependency
	Service string `json:"service"`
	// The streams of the service dependency
	Streams []string `json:"streams"`
}

ServicesAuthorServiceVersionGet200ResponseInputsInner struct for ServicesAuthorServiceVersionGet200ResponseInputsInner

func NewServicesAuthorServiceVersionGet200ResponseInputsInner

func NewServicesAuthorServiceVersionGet200ResponseInputsInner(service string, streams []string) *ServicesAuthorServiceVersionGet200ResponseInputsInner

NewServicesAuthorServiceVersionGet200ResponseInputsInner instantiates a new ServicesAuthorServiceVersionGet200ResponseInputsInner 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 NewServicesAuthorServiceVersionGet200ResponseInputsInnerWithDefaults

func NewServicesAuthorServiceVersionGet200ResponseInputsInnerWithDefaults() *ServicesAuthorServiceVersionGet200ResponseInputsInner

NewServicesAuthorServiceVersionGet200ResponseInputsInnerWithDefaults instantiates a new ServicesAuthorServiceVersionGet200ResponseInputsInner 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 (*ServicesAuthorServiceVersionGet200ResponseInputsInner) GetService

GetService returns the Service field value

func (*ServicesAuthorServiceVersionGet200ResponseInputsInner) GetServiceOk

GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionGet200ResponseInputsInner) GetStreams

GetStreams returns the Streams field value

func (*ServicesAuthorServiceVersionGet200ResponseInputsInner) GetStreamsOk

GetStreamsOk returns a tuple with the Streams field value and a boolean to check if the value has been set.

func (ServicesAuthorServiceVersionGet200ResponseInputsInner) MarshalJSON

func (*ServicesAuthorServiceVersionGet200ResponseInputsInner) SetService

SetService sets field value

func (*ServicesAuthorServiceVersionGet200ResponseInputsInner) SetStreams

SetStreams sets field value

func (ServicesAuthorServiceVersionGet200ResponseInputsInner) ToMap

func (*ServicesAuthorServiceVersionGet200ResponseInputsInner) UnmarshalJSON

func (o *ServicesAuthorServiceVersionGet200ResponseInputsInner) UnmarshalJSON(data []byte) (err error)

type ServicesAuthorServiceVersionPost400Response

type ServicesAuthorServiceVersionPost400Response struct {
	// The error message
	Message string `json:"message"`
	// The build log (one log line per item)
	BuildLog []string `json:"build_log"`
}

ServicesAuthorServiceVersionPost400Response struct for ServicesAuthorServiceVersionPost400Response

func NewServicesAuthorServiceVersionPost400Response

func NewServicesAuthorServiceVersionPost400Response(message string, buildLog []string) *ServicesAuthorServiceVersionPost400Response

NewServicesAuthorServiceVersionPost400Response instantiates a new ServicesAuthorServiceVersionPost400Response 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 NewServicesAuthorServiceVersionPost400ResponseWithDefaults

func NewServicesAuthorServiceVersionPost400ResponseWithDefaults() *ServicesAuthorServiceVersionPost400Response

NewServicesAuthorServiceVersionPost400ResponseWithDefaults instantiates a new ServicesAuthorServiceVersionPost400Response 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 (*ServicesAuthorServiceVersionPost400Response) GetBuildLog

GetBuildLog returns the BuildLog field value

func (*ServicesAuthorServiceVersionPost400Response) GetBuildLogOk

GetBuildLogOk returns a tuple with the BuildLog field value and a boolean to check if the value has been set.

func (*ServicesAuthorServiceVersionPost400Response) GetMessage

GetMessage returns the Message field value

func (*ServicesAuthorServiceVersionPost400Response) GetMessageOk

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (ServicesAuthorServiceVersionPost400Response) MarshalJSON

func (*ServicesAuthorServiceVersionPost400Response) SetBuildLog

SetBuildLog sets field value

func (*ServicesAuthorServiceVersionPost400Response) SetMessage

SetMessage sets field value

func (ServicesAuthorServiceVersionPost400Response) ToMap

func (o ServicesAuthorServiceVersionPost400Response) ToMap() (map[string]interface{}, error)

func (*ServicesAuthorServiceVersionPost400Response) UnmarshalJSON

func (o *ServicesAuthorServiceVersionPost400Response) UnmarshalJSON(data []byte) (err error)

type ServicesPost200Response

type ServicesPost200Response struct {
	// The name of the service
	Name string `json:"name"`
	// The version of the service
	Version string `json:"version"`
	// The author of the service
	Author string `json:"author"`
	// Whether the pipeline was invalidated by this service upload
	InvalidatedPipeline bool `json:"invalidated_pipeline"`
}

ServicesPost200Response struct for ServicesPost200Response

func NewServicesPost200Response

func NewServicesPost200Response(name string, version string, author string, invalidatedPipeline bool) *ServicesPost200Response

NewServicesPost200Response instantiates a new ServicesPost200Response 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 NewServicesPost200ResponseWithDefaults

func NewServicesPost200ResponseWithDefaults() *ServicesPost200Response

NewServicesPost200ResponseWithDefaults instantiates a new ServicesPost200Response 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 (*ServicesPost200Response) GetAuthor

func (o *ServicesPost200Response) GetAuthor() string

GetAuthor returns the Author field value

func (*ServicesPost200Response) GetAuthorOk

func (o *ServicesPost200Response) GetAuthorOk() (*string, bool)

GetAuthorOk returns a tuple with the Author field value and a boolean to check if the value has been set.

func (*ServicesPost200Response) GetInvalidatedPipeline

func (o *ServicesPost200Response) GetInvalidatedPipeline() bool

GetInvalidatedPipeline returns the InvalidatedPipeline field value

func (*ServicesPost200Response) GetInvalidatedPipelineOk

func (o *ServicesPost200Response) GetInvalidatedPipelineOk() (*bool, bool)

GetInvalidatedPipelineOk returns a tuple with the InvalidatedPipeline field value and a boolean to check if the value has been set.

func (*ServicesPost200Response) GetName

func (o *ServicesPost200Response) GetName() string

GetName returns the Name field value

func (*ServicesPost200Response) GetNameOk

func (o *ServicesPost200Response) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServicesPost200Response) GetVersion

func (o *ServicesPost200Response) GetVersion() string

GetVersion returns the Version field value

func (*ServicesPost200Response) GetVersionOk

func (o *ServicesPost200Response) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (ServicesPost200Response) MarshalJSON

func (o ServicesPost200Response) MarshalJSON() ([]byte, error)

func (*ServicesPost200Response) SetAuthor

func (o *ServicesPost200Response) SetAuthor(v string)

SetAuthor sets field value

func (*ServicesPost200Response) SetInvalidatedPipeline

func (o *ServicesPost200Response) SetInvalidatedPipeline(v bool)

SetInvalidatedPipeline sets field value

func (*ServicesPost200Response) SetName

func (o *ServicesPost200Response) SetName(v string)

SetName sets field value

func (*ServicesPost200Response) SetVersion

func (o *ServicesPost200Response) SetVersion(v string)

SetVersion sets field value

func (ServicesPost200Response) ToMap

func (o ServicesPost200Response) ToMap() (map[string]interface{}, error)

func (*ServicesPost200Response) UnmarshalJSON

func (o *ServicesPost200Response) UnmarshalJSON(data []byte) (err error)

type SourcesAPIService

type SourcesAPIService service

SourcesAPIService SourcesAPI service

func (*SourcesAPIService) SourcesDelete

SourcesDelete Delete a source

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSourcesDeleteRequest

func (*SourcesAPIService) SourcesDeleteExecute

func (a *SourcesAPIService) SourcesDeleteExecute(r ApiSourcesDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SourcesAPIService) SourcesGet

SourcesGet Retrieve all sources

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSourcesGetRequest

func (*SourcesAPIService) SourcesGetExecute

Execute executes the request

@return []SourcesGet200ResponseInner

func (*SourcesAPIService) SourcesPost

SourcesPost Downloads and installs a new source, overwriting the prior version (if any) and adding it to the 'downloaded' section in rover.yaml (checks for duplicate source names)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSourcesPostRequest

func (*SourcesAPIService) SourcesPostExecute

func (a *SourcesAPIService) SourcesPostExecute(r ApiSourcesPostRequest) (*http.Response, error)

Execute executes the request

type SourcesGet200ResponseInner

type SourcesGet200ResponseInner struct {
	// The name of the source
	Name string `json:"name"`
	// The URL of the source (without scheme)
	Url     string `json:"url"`
	Version string `json:"version"`
	// The SHA256 hash of the source download, computed over the ZIP file downloaded
	Sha *string `json:"sha,omitempty"`
}

SourcesGet200ResponseInner struct for SourcesGet200ResponseInner

func NewSourcesGet200ResponseInner

func NewSourcesGet200ResponseInner(name string, url string, version string) *SourcesGet200ResponseInner

NewSourcesGet200ResponseInner instantiates a new SourcesGet200ResponseInner 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 NewSourcesGet200ResponseInnerWithDefaults

func NewSourcesGet200ResponseInnerWithDefaults() *SourcesGet200ResponseInner

NewSourcesGet200ResponseInnerWithDefaults instantiates a new SourcesGet200ResponseInner 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 (*SourcesGet200ResponseInner) GetName

func (o *SourcesGet200ResponseInner) GetName() string

GetName returns the Name field value

func (*SourcesGet200ResponseInner) GetNameOk

func (o *SourcesGet200ResponseInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SourcesGet200ResponseInner) GetSha

func (o *SourcesGet200ResponseInner) GetSha() string

GetSha returns the Sha field value if set, zero value otherwise.

func (*SourcesGet200ResponseInner) GetShaOk

func (o *SourcesGet200ResponseInner) GetShaOk() (*string, bool)

GetShaOk returns a tuple with the Sha field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourcesGet200ResponseInner) GetUrl

func (o *SourcesGet200ResponseInner) GetUrl() string

GetUrl returns the Url field value

func (*SourcesGet200ResponseInner) GetUrlOk

func (o *SourcesGet200ResponseInner) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*SourcesGet200ResponseInner) GetVersion

func (o *SourcesGet200ResponseInner) GetVersion() string

GetVersion returns the Version field value

func (*SourcesGet200ResponseInner) GetVersionOk

func (o *SourcesGet200ResponseInner) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*SourcesGet200ResponseInner) HasSha

func (o *SourcesGet200ResponseInner) HasSha() bool

HasSha returns a boolean if a field has been set.

func (SourcesGet200ResponseInner) MarshalJSON

func (o SourcesGet200ResponseInner) MarshalJSON() ([]byte, error)

func (*SourcesGet200ResponseInner) SetName

func (o *SourcesGet200ResponseInner) SetName(v string)

SetName sets field value

func (*SourcesGet200ResponseInner) SetSha

func (o *SourcesGet200ResponseInner) SetSha(v string)

SetSha gets a reference to the given string and assigns it to the Sha field.

func (*SourcesGet200ResponseInner) SetUrl

func (o *SourcesGet200ResponseInner) SetUrl(v string)

SetUrl sets field value

func (*SourcesGet200ResponseInner) SetVersion

func (o *SourcesGet200ResponseInner) SetVersion(v string)

SetVersion sets field value

func (SourcesGet200ResponseInner) ToMap

func (o SourcesGet200ResponseInner) ToMap() (map[string]interface{}, error)

func (*SourcesGet200ResponseInner) UnmarshalJSON

func (o *SourcesGet200ResponseInner) UnmarshalJSON(data []byte) (err error)

type SourcesPostRequest

type SourcesPostRequest struct {
	// The name of the source
	Name string `json:"name"`
	// The URL of the source (without scheme)
	Url string `json:"url"`
	// The version of the source
	Version string `json:"version"`
}

SourcesPostRequest struct for SourcesPostRequest

func NewSourcesPostRequest

func NewSourcesPostRequest(name string, url string, version string) *SourcesPostRequest

NewSourcesPostRequest instantiates a new SourcesPostRequest 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 NewSourcesPostRequestWithDefaults

func NewSourcesPostRequestWithDefaults() *SourcesPostRequest

NewSourcesPostRequestWithDefaults instantiates a new SourcesPostRequest 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 (*SourcesPostRequest) GetName

func (o *SourcesPostRequest) GetName() string

GetName returns the Name field value

func (*SourcesPostRequest) GetNameOk

func (o *SourcesPostRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SourcesPostRequest) GetUrl

func (o *SourcesPostRequest) GetUrl() string

GetUrl returns the Url field value

func (*SourcesPostRequest) GetUrlOk

func (o *SourcesPostRequest) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*SourcesPostRequest) GetVersion

func (o *SourcesPostRequest) GetVersion() string

GetVersion returns the Version field value

func (*SourcesPostRequest) GetVersionOk

func (o *SourcesPostRequest) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (SourcesPostRequest) MarshalJSON

func (o SourcesPostRequest) MarshalJSON() ([]byte, error)

func (*SourcesPostRequest) SetName

func (o *SourcesPostRequest) SetName(v string)

SetName sets field value

func (*SourcesPostRequest) SetUrl

func (o *SourcesPostRequest) SetUrl(v string)

SetUrl sets field value

func (*SourcesPostRequest) SetVersion

func (o *SourcesPostRequest) SetVersion(v string)

SetVersion sets field value

func (SourcesPostRequest) ToMap

func (o SourcesPostRequest) ToMap() (map[string]interface{}, error)

func (*SourcesPostRequest) UnmarshalJSON

func (o *SourcesPostRequest) UnmarshalJSON(data []byte) (err error)

type StatusGet200Response

type StatusGet200Response struct {
	Status DaemonStatus `json:"status"`
	// Error message of the daemon status
	ErrorMessage *string `json:"error_message,omitempty"`
	// The version of the roverd daemon
	Version string `json:"version"`
	// The number of milliseconds the roverd daemon process has been running
	Uptime int64 `json:"uptime"`
	// The operating system of the rover
	Os string `json:"os"`
	// The system time of the rover as milliseconds since epoch
	Systime int64 `json:"systime"`
	// The unique identifier of the rover
	RoverId *int32 `json:"rover_id,omitempty"`
	// The unique name of the rover
	RoverName *string                    `json:"rover_name,omitempty"`
	Memory    StatusGet200ResponseMemory `json:"memory"`
	// The CPU usage of the roverd process
	Cpu []StatusGet200ResponseCpuInner `json:"cpu"`
}

StatusGet200Response struct for StatusGet200Response

func NewStatusGet200Response

func NewStatusGet200Response(status DaemonStatus, version string, uptime int64, os string, systime int64, memory StatusGet200ResponseMemory, cpu []StatusGet200ResponseCpuInner) *StatusGet200Response

NewStatusGet200Response instantiates a new StatusGet200Response 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 NewStatusGet200ResponseWithDefaults

func NewStatusGet200ResponseWithDefaults() *StatusGet200Response

NewStatusGet200ResponseWithDefaults instantiates a new StatusGet200Response 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 (*StatusGet200Response) GetCpu

GetCpu returns the Cpu field value

func (*StatusGet200Response) GetCpuOk

GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.

func (*StatusGet200Response) GetErrorMessage

func (o *StatusGet200Response) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*StatusGet200Response) GetErrorMessageOk

func (o *StatusGet200Response) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatusGet200Response) GetMemory

GetMemory returns the Memory field value

func (*StatusGet200Response) GetMemoryOk

GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.

func (*StatusGet200Response) GetOs

func (o *StatusGet200Response) GetOs() string

GetOs returns the Os field value

func (*StatusGet200Response) GetOsOk

func (o *StatusGet200Response) GetOsOk() (*string, bool)

GetOsOk returns a tuple with the Os field value and a boolean to check if the value has been set.

func (*StatusGet200Response) GetRoverId

func (o *StatusGet200Response) GetRoverId() int32

GetRoverId returns the RoverId field value if set, zero value otherwise.

func (*StatusGet200Response) GetRoverIdOk

func (o *StatusGet200Response) GetRoverIdOk() (*int32, bool)

GetRoverIdOk returns a tuple with the RoverId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatusGet200Response) GetRoverName

func (o *StatusGet200Response) GetRoverName() string

GetRoverName returns the RoverName field value if set, zero value otherwise.

func (*StatusGet200Response) GetRoverNameOk

func (o *StatusGet200Response) GetRoverNameOk() (*string, bool)

GetRoverNameOk returns a tuple with the RoverName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StatusGet200Response) GetStatus

func (o *StatusGet200Response) GetStatus() DaemonStatus

GetStatus returns the Status field value

func (*StatusGet200Response) GetStatusOk

func (o *StatusGet200Response) GetStatusOk() (*DaemonStatus, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*StatusGet200Response) GetSystime

func (o *StatusGet200Response) GetSystime() int64

GetSystime returns the Systime field value

func (*StatusGet200Response) GetSystimeOk

func (o *StatusGet200Response) GetSystimeOk() (*int64, bool)

GetSystimeOk returns a tuple with the Systime field value and a boolean to check if the value has been set.

func (*StatusGet200Response) GetUptime

func (o *StatusGet200Response) GetUptime() int64

GetUptime returns the Uptime field value

func (*StatusGet200Response) GetUptimeOk

func (o *StatusGet200Response) GetUptimeOk() (*int64, bool)

GetUptimeOk returns a tuple with the Uptime field value and a boolean to check if the value has been set.

func (*StatusGet200Response) GetVersion

func (o *StatusGet200Response) GetVersion() string

GetVersion returns the Version field value

func (*StatusGet200Response) GetVersionOk

func (o *StatusGet200Response) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*StatusGet200Response) HasErrorMessage

func (o *StatusGet200Response) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*StatusGet200Response) HasRoverId

func (o *StatusGet200Response) HasRoverId() bool

HasRoverId returns a boolean if a field has been set.

func (*StatusGet200Response) HasRoverName

func (o *StatusGet200Response) HasRoverName() bool

HasRoverName returns a boolean if a field has been set.

func (StatusGet200Response) MarshalJSON

func (o StatusGet200Response) MarshalJSON() ([]byte, error)

func (*StatusGet200Response) SetCpu

SetCpu sets field value

func (*StatusGet200Response) SetErrorMessage

func (o *StatusGet200Response) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*StatusGet200Response) SetMemory

SetMemory sets field value

func (*StatusGet200Response) SetOs

func (o *StatusGet200Response) SetOs(v string)

SetOs sets field value

func (*StatusGet200Response) SetRoverId

func (o *StatusGet200Response) SetRoverId(v int32)

SetRoverId gets a reference to the given int32 and assigns it to the RoverId field.

func (*StatusGet200Response) SetRoverName

func (o *StatusGet200Response) SetRoverName(v string)

SetRoverName gets a reference to the given string and assigns it to the RoverName field.

func (*StatusGet200Response) SetStatus

func (o *StatusGet200Response) SetStatus(v DaemonStatus)

SetStatus sets field value

func (*StatusGet200Response) SetSystime

func (o *StatusGet200Response) SetSystime(v int64)

SetSystime sets field value

func (*StatusGet200Response) SetUptime

func (o *StatusGet200Response) SetUptime(v int64)

SetUptime sets field value

func (*StatusGet200Response) SetVersion

func (o *StatusGet200Response) SetVersion(v string)

SetVersion sets field value

func (StatusGet200Response) ToMap

func (o StatusGet200Response) ToMap() (map[string]interface{}, error)

func (*StatusGet200Response) UnmarshalJSON

func (o *StatusGet200Response) UnmarshalJSON(data []byte) (err error)

type StatusGet200ResponseCpuInner

type StatusGet200ResponseCpuInner struct {
	// The core number
	Core int32 `json:"core"`
	// The total amount of CPU available on the core
	Total int32 `json:"total"`
	// The amount of CPU used on the core
	Used int32 `json:"used"`
}

StatusGet200ResponseCpuInner CPU usage information about a specific core

func NewStatusGet200ResponseCpuInner

func NewStatusGet200ResponseCpuInner(core int32, total int32, used int32) *StatusGet200ResponseCpuInner

NewStatusGet200ResponseCpuInner instantiates a new StatusGet200ResponseCpuInner 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 NewStatusGet200ResponseCpuInnerWithDefaults

func NewStatusGet200ResponseCpuInnerWithDefaults() *StatusGet200ResponseCpuInner

NewStatusGet200ResponseCpuInnerWithDefaults instantiates a new StatusGet200ResponseCpuInner 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 (*StatusGet200ResponseCpuInner) GetCore

func (o *StatusGet200ResponseCpuInner) GetCore() int32

GetCore returns the Core field value

func (*StatusGet200ResponseCpuInner) GetCoreOk

func (o *StatusGet200ResponseCpuInner) GetCoreOk() (*int32, bool)

GetCoreOk returns a tuple with the Core field value and a boolean to check if the value has been set.

func (*StatusGet200ResponseCpuInner) GetTotal

func (o *StatusGet200ResponseCpuInner) GetTotal() int32

GetTotal returns the Total field value

func (*StatusGet200ResponseCpuInner) GetTotalOk

func (o *StatusGet200ResponseCpuInner) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (*StatusGet200ResponseCpuInner) GetUsed

func (o *StatusGet200ResponseCpuInner) GetUsed() int32

GetUsed returns the Used field value

func (*StatusGet200ResponseCpuInner) GetUsedOk

func (o *StatusGet200ResponseCpuInner) GetUsedOk() (*int32, bool)

GetUsedOk returns a tuple with the Used field value and a boolean to check if the value has been set.

func (StatusGet200ResponseCpuInner) MarshalJSON

func (o StatusGet200ResponseCpuInner) MarshalJSON() ([]byte, error)

func (*StatusGet200ResponseCpuInner) SetCore

func (o *StatusGet200ResponseCpuInner) SetCore(v int32)

SetCore sets field value

func (*StatusGet200ResponseCpuInner) SetTotal

func (o *StatusGet200ResponseCpuInner) SetTotal(v int32)

SetTotal sets field value

func (*StatusGet200ResponseCpuInner) SetUsed

func (o *StatusGet200ResponseCpuInner) SetUsed(v int32)

SetUsed sets field value

func (StatusGet200ResponseCpuInner) ToMap

func (o StatusGet200ResponseCpuInner) ToMap() (map[string]interface{}, error)

func (*StatusGet200ResponseCpuInner) UnmarshalJSON

func (o *StatusGet200ResponseCpuInner) UnmarshalJSON(data []byte) (err error)

type StatusGet200ResponseMemory

type StatusGet200ResponseMemory struct {
	// The total amount of memory available on the rover in megabytes
	Total int32 `json:"total"`
	// The amount of memory used on the rover in megabytes
	Used int32 `json:"used"`
}

StatusGet200ResponseMemory Memory usage information

func NewStatusGet200ResponseMemory

func NewStatusGet200ResponseMemory(total int32, used int32) *StatusGet200ResponseMemory

NewStatusGet200ResponseMemory instantiates a new StatusGet200ResponseMemory 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 NewStatusGet200ResponseMemoryWithDefaults

func NewStatusGet200ResponseMemoryWithDefaults() *StatusGet200ResponseMemory

NewStatusGet200ResponseMemoryWithDefaults instantiates a new StatusGet200ResponseMemory 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 (*StatusGet200ResponseMemory) GetTotal

func (o *StatusGet200ResponseMemory) GetTotal() int32

GetTotal returns the Total field value

func (*StatusGet200ResponseMemory) GetTotalOk

func (o *StatusGet200ResponseMemory) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (*StatusGet200ResponseMemory) GetUsed

func (o *StatusGet200ResponseMemory) GetUsed() int32

GetUsed returns the Used field value

func (*StatusGet200ResponseMemory) GetUsedOk

func (o *StatusGet200ResponseMemory) GetUsedOk() (*int32, bool)

GetUsedOk returns a tuple with the Used field value and a boolean to check if the value has been set.

func (StatusGet200ResponseMemory) MarshalJSON

func (o StatusGet200ResponseMemory) MarshalJSON() ([]byte, error)

func (*StatusGet200ResponseMemory) SetTotal

func (o *StatusGet200ResponseMemory) SetTotal(v int32)

SetTotal sets field value

func (*StatusGet200ResponseMemory) SetUsed

func (o *StatusGet200ResponseMemory) SetUsed(v int32)

SetUsed sets field value

func (StatusGet200ResponseMemory) ToMap

func (o StatusGet200ResponseMemory) ToMap() (map[string]interface{}, error)

func (*StatusGet200ResponseMemory) UnmarshalJSON

func (o *StatusGet200ResponseMemory) UnmarshalJSON(data []byte) (err error)

type UnmetServiceError

type UnmetServiceError struct {
	Source *string `json:"source,omitempty"`
	Target *string `json:"target,omitempty"`
}

UnmetServiceError UnmetServiceError

func NewUnmetServiceError

func NewUnmetServiceError() *UnmetServiceError

NewUnmetServiceError instantiates a new UnmetServiceError 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 NewUnmetServiceErrorWithDefaults

func NewUnmetServiceErrorWithDefaults() *UnmetServiceError

NewUnmetServiceErrorWithDefaults instantiates a new UnmetServiceError 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 (*UnmetServiceError) GetSource

func (o *UnmetServiceError) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*UnmetServiceError) GetSourceOk

func (o *UnmetServiceError) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UnmetServiceError) GetTarget

func (o *UnmetServiceError) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*UnmetServiceError) GetTargetOk

func (o *UnmetServiceError) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UnmetServiceError) HasSource

func (o *UnmetServiceError) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*UnmetServiceError) HasTarget

func (o *UnmetServiceError) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (UnmetServiceError) MarshalJSON

func (o UnmetServiceError) MarshalJSON() ([]byte, error)

func (*UnmetServiceError) SetSource

func (o *UnmetServiceError) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*UnmetServiceError) SetTarget

func (o *UnmetServiceError) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (UnmetServiceError) ToMap

func (o UnmetServiceError) ToMap() (map[string]interface{}, error)

type UnmetStreamError

type UnmetStreamError struct {
	Source *string `json:"source,omitempty"`
	Target *string `json:"target,omitempty"`
	Stream *string `json:"stream,omitempty"`
}

UnmetStreamError UnmetStreamError

func NewUnmetStreamError

func NewUnmetStreamError() *UnmetStreamError

NewUnmetStreamError instantiates a new UnmetStreamError 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 NewUnmetStreamErrorWithDefaults

func NewUnmetStreamErrorWithDefaults() *UnmetStreamError

NewUnmetStreamErrorWithDefaults instantiates a new UnmetStreamError 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 (*UnmetStreamError) GetSource

func (o *UnmetStreamError) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*UnmetStreamError) GetSourceOk

func (o *UnmetStreamError) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UnmetStreamError) GetStream

func (o *UnmetStreamError) GetStream() string

GetStream returns the Stream field value if set, zero value otherwise.

func (*UnmetStreamError) GetStreamOk

func (o *UnmetStreamError) GetStreamOk() (*string, bool)

GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UnmetStreamError) GetTarget

func (o *UnmetStreamError) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*UnmetStreamError) GetTargetOk

func (o *UnmetStreamError) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UnmetStreamError) HasSource

func (o *UnmetStreamError) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*UnmetStreamError) HasStream

func (o *UnmetStreamError) HasStream() bool

HasStream returns a boolean if a field has been set.

func (*UnmetStreamError) HasTarget

func (o *UnmetStreamError) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (UnmetStreamError) MarshalJSON

func (o UnmetStreamError) MarshalJSON() ([]byte, error)

func (*UnmetStreamError) SetSource

func (o *UnmetStreamError) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (*UnmetStreamError) SetStream

func (o *UnmetStreamError) SetStream(v string)

SetStream gets a reference to the given string and assigns it to the Stream field.

func (*UnmetStreamError) SetTarget

func (o *UnmetStreamError) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (UnmetStreamError) ToMap

func (o UnmetStreamError) ToMap() (map[string]interface{}, error)

type UpdatePost200Response

type UpdatePost200Response struct {
	// The version of the roverd daemon updated to
	Version string `json:"version"`
}

UpdatePost200Response struct for UpdatePost200Response

func NewUpdatePost200Response

func NewUpdatePost200Response(version string) *UpdatePost200Response

NewUpdatePost200Response instantiates a new UpdatePost200Response 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 NewUpdatePost200ResponseWithDefaults

func NewUpdatePost200ResponseWithDefaults() *UpdatePost200Response

NewUpdatePost200ResponseWithDefaults instantiates a new UpdatePost200Response 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 (*UpdatePost200Response) GetVersion

func (o *UpdatePost200Response) GetVersion() string

GetVersion returns the Version field value

func (*UpdatePost200Response) GetVersionOk

func (o *UpdatePost200Response) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (UpdatePost200Response) MarshalJSON

func (o UpdatePost200Response) MarshalJSON() ([]byte, error)

func (*UpdatePost200Response) SetVersion

func (o *UpdatePost200Response) SetVersion(v string)

SetVersion sets field value

func (UpdatePost200Response) ToMap

func (o UpdatePost200Response) ToMap() (map[string]interface{}, error)

func (*UpdatePost200Response) UnmarshalJSON

func (o *UpdatePost200Response) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL