api

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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