ionoscloud

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 27 Imported by: 5

README

Go API client for ionoscloud

Logging as a Service (LaaS) is a service that provides a centralized logging system where users are able to push and aggregate their system or application logs. This service also provides a visualization platform where users are able to observe, search and filter the logs and also create dashboards and alerts for their data points. This service can be managed through a browser-based "Data Center Designer" (DCD) tool or via an API. The API allows you to create logging pipelines or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.

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: 0.0.1
  • Package version: 1.0.1
  • 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 ionoscloud "github.com/ionos-cloud/sdk-go-logging"

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 sw.ContextServerIndex of type int.

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

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

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

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

Documentation for API Endpoints

All URIs are relative to https://logging.de-txl.ionos.com

Class Method HTTP request Description
PipelinesApi PipelinesDelete Delete /pipelines/{pipelineId} Delete a pipeline
PipelinesApi PipelinesFindById Get /pipelines/{pipelineId} Fetch a pipeline
PipelinesApi PipelinesGet Get /pipelines List pipelines
PipelinesApi PipelinesKeyPost Post /pipelines/{pipelineId}/key Renews the key of a Pipeline
PipelinesApi PipelinesPatch Patch /pipelines/{pipelineId} Patch a pipeline
PipelinesApi PipelinesPost Post /pipelines Create a pipeline

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
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

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "1.0.1"
)
View Source
const (
	IonosUsernameEnvVar   = "IONOS_USERNAME"
	IonosPasswordEnvVar   = "IONOS_PASSWORD"
	IonosTokenEnvVar      = "IONOS_TOKEN"
	IonosApiUrlEnvVar     = "IONOS_API_URL"
	IonosPinnedCertEnvVar = "IONOS_PINNED_CERT"
	IonosLogLevelEnvVar   = "IONOS_LOG_LEVEL"
	DefaultIonosServerUrl = "https://logging.de-txl.ionos.com"
	DefaultIonosBasePath  = ""
)

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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 LogLevelMap = map[string]LogLevel{
	"off":   Off,
	"debug": Debug,
	"trace": Trace,
}

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

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 - returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 - returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 - returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt - returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 - returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 - returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString - returns a pointer to given string value.

func PtrTime

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

PtrTime - returns a pointer to given Time value.

func SliceToValueDefault

func SliceToValueDefault[T any](ptrSlice *[]T) []T

func ToBool

func ToBool(ptr *bool) bool

ToBool - returns the value of the bool pointer passed in

func ToBoolDefault

func ToBoolDefault(ptr *bool) bool

ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil

func ToBoolSlice

func ToBoolSlice(ptrSlice *[]bool) []bool

ToBoolSlice - returns a bool slice of the pointer passed in

func ToByte

func ToByte(ptr *byte) byte

ToByte - returns the value of the byte pointer passed in

func ToByteDefault

func ToByteDefault(ptr *byte) byte

ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil

func ToByteSlice

func ToByteSlice(ptrSlice *[]byte) []byte

ToByteSlice - returns a byte slice of the pointer passed in

func ToFloat32

func ToFloat32(ptr *float32) float32

ToFloat32 - returns the value of the float32 pointer passed in

func ToFloat32Default

func ToFloat32Default(ptr *float32) float32

ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil

func ToFloat32Slice

func ToFloat32Slice(ptrSlice *[]float32) []float32

ToFloat32Slice - returns a float32 slice of the pointer passed in

func ToFloat64

func ToFloat64(ptr *float64) float64

ToFloat64 - returns the value of the float64 pointer passed in

func ToFloat64Default

func ToFloat64Default(ptr *float64) float64

ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil

func ToFloat64Slice

func ToFloat64Slice(ptrSlice *[]float64) []float64

ToFloat64Slice - returns a float64 slice of the pointer passed in

func ToInt

func ToInt(ptr *int) int

ToInt - returns the value of the int pointer passed in

func ToInt16

func ToInt16(ptr *int16) int16

ToInt16 - returns the value of the int16 pointer passed in

func ToInt16Default

func ToInt16Default(ptr *int16) int16

ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil

func ToInt16Slice

func ToInt16Slice(ptrSlice *[]int16) []int16

ToInt16Slice - returns a int16 slice of the pointer passed in

func ToInt32

func ToInt32(ptr *int32) int32

ToInt32 - returns the value of the int32 pointer passed in

func ToInt32Default

func ToInt32Default(ptr *int32) int32

ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil

func ToInt32Slice

func ToInt32Slice(ptrSlice *[]int32) []int32

ToInt32Slice - returns a int32 slice of the pointer passed in

func ToInt64

func ToInt64(ptr *int64) int64

ToInt64 - returns the value of the int64 pointer passed in

func ToInt64Default

func ToInt64Default(ptr *int64) int64

ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil

func ToInt64Slice

func ToInt64Slice(ptrSlice *[]int64) []int64

ToInt64Slice - returns a int64 slice of the pointer passed in

func ToInt8

func ToInt8(ptr *int8) int8

ToInt8 - returns the value of the int8 pointer passed in

func ToInt8Default

func ToInt8Default(ptr *int8) int8

ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil

func ToInt8Slice

func ToInt8Slice(ptrSlice *[]int8) []int8

ToInt8Slice - returns a int8 slice of the pointer passed in

func ToIntDefault

func ToIntDefault(ptr *int) int

ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil

func ToIntSlice

func ToIntSlice(ptrSlice *[]int) []int

ToIntSlice - returns a int slice of the pointer passed in

func ToPtr

func ToPtr[T any](v T) *T

ToPtr - returns a pointer to the given value.

func ToString

func ToString(ptr *string) string

ToString - returns the value of the string pointer passed in

func ToStringDefault

func ToStringDefault(ptr *string) string

ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil

func ToStringSlice

func ToStringSlice(ptrSlice *[]string) []string

ToStringSlice - returns a string slice of the pointer passed in

func ToTime

func ToTime(ptr *time.Time) time.Time

ToTime - returns the value of the Time pointer passed in

func ToTimeDefault

func ToTimeDefault(ptr *time.Time) time.Time

ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil

func ToTimeSlice

func ToTimeSlice(ptrSlice *[]time.Time) []time.Time

ToTimeSlice - returns a Time slice of the pointer passed in

func ToUint

func ToUint(ptr *uint) uint

ToUint - returns the value of the uint pointer passed in

func ToUint16

func ToUint16(ptr *uint16) uint16

ToUint16 - returns the value of the uint16 pointer passed in

func ToUint16Default

func ToUint16Default(ptr *uint16) uint16

ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil

func ToUint16Slice

func ToUint16Slice(ptrSlice *[]uint16) []uint16

ToUint16Slice - returns a uint16 slice of the pointer passed in

func ToUint32

func ToUint32(ptr *uint32) uint32

ToUint32 - returns the value of the uint32 pointer passed in

func ToUint32Default

func ToUint32Default(ptr *uint32) uint32

ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil

func ToUint32Slice

func ToUint32Slice(ptrSlice *[]uint32) []uint32

ToUint32Slice - returns a uint32 slice of the pointer passed in

func ToUint64

func ToUint64(ptr *uint64) uint64

ToUint64 - returns the value of the uint64 pointer passed in

func ToUint64Default

func ToUint64Default(ptr *uint64) uint64

ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil

func ToUint64Slice

func ToUint64Slice(ptrSlice *[]uint64) []uint64

ToUint64Slice - returns a uint63 slice of the pointer passed in

func ToUint8

func ToUint8(ptr *uint8) uint8

ToUint8 -returns the value of the uint8 pointer passed in

func ToUint8Default

func ToUint8Default(ptr *uint8) uint8

ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil

func ToUint8Slice

func ToUint8Slice(ptrSlice *[]uint8) []uint8

ToUint8Slice - returns a uint8 slice of the pointer passed in

func ToUintDefault

func ToUintDefault(ptr *uint) uint

ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil

func ToUintSlice

func ToUintSlice(ptrSlice *[]uint) []uint

ToUintSlice - returns a uint slice of the pointer passed in

func ToValue

func ToValue[T any](ptr *T) T

ToValue - returns the value of the pointer passed in

func ToValueDefault

func ToValueDefault[T any](ptr *T) T

ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil

Types

type APIClient

type APIClient struct {
	PipelinesApi *PipelinesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Logging REST API API v0.0.1 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"`
	// RequestTime is the time duration from the moment the APIClient sends
	// the HTTP request to the moment it receives an HTTP response.
	RequestTime time.Duration `json:"duration,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.

func (*APIResponse) HttpNotFound

func (resp *APIResponse) HttpNotFound() bool

HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values

func (*APIResponse) LogInfo

func (resp *APIResponse) LogInfo()

LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values

type ApiPipelinesDeleteRequest

type ApiPipelinesDeleteRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesDeleteRequest) Execute

type ApiPipelinesFindByIdRequest

type ApiPipelinesFindByIdRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesFindByIdRequest) Execute

type ApiPipelinesGetRequest

type ApiPipelinesGetRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesGetRequest) Execute

func (ApiPipelinesGetRequest) Limit

func (ApiPipelinesGetRequest) Offset

func (ApiPipelinesGetRequest) OrderBy

type ApiPipelinesKeyPostRequest added in v1.0.1

type ApiPipelinesKeyPostRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesKeyPostRequest) Execute added in v1.0.1

type ApiPipelinesPatchRequest

type ApiPipelinesPatchRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesPatchRequest) Execute

func (ApiPipelinesPatchRequest) Pipeline

type ApiPipelinesPostRequest

type ApiPipelinesPostRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (ApiPipelinesPostRequest) Execute

func (ApiPipelinesPostRequest) Pipeline

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"`
	DefaultQueryParams url.Values        `json:"defaultQueryParams,omitempty"`
	UserAgent          string            `json:"userAgent,omitempty"`
	Debug              bool              `json:"debug,omitempty"`
	Servers            ServerConfigurations
	OperationServers   map[string]ServerConfigurations
	HTTPClient         *http.Client
	LogLevel           LogLevel
	Logger             Logger
	Username           string        `json:"username,omitempty"`
	Password           string        `json:"password,omitempty"`
	Token              string        `json:"token,omitempty"`
	MaxRetries         int           `json:"maxRetries,omitempty"`
	WaitTime           time.Duration `json:"waitTime,omitempty"`
	MaxWaitTime        time.Duration `json:"maxWaitTime,omitempty"`
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration(username, password, token, hostUrl string) *Configuration

NewConfiguration returns a new Configuration object

func NewConfigurationFromEnv

func NewConfigurationFromEnv() *Configuration

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

func (c *Configuration) AddDefaultQueryParam(key string, value string)

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 Destination

type Destination struct {
	// The internal output stream to send logs to
	Type *string `json:"type,omitempty"`
	// defines the number of days a log record should be kept in loki. Works with loki destination type only.
	RetentionInDays *int32 `json:"retentionInDays,omitempty"`
}

Destination The information of the logging aggregator storage

func NewDestination

func NewDestination() *Destination

NewDestination instantiates a new Destination 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 NewDestinationWithDefaults

func NewDestinationWithDefaults() *Destination

NewDestinationWithDefaults instantiates a new Destination 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 (*Destination) GetRetentionInDays

func (o *Destination) GetRetentionInDays() *int32

GetRetentionInDays returns the RetentionInDays field value If the value is explicit nil, the zero value for int32 will be returned

func (*Destination) GetRetentionInDaysOk

func (o *Destination) GetRetentionInDaysOk() (*int32, bool)

GetRetentionInDaysOk returns a tuple with the RetentionInDays field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Destination) GetType

func (o *Destination) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*Destination) GetTypeOk

func (o *Destination) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Destination) HasRetentionInDays

func (o *Destination) HasRetentionInDays() bool

HasRetentionInDays returns a boolean if a field has been set.

func (*Destination) HasType

func (o *Destination) HasType() bool

HasType returns a boolean if a field has been set.

func (Destination) MarshalJSON

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

func (*Destination) SetRetentionInDays

func (o *Destination) SetRetentionInDays(v int32)

SetRetentionInDays sets field value

func (*Destination) SetType

func (o *Destination) SetType(v string)

SetType sets field value

type ErrorMessage

type ErrorMessage struct {
	// Application internal error code
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human readable explanation specific to this occurrence of the problem.
	Message *string `json:"message,omitempty"`
}

ErrorMessage struct for ErrorMessage

func NewErrorMessage

func NewErrorMessage() *ErrorMessage

NewErrorMessage instantiates a new ErrorMessage 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 NewErrorMessageWithDefaults

func NewErrorMessageWithDefaults() *ErrorMessage

NewErrorMessageWithDefaults instantiates a new ErrorMessage 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 (*ErrorMessage) GetErrorCode

func (o *ErrorMessage) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetErrorCodeOk

func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetMessageOk

func (o *ErrorMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorMessage) HasErrorCode

func (o *ErrorMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessage) HasMessage

func (o *ErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessage) MarshalJSON

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

func (*ErrorMessage) SetErrorCode

func (o *ErrorMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage sets field value

type ErrorResponse

type ErrorResponse struct {
	// HTTP status code of the operation
	HttpStatus *int32          `json:"httpStatus,omitempty"`
	Messages   *[]ErrorMessage `json:"messages,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetHttpStatus

func (o *ErrorResponse) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*ErrorResponse) GetHttpStatusOk

func (o *ErrorResponse) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorResponse) GetMessages

func (o *ErrorResponse) GetMessages() *[]ErrorMessage

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned

func (*ErrorResponse) GetMessagesOk

func (o *ErrorResponse) GetMessagesOk() (*[]ErrorMessage, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorResponse) HasHttpStatus

func (o *ErrorResponse) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ErrorResponse) HasMessages

func (o *ErrorResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetHttpStatus

func (o *ErrorResponse) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ErrorResponse) SetMessages

func (o *ErrorResponse) SetMessages(v []ErrorMessage)

SetMessages sets field value

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func NewGenericOpenAPIError

func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError

NewGenericOpenAPIError - constructor for GenericOpenAPIError

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

func (*GenericOpenAPIError) SetBody

func (e *GenericOpenAPIError) SetBody(body []byte)

SetBody sets the raw body of the error

func (*GenericOpenAPIError) SetError

func (e *GenericOpenAPIError) SetError(error string)

SetError sets the error string

func (*GenericOpenAPIError) SetModel

func (e *GenericOpenAPIError) SetModel(model interface{})

SetModel sets the model of the error

func (*GenericOpenAPIError) SetStatusCode

func (e *GenericOpenAPIError) SetStatusCode(statusCode int)

SetStatusCode sets the status code of the error

func (GenericOpenAPIError) StatusCode

func (e GenericOpenAPIError) StatusCode() int

StatusCode returns the status code of the error

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error

type LogLevel

type LogLevel uint
const (
	Off LogLevel = 0x100 * iota
	Debug
	// Trace We recommend you only set this field for debugging purposes.
	// Disable it in your production environments because it can log sensitive data.
	// It logs the full request and response without encryption, even for an HTTPS call.
	// Verbose request and response logging can also significantly impact your application's performance.
	Trace
)

func (*LogLevel) Get

func (l *LogLevel) Get() LogLevel

func (*LogLevel) Satisfies

func (l *LogLevel) Satisfies(v LogLevel) bool

Satisfies returns true if this LogLevel is at least high enough for v

type Logger

type Logger interface {
	Printf(format string, args ...interface{})
}

func NewDefaultLogger

func NewDefaultLogger() Logger

type Metadata

type Metadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate       *IonosTime `json:"createdDate,omitempty"`
	CreatedBy         *string    `json:"createdBy,omitempty"`
	CreatedByUserId   *string    `json:"createdByUserId,omitempty"`
	CreatedByUserUuid *string    `json:"createdByUserUuid,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate       *IonosTime `json:"lastModifiedDate,omitempty"`
	LastModifiedBy         *string    `json:"lastModifiedBy,omitempty"`
	LastModifiedByUserId   *string    `json:"lastModifiedByUserId,omitempty"`
	LastModifiedByUserUuid *string    `json:"lastModifiedByUserUuid,omitempty"`
	// The current state reported back by the pipeline.
	State *string `json:"state,omitempty"`
}

Metadata Metadata of the resource

func NewMetadata

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedByUserUuid

func (o *Metadata) GetCreatedByUserUuid() *string

GetCreatedByUserUuid returns the CreatedByUserUuid field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserUuidOk

func (o *Metadata) GetCreatedByUserUuidOk() (*string, bool)

GetCreatedByUserUuidOk returns a tuple with the CreatedByUserUuid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedByUserUuid

func (o *Metadata) GetLastModifiedByUserUuid() *string

GetLastModifiedByUserUuid returns the LastModifiedByUserUuid field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserUuidOk

func (o *Metadata) GetLastModifiedByUserUuidOk() (*string, bool)

GetLastModifiedByUserUuidOk returns a tuple with the LastModifiedByUserUuid field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetState added in v1.0.1

func (o *Metadata) GetState() *string

GetState returns the State field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetStateOk added in v1.0.1

func (o *Metadata) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserUuid

func (o *Metadata) HasCreatedByUserUuid() bool

HasCreatedByUserUuid returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserUuid

func (o *Metadata) HasLastModifiedByUserUuid() bool

HasLastModifiedByUserUuid returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasState added in v1.0.1

func (o *Metadata) HasState() bool

HasState returns a boolean if a field has been set.

func (Metadata) MarshalJSON

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

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedByUserUuid

func (o *Metadata) SetCreatedByUserUuid(v string)

SetCreatedByUserUuid sets field value

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedByUserUuid

func (o *Metadata) SetLastModifiedByUserUuid(v string)

SetLastModifiedByUserUuid sets field value

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*Metadata) SetState added in v1.0.1

func (o *Metadata) SetState(v string)

SetState sets field value

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 NullableDestination

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

func NewNullableDestination

func NewNullableDestination(val *Destination) *NullableDestination

func (NullableDestination) Get

func (NullableDestination) IsSet

func (v NullableDestination) IsSet() bool

func (NullableDestination) MarshalJSON

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

func (*NullableDestination) Set

func (v *NullableDestination) Set(val *Destination)

func (*NullableDestination) UnmarshalJSON

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

func (*NullableDestination) Unset

func (v *NullableDestination) Unset()

type NullableErrorMessage

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

func NewNullableErrorMessage

func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage

func (NullableErrorMessage) Get

func (NullableErrorMessage) IsSet

func (v NullableErrorMessage) IsSet() bool

func (NullableErrorMessage) MarshalJSON

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

func (*NullableErrorMessage) Set

func (v *NullableErrorMessage) Set(val *ErrorMessage)

func (*NullableErrorMessage) UnmarshalJSON

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

func (*NullableErrorMessage) Unset

func (v *NullableErrorMessage) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 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 NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullablePipeline

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

func NewNullablePipeline

func NewNullablePipeline(val *Pipeline) *NullablePipeline

func (NullablePipeline) Get

func (v NullablePipeline) Get() *Pipeline

func (NullablePipeline) IsSet

func (v NullablePipeline) IsSet() bool

func (NullablePipeline) MarshalJSON

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

func (*NullablePipeline) Set

func (v *NullablePipeline) Set(val *Pipeline)

func (*NullablePipeline) UnmarshalJSON

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

func (*NullablePipeline) Unset

func (v *NullablePipeline) Unset()

type NullablePipelineCreate added in v1.0.1

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

func NewNullablePipelineCreate added in v1.0.1

func NewNullablePipelineCreate(val *PipelineCreate) *NullablePipelineCreate

func (NullablePipelineCreate) Get added in v1.0.1

func (NullablePipelineCreate) IsSet added in v1.0.1

func (v NullablePipelineCreate) IsSet() bool

func (NullablePipelineCreate) MarshalJSON added in v1.0.1

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

func (*NullablePipelineCreate) Set added in v1.0.1

func (*NullablePipelineCreate) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelineCreate) Unset added in v1.0.1

func (v *NullablePipelineCreate) Unset()

type NullablePipelineCreateProperties added in v1.0.1

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

func NewNullablePipelineCreateProperties added in v1.0.1

func NewNullablePipelineCreateProperties(val *PipelineCreateProperties) *NullablePipelineCreateProperties

func (NullablePipelineCreateProperties) Get added in v1.0.1

func (NullablePipelineCreateProperties) IsSet added in v1.0.1

func (NullablePipelineCreateProperties) MarshalJSON added in v1.0.1

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

func (*NullablePipelineCreateProperties) Set added in v1.0.1

func (*NullablePipelineCreateProperties) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelineCreateProperties) Unset added in v1.0.1

type NullablePipelineCreatePropertiesLogs added in v1.0.1

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

func NewNullablePipelineCreatePropertiesLogs added in v1.0.1

func NewNullablePipelineCreatePropertiesLogs(val *PipelineCreatePropertiesLogs) *NullablePipelineCreatePropertiesLogs

func (NullablePipelineCreatePropertiesLogs) Get added in v1.0.1

func (NullablePipelineCreatePropertiesLogs) IsSet added in v1.0.1

func (NullablePipelineCreatePropertiesLogs) MarshalJSON added in v1.0.1

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

func (*NullablePipelineCreatePropertiesLogs) Set added in v1.0.1

func (*NullablePipelineCreatePropertiesLogs) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelineCreatePropertiesLogs) Unset added in v1.0.1

type NullablePipelineListResponse

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

func NewNullablePipelineListResponse

func NewNullablePipelineListResponse(val *PipelineListResponse) *NullablePipelineListResponse

func (NullablePipelineListResponse) Get

func (NullablePipelineListResponse) IsSet

func (NullablePipelineListResponse) MarshalJSON

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

func (*NullablePipelineListResponse) Set

func (*NullablePipelineListResponse) UnmarshalJSON

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

func (*NullablePipelineListResponse) Unset

func (v *NullablePipelineListResponse) Unset()

type NullablePipelinePatch added in v1.0.1

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

func NewNullablePipelinePatch added in v1.0.1

func NewNullablePipelinePatch(val *PipelinePatch) *NullablePipelinePatch

func (NullablePipelinePatch) Get added in v1.0.1

func (NullablePipelinePatch) IsSet added in v1.0.1

func (v NullablePipelinePatch) IsSet() bool

func (NullablePipelinePatch) MarshalJSON added in v1.0.1

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

func (*NullablePipelinePatch) Set added in v1.0.1

func (v *NullablePipelinePatch) Set(val *PipelinePatch)

func (*NullablePipelinePatch) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelinePatch) Unset added in v1.0.1

func (v *NullablePipelinePatch) Unset()

type NullablePipelinePatchProperties added in v1.0.1

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

func NewNullablePipelinePatchProperties added in v1.0.1

func NewNullablePipelinePatchProperties(val *PipelinePatchProperties) *NullablePipelinePatchProperties

func (NullablePipelinePatchProperties) Get added in v1.0.1

func (NullablePipelinePatchProperties) IsSet added in v1.0.1

func (NullablePipelinePatchProperties) MarshalJSON added in v1.0.1

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

func (*NullablePipelinePatchProperties) Set added in v1.0.1

func (*NullablePipelinePatchProperties) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelinePatchProperties) Unset added in v1.0.1

type NullablePipelineProperties

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

func NewNullablePipelineProperties

func NewNullablePipelineProperties(val *PipelineProperties) *NullablePipelineProperties

func (NullablePipelineProperties) Get

func (NullablePipelineProperties) IsSet

func (v NullablePipelineProperties) IsSet() bool

func (NullablePipelineProperties) MarshalJSON

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

func (*NullablePipelineProperties) Set

func (*NullablePipelineProperties) UnmarshalJSON

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

func (*NullablePipelineProperties) Unset

func (v *NullablePipelineProperties) Unset()

type NullablePipelineResponse added in v1.0.1

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

func NewNullablePipelineResponse added in v1.0.1

func NewNullablePipelineResponse(val *PipelineResponse) *NullablePipelineResponse

func (NullablePipelineResponse) Get added in v1.0.1

func (NullablePipelineResponse) IsSet added in v1.0.1

func (v NullablePipelineResponse) IsSet() bool

func (NullablePipelineResponse) MarshalJSON added in v1.0.1

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

func (*NullablePipelineResponse) Set added in v1.0.1

func (*NullablePipelineResponse) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelineResponse) Unset added in v1.0.1

func (v *NullablePipelineResponse) Unset()

type NullablePipelineResponseAllOf added in v1.0.1

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

func NewNullablePipelineResponseAllOf added in v1.0.1

func NewNullablePipelineResponseAllOf(val *PipelineResponseAllOf) *NullablePipelineResponseAllOf

func (NullablePipelineResponseAllOf) Get added in v1.0.1

func (NullablePipelineResponseAllOf) IsSet added in v1.0.1

func (NullablePipelineResponseAllOf) MarshalJSON added in v1.0.1

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

func (*NullablePipelineResponseAllOf) Set added in v1.0.1

func (*NullablePipelineResponseAllOf) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelineResponseAllOf) Unset added in v1.0.1

func (v *NullablePipelineResponseAllOf) Unset()

type NullablePipelineResponseAllOf1 added in v1.0.1

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

func NewNullablePipelineResponseAllOf1 added in v1.0.1

func NewNullablePipelineResponseAllOf1(val *PipelineResponseAllOf1) *NullablePipelineResponseAllOf1

func (NullablePipelineResponseAllOf1) Get added in v1.0.1

func (NullablePipelineResponseAllOf1) IsSet added in v1.0.1

func (NullablePipelineResponseAllOf1) MarshalJSON added in v1.0.1

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

func (*NullablePipelineResponseAllOf1) Set added in v1.0.1

func (*NullablePipelineResponseAllOf1) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelineResponseAllOf1) Unset added in v1.0.1

func (v *NullablePipelineResponseAllOf1) Unset()

type NullablePipelinesKeyPost200Response added in v1.0.1

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

func NewNullablePipelinesKeyPost200Response added in v1.0.1

func NewNullablePipelinesKeyPost200Response(val *PipelinesKeyPost200Response) *NullablePipelinesKeyPost200Response

func (NullablePipelinesKeyPost200Response) Get added in v1.0.1

func (NullablePipelinesKeyPost200Response) IsSet added in v1.0.1

func (NullablePipelinesKeyPost200Response) MarshalJSON added in v1.0.1

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

func (*NullablePipelinesKeyPost200Response) Set added in v1.0.1

func (*NullablePipelinesKeyPost200Response) UnmarshalJSON added in v1.0.1

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

func (*NullablePipelinesKeyPost200Response) Unset added in v1.0.1

type NullableProcessor

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

func NewNullableProcessor

func NewNullableProcessor(val *Processor) *NullableProcessor

func (NullableProcessor) Get

func (v NullableProcessor) Get() *Processor

func (NullableProcessor) IsSet

func (v NullableProcessor) IsSet() bool

func (NullableProcessor) MarshalJSON

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

func (*NullableProcessor) Set

func (v *NullableProcessor) Set(val *Processor)

func (*NullableProcessor) UnmarshalJSON

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

func (*NullableProcessor) Unset

func (v *NullableProcessor) 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 Pipeline

type Pipeline struct {
	// The unique ID of the resource.
	Id         *string             `json:"id,omitempty"`
	Metadata   *Metadata           `json:"metadata,omitempty"`
	Properties *PipelineProperties `json:"properties,omitempty"`
}

Pipeline pipeline response

func NewPipeline

func NewPipeline() *Pipeline

NewPipeline instantiates a new Pipeline 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 NewPipelineWithDefaults

func NewPipelineWithDefaults() *Pipeline

NewPipelineWithDefaults instantiates a new Pipeline 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 (*Pipeline) GetId

func (o *Pipeline) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*Pipeline) GetIdOk

func (o *Pipeline) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Pipeline) GetMetadata

func (o *Pipeline) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*Pipeline) GetMetadataOk

func (o *Pipeline) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Pipeline) GetProperties

func (o *Pipeline) GetProperties() *PipelineProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PipelineProperties will be returned

func (*Pipeline) GetPropertiesOk

func (o *Pipeline) GetPropertiesOk() (*PipelineProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Pipeline) HasId

func (o *Pipeline) HasId() bool

HasId returns a boolean if a field has been set.

func (*Pipeline) HasMetadata

func (o *Pipeline) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Pipeline) HasProperties

func (o *Pipeline) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (Pipeline) MarshalJSON

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

func (*Pipeline) SetId

func (o *Pipeline) SetId(v string)

SetId sets field value

func (*Pipeline) SetMetadata

func (o *Pipeline) SetMetadata(v Metadata)

SetMetadata sets field value

func (*Pipeline) SetProperties

func (o *Pipeline) SetProperties(v PipelineProperties)

SetProperties sets field value

type PipelineCreate added in v1.0.1

type PipelineCreate struct {
	Properties *PipelineCreateProperties `json:"properties"`
}

PipelineCreate Request payload with all data needed to create a new logging pipeline

func NewPipelineCreate added in v1.0.1

func NewPipelineCreate(properties PipelineCreateProperties) *PipelineCreate

NewPipelineCreate instantiates a new PipelineCreate 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 NewPipelineCreateWithDefaults added in v1.0.1

func NewPipelineCreateWithDefaults() *PipelineCreate

NewPipelineCreateWithDefaults instantiates a new PipelineCreate 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 (*PipelineCreate) GetProperties added in v1.0.1

func (o *PipelineCreate) GetProperties() *PipelineCreateProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PipelineCreateProperties will be returned

func (*PipelineCreate) GetPropertiesOk added in v1.0.1

func (o *PipelineCreate) GetPropertiesOk() (*PipelineCreateProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreate) HasProperties added in v1.0.1

func (o *PipelineCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PipelineCreate) MarshalJSON added in v1.0.1

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

func (*PipelineCreate) SetProperties added in v1.0.1

func (o *PipelineCreate) SetProperties(v PipelineCreateProperties)

SetProperties sets field value

type PipelineCreateProperties added in v1.0.1

type PipelineCreateProperties struct {
	// The friendly name of your pipeline.
	Name *string `json:"name"`
	// The information of the log pipelines
	Logs *[]PipelineCreatePropertiesLogs `json:"logs"`
}

PipelineCreateProperties Create pipeline properties

func NewPipelineCreateProperties added in v1.0.1

func NewPipelineCreateProperties(name string, logs []PipelineCreatePropertiesLogs) *PipelineCreateProperties

NewPipelineCreateProperties instantiates a new PipelineCreateProperties 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 NewPipelineCreatePropertiesWithDefaults added in v1.0.1

func NewPipelineCreatePropertiesWithDefaults() *PipelineCreateProperties

NewPipelineCreatePropertiesWithDefaults instantiates a new PipelineCreateProperties 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 (*PipelineCreateProperties) GetLogs added in v1.0.1

GetLogs returns the Logs field value If the value is explicit nil, the zero value for []PipelineCreatePropertiesLogs will be returned

func (*PipelineCreateProperties) GetLogsOk added in v1.0.1

GetLogsOk returns a tuple with the Logs field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreateProperties) GetName added in v1.0.1

func (o *PipelineCreateProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineCreateProperties) GetNameOk added in v1.0.1

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreateProperties) HasLogs added in v1.0.1

func (o *PipelineCreateProperties) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*PipelineCreateProperties) HasName added in v1.0.1

func (o *PipelineCreateProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineCreateProperties) MarshalJSON added in v1.0.1

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

func (*PipelineCreateProperties) SetLogs added in v1.0.1

SetLogs sets field value

func (*PipelineCreateProperties) SetName added in v1.0.1

func (o *PipelineCreateProperties) SetName(v string)

SetName sets field value

type PipelineCreatePropertiesLogs added in v1.0.1

type PipelineCreatePropertiesLogs struct {
	// The source parser to be used
	Source *string `json:"source,omitempty"`
	// Tag is to distinguish different pipelines. must be unique amongst the pipeline's array items.
	Tag *string `json:"tag,omitempty"`
	// Protocol to use as intake
	Protocol *string `json:"protocol,omitempty"`
	// Optional custom labels to filter and report logs
	Labels *[]string `json:"labels,omitempty"`
	// The configuration of the logs datastore
	Destinations *[]Destination `json:"destinations,omitempty"`
}

PipelineCreatePropertiesLogs struct for PipelineCreatePropertiesLogs

func NewPipelineCreatePropertiesLogs added in v1.0.1

func NewPipelineCreatePropertiesLogs() *PipelineCreatePropertiesLogs

NewPipelineCreatePropertiesLogs instantiates a new PipelineCreatePropertiesLogs 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 NewPipelineCreatePropertiesLogsWithDefaults added in v1.0.1

func NewPipelineCreatePropertiesLogsWithDefaults() *PipelineCreatePropertiesLogs

NewPipelineCreatePropertiesLogsWithDefaults instantiates a new PipelineCreatePropertiesLogs 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 (*PipelineCreatePropertiesLogs) GetDestinations added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetDestinations() *[]Destination

GetDestinations returns the Destinations field value If the value is explicit nil, the zero value for []Destination will be returned

func (*PipelineCreatePropertiesLogs) GetDestinationsOk added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetDestinationsOk() (*[]Destination, bool)

GetDestinationsOk returns a tuple with the Destinations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreatePropertiesLogs) GetLabels added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetLabels() *[]string

GetLabels returns the Labels field value If the value is explicit nil, the zero value for []string will be returned

func (*PipelineCreatePropertiesLogs) GetLabelsOk added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetLabelsOk() (*[]string, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreatePropertiesLogs) GetProtocol added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetProtocol() *string

GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineCreatePropertiesLogs) GetProtocolOk added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreatePropertiesLogs) GetSource added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetSource() *string

GetSource returns the Source field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineCreatePropertiesLogs) GetSourceOk added in v1.0.1

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

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreatePropertiesLogs) GetTag added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetTag() *string

GetTag returns the Tag field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineCreatePropertiesLogs) GetTagOk added in v1.0.1

func (o *PipelineCreatePropertiesLogs) GetTagOk() (*string, bool)

GetTagOk returns a tuple with the Tag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineCreatePropertiesLogs) HasDestinations added in v1.0.1

func (o *PipelineCreatePropertiesLogs) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasLabels added in v1.0.1

func (o *PipelineCreatePropertiesLogs) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasProtocol added in v1.0.1

func (o *PipelineCreatePropertiesLogs) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasSource added in v1.0.1

func (o *PipelineCreatePropertiesLogs) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PipelineCreatePropertiesLogs) HasTag added in v1.0.1

func (o *PipelineCreatePropertiesLogs) HasTag() bool

HasTag returns a boolean if a field has been set.

func (PipelineCreatePropertiesLogs) MarshalJSON added in v1.0.1

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

func (*PipelineCreatePropertiesLogs) SetDestinations added in v1.0.1

func (o *PipelineCreatePropertiesLogs) SetDestinations(v []Destination)

SetDestinations sets field value

func (*PipelineCreatePropertiesLogs) SetLabels added in v1.0.1

func (o *PipelineCreatePropertiesLogs) SetLabels(v []string)

SetLabels sets field value

func (*PipelineCreatePropertiesLogs) SetProtocol added in v1.0.1

func (o *PipelineCreatePropertiesLogs) SetProtocol(v string)

SetProtocol sets field value

func (*PipelineCreatePropertiesLogs) SetSource added in v1.0.1

func (o *PipelineCreatePropertiesLogs) SetSource(v string)

SetSource sets field value

func (*PipelineCreatePropertiesLogs) SetTag added in v1.0.1

func (o *PipelineCreatePropertiesLogs) SetTag(v string)

SetTag sets field value

type PipelineListResponse

type PipelineListResponse struct {
	Id    *string     `json:"id,omitempty"`
	Type  *string     `json:"type,omitempty"`
	Items *[]Pipeline `json:"items,omitempty"`
}

PipelineListResponse List of pipelines

func NewPipelineListResponse

func NewPipelineListResponse() *PipelineListResponse

NewPipelineListResponse instantiates a new PipelineListResponse 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 NewPipelineListResponseWithDefaults

func NewPipelineListResponseWithDefaults() *PipelineListResponse

NewPipelineListResponseWithDefaults instantiates a new PipelineListResponse 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 (*PipelineListResponse) GetId

func (o *PipelineListResponse) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineListResponse) GetIdOk

func (o *PipelineListResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineListResponse) GetItems

func (o *PipelineListResponse) GetItems() *[]Pipeline

GetItems returns the Items field value If the value is explicit nil, the zero value for []Pipeline will be returned

func (*PipelineListResponse) GetItemsOk

func (o *PipelineListResponse) GetItemsOk() (*[]Pipeline, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineListResponse) GetType

func (o *PipelineListResponse) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineListResponse) GetTypeOk

func (o *PipelineListResponse) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineListResponse) HasId

func (o *PipelineListResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*PipelineListResponse) HasItems

func (o *PipelineListResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PipelineListResponse) HasType

func (o *PipelineListResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (PipelineListResponse) MarshalJSON

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

func (*PipelineListResponse) SetId

func (o *PipelineListResponse) SetId(v string)

SetId sets field value

func (*PipelineListResponse) SetItems

func (o *PipelineListResponse) SetItems(v []Pipeline)

SetItems sets field value

func (*PipelineListResponse) SetType

func (o *PipelineListResponse) SetType(v string)

SetType sets field value

type PipelinePatch added in v1.0.1

type PipelinePatch struct {
	Properties *PipelinePatchProperties `json:"properties"`
}

PipelinePatch Request payload with any data that is possible to patch a logging pipeline

func NewPipelinePatch added in v1.0.1

func NewPipelinePatch(properties PipelinePatchProperties) *PipelinePatch

NewPipelinePatch instantiates a new PipelinePatch 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 NewPipelinePatchWithDefaults added in v1.0.1

func NewPipelinePatchWithDefaults() *PipelinePatch

NewPipelinePatchWithDefaults instantiates a new PipelinePatch 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 (*PipelinePatch) GetProperties added in v1.0.1

func (o *PipelinePatch) GetProperties() *PipelinePatchProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PipelinePatchProperties will be returned

func (*PipelinePatch) GetPropertiesOk added in v1.0.1

func (o *PipelinePatch) GetPropertiesOk() (*PipelinePatchProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelinePatch) HasProperties added in v1.0.1

func (o *PipelinePatch) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PipelinePatch) MarshalJSON added in v1.0.1

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

func (*PipelinePatch) SetProperties added in v1.0.1

func (o *PipelinePatch) SetProperties(v PipelinePatchProperties)

SetProperties sets field value

type PipelinePatchProperties added in v1.0.1

type PipelinePatchProperties struct {
	// The friendly name of your pipeline.
	Name *string `json:"name,omitempty"`
	// The information of the log pipelines
	Logs *[]PipelineCreatePropertiesLogs `json:"logs,omitempty"`
}

PipelinePatchProperties Patch pipeline properties

func NewPipelinePatchProperties added in v1.0.1

func NewPipelinePatchProperties() *PipelinePatchProperties

NewPipelinePatchProperties instantiates a new PipelinePatchProperties 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 NewPipelinePatchPropertiesWithDefaults added in v1.0.1

func NewPipelinePatchPropertiesWithDefaults() *PipelinePatchProperties

NewPipelinePatchPropertiesWithDefaults instantiates a new PipelinePatchProperties 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 (*PipelinePatchProperties) GetLogs added in v1.0.1

GetLogs returns the Logs field value If the value is explicit nil, the zero value for []PipelineCreatePropertiesLogs will be returned

func (*PipelinePatchProperties) GetLogsOk added in v1.0.1

GetLogsOk returns a tuple with the Logs field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelinePatchProperties) GetName added in v1.0.1

func (o *PipelinePatchProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PipelinePatchProperties) GetNameOk added in v1.0.1

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelinePatchProperties) HasLogs added in v1.0.1

func (o *PipelinePatchProperties) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*PipelinePatchProperties) HasName added in v1.0.1

func (o *PipelinePatchProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelinePatchProperties) MarshalJSON added in v1.0.1

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

func (*PipelinePatchProperties) SetLogs added in v1.0.1

SetLogs sets field value

func (*PipelinePatchProperties) SetName added in v1.0.1

func (o *PipelinePatchProperties) SetName(v string)

SetName sets field value

type PipelineProperties

type PipelineProperties struct {
	// The friendly name of your pipeline.
	Name *string `json:"name,omitempty"`
	// The information of the log aggregator
	Logs *[]PipelineResponse `json:"logs,omitempty"`
	// The address to connect fluentBit compatible logging agents to
	TcpAddress *string `json:"tcpAddress,omitempty"`
	// The address to post logs to using JSON with basic auth
	HttpAddress *string `json:"httpAddress,omitempty"`
	// The address of the client's grafana instance
	GrafanaAddress *string `json:"grafanaAddress,omitempty"`
}

PipelineProperties A pipeline properties

func NewPipelineProperties

func NewPipelineProperties() *PipelineProperties

NewPipelineProperties instantiates a new PipelineProperties 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 NewPipelinePropertiesWithDefaults

func NewPipelinePropertiesWithDefaults() *PipelineProperties

NewPipelinePropertiesWithDefaults instantiates a new PipelineProperties 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 (*PipelineProperties) GetGrafanaAddress

func (o *PipelineProperties) GetGrafanaAddress() *string

GetGrafanaAddress returns the GrafanaAddress field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineProperties) GetGrafanaAddressOk

func (o *PipelineProperties) GetGrafanaAddressOk() (*string, bool)

GetGrafanaAddressOk returns a tuple with the GrafanaAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineProperties) GetHttpAddress

func (o *PipelineProperties) GetHttpAddress() *string

GetHttpAddress returns the HttpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineProperties) GetHttpAddressOk

func (o *PipelineProperties) GetHttpAddressOk() (*string, bool)

GetHttpAddressOk returns a tuple with the HttpAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineProperties) GetLogs

func (o *PipelineProperties) GetLogs() *[]PipelineResponse

GetLogs returns the Logs field value If the value is explicit nil, the zero value for []PipelineResponse will be returned

func (*PipelineProperties) GetLogsOk

func (o *PipelineProperties) GetLogsOk() (*[]PipelineResponse, bool)

GetLogsOk returns a tuple with the Logs field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineProperties) GetName

func (o *PipelineProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineProperties) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineProperties) GetTcpAddress

func (o *PipelineProperties) GetTcpAddress() *string

GetTcpAddress returns the TcpAddress field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineProperties) GetTcpAddressOk

func (o *PipelineProperties) GetTcpAddressOk() (*string, bool)

GetTcpAddressOk returns a tuple with the TcpAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineProperties) HasGrafanaAddress

func (o *PipelineProperties) HasGrafanaAddress() bool

HasGrafanaAddress returns a boolean if a field has been set.

func (*PipelineProperties) HasHttpAddress

func (o *PipelineProperties) HasHttpAddress() bool

HasHttpAddress returns a boolean if a field has been set.

func (*PipelineProperties) HasLogs

func (o *PipelineProperties) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*PipelineProperties) HasName

func (o *PipelineProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineProperties) HasTcpAddress

func (o *PipelineProperties) HasTcpAddress() bool

HasTcpAddress returns a boolean if a field has been set.

func (PipelineProperties) MarshalJSON

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

func (*PipelineProperties) SetGrafanaAddress

func (o *PipelineProperties) SetGrafanaAddress(v string)

SetGrafanaAddress sets field value

func (*PipelineProperties) SetHttpAddress

func (o *PipelineProperties) SetHttpAddress(v string)

SetHttpAddress sets field value

func (*PipelineProperties) SetLogs

func (o *PipelineProperties) SetLogs(v []PipelineResponse)

SetLogs sets field value

func (*PipelineProperties) SetName

func (o *PipelineProperties) SetName(v string)

SetName sets field value

func (*PipelineProperties) SetTcpAddress

func (o *PipelineProperties) SetTcpAddress(v string)

SetTcpAddress sets field value

type PipelineResponse added in v1.0.1

type PipelineResponse struct {
	Public *bool `json:"public,omitempty"`
	// The source parser to be used
	Source *string `json:"source,omitempty"`
	// Tag is to distinguish different pipelines. must be unique amongst the pipeline's array items.
	Tag *string `json:"tag,omitempty"`
	// Protocol to use as intake
	Protocol *string `json:"protocol,omitempty"`
	// Optional custom labels to filter and report logs
	Labels       *[]string      `json:"labels,omitempty"`
	Destinations *[]Destination `json:"destinations,omitempty"`
}

PipelineResponse struct for PipelineResponse

func NewPipelineResponse added in v1.0.1

func NewPipelineResponse() *PipelineResponse

NewPipelineResponse instantiates a new PipelineResponse 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 NewPipelineResponseWithDefaults added in v1.0.1

func NewPipelineResponseWithDefaults() *PipelineResponse

NewPipelineResponseWithDefaults instantiates a new PipelineResponse 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 (*PipelineResponse) GetDestinations added in v1.0.1

func (o *PipelineResponse) GetDestinations() *[]Destination

GetDestinations returns the Destinations field value If the value is explicit nil, the zero value for []Destination will be returned

func (*PipelineResponse) GetDestinationsOk added in v1.0.1

func (o *PipelineResponse) GetDestinationsOk() (*[]Destination, bool)

GetDestinationsOk returns a tuple with the Destinations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponse) GetLabels added in v1.0.1

func (o *PipelineResponse) GetLabels() *[]string

GetLabels returns the Labels field value If the value is explicit nil, the zero value for []string will be returned

func (*PipelineResponse) GetLabelsOk added in v1.0.1

func (o *PipelineResponse) GetLabelsOk() (*[]string, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponse) GetProtocol added in v1.0.1

func (o *PipelineResponse) GetProtocol() *string

GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineResponse) GetProtocolOk added in v1.0.1

func (o *PipelineResponse) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponse) GetPublic added in v1.0.1

func (o *PipelineResponse) GetPublic() *bool

GetPublic returns the Public field value If the value is explicit nil, the zero value for bool will be returned

func (*PipelineResponse) GetPublicOk added in v1.0.1

func (o *PipelineResponse) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponse) GetSource added in v1.0.1

func (o *PipelineResponse) GetSource() *string

GetSource returns the Source field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineResponse) GetSourceOk added in v1.0.1

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

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponse) GetTag added in v1.0.1

func (o *PipelineResponse) GetTag() *string

GetTag returns the Tag field value If the value is explicit nil, the zero value for string will be returned

func (*PipelineResponse) GetTagOk added in v1.0.1

func (o *PipelineResponse) GetTagOk() (*string, bool)

GetTagOk returns a tuple with the Tag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponse) HasDestinations added in v1.0.1

func (o *PipelineResponse) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*PipelineResponse) HasLabels added in v1.0.1

func (o *PipelineResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PipelineResponse) HasProtocol added in v1.0.1

func (o *PipelineResponse) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*PipelineResponse) HasPublic added in v1.0.1

func (o *PipelineResponse) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*PipelineResponse) HasSource added in v1.0.1

func (o *PipelineResponse) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PipelineResponse) HasTag added in v1.0.1

func (o *PipelineResponse) HasTag() bool

HasTag returns a boolean if a field has been set.

func (PipelineResponse) MarshalJSON added in v1.0.1

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

func (*PipelineResponse) SetDestinations added in v1.0.1

func (o *PipelineResponse) SetDestinations(v []Destination)

SetDestinations sets field value

func (*PipelineResponse) SetLabels added in v1.0.1

func (o *PipelineResponse) SetLabels(v []string)

SetLabels sets field value

func (*PipelineResponse) SetProtocol added in v1.0.1

func (o *PipelineResponse) SetProtocol(v string)

SetProtocol sets field value

func (*PipelineResponse) SetPublic added in v1.0.1

func (o *PipelineResponse) SetPublic(v bool)

SetPublic sets field value

func (*PipelineResponse) SetSource added in v1.0.1

func (o *PipelineResponse) SetSource(v string)

SetSource sets field value

func (*PipelineResponse) SetTag added in v1.0.1

func (o *PipelineResponse) SetTag(v string)

SetTag sets field value

type PipelineResponseAllOf added in v1.0.1

type PipelineResponseAllOf struct {
	Public *bool `json:"public,omitempty"`
}

PipelineResponseAllOf struct for PipelineResponseAllOf

func NewPipelineResponseAllOf added in v1.0.1

func NewPipelineResponseAllOf() *PipelineResponseAllOf

NewPipelineResponseAllOf instantiates a new PipelineResponseAllOf 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 NewPipelineResponseAllOfWithDefaults added in v1.0.1

func NewPipelineResponseAllOfWithDefaults() *PipelineResponseAllOf

NewPipelineResponseAllOfWithDefaults instantiates a new PipelineResponseAllOf 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 (*PipelineResponseAllOf) GetPublic added in v1.0.1

func (o *PipelineResponseAllOf) GetPublic() *bool

GetPublic returns the Public field value If the value is explicit nil, the zero value for bool will be returned

func (*PipelineResponseAllOf) GetPublicOk added in v1.0.1

func (o *PipelineResponseAllOf) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponseAllOf) HasPublic added in v1.0.1

func (o *PipelineResponseAllOf) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (PipelineResponseAllOf) MarshalJSON added in v1.0.1

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

func (*PipelineResponseAllOf) SetPublic added in v1.0.1

func (o *PipelineResponseAllOf) SetPublic(v bool)

SetPublic sets field value

type PipelineResponseAllOf1 added in v1.0.1

type PipelineResponseAllOf1 struct {
	Destinations *[]Destination `json:"destinations,omitempty"`
}

PipelineResponseAllOf1 struct for PipelineResponseAllOf1

func NewPipelineResponseAllOf1 added in v1.0.1

func NewPipelineResponseAllOf1() *PipelineResponseAllOf1

NewPipelineResponseAllOf1 instantiates a new PipelineResponseAllOf1 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 NewPipelineResponseAllOf1WithDefaults added in v1.0.1

func NewPipelineResponseAllOf1WithDefaults() *PipelineResponseAllOf1

NewPipelineResponseAllOf1WithDefaults instantiates a new PipelineResponseAllOf1 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 (*PipelineResponseAllOf1) GetDestinations added in v1.0.1

func (o *PipelineResponseAllOf1) GetDestinations() *[]Destination

GetDestinations returns the Destinations field value If the value is explicit nil, the zero value for []Destination will be returned

func (*PipelineResponseAllOf1) GetDestinationsOk added in v1.0.1

func (o *PipelineResponseAllOf1) GetDestinationsOk() (*[]Destination, bool)

GetDestinationsOk returns a tuple with the Destinations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelineResponseAllOf1) HasDestinations added in v1.0.1

func (o *PipelineResponseAllOf1) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (PipelineResponseAllOf1) MarshalJSON added in v1.0.1

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

func (*PipelineResponseAllOf1) SetDestinations added in v1.0.1

func (o *PipelineResponseAllOf1) SetDestinations(v []Destination)

SetDestinations sets field value

type PipelinesApiService

type PipelinesApiService service

PipelinesApiService PipelinesApi service

func (*PipelinesApiService) PipelinesDelete

func (a *PipelinesApiService) PipelinesDelete(ctx _context.Context, pipelineId string) ApiPipelinesDeleteRequest

* PipelinesDelete Delete a pipeline * Delete a logging pipeline. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The unique ID of the pipeline * @return ApiPipelinesDeleteRequest

func (*PipelinesApiService) PipelinesDeleteExecute

func (a *PipelinesApiService) PipelinesDeleteExecute(r ApiPipelinesDeleteRequest) (Pipeline, *APIResponse, error)

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) PipelinesFindById

func (a *PipelinesApiService) PipelinesFindById(ctx _context.Context, pipelineId string) ApiPipelinesFindByIdRequest

* PipelinesFindById Fetch a pipeline * You can retrieve a pipeline by using its ID. This value can be found in the response body when a pipeline is created or when you GET a list of pipelines. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The unique ID of the pipeline * @return ApiPipelinesFindByIdRequest

func (*PipelinesApiService) PipelinesFindByIdExecute

func (a *PipelinesApiService) PipelinesFindByIdExecute(r ApiPipelinesFindByIdRequest) (Pipeline, *APIResponse, error)

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) PipelinesGet

* PipelinesGet List pipelines * Retrieves a list of all logging pipelines. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiPipelinesGetRequest

func (*PipelinesApiService) PipelinesGetExecute

* Execute executes the request * @return PipelineListResponse

func (*PipelinesApiService) PipelinesKeyPost added in v1.0.1

func (a *PipelinesApiService) PipelinesKeyPost(ctx _context.Context, pipelineId string) ApiPipelinesKeyPostRequest

* PipelinesKeyPost Renews the key of a Pipeline * Generates a new key for a pipeline invalidating the old one. The key is used for authentication when sending logs (Shared_Key parameter in the context of fluent-bit). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The unique ID of the pipeline * @return ApiPipelinesKeyPostRequest

func (*PipelinesApiService) PipelinesKeyPostExecute added in v1.0.1

* Execute executes the request * @return PipelinesKeyPost200Response

func (*PipelinesApiService) PipelinesPatch

func (a *PipelinesApiService) PipelinesPatch(ctx _context.Context, pipelineId string) ApiPipelinesPatchRequest

* PipelinesPatch Patch a pipeline * Patch attributes of a logging pipeline. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param pipelineId The unique ID of the pipeline * @return ApiPipelinesPatchRequest

func (*PipelinesApiService) PipelinesPatchExecute

func (a *PipelinesApiService) PipelinesPatchExecute(r ApiPipelinesPatchRequest) (Pipeline, *APIResponse, error)

* Execute executes the request * @return Pipeline

func (*PipelinesApiService) PipelinesPost

* PipelinesPost Create a pipeline * Creates a new logging pipeline. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiPipelinesPostRequest

func (*PipelinesApiService) PipelinesPostExecute

func (a *PipelinesApiService) PipelinesPostExecute(r ApiPipelinesPostRequest) (Pipeline, *APIResponse, error)

* Execute executes the request * @return Pipeline

type PipelinesKeyPost200Response added in v1.0.1

type PipelinesKeyPost200Response struct {
	Key *string `json:"key,omitempty"`
}

PipelinesKeyPost200Response struct for PipelinesKeyPost200Response

func NewPipelinesKeyPost200Response added in v1.0.1

func NewPipelinesKeyPost200Response() *PipelinesKeyPost200Response

NewPipelinesKeyPost200Response instantiates a new PipelinesKeyPost200Response 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 NewPipelinesKeyPost200ResponseWithDefaults added in v1.0.1

func NewPipelinesKeyPost200ResponseWithDefaults() *PipelinesKeyPost200Response

NewPipelinesKeyPost200ResponseWithDefaults instantiates a new PipelinesKeyPost200Response 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 (*PipelinesKeyPost200Response) GetKey added in v1.0.1

func (o *PipelinesKeyPost200Response) GetKey() *string

GetKey returns the Key field value If the value is explicit nil, the zero value for string will be returned

func (*PipelinesKeyPost200Response) GetKeyOk added in v1.0.1

func (o *PipelinesKeyPost200Response) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PipelinesKeyPost200Response) HasKey added in v1.0.1

func (o *PipelinesKeyPost200Response) HasKey() bool

HasKey returns a boolean if a field has been set.

func (PipelinesKeyPost200Response) MarshalJSON added in v1.0.1

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

func (*PipelinesKeyPost200Response) SetKey added in v1.0.1

func (o *PipelinesKeyPost200Response) SetKey(v string)

SetKey sets field value

type Processor

type Processor struct {
	// The source parser to be used
	Source *string `json:"source,omitempty"`
	// Tag is to distinguish different pipelines. must be unique amongst the pipeline's array items.
	Tag *string `json:"tag,omitempty"`
	// Protocol to use as intake
	Protocol *string `json:"protocol,omitempty"`
	// Optional custom labels to filter and report logs
	Labels *[]string `json:"labels,omitempty"`
	// The configuration of the logs datastore
	Destinations *[]Destination `json:"destinations,omitempty"`
}

Processor struct for Processor

func NewProcessor

func NewProcessor() *Processor

NewProcessor instantiates a new Processor 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 NewProcessorWithDefaults

func NewProcessorWithDefaults() *Processor

NewProcessorWithDefaults instantiates a new Processor 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 (*Processor) GetDestinations

func (o *Processor) GetDestinations() *[]Destination

GetDestinations returns the Destinations field value If the value is explicit nil, the zero value for []Destination will be returned

func (*Processor) GetDestinationsOk

func (o *Processor) GetDestinationsOk() (*[]Destination, bool)

GetDestinationsOk returns a tuple with the Destinations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Processor) GetLabels

func (o *Processor) GetLabels() *[]string

GetLabels returns the Labels field value If the value is explicit nil, the zero value for []string will be returned

func (*Processor) GetLabelsOk

func (o *Processor) GetLabelsOk() (*[]string, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Processor) GetProtocol

func (o *Processor) GetProtocol() *string

GetProtocol returns the Protocol field value If the value is explicit nil, the zero value for string will be returned

func (*Processor) GetProtocolOk

func (o *Processor) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Processor) GetSource

func (o *Processor) GetSource() *string

GetSource returns the Source field value If the value is explicit nil, the zero value for string will be returned

func (*Processor) GetSourceOk

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

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Processor) GetTag

func (o *Processor) GetTag() *string

GetTag returns the Tag field value If the value is explicit nil, the zero value for string will be returned

func (*Processor) GetTagOk

func (o *Processor) GetTagOk() (*string, bool)

GetTagOk returns a tuple with the Tag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Processor) HasDestinations

func (o *Processor) HasDestinations() bool

HasDestinations returns a boolean if a field has been set.

func (*Processor) HasLabels

func (o *Processor) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Processor) HasProtocol

func (o *Processor) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*Processor) HasSource

func (o *Processor) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*Processor) HasTag

func (o *Processor) HasTag() bool

HasTag returns a boolean if a field has been set.

func (Processor) MarshalJSON

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

func (*Processor) SetDestinations

func (o *Processor) SetDestinations(v []Destination)

SetDestinations sets field value

func (*Processor) SetLabels

func (o *Processor) SetLabels(v []string)

SetLabels sets field value

func (*Processor) SetProtocol

func (o *Processor) SetProtocol(v string)

SetProtocol sets field value

func (*Processor) SetSource

func (o *Processor) SetSource(v string)

SetSource sets field value

func (*Processor) SetTag

func (o *Processor) SetTag(v string)

SetTag sets field value

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 TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

Jump to

Keyboard shortcuts

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