Bumping k8s dependencies to 1.13
This commit is contained in:
170
vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go
generated
vendored
170
vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go
generated
vendored
@@ -3,16 +3,24 @@
|
||||
|
||||
package iam
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The type of action performed on a Binding in a policy.
|
||||
type BindingDelta_Action int32
|
||||
|
||||
@@ -30,6 +38,7 @@ var BindingDelta_Action_name = map[int32]string{
|
||||
1: "ADD",
|
||||
2: "REMOVE",
|
||||
}
|
||||
|
||||
var BindingDelta_Action_value = map[string]int32{
|
||||
"ACTION_UNSPECIFIED": 0,
|
||||
"ADD": 1,
|
||||
@@ -39,7 +48,10 @@ var BindingDelta_Action_value = map[string]int32{
|
||||
func (x BindingDelta_Action) String() string {
|
||||
return proto.EnumName(BindingDelta_Action_name, int32(x))
|
||||
}
|
||||
func (BindingDelta_Action) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{3, 0} }
|
||||
|
||||
func (BindingDelta_Action) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a3cd40b8a66b2a99, []int{3, 0}
|
||||
}
|
||||
|
||||
// Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
// specify access control policies for Cloud Platform resources.
|
||||
@@ -74,11 +86,11 @@ func (BindingDelta_Action) EnumDescriptor() ([]byte, []int) { return fileDescrip
|
||||
// [IAM developer's guide](https://cloud.google.com/iam).
|
||||
type Policy struct {
|
||||
// Version of the `Policy`. The default version is 0.
|
||||
Version int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
|
||||
Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
||||
// Associates a list of `members` to a `role`.
|
||||
// Multiple `bindings` must not be specified for the same `role`.
|
||||
// `bindings` with no members will result in an error.
|
||||
Bindings []*Binding `protobuf:"bytes,4,rep,name=bindings" json:"bindings,omitempty"`
|
||||
Bindings []*Binding `protobuf:"bytes,4,rep,name=bindings,proto3" json:"bindings,omitempty"`
|
||||
// `etag` is used for optimistic concurrency control as a way to help
|
||||
// prevent simultaneous updates of a policy from overwriting each other.
|
||||
// It is strongly suggested that systems make use of the `etag` in the
|
||||
@@ -89,13 +101,36 @@ type Policy struct {
|
||||
//
|
||||
// If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
||||
// policy is overwritten blindly.
|
||||
Etag []byte `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
|
||||
Etag []byte `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Policy) Reset() { *m = Policy{} }
|
||||
func (m *Policy) String() string { return proto.CompactTextString(m) }
|
||||
func (*Policy) ProtoMessage() {}
|
||||
func (*Policy) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (m *Policy) Reset() { *m = Policy{} }
|
||||
func (m *Policy) String() string { return proto.CompactTextString(m) }
|
||||
func (*Policy) ProtoMessage() {}
|
||||
func (*Policy) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a3cd40b8a66b2a99, []int{0}
|
||||
}
|
||||
|
||||
func (m *Policy) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Policy.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Policy.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Policy) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Policy.Merge(m, src)
|
||||
}
|
||||
func (m *Policy) XXX_Size() int {
|
||||
return xxx_messageInfo_Policy.Size(m)
|
||||
}
|
||||
func (m *Policy) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Policy.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Policy proto.InternalMessageInfo
|
||||
|
||||
func (m *Policy) GetVersion() int32 {
|
||||
if m != nil {
|
||||
@@ -123,7 +158,7 @@ type Binding struct {
|
||||
// Role that is assigned to `members`.
|
||||
// For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
||||
// Required
|
||||
Role string `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
|
||||
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
|
||||
// Specifies the identities requesting access for a Cloud Platform resource.
|
||||
// `members` can have the following values:
|
||||
//
|
||||
@@ -147,13 +182,36 @@ type Binding struct {
|
||||
// users of that domain. For example, `google.com` or `example.com`.
|
||||
//
|
||||
//
|
||||
Members []string `protobuf:"bytes,2,rep,name=members" json:"members,omitempty"`
|
||||
Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Binding) Reset() { *m = Binding{} }
|
||||
func (m *Binding) String() string { return proto.CompactTextString(m) }
|
||||
func (*Binding) ProtoMessage() {}
|
||||
func (*Binding) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
func (m *Binding) Reset() { *m = Binding{} }
|
||||
func (m *Binding) String() string { return proto.CompactTextString(m) }
|
||||
func (*Binding) ProtoMessage() {}
|
||||
func (*Binding) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a3cd40b8a66b2a99, []int{1}
|
||||
}
|
||||
|
||||
func (m *Binding) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Binding.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Binding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Binding.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Binding) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Binding.Merge(m, src)
|
||||
}
|
||||
func (m *Binding) XXX_Size() int {
|
||||
return xxx_messageInfo_Binding.Size(m)
|
||||
}
|
||||
func (m *Binding) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Binding.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Binding proto.InternalMessageInfo
|
||||
|
||||
func (m *Binding) GetRole() string {
|
||||
if m != nil {
|
||||
@@ -172,13 +230,36 @@ func (m *Binding) GetMembers() []string {
|
||||
// The difference delta between two policies.
|
||||
type PolicyDelta struct {
|
||||
// The delta for Bindings between two policies.
|
||||
BindingDeltas []*BindingDelta `protobuf:"bytes,1,rep,name=binding_deltas,json=bindingDeltas" json:"binding_deltas,omitempty"`
|
||||
BindingDeltas []*BindingDelta `protobuf:"bytes,1,rep,name=binding_deltas,json=bindingDeltas,proto3" json:"binding_deltas,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *PolicyDelta) Reset() { *m = PolicyDelta{} }
|
||||
func (m *PolicyDelta) String() string { return proto.CompactTextString(m) }
|
||||
func (*PolicyDelta) ProtoMessage() {}
|
||||
func (*PolicyDelta) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
|
||||
func (m *PolicyDelta) Reset() { *m = PolicyDelta{} }
|
||||
func (m *PolicyDelta) String() string { return proto.CompactTextString(m) }
|
||||
func (*PolicyDelta) ProtoMessage() {}
|
||||
func (*PolicyDelta) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a3cd40b8a66b2a99, []int{2}
|
||||
}
|
||||
|
||||
func (m *PolicyDelta) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PolicyDelta.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PolicyDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PolicyDelta.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *PolicyDelta) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PolicyDelta.Merge(m, src)
|
||||
}
|
||||
func (m *PolicyDelta) XXX_Size() int {
|
||||
return xxx_messageInfo_PolicyDelta.Size(m)
|
||||
}
|
||||
func (m *PolicyDelta) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_PolicyDelta.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_PolicyDelta proto.InternalMessageInfo
|
||||
|
||||
func (m *PolicyDelta) GetBindingDeltas() []*BindingDelta {
|
||||
if m != nil {
|
||||
@@ -192,21 +273,44 @@ func (m *PolicyDelta) GetBindingDeltas() []*BindingDelta {
|
||||
type BindingDelta struct {
|
||||
// The action that was performed on a Binding.
|
||||
// Required
|
||||
Action BindingDelta_Action `protobuf:"varint,1,opt,name=action,enum=google.iam.v1.BindingDelta_Action" json:"action,omitempty"`
|
||||
Action BindingDelta_Action `protobuf:"varint,1,opt,name=action,proto3,enum=google.iam.v1.BindingDelta_Action" json:"action,omitempty"`
|
||||
// Role that is assigned to `members`.
|
||||
// For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
||||
// Required
|
||||
Role string `protobuf:"bytes,2,opt,name=role" json:"role,omitempty"`
|
||||
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
||||
// A single identity requesting access for a Cloud Platform resource.
|
||||
// Follows the same format of Binding.members.
|
||||
// Required
|
||||
Member string `protobuf:"bytes,3,opt,name=member" json:"member,omitempty"`
|
||||
Member string `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *BindingDelta) Reset() { *m = BindingDelta{} }
|
||||
func (m *BindingDelta) String() string { return proto.CompactTextString(m) }
|
||||
func (*BindingDelta) ProtoMessage() {}
|
||||
func (*BindingDelta) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
|
||||
func (m *BindingDelta) Reset() { *m = BindingDelta{} }
|
||||
func (m *BindingDelta) String() string { return proto.CompactTextString(m) }
|
||||
func (*BindingDelta) ProtoMessage() {}
|
||||
func (*BindingDelta) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_a3cd40b8a66b2a99, []int{3}
|
||||
}
|
||||
|
||||
func (m *BindingDelta) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BindingDelta.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BindingDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BindingDelta.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *BindingDelta) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BindingDelta.Merge(m, src)
|
||||
}
|
||||
func (m *BindingDelta) XXX_Size() int {
|
||||
return xxx_messageInfo_BindingDelta.Size(m)
|
||||
}
|
||||
func (m *BindingDelta) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BindingDelta.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BindingDelta proto.InternalMessageInfo
|
||||
|
||||
func (m *BindingDelta) GetAction() BindingDelta_Action {
|
||||
if m != nil {
|
||||
@@ -230,16 +334,16 @@ func (m *BindingDelta) GetMember() string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.iam.v1.BindingDelta_Action", BindingDelta_Action_name, BindingDelta_Action_value)
|
||||
proto.RegisterType((*Policy)(nil), "google.iam.v1.Policy")
|
||||
proto.RegisterType((*Binding)(nil), "google.iam.v1.Binding")
|
||||
proto.RegisterType((*PolicyDelta)(nil), "google.iam.v1.PolicyDelta")
|
||||
proto.RegisterType((*BindingDelta)(nil), "google.iam.v1.BindingDelta")
|
||||
proto.RegisterEnum("google.iam.v1.BindingDelta_Action", BindingDelta_Action_name, BindingDelta_Action_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/iam/v1/policy.proto", fileDescriptor1) }
|
||||
func init() { proto.RegisterFile("google/iam/v1/policy.proto", fileDescriptor_a3cd40b8a66b2a99) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_a3cd40b8a66b2a99 = []byte{
|
||||
// 403 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0xab, 0x13, 0x31,
|
||||
0x14, 0x35, 0xed, 0x73, 0x6a, 0xef, 0xfb, 0xa0, 0x46, 0x28, 0xc3, 0xd3, 0x45, 0x99, 0x55, 0x57,
|
||||
|
||||
Reference in New Issue
Block a user