api

package
v0.0.0-...-82a691e Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2018 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package api is a generated protocol buffer package.

It is generated from these files:

grubenlampe.proto

It has these top-level messages:

GenericRequest
GenericResponse
AddUserRequest
AddOrgRequest
AddASNRequest
AddTunnelRequest
DeleteTunnelRequest
GetTunnelsRequest
GetTunnelsResponse
Tunnel
AddIPv4AddressRequest
AddIPv4AddressResponse
ReleaseIPv4AddressRequest
AddIPv6PrefixRequest
AddIPv6PrefixResponse
ReleaseIPv6PrefixRequest
GetBGPStatusRequest
GetBGPStatusResponse
BGPStatus
GetLogsRequest
GetLogsResponse
Log

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGrubenlampeServer

func RegisterGrubenlampeServer(s *grpc.Server, srv GrubenlampeServer)

Types

type AddASNRequest

type AddASNRequest struct {
	OrgShortName string `protobuf:"bytes,1,opt,name=org_short_name,json=orgShortName" json:"org_short_name,omitempty"`
	Asn          uint32 `protobuf:"varint,2,opt,name=asn" json:"asn,omitempty"`
}

func (*AddASNRequest) Descriptor

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

func (*AddASNRequest) GetAsn

func (m *AddASNRequest) GetAsn() uint32

func (*AddASNRequest) GetOrgShortName

func (m *AddASNRequest) GetOrgShortName() string

func (*AddASNRequest) ProtoMessage

func (*AddASNRequest) ProtoMessage()

func (*AddASNRequest) Reset

func (m *AddASNRequest) Reset()

func (*AddASNRequest) String

func (m *AddASNRequest) String() string

type AddIPv4AddressRequest

type AddIPv4AddressRequest struct {
	OrgShortName string `protobuf:"bytes,1,opt,name=org_short_name,json=orgShortName" json:"org_short_name,omitempty"`
}

func (*AddIPv4AddressRequest) Descriptor

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

func (*AddIPv4AddressRequest) GetOrgShortName

func (m *AddIPv4AddressRequest) GetOrgShortName() string

func (*AddIPv4AddressRequest) ProtoMessage

func (*AddIPv4AddressRequest) ProtoMessage()

func (*AddIPv4AddressRequest) Reset

func (m *AddIPv4AddressRequest) Reset()

func (*AddIPv4AddressRequest) String

func (m *AddIPv4AddressRequest) String() string

type AddIPv4AddressResponse

type AddIPv4AddressResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
}

func (*AddIPv4AddressResponse) Descriptor

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

func (*AddIPv4AddressResponse) GetAddress

func (m *AddIPv4AddressResponse) GetAddress() string

func (*AddIPv4AddressResponse) GetMessage

func (m *AddIPv4AddressResponse) GetMessage() string

func (*AddIPv4AddressResponse) GetSuccess

func (m *AddIPv4AddressResponse) GetSuccess() bool

func (*AddIPv4AddressResponse) ProtoMessage

func (*AddIPv4AddressResponse) ProtoMessage()

func (*AddIPv4AddressResponse) Reset

func (m *AddIPv4AddressResponse) Reset()

func (*AddIPv4AddressResponse) String

func (m *AddIPv4AddressResponse) String() string

type AddIPv6PrefixRequest

type AddIPv6PrefixRequest struct {
	OrgShortName string `protobuf:"bytes,1,opt,name=org_short_name,json=orgShortName" json:"org_short_name,omitempty"`
}

func (*AddIPv6PrefixRequest) Descriptor

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

func (*AddIPv6PrefixRequest) GetOrgShortName

func (m *AddIPv6PrefixRequest) GetOrgShortName() string

func (*AddIPv6PrefixRequest) ProtoMessage

func (*AddIPv6PrefixRequest) ProtoMessage()

func (*AddIPv6PrefixRequest) Reset

func (m *AddIPv6PrefixRequest) Reset()

func (*AddIPv6PrefixRequest) String

func (m *AddIPv6PrefixRequest) String() string

type AddIPv6PrefixResponse

type AddIPv6PrefixResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	Prefix  string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
}

func (*AddIPv6PrefixResponse) Descriptor

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

func (*AddIPv6PrefixResponse) GetMessage

func (m *AddIPv6PrefixResponse) GetMessage() string

func (*AddIPv6PrefixResponse) GetPrefix

func (m *AddIPv6PrefixResponse) GetPrefix() string

func (*AddIPv6PrefixResponse) GetSuccess

func (m *AddIPv6PrefixResponse) GetSuccess() bool

func (*AddIPv6PrefixResponse) ProtoMessage

func (*AddIPv6PrefixResponse) ProtoMessage()

func (*AddIPv6PrefixResponse) Reset

func (m *AddIPv6PrefixResponse) Reset()

func (*AddIPv6PrefixResponse) String

func (m *AddIPv6PrefixResponse) String() string

type AddOrgRequest

type AddOrgRequest struct {
	Name      string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	ShortName string `protobuf:"bytes,2,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
	Asn       uint32 `protobuf:"varint,3,opt,name=asn" json:"asn,omitempty"`
}

func (*AddOrgRequest) Descriptor

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

func (*AddOrgRequest) GetAsn

func (m *AddOrgRequest) GetAsn() uint32

func (*AddOrgRequest) GetName

func (m *AddOrgRequest) GetName() string

func (*AddOrgRequest) GetShortName

func (m *AddOrgRequest) GetShortName() string

func (*AddOrgRequest) ProtoMessage

func (*AddOrgRequest) ProtoMessage()

func (*AddOrgRequest) Reset

func (m *AddOrgRequest) Reset()

func (*AddOrgRequest) String

func (m *AddOrgRequest) String() string

type AddTunnelRequest

type AddTunnelRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Asn     uint32 `protobuf:"varint,2,opt,name=asn" json:"asn,omitempty"`
}

func (*AddTunnelRequest) Descriptor

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

func (*AddTunnelRequest) GetAddress

func (m *AddTunnelRequest) GetAddress() string

func (*AddTunnelRequest) GetAsn

func (m *AddTunnelRequest) GetAsn() uint32

func (*AddTunnelRequest) ProtoMessage

func (*AddTunnelRequest) ProtoMessage()

func (*AddTunnelRequest) Reset

func (m *AddTunnelRequest) Reset()

func (*AddTunnelRequest) String

func (m *AddTunnelRequest) String() string

type AddUserRequest

type AddUserRequest struct {
	Email      string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
	Password   string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
	RipeHandle string `protobuf:"bytes,3,opt,name=ripe_handle,json=ripeHandle" json:"ripe_handle,omitempty"`
}

func (*AddUserRequest) Descriptor

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

func (*AddUserRequest) GetEmail

func (m *AddUserRequest) GetEmail() string

func (*AddUserRequest) GetPassword

func (m *AddUserRequest) GetPassword() string

func (*AddUserRequest) GetRipeHandle

func (m *AddUserRequest) GetRipeHandle() string

func (*AddUserRequest) ProtoMessage

func (*AddUserRequest) ProtoMessage()

func (*AddUserRequest) Reset

func (m *AddUserRequest) Reset()

func (*AddUserRequest) String

func (m *AddUserRequest) String() string

type BGPStatus

type BGPStatus struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Asn     uint32 `protobuf:"varint,2,opt,name=asn" json:"asn,omitempty"`
	State   uint32 `protobuf:"varint,3,opt,name=state" json:"state,omitempty"`
}

func (*BGPStatus) Descriptor

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

func (*BGPStatus) GetAddress

func (m *BGPStatus) GetAddress() string

func (*BGPStatus) GetAsn

func (m *BGPStatus) GetAsn() uint32

func (*BGPStatus) GetState

func (m *BGPStatus) GetState() uint32

func (*BGPStatus) ProtoMessage

func (*BGPStatus) ProtoMessage()

func (*BGPStatus) Reset

func (m *BGPStatus) Reset()

func (*BGPStatus) String

func (m *BGPStatus) String() string

type DeleteTunnelRequest

type DeleteTunnelRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*DeleteTunnelRequest) Descriptor

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

func (*DeleteTunnelRequest) GetAddress

func (m *DeleteTunnelRequest) GetAddress() string

func (*DeleteTunnelRequest) ProtoMessage

func (*DeleteTunnelRequest) ProtoMessage()

func (*DeleteTunnelRequest) Reset

func (m *DeleteTunnelRequest) Reset()

func (*DeleteTunnelRequest) String

func (m *DeleteTunnelRequest) String() string

type GenericRequest

type GenericRequest struct {
}

func (*GenericRequest) Descriptor

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

func (*GenericRequest) ProtoMessage

func (*GenericRequest) ProtoMessage()

func (*GenericRequest) Reset

func (m *GenericRequest) Reset()

func (*GenericRequest) String

func (m *GenericRequest) String() string

type GenericResponse

type GenericResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
}

func (*GenericResponse) Descriptor

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

func (*GenericResponse) GetMessage

func (m *GenericResponse) GetMessage() string

func (*GenericResponse) GetSuccess

func (m *GenericResponse) GetSuccess() bool

func (*GenericResponse) ProtoMessage

func (*GenericResponse) ProtoMessage()

func (*GenericResponse) Reset

func (m *GenericResponse) Reset()

func (*GenericResponse) String

func (m *GenericResponse) String() string

type GetBGPStatusRequest

type GetBGPStatusRequest struct {
	Asn uint32 `protobuf:"varint,1,opt,name=asn" json:"asn,omitempty"`
}

func (*GetBGPStatusRequest) Descriptor

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

func (*GetBGPStatusRequest) GetAsn

func (m *GetBGPStatusRequest) GetAsn() uint32

func (*GetBGPStatusRequest) ProtoMessage

func (*GetBGPStatusRequest) ProtoMessage()

func (*GetBGPStatusRequest) Reset

func (m *GetBGPStatusRequest) Reset()

func (*GetBGPStatusRequest) String

func (m *GetBGPStatusRequest) String() string

type GetBGPStatusResponse

type GetBGPStatusResponse struct {
	Success   bool         `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	Mesage    string       `protobuf:"bytes,2,opt,name=mesage" json:"mesage,omitempty"`
	BgpStatus []*BGPStatus `protobuf:"bytes,3,rep,name=bgp_status,json=bgpStatus" json:"bgp_status,omitempty"`
}

func (*GetBGPStatusResponse) Descriptor

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

func (*GetBGPStatusResponse) GetBgpStatus

func (m *GetBGPStatusResponse) GetBgpStatus() []*BGPStatus

func (*GetBGPStatusResponse) GetMesage

func (m *GetBGPStatusResponse) GetMesage() string

func (*GetBGPStatusResponse) GetSuccess

func (m *GetBGPStatusResponse) GetSuccess() bool

func (*GetBGPStatusResponse) ProtoMessage

func (*GetBGPStatusResponse) ProtoMessage()

func (*GetBGPStatusResponse) Reset

func (m *GetBGPStatusResponse) Reset()

func (*GetBGPStatusResponse) String

func (m *GetBGPStatusResponse) String() string

type GetLogsRequest

type GetLogsRequest struct {
	OrgShortName string `protobuf:"bytes,1,opt,name=org_short_name,json=orgShortName" json:"org_short_name,omitempty"`
}

func (*GetLogsRequest) Descriptor

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

func (*GetLogsRequest) GetOrgShortName

func (m *GetLogsRequest) GetOrgShortName() string

func (*GetLogsRequest) ProtoMessage

func (*GetLogsRequest) ProtoMessage()

func (*GetLogsRequest) Reset

func (m *GetLogsRequest) Reset()

func (*GetLogsRequest) String

func (m *GetLogsRequest) String() string

type GetLogsResponse

type GetLogsResponse struct {
	Logs []*Log `protobuf:"bytes,1,rep,name=logs" json:"logs,omitempty"`
}

func (*GetLogsResponse) Descriptor

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

func (*GetLogsResponse) GetLogs

func (m *GetLogsResponse) GetLogs() []*Log

func (*GetLogsResponse) ProtoMessage

func (*GetLogsResponse) ProtoMessage()

func (*GetLogsResponse) Reset

func (m *GetLogsResponse) Reset()

func (*GetLogsResponse) String

func (m *GetLogsResponse) String() string

type GetTunnelsRequest

type GetTunnelsRequest struct {
	Asn uint32 `protobuf:"varint,1,opt,name=asn" json:"asn,omitempty"`
}

func (*GetTunnelsRequest) Descriptor

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

func (*GetTunnelsRequest) GetAsn

func (m *GetTunnelsRequest) GetAsn() uint32

func (*GetTunnelsRequest) ProtoMessage

func (*GetTunnelsRequest) ProtoMessage()

func (*GetTunnelsRequest) Reset

func (m *GetTunnelsRequest) Reset()

func (*GetTunnelsRequest) String

func (m *GetTunnelsRequest) String() string

type GetTunnelsResponse

type GetTunnelsResponse struct {
	Tunnels []*Tunnel `protobuf:"bytes,1,rep,name=tunnels" json:"tunnels,omitempty"`
}

func (*GetTunnelsResponse) Descriptor

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

func (*GetTunnelsResponse) GetTunnels

func (m *GetTunnelsResponse) GetTunnels() []*Tunnel

func (*GetTunnelsResponse) ProtoMessage

func (*GetTunnelsResponse) ProtoMessage()

func (*GetTunnelsResponse) Reset

func (m *GetTunnelsResponse) Reset()

func (*GetTunnelsResponse) String

func (m *GetTunnelsResponse) String() string

type Log

type Log struct {
	User         string                     `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
	OrgShortName string                     `protobuf:"bytes,2,opt,name=org_short_name,json=orgShortName" json:"org_short_name,omitempty"`
	Request      string                     `protobuf:"bytes,3,opt,name=request" json:"request,omitempty"`
	Response     string                     `protobuf:"bytes,4,opt,name=response" json:"response,omitempty"`
	Time         *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=time" json:"time,omitempty"`
}

func (*Log) Descriptor

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

func (*Log) GetOrgShortName

func (m *Log) GetOrgShortName() string

func (*Log) GetRequest

func (m *Log) GetRequest() string

func (*Log) GetResponse

func (m *Log) GetResponse() string

func (*Log) GetTime

func (m *Log) GetTime() *google_protobuf.Timestamp

func (*Log) GetUser

func (m *Log) GetUser() string

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) Reset

func (m *Log) Reset()

func (*Log) String

func (m *Log) String() string

type ReleaseIPv4AddressRequest

type ReleaseIPv4AddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*ReleaseIPv4AddressRequest) Descriptor

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

func (*ReleaseIPv4AddressRequest) GetAddress

func (m *ReleaseIPv4AddressRequest) GetAddress() string

func (*ReleaseIPv4AddressRequest) ProtoMessage

func (*ReleaseIPv4AddressRequest) ProtoMessage()

func (*ReleaseIPv4AddressRequest) Reset

func (m *ReleaseIPv4AddressRequest) Reset()

func (*ReleaseIPv4AddressRequest) String

func (m *ReleaseIPv4AddressRequest) String() string

type ReleaseIPv6PrefixRequest

type ReleaseIPv6PrefixRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*ReleaseIPv6PrefixRequest) Descriptor

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

func (*ReleaseIPv6PrefixRequest) GetAddress

func (m *ReleaseIPv6PrefixRequest) GetAddress() string

func (*ReleaseIPv6PrefixRequest) ProtoMessage

func (*ReleaseIPv6PrefixRequest) ProtoMessage()

func (*ReleaseIPv6PrefixRequest) Reset

func (m *ReleaseIPv6PrefixRequest) Reset()

func (*ReleaseIPv6PrefixRequest) String

func (m *ReleaseIPv6PrefixRequest) String() string

type Tunnel

type Tunnel struct {
	ProviderTunnelAddress        string `protobuf:"bytes,1,opt,name=provider_tunnel_address,json=providerTunnelAddress" json:"provider_tunnel_address,omitempty"`
	CustomerTunnelAddress        string `protobuf:"bytes,2,opt,name=customer_tunnel_address,json=customerTunnelAddress" json:"customer_tunnel_address,omitempty"`
	ProviderAsn                  uint32 `protobuf:"varint,3,opt,name=provider_asn,json=providerAsn" json:"provider_asn,omitempty"`
	CustomerAsn                  uint32 `protobuf:"varint,4,opt,name=customer_asn,json=customerAsn" json:"customer_asn,omitempty"`
	ProviderTunnelInsideAddress4 string `` /* 142-byte string literal not displayed */
	CustomerTunnelInsideAddress4 string `` /* 142-byte string literal not displayed */
	ProviderTunnelInsideAddress6 string `` /* 142-byte string literal not displayed */
	CustomerTunnelInsideAddress6 string `` /* 142-byte string literal not displayed */
	Provisioned                  bool   `protobuf:"varint,9,opt,name=provisioned" json:"provisioned,omitempty"`
}

func (*Tunnel) Descriptor

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

func (*Tunnel) GetCustomerAsn

func (m *Tunnel) GetCustomerAsn() uint32

func (*Tunnel) GetCustomerTunnelAddress

func (m *Tunnel) GetCustomerTunnelAddress() string

func (*Tunnel) GetCustomerTunnelInsideAddress4

func (m *Tunnel) GetCustomerTunnelInsideAddress4() string

func (*Tunnel) GetCustomerTunnelInsideAddress6

func (m *Tunnel) GetCustomerTunnelInsideAddress6() string

func (*Tunnel) GetProviderAsn

func (m *Tunnel) GetProviderAsn() uint32

func (*Tunnel) GetProviderTunnelAddress

func (m *Tunnel) GetProviderTunnelAddress() string

func (*Tunnel) GetProviderTunnelInsideAddress4

func (m *Tunnel) GetProviderTunnelInsideAddress4() string

func (*Tunnel) GetProviderTunnelInsideAddress6

func (m *Tunnel) GetProviderTunnelInsideAddress6() string

func (*Tunnel) GetProvisioned

func (m *Tunnel) GetProvisioned() bool

func (*Tunnel) ProtoMessage

func (*Tunnel) ProtoMessage()

func (*Tunnel) Reset

func (m *Tunnel) Reset()

func (*Tunnel) String

func (m *Tunnel) String() string

Jump to

Keyboard shortcuts

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