config

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package config provides utilities for managing fake-gcs-server's configuration using command line flags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Seed string
	// contains filtered or unexported fields
}

func Load

func Load(args []string) (Config, error)

Load parses the given arguments list and return a config object (and/or an error in case of failures).

func (*Config) ToFakeGcsOptions

func (c *Config) ToFakeGcsOptions() fakestorage.Options

Jump to

Keyboard shortcuts

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