configpb

package
v0.0.0-...-3999d1f Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package configpb is a generated protocol buffer package.

It is generated from these files:

multilog.proto

It has these top-level messages:

TemporalLogConfig
LogShardConfig

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogShardConfig

type LogShardConfig struct {
	Uri string `protobuf:"bytes,1,opt,name=uri" json:"uri,omitempty"`
	// The log's public key in DER-encoded PKIX form.
	PublicKeyDer []byte `protobuf:"bytes,2,opt,name=public_key_der,json=publicKeyDer,proto3" json:"public_key_der,omitempty"`
	// not_after_start defines the start of the range of acceptable NotAfter
	// values, inclusive.
	// Leaving this unset implies no lower bound to the range.
	NotAfterStart *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=not_after_start,json=notAfterStart" json:"not_after_start,omitempty"`
	// not_after_limit defines the end of the range of acceptable NotAfter values,
	// exclusive.
	// Leaving this unset implies no upper bound to the range.
	NotAfterLimit *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=not_after_limit,json=notAfterLimit" json:"not_after_limit,omitempty"`
}

LogShardConfig describes the acceptable date range for a single shard of a temporal log.

func (*LogShardConfig) Descriptor

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

func (*LogShardConfig) GetNotAfterLimit

func (m *LogShardConfig) GetNotAfterLimit() *google_protobuf.Timestamp

func (*LogShardConfig) GetNotAfterStart

func (m *LogShardConfig) GetNotAfterStart() *google_protobuf.Timestamp

func (*LogShardConfig) GetPublicKeyDer

func (m *LogShardConfig) GetPublicKeyDer() []byte

func (*LogShardConfig) GetUri

func (m *LogShardConfig) GetUri() string

func (*LogShardConfig) ProtoMessage

func (*LogShardConfig) ProtoMessage()

func (*LogShardConfig) Reset

func (m *LogShardConfig) Reset()

func (*LogShardConfig) String

func (m *LogShardConfig) String() string

type TemporalLogConfig

type TemporalLogConfig struct {
	Shard []*LogShardConfig `protobuf:"bytes,1,rep,name=shard" json:"shard,omitempty"`
}

TemporalLogConfig is a set of LogShardConfig messages, whose time limits should be contiguous.

func (*TemporalLogConfig) Descriptor

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

func (*TemporalLogConfig) GetShard

func (m *TemporalLogConfig) GetShard() []*LogShardConfig

func (*TemporalLogConfig) ProtoMessage

func (*TemporalLogConfig) ProtoMessage()

func (*TemporalLogConfig) Reset

func (m *TemporalLogConfig) Reset()

func (*TemporalLogConfig) String

func (m *TemporalLogConfig) String() string

Jump to

Keyboard shortcuts

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