Documentation ¶
Index ¶
- Variables
- type PolicyInfo
- func (*PolicyInfo) Descriptor() ([]byte, []int)
- func (m *PolicyInfo) GetAction() string
- func (m *PolicyInfo) GetResource() string
- func (*PolicyInfo) ProtoMessage()
- func (m *PolicyInfo) Reset()
- func (m *PolicyInfo) String() string
- func (m *PolicyInfo) XXX_DiscardUnknown()
- func (m *PolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PolicyInfo) XXX_Merge(src proto.Message)
- func (m *PolicyInfo) XXX_Size() int
- func (m *PolicyInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Policy = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*PolicyInfo)(nil), Field: 50000, Name: "chef.automate.api.policy", Tag: "bytes,50000,opt,name=policy", Filename: "components/automate-grpc/protoc-gen-policy/api/annotations.proto", }
Functions ¶
This section is empty.
Types ¶
type PolicyInfo ¶
type PolicyInfo struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PolicyInfo) Descriptor ¶
func (*PolicyInfo) Descriptor() ([]byte, []int)
func (*PolicyInfo) GetAction ¶
func (m *PolicyInfo) GetAction() string
func (*PolicyInfo) GetResource ¶
func (m *PolicyInfo) GetResource() string
func (*PolicyInfo) ProtoMessage ¶
func (*PolicyInfo) ProtoMessage()
func (*PolicyInfo) Reset ¶
func (m *PolicyInfo) Reset()
func (*PolicyInfo) String ¶
func (m *PolicyInfo) String() string
func (*PolicyInfo) XXX_DiscardUnknown ¶
func (m *PolicyInfo) XXX_DiscardUnknown()
func (*PolicyInfo) XXX_Marshal ¶
func (m *PolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PolicyInfo) XXX_Merge ¶
func (dst *PolicyInfo) XXX_Merge(src proto.Message)
func (*PolicyInfo) XXX_Size ¶
func (m *PolicyInfo) XXX_Size() int
func (*PolicyInfo) XXX_Unmarshal ¶
func (m *PolicyInfo) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.