apinator

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package apinator is a generated twirp stub package. This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.7.0.

It is generated from these files:

rpc/apinator/service.proto

Index

Constants

View Source
const EnterpriseServiceBrokerPathPrefix = "/twirp/viewpoint.whoville.apinator.EnterpriseServiceBroker/"

EnterpriseServiceBrokerPathPrefix is used for all URL paths on a twirp EnterpriseServiceBroker server. Requests are always: POST EnterpriseServiceBrokerPathPrefix/method It can be used in an HTTP mux to route twirp requests along with non-twirp requests on other routes.

Variables

This section is empty.

Functions

func WriteError

func WriteError(resp http.ResponseWriter, err error)

WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)

Types

type CheckConnResp

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

////////////////////////////////////////////////////// Reset Server Messages // //////////////////////////////////////////////////////

func (*CheckConnResp) Descriptor

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

func (*CheckConnResp) GetConnected

func (m *CheckConnResp) GetConnected() bool

func (*CheckConnResp) ProtoMessage

func (*CheckConnResp) ProtoMessage()

func (*CheckConnResp) Reset

func (m *CheckConnResp) Reset()

func (*CheckConnResp) String

func (m *CheckConnResp) String() string

func (*CheckConnResp) XXX_DiscardUnknown

func (m *CheckConnResp) XXX_DiscardUnknown()

func (*CheckConnResp) XXX_Marshal

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

func (*CheckConnResp) XXX_Merge

func (m *CheckConnResp) XXX_Merge(src proto.Message)

func (*CheckConnResp) XXX_Size

func (m *CheckConnResp) XXX_Size() int

func (*CheckConnResp) XXX_Unmarshal

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

type EnterpriseServiceBroker

type EnterpriseServiceBroker interface {
	GetTemplate(context.Context, *TemplateReq) (*TemplateResp, error)

	Validate(context.Context, *ValidationReq) (*ValidationResp, error)

	ListServiceTemplates(context.Context, *ListReq) (*ListResp, error)

	GetValues(context.Context, *GetValuesReq) (*ValuesRes, error)

	InitVault(context.Context, *InitReq) (*InitResp, error)

	GetStatus(context.Context, *NoParams) (*VaultStatus, error)

	APILogin(context.Context, *LoginReq) (*LoginResp, error)

	Unseal(context.Context, *UnsealReq) (*UnsealResp, error)

	GraphQL(context.Context, *GraphQLQuery) (*GraphQLResp, error)

	UpdateAPI(context.Context, *UpdateAPIReq) (*NoParams, error)

	GetVaultTokens(context.Context, *TokensReq) (*TokensResp, error)

	RollTokens(context.Context, *NoParams) (*NoParams, error)

	ResetServer(context.Context, *ResetReq) (*NoParams, error)

	CheckConnection(context.Context, *NoParams) (*CheckConnResp, error)

	Environments(context.Context, *NoParams) (*EnvResp, error)
}

func NewEnterpriseServiceBrokerJSONClient

func NewEnterpriseServiceBrokerJSONClient(addr string, client HTTPClient) EnterpriseServiceBroker

NewEnterpriseServiceBrokerJSONClient creates a JSON client that implements the EnterpriseServiceBroker interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewEnterpriseServiceBrokerProtobufClient

func NewEnterpriseServiceBrokerProtobufClient(addr string, client HTTPClient) EnterpriseServiceBroker

NewEnterpriseServiceBrokerProtobufClient creates a Protobuf client that implements the EnterpriseServiceBroker interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type EnvResp

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

func (*EnvResp) Descriptor

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

func (*EnvResp) GetEnv

func (m *EnvResp) GetEnv() []string

func (*EnvResp) ProtoMessage

func (*EnvResp) ProtoMessage()

func (*EnvResp) Reset

func (m *EnvResp) Reset()

func (*EnvResp) String

func (m *EnvResp) String() string

func (*EnvResp) XXX_DiscardUnknown

func (m *EnvResp) XXX_DiscardUnknown()

func (*EnvResp) XXX_Marshal

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

func (*EnvResp) XXX_Merge

func (m *EnvResp) XXX_Merge(src proto.Message)

func (*EnvResp) XXX_Size

func (m *EnvResp) XXX_Size() int

func (*EnvResp) XXX_Unmarshal

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

type GQLError

type GQLError struct {
	Message              string               `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Locations            []*GQLError_Location `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*GQLError) Descriptor

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

func (*GQLError) GetLocations

func (m *GQLError) GetLocations() []*GQLError_Location

func (*GQLError) GetMessage

func (m *GQLError) GetMessage() string

func (*GQLError) ProtoMessage

func (*GQLError) ProtoMessage()

func (*GQLError) Reset

func (m *GQLError) Reset()

func (*GQLError) String

func (m *GQLError) String() string

func (*GQLError) XXX_DiscardUnknown

func (m *GQLError) XXX_DiscardUnknown()

func (*GQLError) XXX_Marshal

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

func (*GQLError) XXX_Merge

func (m *GQLError) XXX_Merge(src proto.Message)

func (*GQLError) XXX_Size

func (m *GQLError) XXX_Size() int

func (*GQLError) XXX_Unmarshal

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

type GQLError_Location

type GQLError_Location struct {
	Line                 int32    `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
	Column               int32    `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GQLError_Location) Descriptor

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

func (*GQLError_Location) GetColumn

func (m *GQLError_Location) GetColumn() int32

func (*GQLError_Location) GetLine

func (m *GQLError_Location) GetLine() int32

func (*GQLError_Location) ProtoMessage

func (*GQLError_Location) ProtoMessage()

func (*GQLError_Location) Reset

func (m *GQLError_Location) Reset()

func (*GQLError_Location) String

func (m *GQLError_Location) String() string

func (*GQLError_Location) XXX_DiscardUnknown

func (m *GQLError_Location) XXX_DiscardUnknown()

func (*GQLError_Location) XXX_Marshal

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

func (*GQLError_Location) XXX_Merge

func (m *GQLError_Location) XXX_Merge(src proto.Message)

func (*GQLError_Location) XXX_Size

func (m *GQLError_Location) XXX_Size() int

func (*GQLError_Location) XXX_Unmarshal

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

type GQLTemplateResp

type GQLTemplateResp struct {
	Data                 *TemplateData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Errors               []*GQLError   `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GQLTemplateResp) Descriptor

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

func (*GQLTemplateResp) GetData

func (m *GQLTemplateResp) GetData() *TemplateData

func (*GQLTemplateResp) GetErrors

func (m *GQLTemplateResp) GetErrors() []*GQLError

func (*GQLTemplateResp) ProtoMessage

func (*GQLTemplateResp) ProtoMessage()

func (*GQLTemplateResp) Reset

func (m *GQLTemplateResp) Reset()

func (*GQLTemplateResp) String

func (m *GQLTemplateResp) String() string

func (*GQLTemplateResp) XXX_DiscardUnknown

func (m *GQLTemplateResp) XXX_DiscardUnknown()

func (*GQLTemplateResp) XXX_Marshal

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

func (*GQLTemplateResp) XXX_Merge

func (m *GQLTemplateResp) XXX_Merge(src proto.Message)

func (*GQLTemplateResp) XXX_Size

func (m *GQLTemplateResp) XXX_Size() int

func (*GQLTemplateResp) XXX_Unmarshal

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

type GetValuesReq

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

func (*GetValuesReq) Descriptor

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

func (*GetValuesReq) ProtoMessage

func (*GetValuesReq) ProtoMessage()

func (*GetValuesReq) Reset

func (m *GetValuesReq) Reset()

func (*GetValuesReq) String

func (m *GetValuesReq) String() string

func (*GetValuesReq) XXX_DiscardUnknown

func (m *GetValuesReq) XXX_DiscardUnknown()

func (*GetValuesReq) XXX_Marshal

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

func (*GetValuesReq) XXX_Merge

func (m *GetValuesReq) XXX_Merge(src proto.Message)

func (*GetValuesReq) XXX_Size

func (m *GetValuesReq) XXX_Size() int

func (*GetValuesReq) XXX_Unmarshal

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

type GraphQLQuery

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

/////////////////////////////////////////////////////// GraphQL Messages // ///////////////////////////////////////////////////////

func (*GraphQLQuery) Descriptor

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

func (*GraphQLQuery) GetQuery

func (m *GraphQLQuery) GetQuery() string

func (*GraphQLQuery) ProtoMessage

func (*GraphQLQuery) ProtoMessage()

func (*GraphQLQuery) Reset

func (m *GraphQLQuery) Reset()

func (*GraphQLQuery) String

func (m *GraphQLQuery) String() string

func (*GraphQLQuery) XXX_DiscardUnknown

func (m *GraphQLQuery) XXX_DiscardUnknown()

func (*GraphQLQuery) XXX_Marshal

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

func (*GraphQLQuery) XXX_Merge

func (m *GraphQLQuery) XXX_Merge(src proto.Message)

func (*GraphQLQuery) XXX_Size

func (m *GraphQLQuery) XXX_Size() int

func (*GraphQLQuery) XXX_Unmarshal

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

type GraphQLResp

type GraphQLResp struct {
	Data                 *ValuesRes  `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Errors               []*GQLError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GraphQLResp) Descriptor

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

func (*GraphQLResp) GetData

func (m *GraphQLResp) GetData() *ValuesRes

func (*GraphQLResp) GetErrors

func (m *GraphQLResp) GetErrors() []*GQLError

func (*GraphQLResp) ProtoMessage

func (*GraphQLResp) ProtoMessage()

func (*GraphQLResp) Reset

func (m *GraphQLResp) Reset()

func (*GraphQLResp) String

func (m *GraphQLResp) String() string

func (*GraphQLResp) XXX_DiscardUnknown

func (m *GraphQLResp) XXX_DiscardUnknown()

func (*GraphQLResp) XXX_Marshal

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

func (*GraphQLResp) XXX_Merge

func (m *GraphQLResp) XXX_Merge(src proto.Message)

func (*GraphQLResp) XXX_Size

func (m *GraphQLResp) XXX_Size() int

func (*GraphQLResp) XXX_Unmarshal

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

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.

HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.

type InitReq

type InitReq struct {
	Files                []*InitReq_SeedFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	Username             string              `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password             string              `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Env                  string              `protobuf:"bytes,4,opt,name=env,proto3" json:"env,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

/////////////////////////////////////////////////////// Initialization Messages // ///////////////////////////////////////////////////////

func (*InitReq) Descriptor

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

func (*InitReq) GetEnv

func (m *InitReq) GetEnv() string

func (*InitReq) GetFiles

func (m *InitReq) GetFiles() []*InitReq_SeedFile

func (*InitReq) GetPassword

func (m *InitReq) GetPassword() string

func (*InitReq) GetUsername

func (m *InitReq) GetUsername() string

func (*InitReq) ProtoMessage

func (*InitReq) ProtoMessage()

func (*InitReq) Reset

func (m *InitReq) Reset()

func (*InitReq) String

func (m *InitReq) String() string

func (*InitReq) XXX_DiscardUnknown

func (m *InitReq) XXX_DiscardUnknown()

func (*InitReq) XXX_Marshal

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

func (*InitReq) XXX_Merge

func (m *InitReq) XXX_Merge(src proto.Message)

func (*InitReq) XXX_Size

func (m *InitReq) XXX_Size() int

func (*InitReq) XXX_Unmarshal

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

type InitReq_SeedFile

type InitReq_SeedFile struct {
	Env                  string   `protobuf:"bytes,1,opt,name=env,proto3" json:"env,omitempty"`
	Data                 string   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitReq_SeedFile) Descriptor

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

func (*InitReq_SeedFile) GetData

func (m *InitReq_SeedFile) GetData() string

func (*InitReq_SeedFile) GetEnv

func (m *InitReq_SeedFile) GetEnv() string

func (*InitReq_SeedFile) ProtoMessage

func (*InitReq_SeedFile) ProtoMessage()

func (*InitReq_SeedFile) Reset

func (m *InitReq_SeedFile) Reset()

func (*InitReq_SeedFile) String

func (m *InitReq_SeedFile) String() string

func (*InitReq_SeedFile) XXX_DiscardUnknown

func (m *InitReq_SeedFile) XXX_DiscardUnknown()

func (*InitReq_SeedFile) XXX_Marshal

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

func (*InitReq_SeedFile) XXX_Merge

func (m *InitReq_SeedFile) XXX_Merge(src proto.Message)

func (*InitReq_SeedFile) XXX_Size

func (m *InitReq_SeedFile) XXX_Size() int

func (*InitReq_SeedFile) XXX_Unmarshal

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

type InitResp

type InitResp struct {
	Success              bool              `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Logfile              string            `protobuf:"bytes,2,opt,name=logfile,proto3" json:"logfile,omitempty"`
	Tokens               []*InitResp_Token `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*InitResp) Descriptor

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

func (*InitResp) GetLogfile

func (m *InitResp) GetLogfile() string

func (*InitResp) GetSuccess

func (m *InitResp) GetSuccess() bool

func (*InitResp) GetTokens

func (m *InitResp) GetTokens() []*InitResp_Token

func (*InitResp) ProtoMessage

func (*InitResp) ProtoMessage()

func (*InitResp) Reset

func (m *InitResp) Reset()

func (*InitResp) String

func (m *InitResp) String() string

func (*InitResp) XXX_DiscardUnknown

func (m *InitResp) XXX_DiscardUnknown()

func (*InitResp) XXX_Marshal

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

func (*InitResp) XXX_Merge

func (m *InitResp) XXX_Merge(src proto.Message)

func (*InitResp) XXX_Size

func (m *InitResp) XXX_Size() int

func (*InitResp) XXX_Unmarshal

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

type InitResp_Token

type InitResp_Token struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitResp_Token) Descriptor

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

func (*InitResp_Token) GetName

func (m *InitResp_Token) GetName() string

func (*InitResp_Token) GetValue

func (m *InitResp_Token) GetValue() string

func (*InitResp_Token) ProtoMessage

func (*InitResp_Token) ProtoMessage()

func (*InitResp_Token) Reset

func (m *InitResp_Token) Reset()

func (*InitResp_Token) String

func (m *InitResp_Token) String() string

func (*InitResp_Token) XXX_DiscardUnknown

func (m *InitResp_Token) XXX_DiscardUnknown()

func (*InitResp_Token) XXX_Marshal

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

func (*InitResp_Token) XXX_Merge

func (m *InitResp_Token) XXX_Merge(src proto.Message)

func (*InitResp_Token) XXX_Size

func (m *InitResp_Token) XXX_Size() int

func (*InitResp_Token) XXX_Unmarshal

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

type ListReq

type ListReq struct {
	Project              string   `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Service              string   `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListReq) Descriptor

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

func (*ListReq) GetProject

func (m *ListReq) GetProject() string

func (*ListReq) GetService

func (m *ListReq) GetService() string

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) Reset

func (m *ListReq) Reset()

func (*ListReq) String

func (m *ListReq) String() string

func (*ListReq) XXX_DiscardUnknown

func (m *ListReq) XXX_DiscardUnknown()

func (*ListReq) XXX_Marshal

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

func (*ListReq) XXX_Merge

func (m *ListReq) XXX_Merge(src proto.Message)

func (*ListReq) XXX_Size

func (m *ListReq) XXX_Size() int

func (*ListReq) XXX_Unmarshal

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

type ListResp

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

func (*ListResp) Descriptor

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

func (*ListResp) GetTemplates

func (m *ListResp) GetTemplates() []string

func (*ListResp) ProtoMessage

func (*ListResp) ProtoMessage()

func (*ListResp) Reset

func (m *ListResp) Reset()

func (*ListResp) String

func (m *ListResp) String() string

func (*ListResp) XXX_DiscardUnknown

func (m *ListResp) XXX_DiscardUnknown()

func (*ListResp) XXX_Marshal

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

func (*ListResp) XXX_Merge

func (m *ListResp) XXX_Merge(src proto.Message)

func (*ListResp) XXX_Size

func (m *ListResp) XXX_Size() int

func (*ListResp) XXX_Unmarshal

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

type LoginReq

type LoginReq struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Environment          string   `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginReq) Descriptor

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

func (*LoginReq) GetEnvironment

func (m *LoginReq) GetEnvironment() string

func (*LoginReq) GetPassword

func (m *LoginReq) GetPassword() string

func (*LoginReq) GetUsername

func (m *LoginReq) GetUsername() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) Reset

func (m *LoginReq) Reset()

func (*LoginReq) String

func (m *LoginReq) String() string

func (*LoginReq) XXX_DiscardUnknown

func (m *LoginReq) XXX_DiscardUnknown()

func (*LoginReq) XXX_Marshal

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

func (*LoginReq) XXX_Merge

func (m *LoginReq) XXX_Merge(src proto.Message)

func (*LoginReq) XXX_Size

func (m *LoginReq) XXX_Size() int

func (*LoginReq) XXX_Unmarshal

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

type LoginResp

type LoginResp struct {
	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	AuthToken            string   `protobuf:"bytes,2,opt,name=authToken,proto3" json:"authToken,omitempty"`
	Errors               []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginResp) Descriptor

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

func (*LoginResp) GetAuthToken

func (m *LoginResp) GetAuthToken() string

func (*LoginResp) GetErrors

func (m *LoginResp) GetErrors() []string

func (*LoginResp) GetSuccess

func (m *LoginResp) GetSuccess() bool

func (*LoginResp) ProtoMessage

func (*LoginResp) ProtoMessage()

func (*LoginResp) Reset

func (m *LoginResp) Reset()

func (*LoginResp) String

func (m *LoginResp) String() string

func (*LoginResp) XXX_DiscardUnknown

func (m *LoginResp) XXX_DiscardUnknown()

func (*LoginResp) XXX_Marshal

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

func (*LoginResp) XXX_Merge

func (m *LoginResp) XXX_Merge(src proto.Message)

func (*LoginResp) XXX_Size

func (m *LoginResp) XXX_Size() int

func (*LoginResp) XXX_Unmarshal

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

type NoParams

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

func (*NoParams) Descriptor

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

func (*NoParams) ProtoMessage

func (*NoParams) ProtoMessage()

func (*NoParams) Reset

func (m *NoParams) Reset()

func (*NoParams) String

func (m *NoParams) String() string

func (*NoParams) XXX_DiscardUnknown

func (m *NoParams) XXX_DiscardUnknown()

func (*NoParams) XXX_Marshal

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

func (*NoParams) XXX_Merge

func (m *NoParams) XXX_Merge(src proto.Message)

func (*NoParams) XXX_Size

func (m *NoParams) XXX_Size() int

func (*NoParams) XXX_Unmarshal

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

type ResetReq

type ResetReq struct {
	PubToken             string   `protobuf:"bytes,1,opt,name=pubToken,proto3" json:"pubToken,omitempty"`
	PrivToken            string   `protobuf:"bytes,2,opt,name=privToken,proto3" json:"privToken,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResetReq) Descriptor

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

func (*ResetReq) GetPrivToken

func (m *ResetReq) GetPrivToken() string

func (*ResetReq) GetPubToken

func (m *ResetReq) GetPubToken() string

func (*ResetReq) ProtoMessage

func (*ResetReq) ProtoMessage()

func (*ResetReq) Reset

func (m *ResetReq) Reset()

func (*ResetReq) String

func (m *ResetReq) String() string

func (*ResetReq) XXX_DiscardUnknown

func (m *ResetReq) XXX_DiscardUnknown()

func (*ResetReq) XXX_Marshal

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

func (*ResetReq) XXX_Merge

func (m *ResetReq) XXX_Merge(src proto.Message)

func (*ResetReq) XXX_Size

func (m *ResetReq) XXX_Size() int

func (*ResetReq) XXX_Unmarshal

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

type TemplateData

type TemplateData struct {
	Services             []*TemplateData_Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*TemplateData) Descriptor

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

func (*TemplateData) GetServices

func (m *TemplateData) GetServices() []*TemplateData_Service

func (*TemplateData) ProtoMessage

func (*TemplateData) ProtoMessage()

func (*TemplateData) Reset

func (m *TemplateData) Reset()

func (*TemplateData) String

func (m *TemplateData) String() string

func (*TemplateData) XXX_DiscardUnknown

func (m *TemplateData) XXX_DiscardUnknown()

func (*TemplateData) XXX_Marshal

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

func (*TemplateData) XXX_Merge

func (m *TemplateData) XXX_Merge(src proto.Message)

func (*TemplateData) XXX_Size

func (m *TemplateData) XXX_Size() int

func (*TemplateData) XXX_Unmarshal

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

type TemplateData_Service

type TemplateData_Service struct {
	Name                 string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Files                []*TemplateData_Service_File `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*TemplateData_Service) Descriptor

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

func (*TemplateData_Service) GetFiles

func (*TemplateData_Service) GetName

func (m *TemplateData_Service) GetName() string

func (*TemplateData_Service) ProtoMessage

func (*TemplateData_Service) ProtoMessage()

func (*TemplateData_Service) Reset

func (m *TemplateData_Service) Reset()

func (*TemplateData_Service) String

func (m *TemplateData_Service) String() string

func (*TemplateData_Service) XXX_DiscardUnknown

func (m *TemplateData_Service) XXX_DiscardUnknown()

func (*TemplateData_Service) XXX_Marshal

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

func (*TemplateData_Service) XXX_Merge

func (m *TemplateData_Service) XXX_Merge(src proto.Message)

func (*TemplateData_Service) XXX_Size

func (m *TemplateData_Service) XXX_Size() int

func (*TemplateData_Service) XXX_Unmarshal

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

type TemplateData_Service_File

type TemplateData_Service_File struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Secrets              []string `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TemplateData_Service_File) Descriptor

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

func (*TemplateData_Service_File) GetName

func (m *TemplateData_Service_File) GetName() string

func (*TemplateData_Service_File) GetSecrets

func (m *TemplateData_Service_File) GetSecrets() []string

func (*TemplateData_Service_File) ProtoMessage

func (*TemplateData_Service_File) ProtoMessage()

func (*TemplateData_Service_File) Reset

func (m *TemplateData_Service_File) Reset()

func (*TemplateData_Service_File) String

func (m *TemplateData_Service_File) String() string

func (*TemplateData_Service_File) XXX_DiscardUnknown

func (m *TemplateData_Service_File) XXX_DiscardUnknown()

func (*TemplateData_Service_File) XXX_Marshal

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

func (*TemplateData_Service_File) XXX_Merge

func (m *TemplateData_Service_File) XXX_Merge(src proto.Message)

func (*TemplateData_Service_File) XXX_Size

func (m *TemplateData_Service_File) XXX_Size() int

func (*TemplateData_Service_File) XXX_Unmarshal

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

type TemplateReq

type TemplateReq struct {
	Project              string   `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Service              string   `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	File                 string   `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for retrieving a template file from the vault

func (*TemplateReq) Descriptor

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

func (*TemplateReq) GetFile

func (m *TemplateReq) GetFile() string

func (*TemplateReq) GetProject

func (m *TemplateReq) GetProject() string

func (*TemplateReq) GetService

func (m *TemplateReq) GetService() string

func (*TemplateReq) ProtoMessage

func (*TemplateReq) ProtoMessage()

func (*TemplateReq) Reset

func (m *TemplateReq) Reset()

func (*TemplateReq) String

func (m *TemplateReq) String() string

func (*TemplateReq) XXX_DiscardUnknown

func (m *TemplateReq) XXX_DiscardUnknown()

func (*TemplateReq) XXX_Marshal

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

func (*TemplateReq) XXX_Merge

func (m *TemplateReq) XXX_Merge(src proto.Message)

func (*TemplateReq) XXX_Size

func (m *TemplateReq) XXX_Size() int

func (*TemplateReq) XXX_Unmarshal

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

type TemplateResp

type TemplateResp struct {
	Data                 string   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Ext                  string   `protobuf:"bytes,2,opt,name=ext,proto3" json:"ext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response containing template and extension as stored in the vault

func (*TemplateResp) Descriptor

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

func (*TemplateResp) GetData

func (m *TemplateResp) GetData() string

func (*TemplateResp) GetExt

func (m *TemplateResp) GetExt() string

func (*TemplateResp) ProtoMessage

func (*TemplateResp) ProtoMessage()

func (*TemplateResp) Reset

func (m *TemplateResp) Reset()

func (*TemplateResp) String

func (m *TemplateResp) String() string

func (*TemplateResp) XXX_DiscardUnknown

func (m *TemplateResp) XXX_DiscardUnknown()

func (*TemplateResp) XXX_Marshal

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

func (*TemplateResp) XXX_Merge

func (m *TemplateResp) XXX_Merge(src proto.Message)

func (*TemplateResp) XXX_Size

func (m *TemplateResp) XXX_Size() int

func (*TemplateResp) XXX_Unmarshal

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

type TokensReq

type TokensReq struct {
	AppRoleID            string   `protobuf:"bytes,1,opt,name=appRoleID,proto3" json:"appRoleID,omitempty"`
	AppRoleSecretID      string   `protobuf:"bytes,2,opt,name=appRoleSecretID,proto3" json:"appRoleSecretID,omitempty"`
	Tokens               []string `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

////////////////////////////////////////////////////// Token Messages // //////////////////////////////////////////////////////

func (*TokensReq) Descriptor

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

func (*TokensReq) GetAppRoleID

func (m *TokensReq) GetAppRoleID() string

func (*TokensReq) GetAppRoleSecretID

func (m *TokensReq) GetAppRoleSecretID() string

func (*TokensReq) GetTokens

func (m *TokensReq) GetTokens() []string

func (*TokensReq) ProtoMessage

func (*TokensReq) ProtoMessage()

func (*TokensReq) Reset

func (m *TokensReq) Reset()

func (*TokensReq) String

func (m *TokensReq) String() string

func (*TokensReq) XXX_DiscardUnknown

func (m *TokensReq) XXX_DiscardUnknown()

func (*TokensReq) XXX_Marshal

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

func (*TokensReq) XXX_Merge

func (m *TokensReq) XXX_Merge(src proto.Message)

func (*TokensReq) XXX_Size

func (m *TokensReq) XXX_Size() int

func (*TokensReq) XXX_Unmarshal

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

type TokensResp

type TokensResp struct {
	Tokens               []*TokensResp_Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*TokensResp) Descriptor

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

func (*TokensResp) GetTokens

func (m *TokensResp) GetTokens() []*TokensResp_Token

func (*TokensResp) ProtoMessage

func (*TokensResp) ProtoMessage()

func (*TokensResp) Reset

func (m *TokensResp) Reset()

func (*TokensResp) String

func (m *TokensResp) String() string

func (*TokensResp) XXX_DiscardUnknown

func (m *TokensResp) XXX_DiscardUnknown()

func (*TokensResp) XXX_Marshal

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

func (*TokensResp) XXX_Merge

func (m *TokensResp) XXX_Merge(src proto.Message)

func (*TokensResp) XXX_Size

func (m *TokensResp) XXX_Size() int

func (*TokensResp) XXX_Unmarshal

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

type TokensResp_Token

type TokensResp_Token struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TokensResp_Token) Descriptor

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

func (*TokensResp_Token) GetName

func (m *TokensResp_Token) GetName() string

func (*TokensResp_Token) GetValue

func (m *TokensResp_Token) GetValue() string

func (*TokensResp_Token) ProtoMessage

func (*TokensResp_Token) ProtoMessage()

func (*TokensResp_Token) Reset

func (m *TokensResp_Token) Reset()

func (*TokensResp_Token) String

func (m *TokensResp_Token) String() string

func (*TokensResp_Token) XXX_DiscardUnknown

func (m *TokensResp_Token) XXX_DiscardUnknown()

func (*TokensResp_Token) XXX_Marshal

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

func (*TokensResp_Token) XXX_Merge

func (m *TokensResp_Token) XXX_Merge(src proto.Message)

func (*TokensResp_Token) XXX_Size

func (m *TokensResp_Token) XXX_Size() int

func (*TokensResp_Token) XXX_Unmarshal

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

type TwirpServer

type TwirpServer interface {
	http.Handler
	// ServiceDescriptor returns gzipped bytes describing the .proto file that
	// this service was generated from. Once unzipped, the bytes can be
	// unmarshalled as a
	// github.com/golang/protobuf/protoc-gen-go/descriptor.FileDescriptorProto.
	//
	// The returned integer is the index of this particular service within that
	// FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a
	// low-level field, expected to be used for reflection.
	ServiceDescriptor() ([]byte, int)
	// ProtocGenTwirpVersion is the semantic version string of the version of
	// twirp used to generate this file.
	ProtocGenTwirpVersion() string
	// PathPrefix returns the HTTP URL path prefix for all methods handled by this
	// service. This can be used with an HTTP mux to route twirp requests
	// alongside non-twirp requests on one HTTP listener.
	PathPrefix() string
}

TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.

func NewEnterpriseServiceBrokerServer

func NewEnterpriseServiceBrokerServer(svc EnterpriseServiceBroker, hooks *twirp.ServerHooks) TwirpServer

type UnsealReq

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

func (*UnsealReq) Descriptor

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

func (*UnsealReq) GetUnsealKey

func (m *UnsealReq) GetUnsealKey() string

func (*UnsealReq) ProtoMessage

func (*UnsealReq) ProtoMessage()

func (*UnsealReq) Reset

func (m *UnsealReq) Reset()

func (*UnsealReq) String

func (m *UnsealReq) String() string

func (*UnsealReq) XXX_DiscardUnknown

func (m *UnsealReq) XXX_DiscardUnknown()

func (*UnsealReq) XXX_Marshal

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

func (*UnsealReq) XXX_Merge

func (m *UnsealReq) XXX_Merge(src proto.Message)

func (*UnsealReq) XXX_Size

func (m *UnsealReq) XXX_Size() int

func (*UnsealReq) XXX_Unmarshal

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

type UnsealResp

type UnsealResp struct {
	Sealed               bool     `protobuf:"varint,1,opt,name=sealed,proto3" json:"sealed,omitempty"`
	Progress             int32    `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"`
	Needed               int32    `protobuf:"varint,3,opt,name=needed,proto3" json:"needed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnsealResp) Descriptor

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

func (*UnsealResp) GetNeeded

func (m *UnsealResp) GetNeeded() int32

func (*UnsealResp) GetProgress

func (m *UnsealResp) GetProgress() int32

func (*UnsealResp) GetSealed

func (m *UnsealResp) GetSealed() bool

func (*UnsealResp) ProtoMessage

func (*UnsealResp) ProtoMessage()

func (*UnsealResp) Reset

func (m *UnsealResp) Reset()

func (*UnsealResp) String

func (m *UnsealResp) String() string

func (*UnsealResp) XXX_DiscardUnknown

func (m *UnsealResp) XXX_DiscardUnknown()

func (*UnsealResp) XXX_Marshal

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

func (*UnsealResp) XXX_Merge

func (m *UnsealResp) XXX_Merge(src proto.Message)

func (*UnsealResp) XXX_Size

func (m *UnsealResp) XXX_Size() int

func (*UnsealResp) XXX_Unmarshal

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

type UpdateAPIReq

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

/////////////////////////////////////////////////////// Update API Messages // ///////////////////////////////////////////////////////

func (*UpdateAPIReq) Descriptor

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

func (*UpdateAPIReq) GetBuild

func (m *UpdateAPIReq) GetBuild() string

func (*UpdateAPIReq) ProtoMessage

func (*UpdateAPIReq) ProtoMessage()

func (*UpdateAPIReq) Reset

func (m *UpdateAPIReq) Reset()

func (*UpdateAPIReq) String

func (m *UpdateAPIReq) String() string

func (*UpdateAPIReq) XXX_DiscardUnknown

func (m *UpdateAPIReq) XXX_DiscardUnknown()

func (*UpdateAPIReq) XXX_Marshal

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

func (*UpdateAPIReq) XXX_Merge

func (m *UpdateAPIReq) XXX_Merge(src proto.Message)

func (*UpdateAPIReq) XXX_Size

func (m *UpdateAPIReq) XXX_Size() int

func (*UpdateAPIReq) XXX_Unmarshal

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

type ValidationReq

type ValidationReq struct {
	Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	Project              string   `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Env                  string   `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for checking the validity of credentials for a service in a given environment

func (*ValidationReq) Descriptor

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

func (*ValidationReq) GetEnv

func (m *ValidationReq) GetEnv() string

func (*ValidationReq) GetProject

func (m *ValidationReq) GetProject() string

func (*ValidationReq) GetService

func (m *ValidationReq) GetService() string

func (*ValidationReq) ProtoMessage

func (*ValidationReq) ProtoMessage()

func (*ValidationReq) Reset

func (m *ValidationReq) Reset()

func (*ValidationReq) String

func (m *ValidationReq) String() string

func (*ValidationReq) XXX_DiscardUnknown

func (m *ValidationReq) XXX_DiscardUnknown()

func (*ValidationReq) XXX_Marshal

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

func (*ValidationReq) XXX_Merge

func (m *ValidationReq) XXX_Merge(src proto.Message)

func (*ValidationReq) XXX_Size

func (m *ValidationReq) XXX_Size() int

func (*ValidationReq) XXX_Unmarshal

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

type ValidationResp

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

func (*ValidationResp) Descriptor

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

func (*ValidationResp) GetIsValid

func (m *ValidationResp) GetIsValid() bool

func (*ValidationResp) ProtoMessage

func (*ValidationResp) ProtoMessage()

func (*ValidationResp) Reset

func (m *ValidationResp) Reset()

func (*ValidationResp) String

func (m *ValidationResp) String() string

func (*ValidationResp) XXX_DiscardUnknown

func (m *ValidationResp) XXX_DiscardUnknown()

func (*ValidationResp) XXX_Marshal

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

func (*ValidationResp) XXX_Merge

func (m *ValidationResp) XXX_Merge(src proto.Message)

func (*ValidationResp) XXX_Size

func (m *ValidationResp) XXX_Size() int

func (*ValidationResp) XXX_Unmarshal

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

type ValuesRes

type ValuesRes struct {
	Envs                 []*ValuesRes_Env `protobuf:"bytes,2,rep,name=envs,proto3" json:"envs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Request for checking the validity of credentials for a service in a given environment

func (*ValuesRes) Descriptor

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

func (*ValuesRes) GetEnvs

func (m *ValuesRes) GetEnvs() []*ValuesRes_Env

func (*ValuesRes) ProtoMessage

func (*ValuesRes) ProtoMessage()

func (*ValuesRes) Reset

func (m *ValuesRes) Reset()

func (*ValuesRes) String

func (m *ValuesRes) String() string

func (*ValuesRes) XXX_DiscardUnknown

func (m *ValuesRes) XXX_DiscardUnknown()

func (*ValuesRes) XXX_Marshal

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

func (*ValuesRes) XXX_Merge

func (m *ValuesRes) XXX_Merge(src proto.Message)

func (*ValuesRes) XXX_Size

func (m *ValuesRes) XXX_Size() int

func (*ValuesRes) XXX_Unmarshal

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

type ValuesRes_Env

type ValuesRes_Env struct {
	Name                 string                           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Services             []*ValuesRes_Env_Project_Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	Projects             []*ValuesRes_Env_Project         `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
	Providers            []*ValuesRes_Env_Provider        `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*ValuesRes_Env) Descriptor

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

func (*ValuesRes_Env) GetName

func (m *ValuesRes_Env) GetName() string

func (*ValuesRes_Env) GetProjects

func (m *ValuesRes_Env) GetProjects() []*ValuesRes_Env_Project

func (*ValuesRes_Env) GetProviders

func (m *ValuesRes_Env) GetProviders() []*ValuesRes_Env_Provider

func (*ValuesRes_Env) ProtoMessage

func (*ValuesRes_Env) ProtoMessage()

func (*ValuesRes_Env) Reset

func (m *ValuesRes_Env) Reset()

func (*ValuesRes_Env) String

func (m *ValuesRes_Env) String() string

func (*ValuesRes_Env) XXX_DiscardUnknown

func (m *ValuesRes_Env) XXX_DiscardUnknown()

func (*ValuesRes_Env) XXX_Marshal

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

func (*ValuesRes_Env) XXX_Merge

func (m *ValuesRes_Env) XXX_Merge(src proto.Message)

func (*ValuesRes_Env) XXX_Size

func (m *ValuesRes_Env) XXX_Size() int

func (*ValuesRes_Env) XXX_Unmarshal

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

type ValuesRes_Env_Project

type ValuesRes_Env_Project struct {
	Name                 string                           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Services             []*ValuesRes_Env_Project_Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*ValuesRes_Env_Project) Descriptor

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

func (*ValuesRes_Env_Project) GetName

func (m *ValuesRes_Env_Project) GetName() string

func (*ValuesRes_Env_Project) GetServices

func (*ValuesRes_Env_Project) ProtoMessage

func (*ValuesRes_Env_Project) ProtoMessage()

func (*ValuesRes_Env_Project) Reset

func (m *ValuesRes_Env_Project) Reset()

func (*ValuesRes_Env_Project) String

func (m *ValuesRes_Env_Project) String() string

func (*ValuesRes_Env_Project) XXX_DiscardUnknown

func (m *ValuesRes_Env_Project) XXX_DiscardUnknown()

func (*ValuesRes_Env_Project) XXX_Marshal

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

func (*ValuesRes_Env_Project) XXX_Merge

func (m *ValuesRes_Env_Project) XXX_Merge(src proto.Message)

func (*ValuesRes_Env_Project) XXX_Size

func (m *ValuesRes_Env_Project) XXX_Size() int

func (*ValuesRes_Env_Project) XXX_Unmarshal

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

type ValuesRes_Env_Project_Service

type ValuesRes_Env_Project_Service struct {
	Name                 string                                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Files                []*ValuesRes_Env_Project_Service_File `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*ValuesRes_Env_Project_Service) Descriptor

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

func (*ValuesRes_Env_Project_Service) GetFiles

func (*ValuesRes_Env_Project_Service) GetName

func (*ValuesRes_Env_Project_Service) ProtoMessage

func (*ValuesRes_Env_Project_Service) ProtoMessage()

func (*ValuesRes_Env_Project_Service) Reset

func (m *ValuesRes_Env_Project_Service) Reset()

func (*ValuesRes_Env_Project_Service) String

func (*ValuesRes_Env_Project_Service) XXX_DiscardUnknown

func (m *ValuesRes_Env_Project_Service) XXX_DiscardUnknown()

func (*ValuesRes_Env_Project_Service) XXX_Marshal

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

func (*ValuesRes_Env_Project_Service) XXX_Merge

func (m *ValuesRes_Env_Project_Service) XXX_Merge(src proto.Message)

func (*ValuesRes_Env_Project_Service) XXX_Size

func (m *ValuesRes_Env_Project_Service) XXX_Size() int

func (*ValuesRes_Env_Project_Service) XXX_Unmarshal

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

type ValuesRes_Env_Project_Service_File

type ValuesRes_Env_Project_Service_File struct {
	Name                 string                                      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Values               []*ValuesRes_Env_Project_Service_File_Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
	XXX_unrecognized     []byte                                      `json:"-"`
	XXX_sizecache        int32                                       `json:"-"`
}

func (*ValuesRes_Env_Project_Service_File) Descriptor

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

func (*ValuesRes_Env_Project_Service_File) GetName

func (*ValuesRes_Env_Project_Service_File) GetValues

func (*ValuesRes_Env_Project_Service_File) ProtoMessage

func (*ValuesRes_Env_Project_Service_File) ProtoMessage()

func (*ValuesRes_Env_Project_Service_File) Reset

func (*ValuesRes_Env_Project_Service_File) String

func (*ValuesRes_Env_Project_Service_File) XXX_DiscardUnknown

func (m *ValuesRes_Env_Project_Service_File) XXX_DiscardUnknown()

func (*ValuesRes_Env_Project_Service_File) XXX_Marshal

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

func (*ValuesRes_Env_Project_Service_File) XXX_Merge

func (*ValuesRes_Env_Project_Service_File) XXX_Size

func (*ValuesRes_Env_Project_Service_File) XXX_Unmarshal

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

type ValuesRes_Env_Project_Service_File_Value

type ValuesRes_Env_Project_Service_File_Value struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Source               string   `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValuesRes_Env_Project_Service_File_Value) Descriptor

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

func (*ValuesRes_Env_Project_Service_File_Value) GetKey

func (*ValuesRes_Env_Project_Service_File_Value) GetSource

func (*ValuesRes_Env_Project_Service_File_Value) GetValue

func (*ValuesRes_Env_Project_Service_File_Value) ProtoMessage

func (*ValuesRes_Env_Project_Service_File_Value) Reset

func (*ValuesRes_Env_Project_Service_File_Value) String

func (*ValuesRes_Env_Project_Service_File_Value) XXX_DiscardUnknown

func (m *ValuesRes_Env_Project_Service_File_Value) XXX_DiscardUnknown()

func (*ValuesRes_Env_Project_Service_File_Value) XXX_Marshal

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

func (*ValuesRes_Env_Project_Service_File_Value) XXX_Merge

func (*ValuesRes_Env_Project_Service_File_Value) XXX_Size

func (*ValuesRes_Env_Project_Service_File_Value) XXX_Unmarshal

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

type ValuesRes_Env_Provider

type ValuesRes_Env_Provider struct {
	Name                 string                            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Sessions             []*ValuesRes_Env_Provider_Session `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*ValuesRes_Env_Provider) Descriptor

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

func (*ValuesRes_Env_Provider) GetName

func (m *ValuesRes_Env_Provider) GetName() string

func (*ValuesRes_Env_Provider) GetSessions

func (*ValuesRes_Env_Provider) ProtoMessage

func (*ValuesRes_Env_Provider) ProtoMessage()

func (*ValuesRes_Env_Provider) Reset

func (m *ValuesRes_Env_Provider) Reset()

func (*ValuesRes_Env_Provider) String

func (m *ValuesRes_Env_Provider) String() string

func (*ValuesRes_Env_Provider) XXX_DiscardUnknown

func (m *ValuesRes_Env_Provider) XXX_DiscardUnknown()

func (*ValuesRes_Env_Provider) XXX_Marshal

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

func (*ValuesRes_Env_Provider) XXX_Merge

func (m *ValuesRes_Env_Provider) XXX_Merge(src proto.Message)

func (*ValuesRes_Env_Provider) XXX_Size

func (m *ValuesRes_Env_Provider) XXX_Size() int

func (*ValuesRes_Env_Provider) XXX_Unmarshal

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

type ValuesRes_Env_Provider_Session

type ValuesRes_Env_Provider_Session struct {
	User                 string   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	LastLogIn            int64    `protobuf:"varint,2,opt,name=lastLogIn,proto3" json:"lastLogIn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValuesRes_Env_Provider_Session) Descriptor

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

func (*ValuesRes_Env_Provider_Session) GetLastLogIn

func (m *ValuesRes_Env_Provider_Session) GetLastLogIn() int64

func (*ValuesRes_Env_Provider_Session) GetUser

func (*ValuesRes_Env_Provider_Session) ProtoMessage

func (*ValuesRes_Env_Provider_Session) ProtoMessage()

func (*ValuesRes_Env_Provider_Session) Reset

func (m *ValuesRes_Env_Provider_Session) Reset()

func (*ValuesRes_Env_Provider_Session) String

func (*ValuesRes_Env_Provider_Session) XXX_DiscardUnknown

func (m *ValuesRes_Env_Provider_Session) XXX_DiscardUnknown()

func (*ValuesRes_Env_Provider_Session) XXX_Marshal

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

func (*ValuesRes_Env_Provider_Session) XXX_Merge

func (m *ValuesRes_Env_Provider_Session) XXX_Merge(src proto.Message)

func (*ValuesRes_Env_Provider_Session) XXX_Size

func (m *ValuesRes_Env_Provider_Session) XXX_Size() int

func (*ValuesRes_Env_Provider_Session) XXX_Unmarshal

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

type VaultStatus

type VaultStatus struct {
	Initialized          bool     `protobuf:"varint,1,opt,name=initialized,proto3" json:"initialized,omitempty"`
	Sealed               bool     `protobuf:"varint,2,opt,name=sealed,proto3" json:"sealed,omitempty"`
	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

/////////////////////////////////////////////////////// Web App LogIn Messages // ///////////////////////////////////////////////////////

func (*VaultStatus) Descriptor

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

func (*VaultStatus) GetInitialized

func (m *VaultStatus) GetInitialized() bool

func (*VaultStatus) GetSealed

func (m *VaultStatus) GetSealed() bool

func (*VaultStatus) GetVersion

func (m *VaultStatus) GetVersion() string

func (*VaultStatus) ProtoMessage

func (*VaultStatus) ProtoMessage()

func (*VaultStatus) Reset

func (m *VaultStatus) Reset()

func (*VaultStatus) String

func (m *VaultStatus) String() string

func (*VaultStatus) XXX_DiscardUnknown

func (m *VaultStatus) XXX_DiscardUnknown()

func (*VaultStatus) XXX_Marshal

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

func (*VaultStatus) XXX_Merge

func (m *VaultStatus) XXX_Merge(src proto.Message)

func (*VaultStatus) XXX_Size

func (m *VaultStatus) XXX_Size() int

func (*VaultStatus) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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