config

package
v1.4.8-pici-custom-2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package config is a generated protocol buffer package.

It is generated from these files:

client/pkg/config/config.proto

It has these top-level messages:

Config

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	UserID string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}

func Read

func Read() (*Config, error)

Read loads pachyderm user config If an existing configuration cannot be found, it sets up the defaults

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetUserID added in v1.3.5

func (m *Config) GetUserID() string

func (*Config) Marshal added in v1.5.0

func (m *Config) Marshal() (dAtA []byte, err error)

func (*Config) MarshalTo added in v1.5.0

func (m *Config) MarshalTo(dAtA []byte) (int, error)

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) Size added in v1.5.0

func (m *Config) Size() (n int)

func (*Config) String

func (m *Config) String() string

func (*Config) Unmarshal added in v1.5.0

func (m *Config) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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