classads

package
v0.0.0-...-7de72be Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassAd

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

func NewClassAd

func NewClassAd() *ClassAd

func ParseClassAd

func ParseClassAd(line string) (ClassAd, error)

func ReadClassAd

func ReadClassAd(reader io.Reader) ([]ClassAd, error)

ReadClassAd reads a ClassAd from the given reader.

func (*ClassAd) Get

func (c *ClassAd) Get(name string) (interface{}, error)

Get returns the value of the attribute with the given name.

func (*ClassAd) Set

func (c *ClassAd) Set(name string, value interface{})

func (*ClassAd) String

func (c *ClassAd) String() string

Jump to

Keyboard shortcuts

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