api

package
v0.0.0-...-993a85b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

copilot api

This package holds the golang gRPC API definitions for copilot. There's one API used by Cloud Controller, another used by Istio Pilot.

The actual gRPC .proto files are in the protos subdirectory. To regenerate the golang code, run bin/dockerized-rebuild-proto from the gen folder.

We moved the .proto files in there to work around problems with Bazel in Istio.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCloudControllerCopilotServer

func RegisterCloudControllerCopilotServer(s *grpc.Server, srv CloudControllerCopilotServer)

func RegisterVIPResolverCopilotServer

func RegisterVIPResolverCopilotServer(s *grpc.Server, srv VIPResolverCopilotServer)

Types

type BulkSyncRequest

type BulkSyncRequest struct {
	RouteMappings                []*RouteMapping                `protobuf:"bytes,1,rep,name=route_mappings,json=routeMappings,proto3" json:"route_mappings,omitempty"`
	Routes                       []*Route                       `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	CapiDiegoProcessAssociations []*CapiDiegoProcessAssociation `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral         struct{}                       `json:"-"`
	XXX_unrecognized             []byte                         `json:"-"`
	XXX_sizecache                int32                          `json:"-"`
}

func (*BulkSyncRequest) Descriptor

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

func (*BulkSyncRequest) GetCapiDiegoProcessAssociations

func (m *BulkSyncRequest) GetCapiDiegoProcessAssociations() []*CapiDiegoProcessAssociation

func (*BulkSyncRequest) GetRouteMappings

func (m *BulkSyncRequest) GetRouteMappings() []*RouteMapping

func (*BulkSyncRequest) GetRoutes

func (m *BulkSyncRequest) GetRoutes() []*Route

func (*BulkSyncRequest) ProtoMessage

func (*BulkSyncRequest) ProtoMessage()

func (*BulkSyncRequest) Reset

func (m *BulkSyncRequest) Reset()

func (*BulkSyncRequest) String

func (m *BulkSyncRequest) String() string

func (*BulkSyncRequest) XXX_DiscardUnknown

func (m *BulkSyncRequest) XXX_DiscardUnknown()

func (*BulkSyncRequest) XXX_Marshal

func (m *BulkSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BulkSyncRequest) XXX_Merge

func (dst *BulkSyncRequest) XXX_Merge(src proto.Message)

func (*BulkSyncRequest) XXX_Size

func (m *BulkSyncRequest) XXX_Size() int

func (*BulkSyncRequest) XXX_Unmarshal

func (m *BulkSyncRequest) XXX_Unmarshal(b []byte) error

type BulkSyncRequestChunk

type BulkSyncRequestChunk struct {
	Chunk                []byte   `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BulkSyncRequestChunk) Descriptor

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

func (*BulkSyncRequestChunk) GetChunk

func (m *BulkSyncRequestChunk) GetChunk() []byte

func (*BulkSyncRequestChunk) ProtoMessage

func (*BulkSyncRequestChunk) ProtoMessage()

func (*BulkSyncRequestChunk) Reset

func (m *BulkSyncRequestChunk) Reset()

func (*BulkSyncRequestChunk) String

func (m *BulkSyncRequestChunk) String() string

func (*BulkSyncRequestChunk) XXX_DiscardUnknown

func (m *BulkSyncRequestChunk) XXX_DiscardUnknown()

func (*BulkSyncRequestChunk) XXX_Marshal

func (m *BulkSyncRequestChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BulkSyncRequestChunk) XXX_Merge

func (dst *BulkSyncRequestChunk) XXX_Merge(src proto.Message)

func (*BulkSyncRequestChunk) XXX_Size

func (m *BulkSyncRequestChunk) XXX_Size() int

func (*BulkSyncRequestChunk) XXX_Unmarshal

func (m *BulkSyncRequestChunk) XXX_Unmarshal(b []byte) error

type BulkSyncResponse

type BulkSyncResponse struct {
	TotalBytesReceived   int32    `protobuf:"varint,1,opt,name=total_bytes_received,json=totalBytesReceived,proto3" json:"total_bytes_received,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BulkSyncResponse) Descriptor

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

func (*BulkSyncResponse) GetTotalBytesReceived

func (m *BulkSyncResponse) GetTotalBytesReceived() int32

func (*BulkSyncResponse) ProtoMessage

func (*BulkSyncResponse) ProtoMessage()

func (*BulkSyncResponse) Reset

func (m *BulkSyncResponse) Reset()

func (*BulkSyncResponse) String

func (m *BulkSyncResponse) String() string

func (*BulkSyncResponse) XXX_DiscardUnknown

func (m *BulkSyncResponse) XXX_DiscardUnknown()

func (*BulkSyncResponse) XXX_Marshal

func (m *BulkSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BulkSyncResponse) XXX_Merge

func (dst *BulkSyncResponse) XXX_Merge(src proto.Message)

func (*BulkSyncResponse) XXX_Size

func (m *BulkSyncResponse) XXX_Size() int

func (*BulkSyncResponse) XXX_Unmarshal

func (m *BulkSyncResponse) XXX_Unmarshal(b []byte) error

type CapiDiegoProcessAssociation

type CapiDiegoProcessAssociation struct {
	CapiProcessGuid      string   `protobuf:"bytes,1,opt,name=capi_process_guid,json=capiProcessGuid,proto3" json:"capi_process_guid,omitempty"`
	DiegoProcessGuids    []string `protobuf:"bytes,2,rep,name=diego_process_guids,json=diegoProcessGuids,proto3" json:"diego_process_guids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CapiDiegoProcessAssociation) Descriptor

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

func (*CapiDiegoProcessAssociation) GetCapiProcessGuid

func (m *CapiDiegoProcessAssociation) GetCapiProcessGuid() string

func (*CapiDiegoProcessAssociation) GetDiegoProcessGuids

func (m *CapiDiegoProcessAssociation) GetDiegoProcessGuids() []string

func (*CapiDiegoProcessAssociation) ProtoMessage

func (*CapiDiegoProcessAssociation) ProtoMessage()

func (*CapiDiegoProcessAssociation) Reset

func (m *CapiDiegoProcessAssociation) Reset()

func (*CapiDiegoProcessAssociation) String

func (m *CapiDiegoProcessAssociation) String() string

func (*CapiDiegoProcessAssociation) XXX_DiscardUnknown

func (m *CapiDiegoProcessAssociation) XXX_DiscardUnknown()

func (*CapiDiegoProcessAssociation) XXX_Marshal

func (m *CapiDiegoProcessAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CapiDiegoProcessAssociation) XXX_Merge

func (dst *CapiDiegoProcessAssociation) XXX_Merge(src proto.Message)

func (*CapiDiegoProcessAssociation) XXX_Size

func (m *CapiDiegoProcessAssociation) XXX_Size() int

func (*CapiDiegoProcessAssociation) XXX_Unmarshal

func (m *CapiDiegoProcessAssociation) XXX_Unmarshal(b []byte) error

type CloudControllerCopilotClient

CloudControllerCopilotClient is the client API for CloudControllerCopilot service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCloudControllerCopilotClient

func NewCloudControllerCopilotClient(cc *grpc.ClientConn) CloudControllerCopilotClient

type CloudControllerCopilot_BulkSyncClient

type CloudControllerCopilot_BulkSyncClient interface {
	Send(*BulkSyncRequestChunk) error
	CloseAndRecv() (*BulkSyncResponse, error)
	grpc.ClientStream
}

type CloudControllerCopilot_BulkSyncServer

type CloudControllerCopilot_BulkSyncServer interface {
	SendAndClose(*BulkSyncResponse) error
	Recv() (*BulkSyncRequestChunk, error)
	grpc.ServerStream
}

type DeleteCapiDiegoProcessAssociationRequest

type DeleteCapiDiegoProcessAssociationRequest struct {
	CapiProcessGuid      string   `protobuf:"bytes,1,opt,name=capi_process_guid,json=capiProcessGuid,proto3" json:"capi_process_guid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteCapiDiegoProcessAssociationRequest) Descriptor

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

func (*DeleteCapiDiegoProcessAssociationRequest) GetCapiProcessGuid

func (m *DeleteCapiDiegoProcessAssociationRequest) GetCapiProcessGuid() string

func (*DeleteCapiDiegoProcessAssociationRequest) ProtoMessage

func (*DeleteCapiDiegoProcessAssociationRequest) Reset

func (*DeleteCapiDiegoProcessAssociationRequest) String

func (*DeleteCapiDiegoProcessAssociationRequest) XXX_DiscardUnknown

func (m *DeleteCapiDiegoProcessAssociationRequest) XXX_DiscardUnknown()

func (*DeleteCapiDiegoProcessAssociationRequest) XXX_Marshal

func (m *DeleteCapiDiegoProcessAssociationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteCapiDiegoProcessAssociationRequest) XXX_Merge

func (*DeleteCapiDiegoProcessAssociationRequest) XXX_Size

func (*DeleteCapiDiegoProcessAssociationRequest) XXX_Unmarshal

func (m *DeleteCapiDiegoProcessAssociationRequest) XXX_Unmarshal(b []byte) error

type DeleteCapiDiegoProcessAssociationResponse

type DeleteCapiDiegoProcessAssociationResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteCapiDiegoProcessAssociationResponse) Descriptor

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

func (*DeleteCapiDiegoProcessAssociationResponse) ProtoMessage

func (*DeleteCapiDiegoProcessAssociationResponse) Reset

func (*DeleteCapiDiegoProcessAssociationResponse) String

func (*DeleteCapiDiegoProcessAssociationResponse) XXX_DiscardUnknown

func (m *DeleteCapiDiegoProcessAssociationResponse) XXX_DiscardUnknown()

func (*DeleteCapiDiegoProcessAssociationResponse) XXX_Marshal

func (m *DeleteCapiDiegoProcessAssociationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteCapiDiegoProcessAssociationResponse) XXX_Merge

func (*DeleteCapiDiegoProcessAssociationResponse) XXX_Size

func (*DeleteCapiDiegoProcessAssociationResponse) XXX_Unmarshal

type DeleteRouteRequest

type DeleteRouteRequest struct {
	Guid                 string   `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRouteRequest) Descriptor

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

func (*DeleteRouteRequest) GetGuid

func (m *DeleteRouteRequest) GetGuid() string

func (*DeleteRouteRequest) ProtoMessage

func (*DeleteRouteRequest) ProtoMessage()

func (*DeleteRouteRequest) Reset

func (m *DeleteRouteRequest) Reset()

func (*DeleteRouteRequest) String

func (m *DeleteRouteRequest) String() string

func (*DeleteRouteRequest) XXX_DiscardUnknown

func (m *DeleteRouteRequest) XXX_DiscardUnknown()

func (*DeleteRouteRequest) XXX_Marshal

func (m *DeleteRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRouteRequest) XXX_Merge

func (dst *DeleteRouteRequest) XXX_Merge(src proto.Message)

func (*DeleteRouteRequest) XXX_Size

func (m *DeleteRouteRequest) XXX_Size() int

func (*DeleteRouteRequest) XXX_Unmarshal

func (m *DeleteRouteRequest) XXX_Unmarshal(b []byte) error

type DeleteRouteResponse

type DeleteRouteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRouteResponse) Descriptor

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

func (*DeleteRouteResponse) ProtoMessage

func (*DeleteRouteResponse) ProtoMessage()

func (*DeleteRouteResponse) Reset

func (m *DeleteRouteResponse) Reset()

func (*DeleteRouteResponse) String

func (m *DeleteRouteResponse) String() string

func (*DeleteRouteResponse) XXX_DiscardUnknown

func (m *DeleteRouteResponse) XXX_DiscardUnknown()

func (*DeleteRouteResponse) XXX_Marshal

func (m *DeleteRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRouteResponse) XXX_Merge

func (dst *DeleteRouteResponse) XXX_Merge(src proto.Message)

func (*DeleteRouteResponse) XXX_Size

func (m *DeleteRouteResponse) XXX_Size() int

func (*DeleteRouteResponse) XXX_Unmarshal

func (m *DeleteRouteResponse) XXX_Unmarshal(b []byte) error

type DiegoProcessGuids

type DiegoProcessGuids struct {
	DiegoProcessGuids    []string `protobuf:"bytes,1,rep,name=diego_process_guids,json=diegoProcessGuids,proto3" json:"diego_process_guids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

this is only for ListCapiDiegoProcessAssociationsResponse, since protobuf does not support list values in maps. it's gross. try not to use it.

func (*DiegoProcessGuids) Descriptor

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

func (*DiegoProcessGuids) GetDiegoProcessGuids

func (m *DiegoProcessGuids) GetDiegoProcessGuids() []string

func (*DiegoProcessGuids) ProtoMessage

func (*DiegoProcessGuids) ProtoMessage()

func (*DiegoProcessGuids) Reset

func (m *DiegoProcessGuids) Reset()

func (*DiegoProcessGuids) String

func (m *DiegoProcessGuids) String() string

func (*DiegoProcessGuids) XXX_DiscardUnknown

func (m *DiegoProcessGuids) XXX_DiscardUnknown()

func (*DiegoProcessGuids) XXX_Marshal

func (m *DiegoProcessGuids) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiegoProcessGuids) XXX_Merge

func (dst *DiegoProcessGuids) XXX_Merge(src proto.Message)

func (*DiegoProcessGuids) XXX_Size

func (m *DiegoProcessGuids) XXX_Size() int

func (*DiegoProcessGuids) XXX_Unmarshal

func (m *DiegoProcessGuids) XXX_Unmarshal(b []byte) error

type GetVIPByNameRequest

type GetVIPByNameRequest struct {
	Fqdn                 string   `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetVIPByNameRequest) Descriptor

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

func (*GetVIPByNameRequest) GetFqdn

func (m *GetVIPByNameRequest) GetFqdn() string

func (*GetVIPByNameRequest) ProtoMessage

func (*GetVIPByNameRequest) ProtoMessage()

func (*GetVIPByNameRequest) Reset

func (m *GetVIPByNameRequest) Reset()

func (*GetVIPByNameRequest) String

func (m *GetVIPByNameRequest) String() string

func (*GetVIPByNameRequest) XXX_DiscardUnknown

func (m *GetVIPByNameRequest) XXX_DiscardUnknown()

func (*GetVIPByNameRequest) XXX_Marshal

func (m *GetVIPByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVIPByNameRequest) XXX_Merge

func (dst *GetVIPByNameRequest) XXX_Merge(src proto.Message)

func (*GetVIPByNameRequest) XXX_Size

func (m *GetVIPByNameRequest) XXX_Size() int

func (*GetVIPByNameRequest) XXX_Unmarshal

func (m *GetVIPByNameRequest) XXX_Unmarshal(b []byte) error

type GetVIPByNameResponse

type GetVIPByNameResponse struct {
	Ip                   string   `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetVIPByNameResponse) Descriptor

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

func (*GetVIPByNameResponse) GetIp

func (m *GetVIPByNameResponse) GetIp() string

func (*GetVIPByNameResponse) ProtoMessage

func (*GetVIPByNameResponse) ProtoMessage()

func (*GetVIPByNameResponse) Reset

func (m *GetVIPByNameResponse) Reset()

func (*GetVIPByNameResponse) String

func (m *GetVIPByNameResponse) String() string

func (*GetVIPByNameResponse) XXX_DiscardUnknown

func (m *GetVIPByNameResponse) XXX_DiscardUnknown()

func (*GetVIPByNameResponse) XXX_Marshal

func (m *GetVIPByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVIPByNameResponse) XXX_Merge

func (dst *GetVIPByNameResponse) XXX_Merge(src proto.Message)

func (*GetVIPByNameResponse) XXX_Size

func (m *GetVIPByNameResponse) XXX_Size() int

func (*GetVIPByNameResponse) XXX_Unmarshal

func (m *GetVIPByNameResponse) XXX_Unmarshal(b []byte) error

type HealthRequest

type HealthRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthRequest) Descriptor

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

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) Reset

func (m *HealthRequest) Reset()

func (*HealthRequest) String

func (m *HealthRequest) String() string

func (*HealthRequest) XXX_DiscardUnknown

func (m *HealthRequest) XXX_DiscardUnknown()

func (*HealthRequest) XXX_Marshal

func (m *HealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthRequest) XXX_Merge

func (dst *HealthRequest) XXX_Merge(src proto.Message)

func (*HealthRequest) XXX_Size

func (m *HealthRequest) XXX_Size() int

func (*HealthRequest) XXX_Unmarshal

func (m *HealthRequest) XXX_Unmarshal(b []byte) error

type HealthResponse

type HealthResponse struct {
	Healthy              bool     `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthResponse) Descriptor

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

func (*HealthResponse) GetHealthy

func (m *HealthResponse) GetHealthy() bool

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) Reset

func (m *HealthResponse) Reset()

func (*HealthResponse) String

func (m *HealthResponse) String() string

func (*HealthResponse) XXX_DiscardUnknown

func (m *HealthResponse) XXX_DiscardUnknown()

func (*HealthResponse) XXX_Marshal

func (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthResponse) XXX_Merge

func (dst *HealthResponse) XXX_Merge(src proto.Message)

func (*HealthResponse) XXX_Size

func (m *HealthResponse) XXX_Size() int

func (*HealthResponse) XXX_Unmarshal

func (m *HealthResponse) XXX_Unmarshal(b []byte) error

type ListCapiDiegoProcessAssociationsRequest

type ListCapiDiegoProcessAssociationsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListCapiDiegoProcessAssociationsRequest) Descriptor

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

func (*ListCapiDiegoProcessAssociationsRequest) ProtoMessage

func (*ListCapiDiegoProcessAssociationsRequest) Reset

func (*ListCapiDiegoProcessAssociationsRequest) String

func (*ListCapiDiegoProcessAssociationsRequest) XXX_DiscardUnknown

func (m *ListCapiDiegoProcessAssociationsRequest) XXX_DiscardUnknown()

func (*ListCapiDiegoProcessAssociationsRequest) XXX_Marshal

func (m *ListCapiDiegoProcessAssociationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCapiDiegoProcessAssociationsRequest) XXX_Merge

func (*ListCapiDiegoProcessAssociationsRequest) XXX_Size

func (*ListCapiDiegoProcessAssociationsRequest) XXX_Unmarshal

func (m *ListCapiDiegoProcessAssociationsRequest) XXX_Unmarshal(b []byte) error

type ListCapiDiegoProcessAssociationsResponse

type ListCapiDiegoProcessAssociationsResponse struct {
	// key is capi process guid
	// value is a list of diego process guids
	CapiDiegoProcessAssociations map[string]*DiegoProcessGuids `` /* 237-byte string literal not displayed */
	XXX_NoUnkeyedLiteral         struct{}                      `json:"-"`
	XXX_unrecognized             []byte                        `json:"-"`
	XXX_sizecache                int32                         `json:"-"`
}

func (*ListCapiDiegoProcessAssociationsResponse) Descriptor

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

func (*ListCapiDiegoProcessAssociationsResponse) GetCapiDiegoProcessAssociations

func (m *ListCapiDiegoProcessAssociationsResponse) GetCapiDiegoProcessAssociations() map[string]*DiegoProcessGuids

func (*ListCapiDiegoProcessAssociationsResponse) ProtoMessage

func (*ListCapiDiegoProcessAssociationsResponse) Reset

func (*ListCapiDiegoProcessAssociationsResponse) String

func (*ListCapiDiegoProcessAssociationsResponse) XXX_DiscardUnknown

func (m *ListCapiDiegoProcessAssociationsResponse) XXX_DiscardUnknown()

func (*ListCapiDiegoProcessAssociationsResponse) XXX_Marshal

func (m *ListCapiDiegoProcessAssociationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCapiDiegoProcessAssociationsResponse) XXX_Merge

func (*ListCapiDiegoProcessAssociationsResponse) XXX_Size

func (*ListCapiDiegoProcessAssociationsResponse) XXX_Unmarshal

func (m *ListCapiDiegoProcessAssociationsResponse) XXX_Unmarshal(b []byte) error

type ListCfRouteMappingsRequest

type ListCfRouteMappingsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListCfRouteMappingsRequest) Descriptor

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

func (*ListCfRouteMappingsRequest) ProtoMessage

func (*ListCfRouteMappingsRequest) ProtoMessage()

func (*ListCfRouteMappingsRequest) Reset

func (m *ListCfRouteMappingsRequest) Reset()

func (*ListCfRouteMappingsRequest) String

func (m *ListCfRouteMappingsRequest) String() string

func (*ListCfRouteMappingsRequest) XXX_DiscardUnknown

func (m *ListCfRouteMappingsRequest) XXX_DiscardUnknown()

func (*ListCfRouteMappingsRequest) XXX_Marshal

func (m *ListCfRouteMappingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCfRouteMappingsRequest) XXX_Merge

func (dst *ListCfRouteMappingsRequest) XXX_Merge(src proto.Message)

func (*ListCfRouteMappingsRequest) XXX_Size

func (m *ListCfRouteMappingsRequest) XXX_Size() int

func (*ListCfRouteMappingsRequest) XXX_Unmarshal

func (m *ListCfRouteMappingsRequest) XXX_Unmarshal(b []byte) error

type ListCfRouteMappingsResponse

type ListCfRouteMappingsResponse struct {
	// key is '<route guid>-<capi process guid>'
	// value is a route_mapping
	RouteMappings        map[string]*RouteMapping `` /* 188-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ListCfRouteMappingsResponse) Descriptor

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

func (*ListCfRouteMappingsResponse) GetRouteMappings

func (m *ListCfRouteMappingsResponse) GetRouteMappings() map[string]*RouteMapping

func (*ListCfRouteMappingsResponse) ProtoMessage

func (*ListCfRouteMappingsResponse) ProtoMessage()

func (*ListCfRouteMappingsResponse) Reset

func (m *ListCfRouteMappingsResponse) Reset()

func (*ListCfRouteMappingsResponse) String

func (m *ListCfRouteMappingsResponse) String() string

func (*ListCfRouteMappingsResponse) XXX_DiscardUnknown

func (m *ListCfRouteMappingsResponse) XXX_DiscardUnknown()

func (*ListCfRouteMappingsResponse) XXX_Marshal

func (m *ListCfRouteMappingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCfRouteMappingsResponse) XXX_Merge

func (dst *ListCfRouteMappingsResponse) XXX_Merge(src proto.Message)

func (*ListCfRouteMappingsResponse) XXX_Size

func (m *ListCfRouteMappingsResponse) XXX_Size() int

func (*ListCfRouteMappingsResponse) XXX_Unmarshal

func (m *ListCfRouteMappingsResponse) XXX_Unmarshal(b []byte) error

type ListCfRoutesRequest

type ListCfRoutesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListCfRoutesRequest) Descriptor

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

func (*ListCfRoutesRequest) ProtoMessage

func (*ListCfRoutesRequest) ProtoMessage()

func (*ListCfRoutesRequest) Reset

func (m *ListCfRoutesRequest) Reset()

func (*ListCfRoutesRequest) String

func (m *ListCfRoutesRequest) String() string

func (*ListCfRoutesRequest) XXX_DiscardUnknown

func (m *ListCfRoutesRequest) XXX_DiscardUnknown()

func (*ListCfRoutesRequest) XXX_Marshal

func (m *ListCfRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCfRoutesRequest) XXX_Merge

func (dst *ListCfRoutesRequest) XXX_Merge(src proto.Message)

func (*ListCfRoutesRequest) XXX_Size

func (m *ListCfRoutesRequest) XXX_Size() int

func (*ListCfRoutesRequest) XXX_Unmarshal

func (m *ListCfRoutesRequest) XXX_Unmarshal(b []byte) error

type ListCfRoutesResponse

type ListCfRoutesResponse struct {
	// key is route guid
	// value is host
	Routes               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ListCfRoutesResponse) Descriptor

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

func (*ListCfRoutesResponse) GetRoutes

func (m *ListCfRoutesResponse) GetRoutes() map[string]string

func (*ListCfRoutesResponse) ProtoMessage

func (*ListCfRoutesResponse) ProtoMessage()

func (*ListCfRoutesResponse) Reset

func (m *ListCfRoutesResponse) Reset()

func (*ListCfRoutesResponse) String

func (m *ListCfRoutesResponse) String() string

func (*ListCfRoutesResponse) XXX_DiscardUnknown

func (m *ListCfRoutesResponse) XXX_DiscardUnknown()

func (*ListCfRoutesResponse) XXX_Marshal

func (m *ListCfRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCfRoutesResponse) XXX_Merge

func (dst *ListCfRoutesResponse) XXX_Merge(src proto.Message)

func (*ListCfRoutesResponse) XXX_Size

func (m *ListCfRoutesResponse) XXX_Size() int

func (*ListCfRoutesResponse) XXX_Unmarshal

func (m *ListCfRoutesResponse) XXX_Unmarshal(b []byte) error

type MapRouteRequest

type MapRouteRequest struct {
	RouteMapping         *RouteMapping `protobuf:"bytes,1,opt,name=route_mapping,json=routeMapping,proto3" json:"route_mapping,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*MapRouteRequest) Descriptor

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

func (*MapRouteRequest) GetRouteMapping

func (m *MapRouteRequest) GetRouteMapping() *RouteMapping

func (*MapRouteRequest) ProtoMessage

func (*MapRouteRequest) ProtoMessage()

func (*MapRouteRequest) Reset

func (m *MapRouteRequest) Reset()

func (*MapRouteRequest) String

func (m *MapRouteRequest) String() string

func (*MapRouteRequest) XXX_DiscardUnknown

func (m *MapRouteRequest) XXX_DiscardUnknown()

func (*MapRouteRequest) XXX_Marshal

func (m *MapRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapRouteRequest) XXX_Merge

func (dst *MapRouteRequest) XXX_Merge(src proto.Message)

func (*MapRouteRequest) XXX_Size

func (m *MapRouteRequest) XXX_Size() int

func (*MapRouteRequest) XXX_Unmarshal

func (m *MapRouteRequest) XXX_Unmarshal(b []byte) error

type MapRouteResponse

type MapRouteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MapRouteResponse) Descriptor

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

func (*MapRouteResponse) ProtoMessage

func (*MapRouteResponse) ProtoMessage()

func (*MapRouteResponse) Reset

func (m *MapRouteResponse) Reset()

func (*MapRouteResponse) String

func (m *MapRouteResponse) String() string

func (*MapRouteResponse) XXX_DiscardUnknown

func (m *MapRouteResponse) XXX_DiscardUnknown()

func (*MapRouteResponse) XXX_Marshal

func (m *MapRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapRouteResponse) XXX_Merge

func (dst *MapRouteResponse) XXX_Merge(src proto.Message)

func (*MapRouteResponse) XXX_Size

func (m *MapRouteResponse) XXX_Size() int

func (*MapRouteResponse) XXX_Unmarshal

func (m *MapRouteResponse) XXX_Unmarshal(b []byte) error

type Route

type Route struct {
	Guid                 string   `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	Host                 string   `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Path                 string   `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Internal             bool     `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"`
	Vip                  string   `protobuf:"bytes,5,opt,name=vip,proto3" json:"vip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Route) Descriptor

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

func (*Route) GetGuid

func (m *Route) GetGuid() string

func (*Route) GetHost

func (m *Route) GetHost() string

func (*Route) GetInternal

func (m *Route) GetInternal() bool

func (*Route) GetPath

func (m *Route) GetPath() string

func (*Route) GetVip

func (m *Route) GetVip() string

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (dst *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

type RouteMapping

type RouteMapping struct {
	CapiProcessGuid      string   `protobuf:"bytes,1,opt,name=capi_process_guid,json=capiProcessGuid,proto3" json:"capi_process_guid,omitempty"`
	RouteGuid            string   `protobuf:"bytes,2,opt,name=route_guid,json=routeGuid,proto3" json:"route_guid,omitempty"`
	RouteWeight          uint32   `protobuf:"varint,3,opt,name=route_weight,json=routeWeight,proto3" json:"route_weight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RouteMapping) Descriptor

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

func (*RouteMapping) GetCapiProcessGuid

func (m *RouteMapping) GetCapiProcessGuid() string

func (*RouteMapping) GetRouteGuid

func (m *RouteMapping) GetRouteGuid() string

func (*RouteMapping) GetRouteWeight

func (m *RouteMapping) GetRouteWeight() uint32

func (*RouteMapping) ProtoMessage

func (*RouteMapping) ProtoMessage()

func (*RouteMapping) Reset

func (m *RouteMapping) Reset()

func (*RouteMapping) String

func (m *RouteMapping) String() string

func (*RouteMapping) XXX_DiscardUnknown

func (m *RouteMapping) XXX_DiscardUnknown()

func (*RouteMapping) XXX_Marshal

func (m *RouteMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteMapping) XXX_Merge

func (dst *RouteMapping) XXX_Merge(src proto.Message)

func (*RouteMapping) XXX_Size

func (m *RouteMapping) XXX_Size() int

func (*RouteMapping) XXX_Unmarshal

func (m *RouteMapping) XXX_Unmarshal(b []byte) error

type UnmapRouteRequest

type UnmapRouteRequest struct {
	RouteMapping         *RouteMapping `protobuf:"bytes,1,opt,name=route_mapping,json=routeMapping,proto3" json:"route_mapping,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*UnmapRouteRequest) Descriptor

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

func (*UnmapRouteRequest) GetRouteMapping

func (m *UnmapRouteRequest) GetRouteMapping() *RouteMapping

func (*UnmapRouteRequest) ProtoMessage

func (*UnmapRouteRequest) ProtoMessage()

func (*UnmapRouteRequest) Reset

func (m *UnmapRouteRequest) Reset()

func (*UnmapRouteRequest) String

func (m *UnmapRouteRequest) String() string

func (*UnmapRouteRequest) XXX_DiscardUnknown

func (m *UnmapRouteRequest) XXX_DiscardUnknown()

func (*UnmapRouteRequest) XXX_Marshal

func (m *UnmapRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnmapRouteRequest) XXX_Merge

func (dst *UnmapRouteRequest) XXX_Merge(src proto.Message)

func (*UnmapRouteRequest) XXX_Size

func (m *UnmapRouteRequest) XXX_Size() int

func (*UnmapRouteRequest) XXX_Unmarshal

func (m *UnmapRouteRequest) XXX_Unmarshal(b []byte) error

type UnmapRouteResponse

type UnmapRouteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnmapRouteResponse) Descriptor

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

func (*UnmapRouteResponse) ProtoMessage

func (*UnmapRouteResponse) ProtoMessage()

func (*UnmapRouteResponse) Reset

func (m *UnmapRouteResponse) Reset()

func (*UnmapRouteResponse) String

func (m *UnmapRouteResponse) String() string

func (*UnmapRouteResponse) XXX_DiscardUnknown

func (m *UnmapRouteResponse) XXX_DiscardUnknown()

func (*UnmapRouteResponse) XXX_Marshal

func (m *UnmapRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnmapRouteResponse) XXX_Merge

func (dst *UnmapRouteResponse) XXX_Merge(src proto.Message)

func (*UnmapRouteResponse) XXX_Size

func (m *UnmapRouteResponse) XXX_Size() int

func (*UnmapRouteResponse) XXX_Unmarshal

func (m *UnmapRouteResponse) XXX_Unmarshal(b []byte) error

type UpsertCapiDiegoProcessAssociationRequest

type UpsertCapiDiegoProcessAssociationRequest struct {
	CapiDiegoProcessAssociation *CapiDiegoProcessAssociation `` /* 146-byte string literal not displayed */
	XXX_NoUnkeyedLiteral        struct{}                     `json:"-"`
	XXX_unrecognized            []byte                       `json:"-"`
	XXX_sizecache               int32                        `json:"-"`
}

func (*UpsertCapiDiegoProcessAssociationRequest) Descriptor

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

func (*UpsertCapiDiegoProcessAssociationRequest) GetCapiDiegoProcessAssociation

func (m *UpsertCapiDiegoProcessAssociationRequest) GetCapiDiegoProcessAssociation() *CapiDiegoProcessAssociation

func (*UpsertCapiDiegoProcessAssociationRequest) ProtoMessage

func (*UpsertCapiDiegoProcessAssociationRequest) Reset

func (*UpsertCapiDiegoProcessAssociationRequest) String

func (*UpsertCapiDiegoProcessAssociationRequest) XXX_DiscardUnknown

func (m *UpsertCapiDiegoProcessAssociationRequest) XXX_DiscardUnknown()

func (*UpsertCapiDiegoProcessAssociationRequest) XXX_Marshal

func (m *UpsertCapiDiegoProcessAssociationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertCapiDiegoProcessAssociationRequest) XXX_Merge

func (*UpsertCapiDiegoProcessAssociationRequest) XXX_Size

func (*UpsertCapiDiegoProcessAssociationRequest) XXX_Unmarshal

func (m *UpsertCapiDiegoProcessAssociationRequest) XXX_Unmarshal(b []byte) error

type UpsertCapiDiegoProcessAssociationResponse

type UpsertCapiDiegoProcessAssociationResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpsertCapiDiegoProcessAssociationResponse) Descriptor

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

func (*UpsertCapiDiegoProcessAssociationResponse) ProtoMessage

func (*UpsertCapiDiegoProcessAssociationResponse) Reset

func (*UpsertCapiDiegoProcessAssociationResponse) String

func (*UpsertCapiDiegoProcessAssociationResponse) XXX_DiscardUnknown

func (m *UpsertCapiDiegoProcessAssociationResponse) XXX_DiscardUnknown()

func (*UpsertCapiDiegoProcessAssociationResponse) XXX_Marshal

func (m *UpsertCapiDiegoProcessAssociationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertCapiDiegoProcessAssociationResponse) XXX_Merge

func (*UpsertCapiDiegoProcessAssociationResponse) XXX_Size

func (*UpsertCapiDiegoProcessAssociationResponse) XXX_Unmarshal

type UpsertRouteRequest

type UpsertRouteRequest struct {
	Route                *Route   `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpsertRouteRequest) Descriptor

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

func (*UpsertRouteRequest) GetRoute

func (m *UpsertRouteRequest) GetRoute() *Route

func (*UpsertRouteRequest) ProtoMessage

func (*UpsertRouteRequest) ProtoMessage()

func (*UpsertRouteRequest) Reset

func (m *UpsertRouteRequest) Reset()

func (*UpsertRouteRequest) String

func (m *UpsertRouteRequest) String() string

func (*UpsertRouteRequest) XXX_DiscardUnknown

func (m *UpsertRouteRequest) XXX_DiscardUnknown()

func (*UpsertRouteRequest) XXX_Marshal

func (m *UpsertRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertRouteRequest) XXX_Merge

func (dst *UpsertRouteRequest) XXX_Merge(src proto.Message)

func (*UpsertRouteRequest) XXX_Size

func (m *UpsertRouteRequest) XXX_Size() int

func (*UpsertRouteRequest) XXX_Unmarshal

func (m *UpsertRouteRequest) XXX_Unmarshal(b []byte) error

type UpsertRouteResponse

type UpsertRouteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpsertRouteResponse) Descriptor

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

func (*UpsertRouteResponse) ProtoMessage

func (*UpsertRouteResponse) ProtoMessage()

func (*UpsertRouteResponse) Reset

func (m *UpsertRouteResponse) Reset()

func (*UpsertRouteResponse) String

func (m *UpsertRouteResponse) String() string

func (*UpsertRouteResponse) XXX_DiscardUnknown

func (m *UpsertRouteResponse) XXX_DiscardUnknown()

func (*UpsertRouteResponse) XXX_Marshal

func (m *UpsertRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpsertRouteResponse) XXX_Merge

func (dst *UpsertRouteResponse) XXX_Merge(src proto.Message)

func (*UpsertRouteResponse) XXX_Size

func (m *UpsertRouteResponse) XXX_Size() int

func (*UpsertRouteResponse) XXX_Unmarshal

func (m *UpsertRouteResponse) XXX_Unmarshal(b []byte) error

type VIPResolverCopilotClient

type VIPResolverCopilotClient interface {
	GetVIPByName(ctx context.Context, in *GetVIPByNameRequest, opts ...grpc.CallOption) (*GetVIPByNameResponse, error)
	Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}

VIPResolverCopilotClient is the client API for VIPResolverCopilot service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVIPResolverCopilotClient

func NewVIPResolverCopilotClient(cc *grpc.ClientConn) VIPResolverCopilotClient

type VIPResolverCopilotServer

type VIPResolverCopilotServer interface {
	GetVIPByName(context.Context, *GetVIPByNameRequest) (*GetVIPByNameResponse, error)
	Health(context.Context, *HealthRequest) (*HealthResponse, error)
}

VIPResolverCopilotServer is the server API for VIPResolverCopilot service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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