brokerpb

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseBrokerRequest

type BaseBrokerRequest struct {
	HostAddress string `protobuf:"bytes,1,opt,name=hostAddress" json:"hostAddress,omitempty"`
	Scheme      string `protobuf:"bytes,2,opt,name=scheme" json:"scheme,omitempty"`
}

func (*BaseBrokerRequest) GetHostAddress

func (m *BaseBrokerRequest) GetHostAddress() string

func (*BaseBrokerRequest) GetScheme

func (m *BaseBrokerRequest) GetScheme() string

func (*BaseBrokerRequest) Reset

func (m *BaseBrokerRequest) Reset()

type BrokerAPIInfoEntry

type BrokerAPIInfoEntry struct {
	Href      string `protobuf:"bytes,1,opt,name=href" json:"href,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Title     string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	Templated bool   `protobuf:"varint,4,opt,name=templated" json:"templated,omitempty"`
}

func (*BrokerAPIInfoEntry) GetHref

func (m *BrokerAPIInfoEntry) GetHref() string

func (*BrokerAPIInfoEntry) GetName

func (m *BrokerAPIInfoEntry) GetName() string

func (*BrokerAPIInfoEntry) GetTemplated

func (m *BrokerAPIInfoEntry) GetTemplated() bool

func (*BrokerAPIInfoEntry) GetTitle

func (m *BrokerAPIInfoEntry) GetTitle() string

type BrokerHomeResponse

type BrokerHomeResponse struct {
	Response *registry.Response             `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
	XLinks   map[string]*BrokerAPIInfoEntry `` /* 143-byte string literal not displayed */
	Curies   []*BrokerAPIInfoEntry          `protobuf:"bytes,3,rep,name=curies" json:"curies,omitempty"`
}

func (*BrokerHomeResponse) GetCuries

func (m *BrokerHomeResponse) GetCuries() []*BrokerAPIInfoEntry
func (m *BrokerHomeResponse) GetXLinks() map[string]*BrokerAPIInfoEntry

func (*BrokerHomeResponse) Reset

func (m *BrokerHomeResponse) Reset()

type ConsumerInfo

type ConsumerInfo struct {
	Href string `protobuf:"bytes,1,opt,name=href" json:"href,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*ConsumerInfo) GetHref

func (m *ConsumerInfo) GetHref() string

func (*ConsumerInfo) GetName

func (m *ConsumerInfo) GetName() string

type GetAllProviderPactsRequest

type GetAllProviderPactsRequest struct {
	ProviderId string             `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"`
	BaseUrl    *BaseBrokerRequest `protobuf:"bytes,2,opt,name=baseUrl" json:"baseUrl,omitempty"`
}

func (*GetAllProviderPactsRequest) GetBaseUrl

func (*GetAllProviderPactsRequest) GetProviderId

func (m *GetAllProviderPactsRequest) GetProviderId() string

func (*GetAllProviderPactsRequest) Reset

func (m *GetAllProviderPactsRequest) Reset()

type GetAllProviderPactsResponse

type GetAllProviderPactsResponse struct {
	Response *registry.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
	XLinks   *Links             `protobuf:"bytes,2,opt,name=_links,json=Links" json:"_links,omitempty"`
}
func (m *GetAllProviderPactsResponse) GetXLinks() *Links

func (*GetAllProviderPactsResponse) Reset

func (m *GetAllProviderPactsResponse) Reset()

type GetProviderConsumerVersionPactRequest

type GetProviderConsumerVersionPactRequest struct {
	ProviderId string             `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"`
	ConsumerId string             `protobuf:"bytes,2,opt,name=consumerId" json:"consumerId,omitempty"`
	Version    string             `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	BaseUrl    *BaseBrokerRequest `protobuf:"bytes,4,opt,name=baseUrl" json:"baseUrl,omitempty"`
}

func (*GetProviderConsumerVersionPactRequest) GetBaseUrl

func (*GetProviderConsumerVersionPactRequest) GetConsumerId

func (m *GetProviderConsumerVersionPactRequest) GetConsumerId() string

func (*GetProviderConsumerVersionPactRequest) GetProviderId

func (m *GetProviderConsumerVersionPactRequest) GetProviderId() string

func (*GetProviderConsumerVersionPactRequest) Reset

type GetProviderConsumerVersionPactResponse

type GetProviderConsumerVersionPactResponse struct {
	Response *registry.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
	Pact     []byte             `protobuf:"bytes,2,opt,name=pact,proto3" json:"pact,omitempty"`
}

func (*GetProviderConsumerVersionPactResponse) GetPact

func (*GetProviderConsumerVersionPactResponse) Reset

type Links struct {
	Pacts []*ConsumerInfo `protobuf:"bytes,1,rep,name=pacts" json:"pacts,omitempty"`
}

func (*Links) GetPacts

func (m *Links) GetPacts() []*ConsumerInfo

func (*Links) Reset

func (m *Links) Reset()

type Pact

type Pact struct {
	Id                    int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ConsumerParticipantId int32  `protobuf:"varint,2,opt,name=consumerParticipantId" json:"consumerParticipantId,omitempty"`
	ProviderParticipantId int32  `protobuf:"varint,3,opt,name=providerParticipantId" json:"providerParticipantId,omitempty"`
	Sha                   []byte `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"`
	Content               []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
}

func (*Pact) GetConsumerParticipantId

func (m *Pact) GetConsumerParticipantId() int32

func (*Pact) GetContent

func (m *Pact) GetContent() []byte

func (*Pact) GetId

func (m *Pact) GetId() int32

func (*Pact) GetProviderParticipantId

func (m *Pact) GetProviderParticipantId() int32

func (*Pact) GetSha

func (m *Pact) GetSha() []byte

func (*Pact) Reset

func (m *Pact) Reset()

type PactVersion

type PactVersion struct {
	Id                    int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	VersionId             int32 `protobuf:"varint,2,opt,name=versionId" json:"versionId,omitempty"`
	PactId                int32 `protobuf:"varint,3,opt,name=pactId" json:"pactId,omitempty"`
	ProviderParticipantId int32 `protobuf:"varint,4,opt,name=providerParticipantId" json:"providerParticipantId,omitempty"`
}

func (*PactVersion) GetId

func (m *PactVersion) GetId() int32

func (*PactVersion) GetPactId

func (m *PactVersion) GetPactId() int32

func (*PactVersion) GetProviderParticipantId

func (m *PactVersion) GetProviderParticipantId() int32

func (*PactVersion) GetVersionId

func (m *PactVersion) GetVersionId() int32

func (*PactVersion) Reset

func (m *PactVersion) Reset()

type Participant

type Participant struct {
	Id          int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AppId       string `protobuf:"bytes,2,opt,name=appId" json:"appId,omitempty"`
	ServiceName string `protobuf:"bytes,3,opt,name=serviceName" json:"serviceName,omitempty"`
}

func (*Participant) GetAppId

func (m *Participant) GetAppId() string

func (*Participant) GetId

func (m *Participant) GetId() int32

func (*Participant) GetServiceName

func (m *Participant) GetServiceName() string

func (*Participant) Reset

func (m *Participant) Reset()

type PublishPactRequest

type PublishPactRequest struct {
	ProviderId string `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"`
	ConsumerId string `protobuf:"bytes,2,opt,name=consumerId" json:"consumerId,omitempty"`
	Version    string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	Pact       []byte `protobuf:"bytes,4,opt,name=pact,proto3" json:"pact,omitempty"`
}

func (*PublishPactRequest) GetConsumerId

func (m *PublishPactRequest) GetConsumerId() string

func (*PublishPactRequest) GetPact

func (m *PublishPactRequest) GetPact() []byte

func (*PublishPactRequest) GetProviderId

func (m *PublishPactRequest) GetProviderId() string

func (*PublishPactRequest) Reset

func (m *PublishPactRequest) Reset()

type PublishPactResponse

type PublishPactResponse struct {
	Response *registry.Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}

func (*PublishPactResponse) Reset

func (m *PublishPactResponse) Reset()

type PublishVerificationRequest

type PublishVerificationRequest struct {
	ProviderId                 string `protobuf:"bytes,1,opt,name=providerId" json:"providerId,omitempty"`
	ConsumerId                 string `protobuf:"bytes,2,opt,name=consumerId" json:"consumerId,omitempty"`
	PactId                     int32  `protobuf:"varint,3,opt,name=pactId" json:"pactId,omitempty"`
	Success                    bool   `protobuf:"varint,4,opt,name=success" json:"success,omitempty"`
	ProviderApplicationVersion string `protobuf:"bytes,5,opt,name=providerApplicationVersion" json:"providerApplicationVersion,omitempty"`
}

func (*PublishVerificationRequest) GetConsumerId

func (m *PublishVerificationRequest) GetConsumerId() string

func (*PublishVerificationRequest) GetPactId

func (m *PublishVerificationRequest) GetPactId() int32

func (*PublishVerificationRequest) GetProviderApplicationVersion

func (m *PublishVerificationRequest) GetProviderApplicationVersion() string

func (*PublishVerificationRequest) GetProviderId

func (m *PublishVerificationRequest) GetProviderId() string

func (*PublishVerificationRequest) GetSuccess

func (m *PublishVerificationRequest) GetSuccess() bool

func (*PublishVerificationRequest) Reset

func (m *PublishVerificationRequest) Reset()

type PublishVerificationResponse

type PublishVerificationResponse struct {
	Response     *registry.Response  `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
	Confirmation *VerificationDetail `protobuf:"bytes,2,opt,name=confirmation" json:"confirmation,omitempty"`
}

func (*PublishVerificationResponse) GetConfirmation

func (m *PublishVerificationResponse) GetConfirmation() *VerificationDetail

type RetrieveVerificationRequest

type RetrieveVerificationRequest struct {
	ConsumerId      string `protobuf:"bytes,1,opt,name=consumerId" json:"consumerId,omitempty"`
	ConsumerVersion string `protobuf:"bytes,2,opt,name=consumerVersion" json:"consumerVersion,omitempty"`
}

func (*RetrieveVerificationRequest) GetConsumerId

func (m *RetrieveVerificationRequest) GetConsumerId() string

func (*RetrieveVerificationRequest) GetConsumerVersion

func (m *RetrieveVerificationRequest) GetConsumerVersion() string

func (*RetrieveVerificationRequest) Reset

func (m *RetrieveVerificationRequest) Reset()

type RetrieveVerificationResponse

type RetrieveVerificationResponse struct {
	Response *registry.Response  `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
	Result   *VerificationResult `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
}

func (*RetrieveVerificationResponse) GetResult

func (*RetrieveVerificationResponse) Reset

func (m *RetrieveVerificationResponse) Reset()

type Tag

type Tag struct {
	Name      string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	VersionId int32  `protobuf:"varint,2,opt,name=versionId" json:"versionId,omitempty"`
}

func (*Tag) GetName

func (m *Tag) GetName() string

func (*Tag) GetVersionId

func (m *Tag) GetVersionId() int32

func (*Tag) Reset

func (m *Tag) Reset()

type Verification

type Verification struct {
	Id               int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Number           int32  `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
	PactVersionId    int32  `protobuf:"varint,3,opt,name=pactVersionId" json:"pactVersionId,omitempty"`
	Success          bool   `protobuf:"varint,4,opt,name=success" json:"success,omitempty"`
	ProviderVersion  string `protobuf:"bytes,5,opt,name=providerVersion" json:"providerVersion,omitempty"`
	BuildUrl         string `protobuf:"bytes,6,opt,name=buildUrl" json:"buildUrl,omitempty"`
	VerificationDate string `protobuf:"bytes,7,opt,name=verificationDate" json:"verificationDate,omitempty"`
}

func (*Verification) GetBuildUrl

func (m *Verification) GetBuildUrl() string

func (*Verification) GetId

func (m *Verification) GetId() int32

func (*Verification) GetNumber

func (m *Verification) GetNumber() int32

func (*Verification) GetPactVersionId

func (m *Verification) GetPactVersionId() int32

func (*Verification) GetProviderVersion

func (m *Verification) GetProviderVersion() string

func (*Verification) GetSuccess

func (m *Verification) GetSuccess() bool

func (*Verification) GetVerificationDate

func (m *Verification) GetVerificationDate() string

func (*Verification) Reset

func (m *Verification) Reset()

type VerificationDetail

type VerificationDetail struct {
	ProviderName               string `protobuf:"bytes,1,opt,name=providerName" json:"providerName,omitempty"`
	ProviderApplicationVersion string `protobuf:"bytes,2,opt,name=providerApplicationVersion" json:"providerApplicationVersion,omitempty"`
	Success                    bool   `protobuf:"varint,3,opt,name=success" json:"success,omitempty"`
	VerificationDate           string `protobuf:"bytes,4,opt,name=verificationDate" json:"verificationDate,omitempty"`
}

func (*VerificationDetail) GetProviderApplicationVersion

func (m *VerificationDetail) GetProviderApplicationVersion() string

func (*VerificationDetail) GetProviderName

func (m *VerificationDetail) GetProviderName() string

func (*VerificationDetail) GetSuccess

func (m *VerificationDetail) GetSuccess() bool

func (*VerificationDetail) GetVerificationDate

func (m *VerificationDetail) GetVerificationDate() string

func (*VerificationDetail) Reset

func (m *VerificationDetail) Reset()

type VerificationDetails

type VerificationDetails struct {
	VerificationResults []*VerificationDetail `protobuf:"bytes,1,rep,name=verificationResults" json:"verificationResults,omitempty"`
}

func (*VerificationDetails) GetVerificationResults

func (m *VerificationDetails) GetVerificationResults() []*VerificationDetail

type VerificationResult

type VerificationResult struct {
	Success         bool                 `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	ProviderSummary *VerificationSummary `protobuf:"bytes,2,opt,name=providerSummary" json:"providerSummary,omitempty"`
	XEmbedded       *VerificationDetails `protobuf:"bytes,3,opt,name=_embedded,json=Embedded" json:"_embedded,omitempty"`
}

func (*VerificationResult) GetProviderSummary

func (m *VerificationResult) GetProviderSummary() *VerificationSummary

func (*VerificationResult) GetSuccess

func (m *VerificationResult) GetSuccess() bool

func (*VerificationResult) GetXEmbedded

func (m *VerificationResult) GetXEmbedded() *VerificationDetails

func (*VerificationResult) Reset

func (m *VerificationResult) Reset()

type VerificationSummary

type VerificationSummary struct {
	Successful []string `protobuf:"bytes,1,rep,name=successful" json:"successful,omitempty"`
	Failed     []string `protobuf:"bytes,2,rep,name=failed" json:"failed,omitempty"`
	Unknown    []string `protobuf:"bytes,3,rep,name=unknown" json:"unknown,omitempty"`
}

func (*VerificationSummary) GetFailed

func (m *VerificationSummary) GetFailed() []string

func (*VerificationSummary) GetSuccessful

func (m *VerificationSummary) GetSuccessful() []string

func (*VerificationSummary) GetUnknown

func (m *VerificationSummary) GetUnknown() []string

func (*VerificationSummary) Reset

func (m *VerificationSummary) Reset()

type Version

type Version struct {
	Id            int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Number        string `protobuf:"bytes,2,opt,name=number" json:"number,omitempty"`
	ParticipantId int32  `protobuf:"varint,3,opt,name=participantId" json:"participantId,omitempty"`
	Order         int32  `protobuf:"varint,4,opt,name=order" json:"order,omitempty"`
}

func (*Version) GetId

func (m *Version) GetId() int32

func (*Version) GetNumber

func (m *Version) GetNumber() string

func (*Version) GetOrder

func (m *Version) GetOrder() int32

func (*Version) GetParticipantId

func (m *Version) GetParticipantId() int32

func (*Version) Reset

func (m *Version) Reset()

Jump to

Keyboard shortcuts

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