Documentation
¶
Index ¶
- type CreatePolicyResp
- func (*CreatePolicyResp) Descriptor() ([]byte, []int)
- func (m *CreatePolicyResp) GetAction() string
- func (m *CreatePolicyResp) GetCreatedAt() *timestamp.Timestamp
- func (m *CreatePolicyResp) GetEffect() string
- func (m *CreatePolicyResp) GetId() string
- func (m *CreatePolicyResp) GetResource() string
- func (m *CreatePolicyResp) GetSubjects() []string
- func (m *CreatePolicyResp) GetUpdatedAt() *timestamp.Timestamp
- func (*CreatePolicyResp) ProtoMessage()
- func (m *CreatePolicyResp) Reset()
- func (m *CreatePolicyResp) String() string
- func (m *CreatePolicyResp) XXX_DiscardUnknown()
- func (m *CreatePolicyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreatePolicyResp) XXX_Merge(src proto.Message)
- func (m *CreatePolicyResp) XXX_Size() int
- func (m *CreatePolicyResp) XXX_Unmarshal(b []byte) error
- type DeletePolicyResp
- func (*DeletePolicyResp) Descriptor() ([]byte, []int)
- func (m *DeletePolicyResp) GetAction() string
- func (m *DeletePolicyResp) GetCreatedAt() *timestamp.Timestamp
- func (m *DeletePolicyResp) GetEffect() string
- func (m *DeletePolicyResp) GetId() string
- func (m *DeletePolicyResp) GetResource() string
- func (m *DeletePolicyResp) GetSubjects() []string
- func (m *DeletePolicyResp) GetUpdatedAt() *timestamp.Timestamp
- func (*DeletePolicyResp) ProtoMessage()
- func (m *DeletePolicyResp) Reset()
- func (m *DeletePolicyResp) String() string
- func (m *DeletePolicyResp) XXX_DiscardUnknown()
- func (m *DeletePolicyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeletePolicyResp) XXX_Merge(src proto.Message)
- func (m *DeletePolicyResp) XXX_Size() int
- func (m *DeletePolicyResp) XXX_Unmarshal(b []byte) error
- type IntrospectProjectsResp
- func (*IntrospectProjectsResp) Descriptor() ([]byte, []int)
- func (m *IntrospectProjectsResp) GetProjects() []string
- func (*IntrospectProjectsResp) ProtoMessage()
- func (m *IntrospectProjectsResp) Reset()
- func (m *IntrospectProjectsResp) String() string
- func (m *IntrospectProjectsResp) XXX_DiscardUnknown()
- func (m *IntrospectProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IntrospectProjectsResp) XXX_Merge(src proto.Message)
- func (m *IntrospectProjectsResp) XXX_Size() int
- func (m *IntrospectProjectsResp) XXX_Unmarshal(b []byte) error
- type IntrospectResp
- func (*IntrospectResp) Descriptor() ([]byte, []int)
- func (m *IntrospectResp) GetEndpoints() map[string]*MethodsAllowed
- func (*IntrospectResp) ProtoMessage()
- func (m *IntrospectResp) Reset()
- func (m *IntrospectResp) String() string
- func (m *IntrospectResp) XXX_DiscardUnknown()
- func (m *IntrospectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IntrospectResp) XXX_Merge(src proto.Message)
- func (m *IntrospectResp) XXX_Size() int
- func (m *IntrospectResp) XXX_Unmarshal(b []byte) error
- type IsAuthorizedResp
- func (*IsAuthorizedResp) Descriptor() ([]byte, []int)
- func (m *IsAuthorizedResp) GetAuthorized() bool
- func (*IsAuthorizedResp) ProtoMessage()
- func (m *IsAuthorizedResp) Reset()
- func (m *IsAuthorizedResp) String() string
- func (m *IsAuthorizedResp) XXX_DiscardUnknown()
- func (m *IsAuthorizedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IsAuthorizedResp) XXX_Merge(src proto.Message)
- func (m *IsAuthorizedResp) XXX_Size() int
- func (m *IsAuthorizedResp) XXX_Unmarshal(b []byte) error
- type ListPoliciesResp
- func (*ListPoliciesResp) Descriptor() ([]byte, []int)
- func (m *ListPoliciesResp) GetPolicies() []*Policy
- func (*ListPoliciesResp) ProtoMessage()
- func (m *ListPoliciesResp) Reset()
- func (m *ListPoliciesResp) String() string
- func (m *ListPoliciesResp) XXX_DiscardUnknown()
- func (m *ListPoliciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListPoliciesResp) XXX_Merge(src proto.Message)
- func (m *ListPoliciesResp) XXX_Size() int
- func (m *ListPoliciesResp) XXX_Unmarshal(b []byte) error
- type MethodsAllowed
- func (*MethodsAllowed) Descriptor() ([]byte, []int)
- func (m *MethodsAllowed) GetDelete() bool
- func (m *MethodsAllowed) GetGet() bool
- func (m *MethodsAllowed) GetPatch() bool
- func (m *MethodsAllowed) GetPost() bool
- func (m *MethodsAllowed) GetPut() bool
- func (*MethodsAllowed) ProtoMessage()
- func (m *MethodsAllowed) Reset()
- func (m *MethodsAllowed) String() string
- func (m *MethodsAllowed) XXX_DiscardUnknown()
- func (m *MethodsAllowed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MethodsAllowed) XXX_Merge(src proto.Message)
- func (m *MethodsAllowed) XXX_Size() int
- func (m *MethodsAllowed) XXX_Unmarshal(b []byte) error
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)
- func (m *Policy) GetAction() string
- func (m *Policy) GetCreatedAt() *timestamp.Timestamp
- func (m *Policy) GetEffect() string
- func (m *Policy) GetId() string
- func (m *Policy) GetResource() string
- func (m *Policy) GetSubjects() []string
- func (m *Policy) GetUpdatedAt() *timestamp.Timestamp
- func (*Policy) ProtoMessage()
- func (m *Policy) Reset()
- func (m *Policy) String() string
- func (m *Policy) XXX_DiscardUnknown()
- func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Policy) XXX_Merge(src proto.Message)
- func (m *Policy) XXX_Size() int
- func (m *Policy) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePolicyResp ¶
type CreatePolicyResp struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Subjects []string `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` Effect string `protobuf:"bytes,5,opt,name=effect,proto3" json:"effect,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
We aren't using a Policy message here since we want to return a flat object via our external HTTP API.
func (*CreatePolicyResp) Descriptor ¶
func (*CreatePolicyResp) Descriptor() ([]byte, []int)
func (*CreatePolicyResp) GetAction ¶
func (m *CreatePolicyResp) GetAction() string
func (*CreatePolicyResp) GetCreatedAt ¶
func (m *CreatePolicyResp) GetCreatedAt() *timestamp.Timestamp
func (*CreatePolicyResp) GetEffect ¶
func (m *CreatePolicyResp) GetEffect() string
func (*CreatePolicyResp) GetId ¶
func (m *CreatePolicyResp) GetId() string
func (*CreatePolicyResp) GetResource ¶
func (m *CreatePolicyResp) GetResource() string
func (*CreatePolicyResp) GetSubjects ¶
func (m *CreatePolicyResp) GetSubjects() []string
func (*CreatePolicyResp) GetUpdatedAt ¶
func (m *CreatePolicyResp) GetUpdatedAt() *timestamp.Timestamp
func (*CreatePolicyResp) ProtoMessage ¶
func (*CreatePolicyResp) ProtoMessage()
func (*CreatePolicyResp) Reset ¶
func (m *CreatePolicyResp) Reset()
func (*CreatePolicyResp) String ¶
func (m *CreatePolicyResp) String() string
func (*CreatePolicyResp) XXX_DiscardUnknown ¶
func (m *CreatePolicyResp) XXX_DiscardUnknown()
func (*CreatePolicyResp) XXX_Marshal ¶
func (m *CreatePolicyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePolicyResp) XXX_Merge ¶
func (dst *CreatePolicyResp) XXX_Merge(src proto.Message)
func (*CreatePolicyResp) XXX_Size ¶
func (m *CreatePolicyResp) XXX_Size() int
func (*CreatePolicyResp) XXX_Unmarshal ¶
func (m *CreatePolicyResp) XXX_Unmarshal(b []byte) error
type DeletePolicyResp ¶
type DeletePolicyResp struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Subjects []string `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` Effect string `protobuf:"bytes,5,opt,name=effect,proto3" json:"effect,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeletePolicyResp) Descriptor ¶
func (*DeletePolicyResp) Descriptor() ([]byte, []int)
func (*DeletePolicyResp) GetAction ¶
func (m *DeletePolicyResp) GetAction() string
func (*DeletePolicyResp) GetCreatedAt ¶
func (m *DeletePolicyResp) GetCreatedAt() *timestamp.Timestamp
func (*DeletePolicyResp) GetEffect ¶
func (m *DeletePolicyResp) GetEffect() string
func (*DeletePolicyResp) GetId ¶
func (m *DeletePolicyResp) GetId() string
func (*DeletePolicyResp) GetResource ¶
func (m *DeletePolicyResp) GetResource() string
func (*DeletePolicyResp) GetSubjects ¶
func (m *DeletePolicyResp) GetSubjects() []string
func (*DeletePolicyResp) GetUpdatedAt ¶
func (m *DeletePolicyResp) GetUpdatedAt() *timestamp.Timestamp
func (*DeletePolicyResp) ProtoMessage ¶
func (*DeletePolicyResp) ProtoMessage()
func (*DeletePolicyResp) Reset ¶
func (m *DeletePolicyResp) Reset()
func (*DeletePolicyResp) String ¶
func (m *DeletePolicyResp) String() string
func (*DeletePolicyResp) XXX_DiscardUnknown ¶
func (m *DeletePolicyResp) XXX_DiscardUnknown()
func (*DeletePolicyResp) XXX_Marshal ¶
func (m *DeletePolicyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeletePolicyResp) XXX_Merge ¶
func (dst *DeletePolicyResp) XXX_Merge(src proto.Message)
func (*DeletePolicyResp) XXX_Size ¶
func (m *DeletePolicyResp) XXX_Size() int
func (*DeletePolicyResp) XXX_Unmarshal ¶
func (m *DeletePolicyResp) XXX_Unmarshal(b []byte) error
type IntrospectProjectsResp ¶
type IntrospectProjectsResp struct { Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IntrospectProjectsResp) Descriptor ¶
func (*IntrospectProjectsResp) Descriptor() ([]byte, []int)
func (*IntrospectProjectsResp) GetProjects ¶
func (m *IntrospectProjectsResp) GetProjects() []string
func (*IntrospectProjectsResp) ProtoMessage ¶
func (*IntrospectProjectsResp) ProtoMessage()
func (*IntrospectProjectsResp) Reset ¶
func (m *IntrospectProjectsResp) Reset()
func (*IntrospectProjectsResp) String ¶
func (m *IntrospectProjectsResp) String() string
func (*IntrospectProjectsResp) XXX_DiscardUnknown ¶
func (m *IntrospectProjectsResp) XXX_DiscardUnknown()
func (*IntrospectProjectsResp) XXX_Marshal ¶
func (m *IntrospectProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IntrospectProjectsResp) XXX_Merge ¶
func (dst *IntrospectProjectsResp) XXX_Merge(src proto.Message)
func (*IntrospectProjectsResp) XXX_Size ¶
func (m *IntrospectProjectsResp) XXX_Size() int
func (*IntrospectProjectsResp) XXX_Unmarshal ¶
func (m *IntrospectProjectsResp) XXX_Unmarshal(b []byte) error
type IntrospectResp ¶
type IntrospectResp struct { Endpoints map[string]*MethodsAllowed `` /* 159-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IntrospectResp) Descriptor ¶
func (*IntrospectResp) Descriptor() ([]byte, []int)
func (*IntrospectResp) GetEndpoints ¶
func (m *IntrospectResp) GetEndpoints() map[string]*MethodsAllowed
func (*IntrospectResp) ProtoMessage ¶
func (*IntrospectResp) ProtoMessage()
func (*IntrospectResp) Reset ¶
func (m *IntrospectResp) Reset()
func (*IntrospectResp) String ¶
func (m *IntrospectResp) String() string
func (*IntrospectResp) XXX_DiscardUnknown ¶
func (m *IntrospectResp) XXX_DiscardUnknown()
func (*IntrospectResp) XXX_Marshal ¶
func (m *IntrospectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IntrospectResp) XXX_Merge ¶
func (dst *IntrospectResp) XXX_Merge(src proto.Message)
func (*IntrospectResp) XXX_Size ¶
func (m *IntrospectResp) XXX_Size() int
func (*IntrospectResp) XXX_Unmarshal ¶
func (m *IntrospectResp) XXX_Unmarshal(b []byte) error
type IsAuthorizedResp ¶
type IsAuthorizedResp struct { Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IsAuthorizedResp) Descriptor ¶
func (*IsAuthorizedResp) Descriptor() ([]byte, []int)
func (*IsAuthorizedResp) GetAuthorized ¶
func (m *IsAuthorizedResp) GetAuthorized() bool
func (*IsAuthorizedResp) ProtoMessage ¶
func (*IsAuthorizedResp) ProtoMessage()
func (*IsAuthorizedResp) Reset ¶
func (m *IsAuthorizedResp) Reset()
func (*IsAuthorizedResp) String ¶
func (m *IsAuthorizedResp) String() string
func (*IsAuthorizedResp) XXX_DiscardUnknown ¶
func (m *IsAuthorizedResp) XXX_DiscardUnknown()
func (*IsAuthorizedResp) XXX_Marshal ¶
func (m *IsAuthorizedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsAuthorizedResp) XXX_Merge ¶
func (dst *IsAuthorizedResp) XXX_Merge(src proto.Message)
func (*IsAuthorizedResp) XXX_Size ¶
func (m *IsAuthorizedResp) XXX_Size() int
func (*IsAuthorizedResp) XXX_Unmarshal ¶
func (m *IsAuthorizedResp) XXX_Unmarshal(b []byte) error
type ListPoliciesResp ¶
type ListPoliciesResp struct { Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPoliciesResp) Descriptor ¶
func (*ListPoliciesResp) Descriptor() ([]byte, []int)
func (*ListPoliciesResp) GetPolicies ¶
func (m *ListPoliciesResp) GetPolicies() []*Policy
func (*ListPoliciesResp) ProtoMessage ¶
func (*ListPoliciesResp) ProtoMessage()
func (*ListPoliciesResp) Reset ¶
func (m *ListPoliciesResp) Reset()
func (*ListPoliciesResp) String ¶
func (m *ListPoliciesResp) String() string
func (*ListPoliciesResp) XXX_DiscardUnknown ¶
func (m *ListPoliciesResp) XXX_DiscardUnknown()
func (*ListPoliciesResp) XXX_Marshal ¶
func (m *ListPoliciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPoliciesResp) XXX_Merge ¶
func (dst *ListPoliciesResp) XXX_Merge(src proto.Message)
func (*ListPoliciesResp) XXX_Size ¶
func (m *ListPoliciesResp) XXX_Size() int
func (*ListPoliciesResp) XXX_Unmarshal ¶
func (m *ListPoliciesResp) XXX_Unmarshal(b []byte) error
type MethodsAllowed ¶
type MethodsAllowed struct { Get bool `protobuf:"varint,1,opt,name=get,proto3" json:"get,omitempty"` Put bool `protobuf:"varint,2,opt,name=put,proto3" json:"put,omitempty"` Post bool `protobuf:"varint,3,opt,name=post,proto3" json:"post,omitempty"` Delete bool `protobuf:"varint,4,opt,name=delete,proto3" json:"delete,omitempty"` Patch bool `protobuf:"varint,5,opt,name=patch,proto3" json:"patch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MethodsAllowed) Descriptor ¶
func (*MethodsAllowed) Descriptor() ([]byte, []int)
func (*MethodsAllowed) GetDelete ¶
func (m *MethodsAllowed) GetDelete() bool
func (*MethodsAllowed) GetGet ¶
func (m *MethodsAllowed) GetGet() bool
func (*MethodsAllowed) GetPatch ¶
func (m *MethodsAllowed) GetPatch() bool
func (*MethodsAllowed) GetPost ¶
func (m *MethodsAllowed) GetPost() bool
func (*MethodsAllowed) GetPut ¶
func (m *MethodsAllowed) GetPut() bool
func (*MethodsAllowed) ProtoMessage ¶
func (*MethodsAllowed) ProtoMessage()
func (*MethodsAllowed) Reset ¶
func (m *MethodsAllowed) Reset()
func (*MethodsAllowed) String ¶
func (m *MethodsAllowed) String() string
func (*MethodsAllowed) XXX_DiscardUnknown ¶
func (m *MethodsAllowed) XXX_DiscardUnknown()
func (*MethodsAllowed) XXX_Marshal ¶
func (m *MethodsAllowed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MethodsAllowed) XXX_Merge ¶
func (dst *MethodsAllowed) XXX_Merge(src proto.Message)
func (*MethodsAllowed) XXX_Size ¶
func (m *MethodsAllowed) XXX_Size() int
func (*MethodsAllowed) XXX_Unmarshal ¶
func (m *MethodsAllowed) XXX_Unmarshal(b []byte) error
type Policy ¶
type Policy struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Subjects []string `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` Effect string `protobuf:"bytes,5,opt,name=effect,proto3" json:"effect,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Policy) Descriptor ¶
func (*Policy) GetCreatedAt ¶
func (*Policy) GetResource ¶
func (*Policy) GetSubjects ¶
func (*Policy) GetUpdatedAt ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) XXX_DiscardUnknown ¶
func (m *Policy) XXX_DiscardUnknown()
func (*Policy) XXX_Marshal ¶
func (*Policy) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.