crop

package
v0.0.0-...-1f04649 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Crop_TypeID = 0xe88d97a324bf5c84

Crop_TypeID is the unique identifier for the type Crop.

View Source
const Crop_cultivar_Params_TypeID = 0xf26ef117dfb4517a

Crop_cultivar_Params_TypeID is the unique identifier for the type Crop_cultivar_Params.

View Source
const Crop_cultivar_Results_TypeID = 0xbf3704bba52494ba

Crop_cultivar_Results_TypeID is the unique identifier for the type Crop_cultivar_Results.

View Source
const Crop_parameters_Params_TypeID = 0xc86e010e743c8e5b

Crop_parameters_Params_TypeID is the unique identifier for the type Crop_parameters_Params.

View Source
const Crop_parameters_Results_TypeID = 0xe4fafc722d515486

Crop_parameters_Results_TypeID is the unique identifier for the type Crop_parameters_Results.

View Source
const Cultivar_TypeID = 0xdd81b0520864e2b4

Cultivar_TypeID is the unique identifier for the type Cultivar.

Variables

This section is empty.

Functions

func Crop_Methods

func Crop_Methods(methods []server.Method, s Crop_Server) []server.Method

Crop_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func Crop_NewServer

func Crop_NewServer(s Crop_Server, policy *server.Policy) *server.Server

Crop_NewServer creates a new Server from an implementation of Crop_Server.

Types

type Crop

type Crop struct{ Client *capnp.Client }

func Crop_ServerToClient

func Crop_ServerToClient(s Crop_Server, policy *server.Policy) Crop

Crop_ServerToClient creates a new Client from an implementation of Crop_Server. The caller is responsible for calling Release on the returned Client.

func (Crop) AddRef

func (c Crop) AddRef() Crop

func (Crop) Release

func (c Crop) Release()

type Crop_Server

type Crop_Server interface {
	Parameters(context.Context, Crop_parameters) error

	Cultivar(context.Context, Crop_cultivar) error

	Info(context.Context, common.Identifiable_info) error
}

A Crop_Server is a Crop with a local implementation.

type Crop_cultivar

type Crop_cultivar struct {
	*server.Call
}

Crop_cultivar holds the state for a server call to Crop.cultivar. See server.Call for documentation.

func (Crop_cultivar) AllocResults

func (c Crop_cultivar) AllocResults() (Crop_cultivar_Results, error)

AllocResults allocates the results struct.

func (Crop_cultivar) Args

Args returns the call's arguments.

type Crop_cultivar_Params

type Crop_cultivar_Params struct{ capnp.Struct }

func NewCrop_cultivar_Params

func NewCrop_cultivar_Params(s *capnp.Segment) (Crop_cultivar_Params, error)

func NewRootCrop_cultivar_Params

func NewRootCrop_cultivar_Params(s *capnp.Segment) (Crop_cultivar_Params, error)

func ReadRootCrop_cultivar_Params

func ReadRootCrop_cultivar_Params(msg *capnp.Message) (Crop_cultivar_Params, error)

func (Crop_cultivar_Params) String

func (s Crop_cultivar_Params) String() string

type Crop_cultivar_Params_Future

type Crop_cultivar_Params_Future struct{ *capnp.Future }

Crop_cultivar_Params_Future is a wrapper for a Crop_cultivar_Params promised by a client call.

func (Crop_cultivar_Params_Future) Struct

type Crop_cultivar_Params_List

type Crop_cultivar_Params_List struct{ capnp.List }

Crop_cultivar_Params_List is a list of Crop_cultivar_Params.

func NewCrop_cultivar_Params_List

func NewCrop_cultivar_Params_List(s *capnp.Segment, sz int32) (Crop_cultivar_Params_List, error)

NewCrop_cultivar_Params creates a new list of Crop_cultivar_Params.

func (Crop_cultivar_Params_List) At

func (Crop_cultivar_Params_List) Set

func (Crop_cultivar_Params_List) String

func (s Crop_cultivar_Params_List) String() string

type Crop_cultivar_Results

type Crop_cultivar_Results struct{ capnp.Struct }

func NewCrop_cultivar_Results

func NewCrop_cultivar_Results(s *capnp.Segment) (Crop_cultivar_Results, error)

func NewRootCrop_cultivar_Results

func NewRootCrop_cultivar_Results(s *capnp.Segment) (Crop_cultivar_Results, error)

func ReadRootCrop_cultivar_Results

func ReadRootCrop_cultivar_Results(msg *capnp.Message) (Crop_cultivar_Results, error)

func (Crop_cultivar_Results) Cult

func (Crop_cultivar_Results) SetCult

func (s Crop_cultivar_Results) SetCult(v Cultivar)

func (Crop_cultivar_Results) String

func (s Crop_cultivar_Results) String() string

type Crop_cultivar_Results_Future

type Crop_cultivar_Results_Future struct{ *capnp.Future }

Crop_cultivar_Results_Future is a wrapper for a Crop_cultivar_Results promised by a client call.

func (Crop_cultivar_Results_Future) Struct

type Crop_cultivar_Results_List

type Crop_cultivar_Results_List struct{ capnp.List }

Crop_cultivar_Results_List is a list of Crop_cultivar_Results.

func NewCrop_cultivar_Results_List

func NewCrop_cultivar_Results_List(s *capnp.Segment, sz int32) (Crop_cultivar_Results_List, error)

NewCrop_cultivar_Results creates a new list of Crop_cultivar_Results.

func (Crop_cultivar_Results_List) At

func (Crop_cultivar_Results_List) Set

func (Crop_cultivar_Results_List) String

type Crop_parameters

type Crop_parameters struct {
	*server.Call
}

Crop_parameters holds the state for a server call to Crop.parameters. See server.Call for documentation.

func (Crop_parameters) AllocResults

func (c Crop_parameters) AllocResults() (Crop_parameters_Results, error)

AllocResults allocates the results struct.

func (Crop_parameters) Args

Args returns the call's arguments.

type Crop_parameters_Params

type Crop_parameters_Params struct{ capnp.Struct }

func NewCrop_parameters_Params

func NewCrop_parameters_Params(s *capnp.Segment) (Crop_parameters_Params, error)

func NewRootCrop_parameters_Params

func NewRootCrop_parameters_Params(s *capnp.Segment) (Crop_parameters_Params, error)

func ReadRootCrop_parameters_Params

func ReadRootCrop_parameters_Params(msg *capnp.Message) (Crop_parameters_Params, error)

func (Crop_parameters_Params) String

func (s Crop_parameters_Params) String() string

type Crop_parameters_Params_Future

type Crop_parameters_Params_Future struct{ *capnp.Future }

Crop_parameters_Params_Future is a wrapper for a Crop_parameters_Params promised by a client call.

func (Crop_parameters_Params_Future) Struct

type Crop_parameters_Params_List

type Crop_parameters_Params_List struct{ capnp.List }

Crop_parameters_Params_List is a list of Crop_parameters_Params.

func NewCrop_parameters_Params_List

func NewCrop_parameters_Params_List(s *capnp.Segment, sz int32) (Crop_parameters_Params_List, error)

NewCrop_parameters_Params creates a new list of Crop_parameters_Params.

func (Crop_parameters_Params_List) At

func (Crop_parameters_Params_List) Set

func (Crop_parameters_Params_List) String

type Crop_parameters_Results

type Crop_parameters_Results struct{ capnp.Struct }

func NewCrop_parameters_Results

func NewCrop_parameters_Results(s *capnp.Segment) (Crop_parameters_Results, error)

func NewRootCrop_parameters_Results

func NewRootCrop_parameters_Results(s *capnp.Segment) (Crop_parameters_Results, error)

func ReadRootCrop_parameters_Results

func ReadRootCrop_parameters_Results(msg *capnp.Message) (Crop_parameters_Results, error)

func (Crop_parameters_Results) HasParams

func (s Crop_parameters_Results) HasParams() bool

func (Crop_parameters_Results) Params

func (s Crop_parameters_Results) Params() (capnp.Ptr, error)

func (Crop_parameters_Results) SetParams

func (s Crop_parameters_Results) SetParams(v capnp.Ptr) error

func (Crop_parameters_Results) String

func (s Crop_parameters_Results) String() string

type Crop_parameters_Results_Future

type Crop_parameters_Results_Future struct{ *capnp.Future }

Crop_parameters_Results_Future is a wrapper for a Crop_parameters_Results promised by a client call.

func (Crop_parameters_Results_Future) Params

func (Crop_parameters_Results_Future) Struct

type Crop_parameters_Results_List

type Crop_parameters_Results_List struct{ capnp.List }

Crop_parameters_Results_List is a list of Crop_parameters_Results.

func NewCrop_parameters_Results_List

func NewCrop_parameters_Results_List(s *capnp.Segment, sz int32) (Crop_parameters_Results_List, error)

NewCrop_parameters_Results creates a new list of Crop_parameters_Results.

func (Crop_parameters_Results_List) At

func (Crop_parameters_Results_List) Set

func (Crop_parameters_Results_List) String

type Cultivar

type Cultivar uint16
const (
	Cultivar_alfalfaClovergrassLeyMix Cultivar = 0
	Cultivar_alfalfa                  Cultivar = 1
	Cultivar_bacharia                 Cultivar = 2
	Cultivar_barleySpring             Cultivar = 3
	Cultivar_barleyWinter             Cultivar = 4
	Cultivar_cloverGrassLey           Cultivar = 5
	Cultivar_cottonBrMid              Cultivar = 6
	Cultivar_cottonLong               Cultivar = 7
	Cultivar_cottonMid                Cultivar = 8
	Cultivar_cottonShort              Cultivar = 9
	Cultivar_einkorn                  Cultivar = 10
	Cultivar_emmer                    Cultivar = 11
	Cultivar_fieldPea24               Cultivar = 12
	Cultivar_fieldPea26               Cultivar = 13
	Cultivar_grapevine                Cultivar = 14
	Cultivar_maizeGrain               Cultivar = 15
	Cultivar_maizeSilage              Cultivar = 16
	Cultivar_mustard                  Cultivar = 17
	Cultivar_oatCompound              Cultivar = 18
	Cultivar_oilRadish                Cultivar = 19
	Cultivar_phacelia                 Cultivar = 20
	Cultivar_potatoModeratelyEarly    Cultivar = 21
	Cultivar_rapeWinter               Cultivar = 22
	Cultivar_ryeGrass                 Cultivar = 23
	Cultivar_ryeSilageWinter          Cultivar = 24
	Cultivar_ryeSpring                Cultivar = 25
	Cultivar_ryeWinter                Cultivar = 26
	Cultivar_sorghum                  Cultivar = 27
	Cultivar_soybean0                 Cultivar = 28
	Cultivar_soybean00                Cultivar = 29
	Cultivar_soybean000               Cultivar = 30
	Cultivar_soybean0000              Cultivar = 31
	Cultivar_soybeanI                 Cultivar = 32
	Cultivar_soybeanII                Cultivar = 33
	Cultivar_soybeanIII               Cultivar = 34
	Cultivar_soybeanIV                Cultivar = 35
	Cultivar_soybeanV                 Cultivar = 36
	Cultivar_soybeanVI                Cultivar = 37
	Cultivar_soybeanVII               Cultivar = 38
	Cultivar_soybeanVIII              Cultivar = 39
	Cultivar_soybeanIX                Cultivar = 40
	Cultivar_soybeanX                 Cultivar = 41
	Cultivar_soybeanXI                Cultivar = 42
	Cultivar_soybeanXII               Cultivar = 43
	Cultivar_sudanGrass               Cultivar = 44
	Cultivar_sugarBeet                Cultivar = 45
	Cultivar_sugarcaneTransplant      Cultivar = 46
	Cultivar_sugarcaneRatoon          Cultivar = 47
	Cultivar_tomatoField              Cultivar = 48
	Cultivar_triticaleSpring          Cultivar = 49
	Cultivar_triticaleWinter          Cultivar = 50
	Cultivar_wheatDurum               Cultivar = 51
	Cultivar_wheatSpring              Cultivar = 52
	Cultivar_wheatWinter              Cultivar = 53
)

Values of Cultivar.

func CultivarFromString

func CultivarFromString(c string) Cultivar

CultivarFromString returns the enum value with a name, or the zero value if there's no such value.

func (Cultivar) String

func (c Cultivar) String() string

String returns the enum's constant name.

type Cultivar_List

type Cultivar_List struct{ capnp.List }

func NewCultivar_List

func NewCultivar_List(s *capnp.Segment, sz int32) (Cultivar_List, error)

func (Cultivar_List) At

func (l Cultivar_List) At(i int) Cultivar

func (Cultivar_List) Set

func (l Cultivar_List) Set(i int, v Cultivar)

Jump to

Keyboard shortcuts

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