framulate

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Copyright 2018 Iguazio Systems Ltd.

Licensed under the Apache License, Version 2.0 (the "License") with an addition restriction as set forth herein. You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

In addition, you may not use the software for any purposes that are illegal under applicable law, and the grant of the foregoing license under the Apache 2.0 license is conditioned upon your compliance with such restriction.

Copyright 2018 Iguazio Systems Ltd.

Licensed under the Apache License, Version 2.0 (the "License") with an addition restriction as set forth herein. You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

In addition, you may not use the software for any purposes that are illegal under applicable law, and the grant of the foregoing license under the Apache 2.0 license is conditioned upon your compliance with such restriction.

Copyright 2018 Iguazio Systems Ltd.

Licensed under the Apache License, Version 2.0 (the "License") with an addition restriction as set forth herein. You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

In addition, you may not use the software for any purposes that are illegal under applicable law, and the grant of the foregoing license under the Apache 2.0 license is conditioned upon your compliance with such restriction.

Copyright 2018 Iguazio Systems Ltd.

Licensed under the Apache License, Version 2.0 (the "License") with an addition restriction as set forth herein. You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

In addition, you may not use the software for any purposes that are illegal under applicable law, and the grant of the foregoing license under the Apache 2.0 license is conditioned upon your compliance with such restriction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ContainerName string         `json:"container_name,omitempty"`
	UserName      string         `json:"username,omitempty"`
	AccessKey     string         `json:"access_key,omitempty"`
	Cleanup       bool           `json:"cleanup,omitempty"`
	MaxTasks      int            `json:"max_tasks,omitempty"`
	Scenario      ScenarioConfig `json:"scenario,omitempty"`
	Transport     Transport      `json:"transport,omitempty"`
}

func NewConfigFromContentsOrPath

func NewConfigFromContentsOrPath(configContents []byte, configPath string) (*Config, error)

type Framulate

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

func NewFramulate

func NewFramulate(ctx context.Context, loggerInstance logger.Logger, config *Config) (*Framulate, error)

func (*Framulate) Start

func (f *Framulate) Start() error

type ScenarioConfig

type ScenarioConfig struct {
	Kind        scenarioKind
	WriteVerify WriteVerifyConfig
}

type Transport

type Transport struct {
	URL                 string `json:"url,omitempty"`
	MaxInflightRequests int    `json:"max_inflight_requests,omitempty"`
}

type WriteVerifyConfig

type WriteVerifyConfig struct {
	NumTables               int    `json:"num_tables,omitempty"`
	NumSeriesPerTable       int    `json:"num_series_per_table,omitempty"`
	MaxParallelTablesCreate int    `json:"max_parallel_tables_create,omitempty"`
	MaxParallelSeriesWrite  int    `json:"max_parallel_series_write,omitempty"`
	MaxParallelSeriesVerify int    `json:"max_parallel_series_verify,omitempty"`
	WriteDummySeries        bool   `json:"write_dummy_series,omitempty"`
	NumDatapointsPerSeries  int    `json:"num_datapoints_per_series,omitempty"`
	WriteDelay              string `json:"write_delay,omitempty"`
	VerificationDelay       string `json:"verification_delay,omitempty"`
	Verify                  bool   `json:"verify,omitempty"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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