2021-06-14 13:20:49 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2022-12-14 16:58:00 +00:00
|
|
|
// protoc-gen-go v1.28.1
|
2023-03-07 14:38:08 +00:00
|
|
|
// protoc v3.21.12
|
2021-06-14 13:20:49 +00:00
|
|
|
// source: creds/accessbox/accessbox.proto
|
|
|
|
|
|
|
|
package accessbox
|
|
|
|
|
|
|
|
import (
|
2021-07-16 12:35:07 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
2022-12-14 16:58:00 +00:00
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2021-06-14 13:20:49 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
|
|
|
|
|
|
|
type AccessBox struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-07-16 12:35:07 +00:00
|
|
|
OwnerPublicKey []byte `protobuf:"bytes,1,opt,name=ownerPublicKey,proto3" json:"ownerPublicKey,omitempty"`
|
|
|
|
Gates []*AccessBox_Gate `protobuf:"bytes,2,rep,name=gates,proto3" json:"gates,omitempty"`
|
|
|
|
ContainerPolicy []*AccessBox_ContainerPolicy `protobuf:"bytes,3,rep,name=containerPolicy,proto3" json:"containerPolicy,omitempty"`
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessBox) Reset() {
|
|
|
|
*x = AccessBox{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[0]
|
2021-06-14 13:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessBox) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccessBox) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccessBox) ProtoReflect() protoreflect.Message {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[0]
|
2021-06-14 13:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AccessBox.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccessBox) Descriptor() ([]byte, []int) {
|
2022-01-26 09:04:10 +00:00
|
|
|
return file_creds_accessbox_accessbox_proto_rawDescGZIP(), []int{0}
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessBox) GetOwnerPublicKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.OwnerPublicKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
func (x *AccessBox) GetGates() []*AccessBox_Gate {
|
2021-06-14 13:20:49 +00:00
|
|
|
if x != nil {
|
2021-06-17 16:45:50 +00:00
|
|
|
return x.Gates
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-07-16 12:35:07 +00:00
|
|
|
func (x *AccessBox) GetContainerPolicy() []*AccessBox_ContainerPolicy {
|
|
|
|
if x != nil {
|
|
|
|
return x.ContainerPolicy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
type Tokens struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2022-01-26 09:04:10 +00:00
|
|
|
AccessKey []byte `protobuf:"bytes,1,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
|
|
|
|
BearerToken []byte `protobuf:"bytes,2,opt,name=bearerToken,proto3" json:"bearerToken,omitempty"`
|
|
|
|
SessionTokens [][]byte `protobuf:"bytes,3,rep,name=sessionTokens,proto3" json:"sessionTokens,omitempty"`
|
2021-06-17 16:45:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tokens) Reset() {
|
|
|
|
*x = Tokens{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[1]
|
2021-06-17 16:45:50 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tokens) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Tokens) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Tokens) ProtoReflect() protoreflect.Message {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[1]
|
2021-06-17 16:45:50 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Tokens.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Tokens) Descriptor() ([]byte, []int) {
|
2022-01-26 09:04:10 +00:00
|
|
|
return file_creds_accessbox_accessbox_proto_rawDescGZIP(), []int{1}
|
2021-06-17 16:45:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tokens) GetAccessKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.AccessKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Tokens) GetBearerToken() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.BearerToken
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-01-26 09:04:10 +00:00
|
|
|
func (x *Tokens) GetSessionTokens() [][]byte {
|
2021-06-14 13:20:49 +00:00
|
|
|
if x != nil {
|
2022-01-26 09:04:10 +00:00
|
|
|
return x.SessionTokens
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
type AccessBox_Gate struct {
|
2021-06-14 13:20:49 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
Tokens []byte `protobuf:"bytes,1,opt,name=tokens,proto3" json:"tokens,omitempty"`
|
2021-06-14 13:20:49 +00:00
|
|
|
GatePublicKey []byte `protobuf:"bytes,2,opt,name=gatePublicKey,proto3" json:"gatePublicKey,omitempty"`
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
func (x *AccessBox_Gate) Reset() {
|
|
|
|
*x = AccessBox_Gate{}
|
2021-06-14 13:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[2]
|
2021-06-14 13:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
func (x *AccessBox_Gate) String() string {
|
2021-06-14 13:20:49 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
func (*AccessBox_Gate) ProtoMessage() {}
|
2021-06-14 13:20:49 +00:00
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
func (x *AccessBox_Gate) ProtoReflect() protoreflect.Message {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[2]
|
2021-06-14 13:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
// Deprecated: Use AccessBox_Gate.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccessBox_Gate) Descriptor() ([]byte, []int) {
|
2022-01-26 09:04:10 +00:00
|
|
|
return file_creds_accessbox_accessbox_proto_rawDescGZIP(), []int{0, 0}
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
func (x *AccessBox_Gate) GetTokens() []byte {
|
2021-06-14 13:20:49 +00:00
|
|
|
if x != nil {
|
2021-06-17 16:45:50 +00:00
|
|
|
return x.Tokens
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-17 16:45:50 +00:00
|
|
|
func (x *AccessBox_Gate) GetGatePublicKey() []byte {
|
2021-06-14 13:20:49 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.GatePublicKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-07-16 12:35:07 +00:00
|
|
|
type AccessBox_ContainerPolicy struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
LocationConstraint string `protobuf:"bytes,1,opt,name=locationConstraint,proto3" json:"locationConstraint,omitempty"`
|
|
|
|
Policy []byte `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
|
|
|
|
}
|
2021-06-14 13:20:49 +00:00
|
|
|
|
2021-07-16 12:35:07 +00:00
|
|
|
func (x *AccessBox_ContainerPolicy) Reset() {
|
|
|
|
*x = AccessBox_ContainerPolicy{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[3]
|
2021-07-16 12:35:07 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessBox_ContainerPolicy) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AccessBox_ContainerPolicy) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccessBox_ContainerPolicy) ProtoReflect() protoreflect.Message {
|
2022-01-26 09:04:10 +00:00
|
|
|
mi := &file_creds_accessbox_accessbox_proto_msgTypes[3]
|
2021-07-16 12:35:07 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AccessBox_ContainerPolicy.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccessBox_ContainerPolicy) Descriptor() ([]byte, []int) {
|
2022-01-26 09:04:10 +00:00
|
|
|
return file_creds_accessbox_accessbox_proto_rawDescGZIP(), []int{0, 1}
|
2021-07-16 12:35:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessBox_ContainerPolicy) GetLocationConstraint() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.LocationConstraint
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AccessBox_ContainerPolicy) GetPolicy() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Policy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-01-26 09:04:10 +00:00
|
|
|
var File_creds_accessbox_accessbox_proto protoreflect.FileDescriptor
|
2021-07-16 12:35:07 +00:00
|
|
|
|
2022-01-26 09:04:10 +00:00
|
|
|
var file_creds_accessbox_accessbox_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x1f, 0x63, 0x72, 0x65, 0x64, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x62, 0x6f,
|
|
|
|
0x78, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
2021-07-16 12:35:07 +00:00
|
|
|
0x6f, 0x12, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x78, 0x22, 0xd5, 0x02, 0x0a,
|
2021-06-17 16:45:50 +00:00
|
|
|
0x09, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x78, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x77,
|
2021-06-14 13:20:49 +00:00
|
|
|
0x6e, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
2021-06-17 16:45:50 +00:00
|
|
|
0x28, 0x0c, 0x52, 0x0e, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b,
|
|
|
|
0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x67, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
|
|
0x0b, 0x32, 0x19, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x78, 0x2e, 0x41, 0x63,
|
|
|
|
0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x78, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x52, 0x05, 0x67, 0x61,
|
2021-07-16 12:35:07 +00:00
|
|
|
0x74, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
|
|
|
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x61,
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x78, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42,
|
|
|
|
0x6f, 0x78, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x79, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x6c,
|
|
|
|
0x69, 0x63, 0x79, 0x1a, 0x44, 0x0a, 0x04, 0x47, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74,
|
2021-06-17 16:45:50 +00:00
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x6b,
|
|
|
|
0x65, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x67, 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69,
|
|
|
|
0x63, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x67, 0x61, 0x74, 0x65,
|
2021-07-16 12:35:07 +00:00
|
|
|
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x1a, 0x59, 0x0a, 0x0f, 0x43, 0x6f, 0x6e,
|
|
|
|
0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e, 0x0a, 0x12,
|
|
|
|
0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69,
|
|
|
|
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x6f,
|
2022-01-26 09:04:10 +00:00
|
|
|
0x6c, 0x69, 0x63, 0x79, 0x22, 0x6e, 0x0a, 0x06, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x1c,
|
2021-07-16 12:35:07 +00:00
|
|
|
0x0a, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
2022-01-26 09:04:10 +00:00
|
|
|
0x0c, 0x52, 0x0b, 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x24,
|
|
|
|
0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18,
|
|
|
|
0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f,
|
2023-03-07 14:38:08 +00:00
|
|
|
0x6b, 0x65, 0x6e, 0x73, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73,
|
|
|
|
0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f,
|
|
|
|
0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x73, 0x33,
|
|
|
|
0x2d, 0x67, 0x77, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x73, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x62,
|
|
|
|
0x6f, 0x78, 0x3b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x62, 0x6f, 0x78, 0x62, 0x06, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x33,
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2022-01-26 09:04:10 +00:00
|
|
|
file_creds_accessbox_accessbox_proto_rawDescOnce sync.Once
|
|
|
|
file_creds_accessbox_accessbox_proto_rawDescData = file_creds_accessbox_accessbox_proto_rawDesc
|
2021-06-14 13:20:49 +00:00
|
|
|
)
|
|
|
|
|
2022-01-26 09:04:10 +00:00
|
|
|
func file_creds_accessbox_accessbox_proto_rawDescGZIP() []byte {
|
|
|
|
file_creds_accessbox_accessbox_proto_rawDescOnce.Do(func() {
|
|
|
|
file_creds_accessbox_accessbox_proto_rawDescData = protoimpl.X.CompressGZIP(file_creds_accessbox_accessbox_proto_rawDescData)
|
2021-06-14 13:20:49 +00:00
|
|
|
})
|
2022-01-26 09:04:10 +00:00
|
|
|
return file_creds_accessbox_accessbox_proto_rawDescData
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
|
2022-01-26 09:04:10 +00:00
|
|
|
var file_creds_accessbox_accessbox_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
|
var file_creds_accessbox_accessbox_proto_goTypes = []interface{}{
|
2021-07-16 12:35:07 +00:00
|
|
|
(*AccessBox)(nil), // 0: accessbox.AccessBox
|
|
|
|
(*Tokens)(nil), // 1: accessbox.Tokens
|
|
|
|
(*AccessBox_Gate)(nil), // 2: accessbox.AccessBox.Gate
|
|
|
|
(*AccessBox_ContainerPolicy)(nil), // 3: accessbox.AccessBox.ContainerPolicy
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
2022-01-26 09:04:10 +00:00
|
|
|
var file_creds_accessbox_accessbox_proto_depIdxs = []int32{
|
2021-06-17 16:45:50 +00:00
|
|
|
2, // 0: accessbox.AccessBox.gates:type_name -> accessbox.AccessBox.Gate
|
2021-07-16 12:35:07 +00:00
|
|
|
3, // 1: accessbox.AccessBox.containerPolicy:type_name -> accessbox.AccessBox.ContainerPolicy
|
|
|
|
2, // [2:2] is the sub-list for method output_type
|
|
|
|
2, // [2:2] is the sub-list for method input_type
|
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
|
2022-01-26 09:04:10 +00:00
|
|
|
func init() { file_creds_accessbox_accessbox_proto_init() }
|
|
|
|
func file_creds_accessbox_accessbox_proto_init() {
|
|
|
|
if File_creds_accessbox_accessbox_proto != nil {
|
2021-06-14 13:20:49 +00:00
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2022-01-26 09:04:10 +00:00
|
|
|
file_creds_accessbox_accessbox_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-14 13:20:49 +00:00
|
|
|
switch v := v.(*AccessBox); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-01-26 09:04:10 +00:00
|
|
|
file_creds_accessbox_accessbox_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-17 16:45:50 +00:00
|
|
|
switch v := v.(*Tokens); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-01-26 09:04:10 +00:00
|
|
|
file_creds_accessbox_accessbox_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-17 16:45:50 +00:00
|
|
|
switch v := v.(*AccessBox_Gate); i {
|
2021-06-14 13:20:49 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-01-26 09:04:10 +00:00
|
|
|
file_creds_accessbox_accessbox_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2021-07-16 12:35:07 +00:00
|
|
|
switch v := v.(*AccessBox_ContainerPolicy); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2022-01-26 09:04:10 +00:00
|
|
|
RawDescriptor: file_creds_accessbox_accessbox_proto_rawDesc,
|
2021-06-14 13:20:49 +00:00
|
|
|
NumEnums: 0,
|
2021-07-16 12:35:07 +00:00
|
|
|
NumMessages: 4,
|
2021-06-14 13:20:49 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
2022-01-26 09:04:10 +00:00
|
|
|
GoTypes: file_creds_accessbox_accessbox_proto_goTypes,
|
|
|
|
DependencyIndexes: file_creds_accessbox_accessbox_proto_depIdxs,
|
|
|
|
MessageInfos: file_creds_accessbox_accessbox_proto_msgTypes,
|
2021-06-14 13:20:49 +00:00
|
|
|
}.Build()
|
2022-01-26 09:04:10 +00:00
|
|
|
File_creds_accessbox_accessbox_proto = out.File
|
|
|
|
file_creds_accessbox_accessbox_proto_rawDesc = nil
|
|
|
|
file_creds_accessbox_accessbox_proto_goTypes = nil
|
|
|
|
file_creds_accessbox_accessbox_proto_depIdxs = nil
|
2021-06-14 13:20:49 +00:00
|
|
|
}
|