v2

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: 23 Imported by: 0

Documentation

Overview

Package v2 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var Flag_name = map[int32]string{
	0: "VERSION_2_0",
	1: "VERSION_2_1",
}
View Source
var Flag_value = map[string]int32{
	"VERSION_2_0": 0,
	"VERSION_2_1": 1,
}
View Source
var ProjectRuleConditionTypes_name = map[int32]string{
	0: "CHEF_SERVERS",
	1: "CHEF_ORGS",
	2: "CHEF_ENVIRONMENTS",
	3: "ROLES",
	4: "CHEF_TAGS",
	5: "POLICY_GROUP",
	6: "POLICY_NAME",
}
View Source
var ProjectRuleConditionTypes_value = map[string]int32{
	"CHEF_SERVERS":      0,
	"CHEF_ORGS":         1,
	"CHEF_ENVIRONMENTS": 2,
	"ROLES":             3,
	"CHEF_TAGS":         4,
	"POLICY_GROUP":      5,
	"POLICY_NAME":       6,
}
View Source
var ProjectRuleTypes_name = map[int32]string{
	0: "NODE",
	1: "EVENT",
}
View Source
var ProjectRuleTypes_value = map[string]int32{
	"NODE":  0,
	"EVENT": 1,
}
View Source
var Statement_Effect_name = map[int32]string{
	0: "ALLOW",
	1: "DENY",
}
View Source
var Statement_Effect_value = map[string]int32{
	"ALLOW": 0,
	"DENY":  1,
}
View Source
var Type_name = map[int32]string{
	0: "CHEF_MANAGED",
	1: "CUSTOM",
}
View Source
var Type_value = map[string]int32{
	"CHEF_MANAGED": 0,
	"CUSTOM":       1,
}
View Source
var Version_VersionNumber_name = map[int32]string{
	0: "V0",
	1: "V1",
	2: "V2",
}
View Source
var Version_VersionNumber_value = map[string]int32{
	"V0": 0,
	"V1": 1,
	"V2": 2,
}

Functions

func RegisterAuthorizationServer

func RegisterAuthorizationServer(s *grpc.Server, srv AuthorizationServer)

func RegisterPoliciesServer

func RegisterPoliciesServer(s *grpc.Server, srv PoliciesServer)

func RegisterProjectsServer

func RegisterProjectsServer(s *grpc.Server, srv ProjectsServer)

Types

type AddPolicyMembersReq

type AddPolicyMembersReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Members              []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*AddPolicyMembersReq) Descriptor

func (*AddPolicyMembersReq) Descriptor() ([]byte, []int)

func (*AddPolicyMembersReq) GetId

func (m *AddPolicyMembersReq) GetId() string

func (*AddPolicyMembersReq) GetMembers

func (m *AddPolicyMembersReq) GetMembers() []string

func (*AddPolicyMembersReq) ProtoMessage

func (*AddPolicyMembersReq) ProtoMessage()

func (*AddPolicyMembersReq) Reset

func (m *AddPolicyMembersReq) Reset()

func (*AddPolicyMembersReq) String

func (m *AddPolicyMembersReq) String() string

func (*AddPolicyMembersReq) Validate

func (m *AddPolicyMembersReq) Validate() error

Validate checks the field values on AddPolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AddPolicyMembersReq) XXX_DiscardUnknown

func (m *AddPolicyMembersReq) XXX_DiscardUnknown()

func (*AddPolicyMembersReq) XXX_Marshal

func (m *AddPolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddPolicyMembersReq) XXX_Merge

func (dst *AddPolicyMembersReq) XXX_Merge(src proto.Message)

func (*AddPolicyMembersReq) XXX_Size

func (m *AddPolicyMembersReq) XXX_Size() int

func (*AddPolicyMembersReq) XXX_Unmarshal

func (m *AddPolicyMembersReq) XXX_Unmarshal(b []byte) error

type AddPolicyMembersReqValidationError

type AddPolicyMembersReqValidationError struct {
	// contains filtered or unexported fields
}

AddPolicyMembersReqValidationError is the validation error returned by AddPolicyMembersReq.Validate if the designated constraints aren't met.

func (AddPolicyMembersReqValidationError) Cause

Cause function returns cause value.

func (AddPolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (AddPolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (AddPolicyMembersReqValidationError) Field

Field function returns field value.

func (AddPolicyMembersReqValidationError) Key

Key function returns key value.

func (AddPolicyMembersReqValidationError) Reason

Reason function returns reason value.

type AddPolicyMembersResp

type AddPolicyMembersResp struct {
	Members              []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*AddPolicyMembersResp) Descriptor

func (*AddPolicyMembersResp) Descriptor() ([]byte, []int)

func (*AddPolicyMembersResp) GetMembers

func (m *AddPolicyMembersResp) GetMembers() []string

func (*AddPolicyMembersResp) ProtoMessage

func (*AddPolicyMembersResp) ProtoMessage()

func (*AddPolicyMembersResp) Reset

func (m *AddPolicyMembersResp) Reset()

func (*AddPolicyMembersResp) String

func (m *AddPolicyMembersResp) String() string

func (*AddPolicyMembersResp) Validate

func (m *AddPolicyMembersResp) Validate() error

Validate checks the field values on AddPolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AddPolicyMembersResp) XXX_DiscardUnknown

func (m *AddPolicyMembersResp) XXX_DiscardUnknown()

func (*AddPolicyMembersResp) XXX_Marshal

func (m *AddPolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddPolicyMembersResp) XXX_Merge

func (dst *AddPolicyMembersResp) XXX_Merge(src proto.Message)

func (*AddPolicyMembersResp) XXX_Size

func (m *AddPolicyMembersResp) XXX_Size() int

func (*AddPolicyMembersResp) XXX_Unmarshal

func (m *AddPolicyMembersResp) XXX_Unmarshal(b []byte) error

type AddPolicyMembersRespValidationError

type AddPolicyMembersRespValidationError struct {
	// contains filtered or unexported fields
}

AddPolicyMembersRespValidationError is the validation error returned by AddPolicyMembersResp.Validate if the designated constraints aren't met.

func (AddPolicyMembersRespValidationError) Cause

Cause function returns cause value.

func (AddPolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (AddPolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (AddPolicyMembersRespValidationError) Field

Field function returns field value.

func (AddPolicyMembersRespValidationError) Key

Key function returns key value.

func (AddPolicyMembersRespValidationError) Reason

Reason function returns reason value.

type AuthorizationClient

type AuthorizationClient interface {
	IsAuthorized(ctx context.Context, in *IsAuthorizedReq, opts ...grpc.CallOption) (*IsAuthorizedResp, error)
	FilterAuthorizedPairs(ctx context.Context, in *FilterAuthorizedPairsReq, opts ...grpc.CallOption) (*FilterAuthorizedPairsResp, error)
	FilterAuthorizedProjects(ctx context.Context, in *FilterAuthorizedPairsReq, opts ...grpc.CallOption) (*FilterAuthorizedProjectsResp, error)
	ProjectsAuthorized(ctx context.Context, in *ProjectsAuthorizedReq, opts ...grpc.CallOption) (*ProjectsAuthorizedResp, error)
}

AuthorizationClient is the client API for Authorization service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAuthorizationClient

func NewAuthorizationClient(cc *grpc.ClientConn) AuthorizationClient

type AuthorizationServer

AuthorizationServer is the server API for Authorization service.

type AuthorizationServerMock

type AuthorizationServerMock struct {
	IsAuthorizedFunc             func(context.Context, *IsAuthorizedReq) (*IsAuthorizedResp, error)
	FilterAuthorizedPairsFunc    func(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
	FilterAuthorizedProjectsFunc func(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedProjectsResp, error)
	ProjectsAuthorizedFunc       func(context.Context, *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
	// contains filtered or unexported fields
}

AuthorizationServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns

func NewAuthorizationServerMock

func NewAuthorizationServerMock() *AuthorizationServerMock

NewAuthorizationServerMock gives you a fresh instance of AuthorizationServerMock.

func NewAuthorizationServerMockWithoutValidation

func NewAuthorizationServerMockWithoutValidation() *AuthorizationServerMock

NewAuthorizationServerMockWithoutValidation gives you a fresh instance of AuthorizationServerMock which does not attempt to validate requests before passing them to their respective '*Func'.

func (*AuthorizationServerMock) FilterAuthorizedPairs

func (*AuthorizationServerMock) FilterAuthorizedProjects

func (*AuthorizationServerMock) IsAuthorized

func (*AuthorizationServerMock) ProjectsAuthorized

func (*AuthorizationServerMock) Reset

func (m *AuthorizationServerMock) Reset()

Reset resets all overridden functions

type Condition

type Condition struct {
	Type                 ProjectRuleConditionTypes `` /* 175-byte string literal not displayed */
	Values               []string                  `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Condition) Descriptor

func (*Condition) Descriptor() ([]byte, []int)

func (*Condition) GetType

func (m *Condition) GetType() ProjectRuleConditionTypes

func (*Condition) GetValues

func (m *Condition) GetValues() []string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) String

func (m *Condition) String() string

func (*Condition) Validate

func (m *Condition) Validate() error

Validate checks the field values on Condition with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Condition) XXX_DiscardUnknown

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal

func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Condition) XXX_Merge

func (dst *Condition) XXX_Merge(src proto.Message)

func (*Condition) XXX_Size

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal

func (m *Condition) XXX_Unmarshal(b []byte) error

type ConditionValidationError

type ConditionValidationError struct {
	// contains filtered or unexported fields
}

ConditionValidationError is the validation error returned by Condition.Validate if the designated constraints aren't met.

func (ConditionValidationError) Cause

func (e ConditionValidationError) Cause() error

Cause function returns cause value.

func (ConditionValidationError) Error

func (e ConditionValidationError) Error() string

Error satisfies the builtin error interface

func (ConditionValidationError) ErrorName

func (e ConditionValidationError) ErrorName() string

ErrorName returns error name.

func (ConditionValidationError) Field

func (e ConditionValidationError) Field() string

Field function returns field value.

func (ConditionValidationError) Key

Key function returns key value.

func (ConditionValidationError) Reason

func (e ConditionValidationError) Reason() string

Reason function returns reason value.

type CreatePolicyReq

type CreatePolicyReq struct {
	Id                   string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Name                 string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Members              []string     `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	Statements           []*Statement `` /* 137-byte string literal not displayed */
	Projects             []string     `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte       `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32        `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreatePolicyReq) Descriptor

func (*CreatePolicyReq) Descriptor() ([]byte, []int)

func (*CreatePolicyReq) GetId

func (m *CreatePolicyReq) GetId() string

func (*CreatePolicyReq) GetMembers

func (m *CreatePolicyReq) GetMembers() []string

func (*CreatePolicyReq) GetName

func (m *CreatePolicyReq) GetName() string

func (*CreatePolicyReq) GetProjects

func (m *CreatePolicyReq) GetProjects() []string

func (*CreatePolicyReq) GetStatements

func (m *CreatePolicyReq) GetStatements() []*Statement

func (*CreatePolicyReq) ProtoMessage

func (*CreatePolicyReq) ProtoMessage()

func (*CreatePolicyReq) Reset

func (m *CreatePolicyReq) Reset()

func (*CreatePolicyReq) String

func (m *CreatePolicyReq) String() string

func (*CreatePolicyReq) Validate

func (m *CreatePolicyReq) Validate() error

Validate checks the field values on CreatePolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreatePolicyReq) XXX_DiscardUnknown

func (m *CreatePolicyReq) XXX_DiscardUnknown()

func (*CreatePolicyReq) XXX_Marshal

func (m *CreatePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreatePolicyReq) XXX_Merge

func (dst *CreatePolicyReq) XXX_Merge(src proto.Message)

func (*CreatePolicyReq) XXX_Size

func (m *CreatePolicyReq) XXX_Size() int

func (*CreatePolicyReq) XXX_Unmarshal

func (m *CreatePolicyReq) XXX_Unmarshal(b []byte) error

type CreatePolicyReqValidationError

type CreatePolicyReqValidationError struct {
	// contains filtered or unexported fields
}

CreatePolicyReqValidationError is the validation error returned by CreatePolicyReq.Validate if the designated constraints aren't met.

func (CreatePolicyReqValidationError) Cause

Cause function returns cause value.

func (CreatePolicyReqValidationError) Error

Error satisfies the builtin error interface

func (CreatePolicyReqValidationError) ErrorName

func (e CreatePolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreatePolicyReqValidationError) Field

Field function returns field value.

func (CreatePolicyReqValidationError) Key

Key function returns key value.

func (CreatePolicyReqValidationError) Reason

Reason function returns reason value.

type CreateProjectReq

type CreateProjectReq struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateProjectReq) Descriptor

func (*CreateProjectReq) Descriptor() ([]byte, []int)

func (*CreateProjectReq) GetId

func (m *CreateProjectReq) GetId() string

func (*CreateProjectReq) GetName

func (m *CreateProjectReq) GetName() string

func (*CreateProjectReq) ProtoMessage

func (*CreateProjectReq) ProtoMessage()

func (*CreateProjectReq) Reset

func (m *CreateProjectReq) Reset()

func (*CreateProjectReq) String

func (m *CreateProjectReq) String() string

func (*CreateProjectReq) Validate

func (m *CreateProjectReq) Validate() error

Validate checks the field values on CreateProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateProjectReq) XXX_DiscardUnknown

func (m *CreateProjectReq) XXX_DiscardUnknown()

func (*CreateProjectReq) XXX_Marshal

func (m *CreateProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateProjectReq) XXX_Merge

func (dst *CreateProjectReq) XXX_Merge(src proto.Message)

func (*CreateProjectReq) XXX_Size

func (m *CreateProjectReq) XXX_Size() int

func (*CreateProjectReq) XXX_Unmarshal

func (m *CreateProjectReq) XXX_Unmarshal(b []byte) error

type CreateProjectReqValidationError

type CreateProjectReqValidationError struct {
	// contains filtered or unexported fields
}

CreateProjectReqValidationError is the validation error returned by CreateProjectReq.Validate if the designated constraints aren't met.

func (CreateProjectReqValidationError) Cause

Cause function returns cause value.

func (CreateProjectReqValidationError) Error

Error satisfies the builtin error interface

func (CreateProjectReqValidationError) ErrorName

ErrorName returns error name.

func (CreateProjectReqValidationError) Field

Field function returns field value.

func (CreateProjectReqValidationError) Key

Key function returns key value.

func (CreateProjectReqValidationError) Reason

Reason function returns reason value.

type CreateProjectResp

type CreateProjectResp struct {
	Project              *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateProjectResp) Descriptor

func (*CreateProjectResp) Descriptor() ([]byte, []int)

func (*CreateProjectResp) GetProject

func (m *CreateProjectResp) GetProject() *Project

func (*CreateProjectResp) ProtoMessage

func (*CreateProjectResp) ProtoMessage()

func (*CreateProjectResp) Reset

func (m *CreateProjectResp) Reset()

func (*CreateProjectResp) String

func (m *CreateProjectResp) String() string

func (*CreateProjectResp) Validate

func (m *CreateProjectResp) Validate() error

Validate checks the field values on CreateProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateProjectResp) XXX_DiscardUnknown

func (m *CreateProjectResp) XXX_DiscardUnknown()

func (*CreateProjectResp) XXX_Marshal

func (m *CreateProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateProjectResp) XXX_Merge

func (dst *CreateProjectResp) XXX_Merge(src proto.Message)

func (*CreateProjectResp) XXX_Size

func (m *CreateProjectResp) XXX_Size() int

func (*CreateProjectResp) XXX_Unmarshal

func (m *CreateProjectResp) XXX_Unmarshal(b []byte) error

type CreateProjectRespValidationError

type CreateProjectRespValidationError struct {
	// contains filtered or unexported fields
}

CreateProjectRespValidationError is the validation error returned by CreateProjectResp.Validate if the designated constraints aren't met.

func (CreateProjectRespValidationError) Cause

Cause function returns cause value.

func (CreateProjectRespValidationError) Error

Error satisfies the builtin error interface

func (CreateProjectRespValidationError) ErrorName

ErrorName returns error name.

func (CreateProjectRespValidationError) Field

Field function returns field value.

func (CreateProjectRespValidationError) Key

Key function returns key value.

func (CreateProjectRespValidationError) Reason

Reason function returns reason value.

type CreateRoleReq

type CreateRoleReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Actions              []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"`
	Projects             []string `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateRoleReq) Descriptor

func (*CreateRoleReq) Descriptor() ([]byte, []int)

func (*CreateRoleReq) GetActions

func (m *CreateRoleReq) GetActions() []string

func (*CreateRoleReq) GetId

func (m *CreateRoleReq) GetId() string

func (*CreateRoleReq) GetName

func (m *CreateRoleReq) GetName() string

func (*CreateRoleReq) GetProjects

func (m *CreateRoleReq) GetProjects() []string

func (*CreateRoleReq) ProtoMessage

func (*CreateRoleReq) ProtoMessage()

func (*CreateRoleReq) Reset

func (m *CreateRoleReq) Reset()

func (*CreateRoleReq) String

func (m *CreateRoleReq) String() string

func (*CreateRoleReq) Validate

func (m *CreateRoleReq) Validate() error

Validate checks the field values on CreateRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateRoleReq) XXX_DiscardUnknown

func (m *CreateRoleReq) XXX_DiscardUnknown()

func (*CreateRoleReq) XXX_Marshal

func (m *CreateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRoleReq) XXX_Merge

func (dst *CreateRoleReq) XXX_Merge(src proto.Message)

func (*CreateRoleReq) XXX_Size

func (m *CreateRoleReq) XXX_Size() int

func (*CreateRoleReq) XXX_Unmarshal

func (m *CreateRoleReq) XXX_Unmarshal(b []byte) error

type CreateRoleReqValidationError

type CreateRoleReqValidationError struct {
	// contains filtered or unexported fields
}

CreateRoleReqValidationError is the validation error returned by CreateRoleReq.Validate if the designated constraints aren't met.

func (CreateRoleReqValidationError) Cause

Cause function returns cause value.

func (CreateRoleReqValidationError) Error

Error satisfies the builtin error interface

func (CreateRoleReqValidationError) ErrorName

func (e CreateRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRoleReqValidationError) Field

Field function returns field value.

func (CreateRoleReqValidationError) Key

Key function returns key value.

func (CreateRoleReqValidationError) Reason

Reason function returns reason value.

type DeletePolicyReq

type DeletePolicyReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeletePolicyReq) Descriptor

func (*DeletePolicyReq) Descriptor() ([]byte, []int)

func (*DeletePolicyReq) GetId

func (m *DeletePolicyReq) GetId() string

func (*DeletePolicyReq) ProtoMessage

func (*DeletePolicyReq) ProtoMessage()

func (*DeletePolicyReq) Reset

func (m *DeletePolicyReq) Reset()

func (*DeletePolicyReq) String

func (m *DeletePolicyReq) String() string

func (*DeletePolicyReq) Validate

func (m *DeletePolicyReq) Validate() error

Validate checks the field values on DeletePolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeletePolicyReq) XXX_DiscardUnknown

func (m *DeletePolicyReq) XXX_DiscardUnknown()

func (*DeletePolicyReq) XXX_Marshal

func (m *DeletePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeletePolicyReq) XXX_Merge

func (dst *DeletePolicyReq) XXX_Merge(src proto.Message)

func (*DeletePolicyReq) XXX_Size

func (m *DeletePolicyReq) XXX_Size() int

func (*DeletePolicyReq) XXX_Unmarshal

func (m *DeletePolicyReq) XXX_Unmarshal(b []byte) error

type DeletePolicyReqValidationError

type DeletePolicyReqValidationError struct {
	// contains filtered or unexported fields
}

DeletePolicyReqValidationError is the validation error returned by DeletePolicyReq.Validate if the designated constraints aren't met.

func (DeletePolicyReqValidationError) Cause

Cause function returns cause value.

func (DeletePolicyReqValidationError) Error

Error satisfies the builtin error interface

func (DeletePolicyReqValidationError) ErrorName

func (e DeletePolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (DeletePolicyReqValidationError) Field

Field function returns field value.

func (DeletePolicyReqValidationError) Key

Key function returns key value.

func (DeletePolicyReqValidationError) Reason

Reason function returns reason value.

type DeletePolicyResp

type DeletePolicyResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeletePolicyResp) Descriptor

func (*DeletePolicyResp) Descriptor() ([]byte, []int)

func (*DeletePolicyResp) ProtoMessage

func (*DeletePolicyResp) ProtoMessage()

func (*DeletePolicyResp) Reset

func (m *DeletePolicyResp) Reset()

func (*DeletePolicyResp) String

func (m *DeletePolicyResp) String() string

func (*DeletePolicyResp) Validate

func (m *DeletePolicyResp) Validate() error

Validate checks the field values on DeletePolicyResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 DeletePolicyRespValidationError

type DeletePolicyRespValidationError struct {
	// contains filtered or unexported fields
}

DeletePolicyRespValidationError is the validation error returned by DeletePolicyResp.Validate if the designated constraints aren't met.

func (DeletePolicyRespValidationError) Cause

Cause function returns cause value.

func (DeletePolicyRespValidationError) Error

Error satisfies the builtin error interface

func (DeletePolicyRespValidationError) ErrorName

ErrorName returns error name.

func (DeletePolicyRespValidationError) Field

Field function returns field value.

func (DeletePolicyRespValidationError) Key

Key function returns key value.

func (DeletePolicyRespValidationError) Reason

Reason function returns reason value.

type DeleteProjectReq

type DeleteProjectReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeleteProjectReq) Descriptor

func (*DeleteProjectReq) Descriptor() ([]byte, []int)

func (*DeleteProjectReq) GetId

func (m *DeleteProjectReq) GetId() string

func (*DeleteProjectReq) ProtoMessage

func (*DeleteProjectReq) ProtoMessage()

func (*DeleteProjectReq) Reset

func (m *DeleteProjectReq) Reset()

func (*DeleteProjectReq) String

func (m *DeleteProjectReq) String() string

func (*DeleteProjectReq) Validate

func (m *DeleteProjectReq) Validate() error

Validate checks the field values on DeleteProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeleteProjectReq) XXX_DiscardUnknown

func (m *DeleteProjectReq) XXX_DiscardUnknown()

func (*DeleteProjectReq) XXX_Marshal

func (m *DeleteProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteProjectReq) XXX_Merge

func (dst *DeleteProjectReq) XXX_Merge(src proto.Message)

func (*DeleteProjectReq) XXX_Size

func (m *DeleteProjectReq) XXX_Size() int

func (*DeleteProjectReq) XXX_Unmarshal

func (m *DeleteProjectReq) XXX_Unmarshal(b []byte) error

type DeleteProjectReqValidationError

type DeleteProjectReqValidationError struct {
	// contains filtered or unexported fields
}

DeleteProjectReqValidationError is the validation error returned by DeleteProjectReq.Validate if the designated constraints aren't met.

func (DeleteProjectReqValidationError) Cause

Cause function returns cause value.

func (DeleteProjectReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteProjectReqValidationError) ErrorName

ErrorName returns error name.

func (DeleteProjectReqValidationError) Field

Field function returns field value.

func (DeleteProjectReqValidationError) Key

Key function returns key value.

func (DeleteProjectReqValidationError) Reason

Reason function returns reason value.

type DeleteProjectResp

type DeleteProjectResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeleteProjectResp) Descriptor

func (*DeleteProjectResp) Descriptor() ([]byte, []int)

func (*DeleteProjectResp) ProtoMessage

func (*DeleteProjectResp) ProtoMessage()

func (*DeleteProjectResp) Reset

func (m *DeleteProjectResp) Reset()

func (*DeleteProjectResp) String

func (m *DeleteProjectResp) String() string

func (*DeleteProjectResp) Validate

func (m *DeleteProjectResp) Validate() error

Validate checks the field values on DeleteProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeleteProjectResp) XXX_DiscardUnknown

func (m *DeleteProjectResp) XXX_DiscardUnknown()

func (*DeleteProjectResp) XXX_Marshal

func (m *DeleteProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteProjectResp) XXX_Merge

func (dst *DeleteProjectResp) XXX_Merge(src proto.Message)

func (*DeleteProjectResp) XXX_Size

func (m *DeleteProjectResp) XXX_Size() int

func (*DeleteProjectResp) XXX_Unmarshal

func (m *DeleteProjectResp) XXX_Unmarshal(b []byte) error

type DeleteProjectRespValidationError

type DeleteProjectRespValidationError struct {
	// contains filtered or unexported fields
}

DeleteProjectRespValidationError is the validation error returned by DeleteProjectResp.Validate if the designated constraints aren't met.

func (DeleteProjectRespValidationError) Cause

Cause function returns cause value.

func (DeleteProjectRespValidationError) Error

Error satisfies the builtin error interface

func (DeleteProjectRespValidationError) ErrorName

ErrorName returns error name.

func (DeleteProjectRespValidationError) Field

Field function returns field value.

func (DeleteProjectRespValidationError) Key

Key function returns key value.

func (DeleteProjectRespValidationError) Reason

Reason function returns reason value.

type DeleteRoleReq

type DeleteRoleReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeleteRoleReq) Descriptor

func (*DeleteRoleReq) Descriptor() ([]byte, []int)

func (*DeleteRoleReq) GetId

func (m *DeleteRoleReq) GetId() string

func (*DeleteRoleReq) ProtoMessage

func (*DeleteRoleReq) ProtoMessage()

func (*DeleteRoleReq) Reset

func (m *DeleteRoleReq) Reset()

func (*DeleteRoleReq) String

func (m *DeleteRoleReq) String() string

func (*DeleteRoleReq) Validate

func (m *DeleteRoleReq) Validate() error

Validate checks the field values on DeleteRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeleteRoleReq) XXX_DiscardUnknown

func (m *DeleteRoleReq) XXX_DiscardUnknown()

func (*DeleteRoleReq) XXX_Marshal

func (m *DeleteRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRoleReq) XXX_Merge

func (dst *DeleteRoleReq) XXX_Merge(src proto.Message)

func (*DeleteRoleReq) XXX_Size

func (m *DeleteRoleReq) XXX_Size() int

func (*DeleteRoleReq) XXX_Unmarshal

func (m *DeleteRoleReq) XXX_Unmarshal(b []byte) error

type DeleteRoleReqValidationError

type DeleteRoleReqValidationError struct {
	// contains filtered or unexported fields
}

DeleteRoleReqValidationError is the validation error returned by DeleteRoleReq.Validate if the designated constraints aren't met.

func (DeleteRoleReqValidationError) Cause

Cause function returns cause value.

func (DeleteRoleReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleReqValidationError) ErrorName

func (e DeleteRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRoleReqValidationError) Field

Field function returns field value.

func (DeleteRoleReqValidationError) Key

Key function returns key value.

func (DeleteRoleReqValidationError) Reason

Reason function returns reason value.

type DeleteRoleResp

type DeleteRoleResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeleteRoleResp) Descriptor

func (*DeleteRoleResp) Descriptor() ([]byte, []int)

func (*DeleteRoleResp) ProtoMessage

func (*DeleteRoleResp) ProtoMessage()

func (*DeleteRoleResp) Reset

func (m *DeleteRoleResp) Reset()

func (*DeleteRoleResp) String

func (m *DeleteRoleResp) String() string

func (*DeleteRoleResp) Validate

func (m *DeleteRoleResp) Validate() error

Validate checks the field values on DeleteRoleResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeleteRoleResp) XXX_DiscardUnknown

func (m *DeleteRoleResp) XXX_DiscardUnknown()

func (*DeleteRoleResp) XXX_Marshal

func (m *DeleteRoleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRoleResp) XXX_Merge

func (dst *DeleteRoleResp) XXX_Merge(src proto.Message)

func (*DeleteRoleResp) XXX_Size

func (m *DeleteRoleResp) XXX_Size() int

func (*DeleteRoleResp) XXX_Unmarshal

func (m *DeleteRoleResp) XXX_Unmarshal(b []byte) error

type DeleteRoleRespValidationError

type DeleteRoleRespValidationError struct {
	// contains filtered or unexported fields
}

DeleteRoleRespValidationError is the validation error returned by DeleteRoleResp.Validate if the designated constraints aren't met.

func (DeleteRoleRespValidationError) Cause

Cause function returns cause value.

func (DeleteRoleRespValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleRespValidationError) ErrorName

func (e DeleteRoleRespValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRoleRespValidationError) Field

Field function returns field value.

func (DeleteRoleRespValidationError) Key

Key function returns key value.

func (DeleteRoleRespValidationError) Reason

Reason function returns reason value.

type FilterAuthorizedPairsReq

type FilterAuthorizedPairsReq struct {
	Subjects             []string `` /* 129-byte string literal not displayed */
	Pairs                []*Pair  `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

FilterAuthorizedProjects uses this SAME request

func (*FilterAuthorizedPairsReq) Descriptor

func (*FilterAuthorizedPairsReq) Descriptor() ([]byte, []int)

func (*FilterAuthorizedPairsReq) GetPairs

func (m *FilterAuthorizedPairsReq) GetPairs() []*Pair

func (*FilterAuthorizedPairsReq) GetSubjects

func (m *FilterAuthorizedPairsReq) GetSubjects() []string

func (*FilterAuthorizedPairsReq) ProtoMessage

func (*FilterAuthorizedPairsReq) ProtoMessage()

func (*FilterAuthorizedPairsReq) Reset

func (m *FilterAuthorizedPairsReq) Reset()

func (*FilterAuthorizedPairsReq) String

func (m *FilterAuthorizedPairsReq) String() string

func (*FilterAuthorizedPairsReq) Validate

func (m *FilterAuthorizedPairsReq) Validate() error

Validate checks the field values on FilterAuthorizedPairsReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilterAuthorizedPairsReq) XXX_DiscardUnknown

func (m *FilterAuthorizedPairsReq) XXX_DiscardUnknown()

func (*FilterAuthorizedPairsReq) XXX_Marshal

func (m *FilterAuthorizedPairsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilterAuthorizedPairsReq) XXX_Merge

func (dst *FilterAuthorizedPairsReq) XXX_Merge(src proto.Message)

func (*FilterAuthorizedPairsReq) XXX_Size

func (m *FilterAuthorizedPairsReq) XXX_Size() int

func (*FilterAuthorizedPairsReq) XXX_Unmarshal

func (m *FilterAuthorizedPairsReq) XXX_Unmarshal(b []byte) error

type FilterAuthorizedPairsReqValidationError

type FilterAuthorizedPairsReqValidationError struct {
	// contains filtered or unexported fields
}

FilterAuthorizedPairsReqValidationError is the validation error returned by FilterAuthorizedPairsReq.Validate if the designated constraints aren't met.

func (FilterAuthorizedPairsReqValidationError) Cause

Cause function returns cause value.

func (FilterAuthorizedPairsReqValidationError) Error

Error satisfies the builtin error interface

func (FilterAuthorizedPairsReqValidationError) ErrorName

ErrorName returns error name.

func (FilterAuthorizedPairsReqValidationError) Field

Field function returns field value.

func (FilterAuthorizedPairsReqValidationError) Key

Key function returns key value.

func (FilterAuthorizedPairsReqValidationError) Reason

Reason function returns reason value.

type FilterAuthorizedPairsResp

type FilterAuthorizedPairsResp struct {
	Pairs                []*Pair  `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*FilterAuthorizedPairsResp) Descriptor

func (*FilterAuthorizedPairsResp) Descriptor() ([]byte, []int)

func (*FilterAuthorizedPairsResp) GetPairs

func (m *FilterAuthorizedPairsResp) GetPairs() []*Pair

func (*FilterAuthorizedPairsResp) ProtoMessage

func (*FilterAuthorizedPairsResp) ProtoMessage()

func (*FilterAuthorizedPairsResp) Reset

func (m *FilterAuthorizedPairsResp) Reset()

func (*FilterAuthorizedPairsResp) String

func (m *FilterAuthorizedPairsResp) String() string

func (*FilterAuthorizedPairsResp) Validate

func (m *FilterAuthorizedPairsResp) Validate() error

Validate checks the field values on FilterAuthorizedPairsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilterAuthorizedPairsResp) XXX_DiscardUnknown

func (m *FilterAuthorizedPairsResp) XXX_DiscardUnknown()

func (*FilterAuthorizedPairsResp) XXX_Marshal

func (m *FilterAuthorizedPairsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilterAuthorizedPairsResp) XXX_Merge

func (dst *FilterAuthorizedPairsResp) XXX_Merge(src proto.Message)

func (*FilterAuthorizedPairsResp) XXX_Size

func (m *FilterAuthorizedPairsResp) XXX_Size() int

func (*FilterAuthorizedPairsResp) XXX_Unmarshal

func (m *FilterAuthorizedPairsResp) XXX_Unmarshal(b []byte) error

type FilterAuthorizedPairsRespValidationError

type FilterAuthorizedPairsRespValidationError struct {
	// contains filtered or unexported fields
}

FilterAuthorizedPairsRespValidationError is the validation error returned by FilterAuthorizedPairsResp.Validate if the designated constraints aren't met.

func (FilterAuthorizedPairsRespValidationError) Cause

Cause function returns cause value.

func (FilterAuthorizedPairsRespValidationError) Error

Error satisfies the builtin error interface

func (FilterAuthorizedPairsRespValidationError) ErrorName

ErrorName returns error name.

func (FilterAuthorizedPairsRespValidationError) Field

Field function returns field value.

func (FilterAuthorizedPairsRespValidationError) Key

Key function returns key value.

func (FilterAuthorizedPairsRespValidationError) Reason

Reason function returns reason value.

type FilterAuthorizedProjectsResp

type FilterAuthorizedProjectsResp struct {
	Projects             []string `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*FilterAuthorizedProjectsResp) Descriptor

func (*FilterAuthorizedProjectsResp) Descriptor() ([]byte, []int)

func (*FilterAuthorizedProjectsResp) GetProjects

func (m *FilterAuthorizedProjectsResp) GetProjects() []string

func (*FilterAuthorizedProjectsResp) ProtoMessage

func (*FilterAuthorizedProjectsResp) ProtoMessage()

func (*FilterAuthorizedProjectsResp) Reset

func (m *FilterAuthorizedProjectsResp) Reset()

func (*FilterAuthorizedProjectsResp) String

func (*FilterAuthorizedProjectsResp) Validate

func (m *FilterAuthorizedProjectsResp) Validate() error

Validate checks the field values on FilterAuthorizedProjectsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilterAuthorizedProjectsResp) XXX_DiscardUnknown

func (m *FilterAuthorizedProjectsResp) XXX_DiscardUnknown()

func (*FilterAuthorizedProjectsResp) XXX_Marshal

func (m *FilterAuthorizedProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilterAuthorizedProjectsResp) XXX_Merge

func (dst *FilterAuthorizedProjectsResp) XXX_Merge(src proto.Message)

func (*FilterAuthorizedProjectsResp) XXX_Size

func (m *FilterAuthorizedProjectsResp) XXX_Size() int

func (*FilterAuthorizedProjectsResp) XXX_Unmarshal

func (m *FilterAuthorizedProjectsResp) XXX_Unmarshal(b []byte) error

type FilterAuthorizedProjectsRespValidationError

type FilterAuthorizedProjectsRespValidationError struct {
	// contains filtered or unexported fields
}

FilterAuthorizedProjectsRespValidationError is the validation error returned by FilterAuthorizedProjectsResp.Validate if the designated constraints aren't met.

func (FilterAuthorizedProjectsRespValidationError) Cause

Cause function returns cause value.

func (FilterAuthorizedProjectsRespValidationError) Error

Error satisfies the builtin error interface

func (FilterAuthorizedProjectsRespValidationError) ErrorName

ErrorName returns error name.

func (FilterAuthorizedProjectsRespValidationError) Field

Field function returns field value.

func (FilterAuthorizedProjectsRespValidationError) Key

Key function returns key value.

func (FilterAuthorizedProjectsRespValidationError) Reason

Reason function returns reason value.

type Flag

type Flag int32
const (
	Flag_VERSION_2_0 Flag = 0
	Flag_VERSION_2_1 Flag = 1
)

func (Flag) EnumDescriptor

func (Flag) EnumDescriptor() ([]byte, []int)

func (Flag) String

func (x Flag) String() string

type GetPolicyReq

type GetPolicyReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetPolicyReq) Descriptor

func (*GetPolicyReq) Descriptor() ([]byte, []int)

func (*GetPolicyReq) GetId

func (m *GetPolicyReq) GetId() string

func (*GetPolicyReq) ProtoMessage

func (*GetPolicyReq) ProtoMessage()

func (*GetPolicyReq) Reset

func (m *GetPolicyReq) Reset()

func (*GetPolicyReq) String

func (m *GetPolicyReq) String() string

func (*GetPolicyReq) Validate

func (m *GetPolicyReq) Validate() error

Validate checks the field values on GetPolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetPolicyReq) XXX_DiscardUnknown

func (m *GetPolicyReq) XXX_DiscardUnknown()

func (*GetPolicyReq) XXX_Marshal

func (m *GetPolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPolicyReq) XXX_Merge

func (dst *GetPolicyReq) XXX_Merge(src proto.Message)

func (*GetPolicyReq) XXX_Size

func (m *GetPolicyReq) XXX_Size() int

func (*GetPolicyReq) XXX_Unmarshal

func (m *GetPolicyReq) XXX_Unmarshal(b []byte) error

type GetPolicyReqValidationError

type GetPolicyReqValidationError struct {
	// contains filtered or unexported fields
}

GetPolicyReqValidationError is the validation error returned by GetPolicyReq.Validate if the designated constraints aren't met.

func (GetPolicyReqValidationError) Cause

Cause function returns cause value.

func (GetPolicyReqValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyReqValidationError) ErrorName

func (e GetPolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetPolicyReqValidationError) Field

Field function returns field value.

func (GetPolicyReqValidationError) Key

Key function returns key value.

func (GetPolicyReqValidationError) Reason

Reason function returns reason value.

type GetPolicyVersionReq

type GetPolicyVersionReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetPolicyVersionReq) Descriptor

func (*GetPolicyVersionReq) Descriptor() ([]byte, []int)

func (*GetPolicyVersionReq) ProtoMessage

func (*GetPolicyVersionReq) ProtoMessage()

func (*GetPolicyVersionReq) Reset

func (m *GetPolicyVersionReq) Reset()

func (*GetPolicyVersionReq) String

func (m *GetPolicyVersionReq) String() string

func (*GetPolicyVersionReq) Validate

func (m *GetPolicyVersionReq) Validate() error

Validate checks the field values on GetPolicyVersionReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetPolicyVersionReq) XXX_DiscardUnknown

func (m *GetPolicyVersionReq) XXX_DiscardUnknown()

func (*GetPolicyVersionReq) XXX_Marshal

func (m *GetPolicyVersionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPolicyVersionReq) XXX_Merge

func (dst *GetPolicyVersionReq) XXX_Merge(src proto.Message)

func (*GetPolicyVersionReq) XXX_Size

func (m *GetPolicyVersionReq) XXX_Size() int

func (*GetPolicyVersionReq) XXX_Unmarshal

func (m *GetPolicyVersionReq) XXX_Unmarshal(b []byte) error

type GetPolicyVersionReqValidationError

type GetPolicyVersionReqValidationError struct {
	// contains filtered or unexported fields
}

GetPolicyVersionReqValidationError is the validation error returned by GetPolicyVersionReq.Validate if the designated constraints aren't met.

func (GetPolicyVersionReqValidationError) Cause

Cause function returns cause value.

func (GetPolicyVersionReqValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyVersionReqValidationError) ErrorName

ErrorName returns error name.

func (GetPolicyVersionReqValidationError) Field

Field function returns field value.

func (GetPolicyVersionReqValidationError) Key

Key function returns key value.

func (GetPolicyVersionReqValidationError) Reason

Reason function returns reason value.

type GetPolicyVersionResp

type GetPolicyVersionResp struct {
	Version              *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetPolicyVersionResp) Descriptor

func (*GetPolicyVersionResp) Descriptor() ([]byte, []int)

func (*GetPolicyVersionResp) GetVersion

func (m *GetPolicyVersionResp) GetVersion() *Version

func (*GetPolicyVersionResp) ProtoMessage

func (*GetPolicyVersionResp) ProtoMessage()

func (*GetPolicyVersionResp) Reset

func (m *GetPolicyVersionResp) Reset()

func (*GetPolicyVersionResp) String

func (m *GetPolicyVersionResp) String() string

func (*GetPolicyVersionResp) Validate

func (m *GetPolicyVersionResp) Validate() error

Validate checks the field values on GetPolicyVersionResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetPolicyVersionResp) XXX_DiscardUnknown

func (m *GetPolicyVersionResp) XXX_DiscardUnknown()

func (*GetPolicyVersionResp) XXX_Marshal

func (m *GetPolicyVersionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPolicyVersionResp) XXX_Merge

func (dst *GetPolicyVersionResp) XXX_Merge(src proto.Message)

func (*GetPolicyVersionResp) XXX_Size

func (m *GetPolicyVersionResp) XXX_Size() int

func (*GetPolicyVersionResp) XXX_Unmarshal

func (m *GetPolicyVersionResp) XXX_Unmarshal(b []byte) error

type GetPolicyVersionRespValidationError

type GetPolicyVersionRespValidationError struct {
	// contains filtered or unexported fields
}

GetPolicyVersionRespValidationError is the validation error returned by GetPolicyVersionResp.Validate if the designated constraints aren't met.

func (GetPolicyVersionRespValidationError) Cause

Cause function returns cause value.

func (GetPolicyVersionRespValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyVersionRespValidationError) ErrorName

ErrorName returns error name.

func (GetPolicyVersionRespValidationError) Field

Field function returns field value.

func (GetPolicyVersionRespValidationError) Key

Key function returns key value.

func (GetPolicyVersionRespValidationError) Reason

Reason function returns reason value.

type GetProjectReq

type GetProjectReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetProjectReq) Descriptor

func (*GetProjectReq) Descriptor() ([]byte, []int)

func (*GetProjectReq) GetId

func (m *GetProjectReq) GetId() string

func (*GetProjectReq) ProtoMessage

func (*GetProjectReq) ProtoMessage()

func (*GetProjectReq) Reset

func (m *GetProjectReq) Reset()

func (*GetProjectReq) String

func (m *GetProjectReq) String() string

func (*GetProjectReq) Validate

func (m *GetProjectReq) Validate() error

Validate checks the field values on GetProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetProjectReq) XXX_DiscardUnknown

func (m *GetProjectReq) XXX_DiscardUnknown()

func (*GetProjectReq) XXX_Marshal

func (m *GetProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProjectReq) XXX_Merge

func (dst *GetProjectReq) XXX_Merge(src proto.Message)

func (*GetProjectReq) XXX_Size

func (m *GetProjectReq) XXX_Size() int

func (*GetProjectReq) XXX_Unmarshal

func (m *GetProjectReq) XXX_Unmarshal(b []byte) error

type GetProjectReqValidationError

type GetProjectReqValidationError struct {
	// contains filtered or unexported fields
}

GetProjectReqValidationError is the validation error returned by GetProjectReq.Validate if the designated constraints aren't met.

func (GetProjectReqValidationError) Cause

Cause function returns cause value.

func (GetProjectReqValidationError) Error

Error satisfies the builtin error interface

func (GetProjectReqValidationError) ErrorName

func (e GetProjectReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetProjectReqValidationError) Field

Field function returns field value.

func (GetProjectReqValidationError) Key

Key function returns key value.

func (GetProjectReqValidationError) Reason

Reason function returns reason value.

type GetProjectResp

type GetProjectResp struct {
	Project              *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetProjectResp) Descriptor

func (*GetProjectResp) Descriptor() ([]byte, []int)

func (*GetProjectResp) GetProject

func (m *GetProjectResp) GetProject() *Project

func (*GetProjectResp) ProtoMessage

func (*GetProjectResp) ProtoMessage()

func (*GetProjectResp) Reset

func (m *GetProjectResp) Reset()

func (*GetProjectResp) String

func (m *GetProjectResp) String() string

func (*GetProjectResp) Validate

func (m *GetProjectResp) Validate() error

Validate checks the field values on GetProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetProjectResp) XXX_DiscardUnknown

func (m *GetProjectResp) XXX_DiscardUnknown()

func (*GetProjectResp) XXX_Marshal

func (m *GetProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProjectResp) XXX_Merge

func (dst *GetProjectResp) XXX_Merge(src proto.Message)

func (*GetProjectResp) XXX_Size

func (m *GetProjectResp) XXX_Size() int

func (*GetProjectResp) XXX_Unmarshal

func (m *GetProjectResp) XXX_Unmarshal(b []byte) error

type GetProjectRespValidationError

type GetProjectRespValidationError struct {
	// contains filtered or unexported fields
}

GetProjectRespValidationError is the validation error returned by GetProjectResp.Validate if the designated constraints aren't met.

func (GetProjectRespValidationError) Cause

Cause function returns cause value.

func (GetProjectRespValidationError) Error

Error satisfies the builtin error interface

func (GetProjectRespValidationError) ErrorName

func (e GetProjectRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetProjectRespValidationError) Field

Field function returns field value.

func (GetProjectRespValidationError) Key

Key function returns key value.

func (GetProjectRespValidationError) Reason

Reason function returns reason value.

type GetProjectRulesReq

type GetProjectRulesReq struct {
	ProjectId            string   `` /* 152-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetProjectRulesReq) Descriptor

func (*GetProjectRulesReq) Descriptor() ([]byte, []int)

func (*GetProjectRulesReq) GetProjectId

func (m *GetProjectRulesReq) GetProjectId() string

func (*GetProjectRulesReq) ProtoMessage

func (*GetProjectRulesReq) ProtoMessage()

func (*GetProjectRulesReq) Reset

func (m *GetProjectRulesReq) Reset()

func (*GetProjectRulesReq) String

func (m *GetProjectRulesReq) String() string

func (*GetProjectRulesReq) Validate

func (m *GetProjectRulesReq) Validate() error

Validate checks the field values on GetProjectRulesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetProjectRulesReq) XXX_DiscardUnknown

func (m *GetProjectRulesReq) XXX_DiscardUnknown()

func (*GetProjectRulesReq) XXX_Marshal

func (m *GetProjectRulesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProjectRulesReq) XXX_Merge

func (dst *GetProjectRulesReq) XXX_Merge(src proto.Message)

func (*GetProjectRulesReq) XXX_Size

func (m *GetProjectRulesReq) XXX_Size() int

func (*GetProjectRulesReq) XXX_Unmarshal

func (m *GetProjectRulesReq) XXX_Unmarshal(b []byte) error

type GetProjectRulesReqValidationError

type GetProjectRulesReqValidationError struct {
	// contains filtered or unexported fields
}

GetProjectRulesReqValidationError is the validation error returned by GetProjectRulesReq.Validate if the designated constraints aren't met.

func (GetProjectRulesReqValidationError) Cause

Cause function returns cause value.

func (GetProjectRulesReqValidationError) Error

Error satisfies the builtin error interface

func (GetProjectRulesReqValidationError) ErrorName

ErrorName returns error name.

func (GetProjectRulesReqValidationError) Field

Field function returns field value.

func (GetProjectRulesReqValidationError) Key

Key function returns key value.

func (GetProjectRulesReqValidationError) Reason

Reason function returns reason value.

type GetProjectRulesResp

type GetProjectRulesResp struct {
	RulesForProject      *ProjectRules `` /* 186-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}      `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte        `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32         `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetProjectRulesResp) Descriptor

func (*GetProjectRulesResp) Descriptor() ([]byte, []int)

func (*GetProjectRulesResp) GetRulesForProject

func (m *GetProjectRulesResp) GetRulesForProject() *ProjectRules

func (*GetProjectRulesResp) ProtoMessage

func (*GetProjectRulesResp) ProtoMessage()

func (*GetProjectRulesResp) Reset

func (m *GetProjectRulesResp) Reset()

func (*GetProjectRulesResp) String

func (m *GetProjectRulesResp) String() string

func (*GetProjectRulesResp) Validate

func (m *GetProjectRulesResp) Validate() error

Validate checks the field values on GetProjectRulesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetProjectRulesResp) XXX_DiscardUnknown

func (m *GetProjectRulesResp) XXX_DiscardUnknown()

func (*GetProjectRulesResp) XXX_Marshal

func (m *GetProjectRulesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProjectRulesResp) XXX_Merge

func (dst *GetProjectRulesResp) XXX_Merge(src proto.Message)

func (*GetProjectRulesResp) XXX_Size

func (m *GetProjectRulesResp) XXX_Size() int

func (*GetProjectRulesResp) XXX_Unmarshal

func (m *GetProjectRulesResp) XXX_Unmarshal(b []byte) error

type GetProjectRulesRespValidationError

type GetProjectRulesRespValidationError struct {
	// contains filtered or unexported fields
}

GetProjectRulesRespValidationError is the validation error returned by GetProjectRulesResp.Validate if the designated constraints aren't met.

func (GetProjectRulesRespValidationError) Cause

Cause function returns cause value.

func (GetProjectRulesRespValidationError) Error

Error satisfies the builtin error interface

func (GetProjectRulesRespValidationError) ErrorName

ErrorName returns error name.

func (GetProjectRulesRespValidationError) Field

Field function returns field value.

func (GetProjectRulesRespValidationError) Key

Key function returns key value.

func (GetProjectRulesRespValidationError) Reason

Reason function returns reason value.

type GetRoleReq

type GetRoleReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*GetRoleReq) Descriptor

func (*GetRoleReq) Descriptor() ([]byte, []int)

func (*GetRoleReq) GetId

func (m *GetRoleReq) GetId() string

func (*GetRoleReq) ProtoMessage

func (*GetRoleReq) ProtoMessage()

func (*GetRoleReq) Reset

func (m *GetRoleReq) Reset()

func (*GetRoleReq) String

func (m *GetRoleReq) String() string

func (*GetRoleReq) Validate

func (m *GetRoleReq) Validate() error

Validate checks the field values on GetRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetRoleReq) XXX_DiscardUnknown

func (m *GetRoleReq) XXX_DiscardUnknown()

func (*GetRoleReq) XXX_Marshal

func (m *GetRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRoleReq) XXX_Merge

func (dst *GetRoleReq) XXX_Merge(src proto.Message)

func (*GetRoleReq) XXX_Size

func (m *GetRoleReq) XXX_Size() int

func (*GetRoleReq) XXX_Unmarshal

func (m *GetRoleReq) XXX_Unmarshal(b []byte) error

type GetRoleReqValidationError

type GetRoleReqValidationError struct {
	// contains filtered or unexported fields
}

GetRoleReqValidationError is the validation error returned by GetRoleReq.Validate if the designated constraints aren't met.

func (GetRoleReqValidationError) Cause

func (e GetRoleReqValidationError) Cause() error

Cause function returns cause value.

func (GetRoleReqValidationError) Error

Error satisfies the builtin error interface

func (GetRoleReqValidationError) ErrorName

func (e GetRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetRoleReqValidationError) Field

Field function returns field value.

func (GetRoleReqValidationError) Key

Key function returns key value.

func (GetRoleReqValidationError) Reason

func (e GetRoleReqValidationError) Reason() string

Reason function returns reason value.

type IsAuthorizedReq

type IsAuthorizedReq struct {
	Subjects             []string `` /* 129-byte string literal not displayed */
	Resource             string   `` /* 129-byte string literal not displayed */
	Action               string   `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

TODO (sr): consider dropping this validation: a) it takes time b) bad input will with certainty lead to an "unauthorized" response

func (*IsAuthorizedReq) Descriptor

func (*IsAuthorizedReq) Descriptor() ([]byte, []int)

func (*IsAuthorizedReq) GetAction

func (m *IsAuthorizedReq) GetAction() string

func (*IsAuthorizedReq) GetResource

func (m *IsAuthorizedReq) GetResource() string

func (*IsAuthorizedReq) GetSubjects

func (m *IsAuthorizedReq) GetSubjects() []string

func (*IsAuthorizedReq) ProtoMessage

func (*IsAuthorizedReq) ProtoMessage()

func (*IsAuthorizedReq) Reset

func (m *IsAuthorizedReq) Reset()

func (*IsAuthorizedReq) String

func (m *IsAuthorizedReq) String() string

func (*IsAuthorizedReq) Validate

func (m *IsAuthorizedReq) Validate() error

Validate checks the field values on IsAuthorizedReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IsAuthorizedReq) XXX_DiscardUnknown

func (m *IsAuthorizedReq) XXX_DiscardUnknown()

func (*IsAuthorizedReq) XXX_Marshal

func (m *IsAuthorizedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsAuthorizedReq) XXX_Merge

func (dst *IsAuthorizedReq) XXX_Merge(src proto.Message)

func (*IsAuthorizedReq) XXX_Size

func (m *IsAuthorizedReq) XXX_Size() int

func (*IsAuthorizedReq) XXX_Unmarshal

func (m *IsAuthorizedReq) XXX_Unmarshal(b []byte) error

type IsAuthorizedReqValidationError

type IsAuthorizedReqValidationError struct {
	// contains filtered or unexported fields
}

IsAuthorizedReqValidationError is the validation error returned by IsAuthorizedReq.Validate if the designated constraints aren't met.

func (IsAuthorizedReqValidationError) Cause

Cause function returns cause value.

func (IsAuthorizedReqValidationError) Error

Error satisfies the builtin error interface

func (IsAuthorizedReqValidationError) ErrorName

func (e IsAuthorizedReqValidationError) ErrorName() string

ErrorName returns error name.

func (IsAuthorizedReqValidationError) Field

Field function returns field value.

func (IsAuthorizedReqValidationError) Key

Key function returns key value.

func (IsAuthorizedReqValidationError) Reason

Reason function returns reason value.

type IsAuthorizedResp

type IsAuthorizedResp struct {
	Authorized           bool     `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

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) Validate

func (m *IsAuthorizedResp) Validate() error

Validate checks the field values on IsAuthorizedResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 IsAuthorizedRespValidationError

type IsAuthorizedRespValidationError struct {
	// contains filtered or unexported fields
}

IsAuthorizedRespValidationError is the validation error returned by IsAuthorizedResp.Validate if the designated constraints aren't met.

func (IsAuthorizedRespValidationError) Cause

Cause function returns cause value.

func (IsAuthorizedRespValidationError) Error

Error satisfies the builtin error interface

func (IsAuthorizedRespValidationError) ErrorName

ErrorName returns error name.

func (IsAuthorizedRespValidationError) Field

Field function returns field value.

func (IsAuthorizedRespValidationError) Key

Key function returns key value.

func (IsAuthorizedRespValidationError) Reason

Reason function returns reason value.

type ListPoliciesReq

type ListPoliciesReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListPoliciesReq) Descriptor

func (*ListPoliciesReq) Descriptor() ([]byte, []int)

func (*ListPoliciesReq) ProtoMessage

func (*ListPoliciesReq) ProtoMessage()

func (*ListPoliciesReq) Reset

func (m *ListPoliciesReq) Reset()

func (*ListPoliciesReq) String

func (m *ListPoliciesReq) String() string

func (*ListPoliciesReq) Validate

func (m *ListPoliciesReq) Validate() error

Validate checks the field values on ListPoliciesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListPoliciesReq) XXX_DiscardUnknown

func (m *ListPoliciesReq) XXX_DiscardUnknown()

func (*ListPoliciesReq) XXX_Marshal

func (m *ListPoliciesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPoliciesReq) XXX_Merge

func (dst *ListPoliciesReq) XXX_Merge(src proto.Message)

func (*ListPoliciesReq) XXX_Size

func (m *ListPoliciesReq) XXX_Size() int

func (*ListPoliciesReq) XXX_Unmarshal

func (m *ListPoliciesReq) XXX_Unmarshal(b []byte) error

type ListPoliciesReqValidationError

type ListPoliciesReqValidationError struct {
	// contains filtered or unexported fields
}

ListPoliciesReqValidationError is the validation error returned by ListPoliciesReq.Validate if the designated constraints aren't met.

func (ListPoliciesReqValidationError) Cause

Cause function returns cause value.

func (ListPoliciesReqValidationError) Error

Error satisfies the builtin error interface

func (ListPoliciesReqValidationError) ErrorName

func (e ListPoliciesReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListPoliciesReqValidationError) Field

Field function returns field value.

func (ListPoliciesReqValidationError) Key

Key function returns key value.

func (ListPoliciesReqValidationError) Reason

Reason function returns reason value.

type ListPoliciesResp

type ListPoliciesResp struct {
	Policies             []*Policy `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte    `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32     `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

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) Validate

func (m *ListPoliciesResp) Validate() error

Validate checks the field values on ListPoliciesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 ListPoliciesRespValidationError

type ListPoliciesRespValidationError struct {
	// contains filtered or unexported fields
}

ListPoliciesRespValidationError is the validation error returned by ListPoliciesResp.Validate if the designated constraints aren't met.

func (ListPoliciesRespValidationError) Cause

Cause function returns cause value.

func (ListPoliciesRespValidationError) Error

Error satisfies the builtin error interface

func (ListPoliciesRespValidationError) ErrorName

ErrorName returns error name.

func (ListPoliciesRespValidationError) Field

Field function returns field value.

func (ListPoliciesRespValidationError) Key

Key function returns key value.

func (ListPoliciesRespValidationError) Reason

Reason function returns reason value.

type ListPolicyMembersReq

type ListPolicyMembersReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListPolicyMembersReq) Descriptor

func (*ListPolicyMembersReq) Descriptor() ([]byte, []int)

func (*ListPolicyMembersReq) GetId

func (m *ListPolicyMembersReq) GetId() string

func (*ListPolicyMembersReq) ProtoMessage

func (*ListPolicyMembersReq) ProtoMessage()

func (*ListPolicyMembersReq) Reset

func (m *ListPolicyMembersReq) Reset()

func (*ListPolicyMembersReq) String

func (m *ListPolicyMembersReq) String() string

func (*ListPolicyMembersReq) Validate

func (m *ListPolicyMembersReq) Validate() error

Validate checks the field values on ListPolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListPolicyMembersReq) XXX_DiscardUnknown

func (m *ListPolicyMembersReq) XXX_DiscardUnknown()

func (*ListPolicyMembersReq) XXX_Marshal

func (m *ListPolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPolicyMembersReq) XXX_Merge

func (dst *ListPolicyMembersReq) XXX_Merge(src proto.Message)

func (*ListPolicyMembersReq) XXX_Size

func (m *ListPolicyMembersReq) XXX_Size() int

func (*ListPolicyMembersReq) XXX_Unmarshal

func (m *ListPolicyMembersReq) XXX_Unmarshal(b []byte) error

type ListPolicyMembersReqValidationError

type ListPolicyMembersReqValidationError struct {
	// contains filtered or unexported fields
}

ListPolicyMembersReqValidationError is the validation error returned by ListPolicyMembersReq.Validate if the designated constraints aren't met.

func (ListPolicyMembersReqValidationError) Cause

Cause function returns cause value.

func (ListPolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (ListPolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (ListPolicyMembersReqValidationError) Field

Field function returns field value.

func (ListPolicyMembersReqValidationError) Key

Key function returns key value.

func (ListPolicyMembersReqValidationError) Reason

Reason function returns reason value.

type ListPolicyMembersResp

type ListPolicyMembersResp struct {
	Members              []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListPolicyMembersResp) Descriptor

func (*ListPolicyMembersResp) Descriptor() ([]byte, []int)

func (*ListPolicyMembersResp) GetMembers

func (m *ListPolicyMembersResp) GetMembers() []string

func (*ListPolicyMembersResp) ProtoMessage

func (*ListPolicyMembersResp) ProtoMessage()

func (*ListPolicyMembersResp) Reset

func (m *ListPolicyMembersResp) Reset()

func (*ListPolicyMembersResp) String

func (m *ListPolicyMembersResp) String() string

func (*ListPolicyMembersResp) Validate

func (m *ListPolicyMembersResp) Validate() error

Validate checks the field values on ListPolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListPolicyMembersResp) XXX_DiscardUnknown

func (m *ListPolicyMembersResp) XXX_DiscardUnknown()

func (*ListPolicyMembersResp) XXX_Marshal

func (m *ListPolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPolicyMembersResp) XXX_Merge

func (dst *ListPolicyMembersResp) XXX_Merge(src proto.Message)

func (*ListPolicyMembersResp) XXX_Size

func (m *ListPolicyMembersResp) XXX_Size() int

func (*ListPolicyMembersResp) XXX_Unmarshal

func (m *ListPolicyMembersResp) XXX_Unmarshal(b []byte) error

type ListPolicyMembersRespValidationError

type ListPolicyMembersRespValidationError struct {
	// contains filtered or unexported fields
}

ListPolicyMembersRespValidationError is the validation error returned by ListPolicyMembersResp.Validate if the designated constraints aren't met.

func (ListPolicyMembersRespValidationError) Cause

Cause function returns cause value.

func (ListPolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (ListPolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (ListPolicyMembersRespValidationError) Field

Field function returns field value.

func (ListPolicyMembersRespValidationError) Key

Key function returns key value.

func (ListPolicyMembersRespValidationError) Reason

Reason function returns reason value.

type ListProjectRulesReq

type ListProjectRulesReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListProjectRulesReq) Descriptor

func (*ListProjectRulesReq) Descriptor() ([]byte, []int)

func (*ListProjectRulesReq) ProtoMessage

func (*ListProjectRulesReq) ProtoMessage()

func (*ListProjectRulesReq) Reset

func (m *ListProjectRulesReq) Reset()

func (*ListProjectRulesReq) String

func (m *ListProjectRulesReq) String() string

func (*ListProjectRulesReq) Validate

func (m *ListProjectRulesReq) Validate() error

Validate checks the field values on ListProjectRulesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListProjectRulesReq) XXX_DiscardUnknown

func (m *ListProjectRulesReq) XXX_DiscardUnknown()

func (*ListProjectRulesReq) XXX_Marshal

func (m *ListProjectRulesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListProjectRulesReq) XXX_Merge

func (dst *ListProjectRulesReq) XXX_Merge(src proto.Message)

func (*ListProjectRulesReq) XXX_Size

func (m *ListProjectRulesReq) XXX_Size() int

func (*ListProjectRulesReq) XXX_Unmarshal

func (m *ListProjectRulesReq) XXX_Unmarshal(b []byte) error

type ListProjectRulesReqValidationError

type ListProjectRulesReqValidationError struct {
	// contains filtered or unexported fields
}

ListProjectRulesReqValidationError is the validation error returned by ListProjectRulesReq.Validate if the designated constraints aren't met.

func (ListProjectRulesReqValidationError) Cause

Cause function returns cause value.

func (ListProjectRulesReqValidationError) Error

Error satisfies the builtin error interface

func (ListProjectRulesReqValidationError) ErrorName

ErrorName returns error name.

func (ListProjectRulesReqValidationError) Field

Field function returns field value.

func (ListProjectRulesReqValidationError) Key

Key function returns key value.

func (ListProjectRulesReqValidationError) Reason

Reason function returns reason value.

type ListProjectsReq

type ListProjectsReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListProjectsReq) Descriptor

func (*ListProjectsReq) Descriptor() ([]byte, []int)

func (*ListProjectsReq) ProtoMessage

func (*ListProjectsReq) ProtoMessage()

func (*ListProjectsReq) Reset

func (m *ListProjectsReq) Reset()

func (*ListProjectsReq) String

func (m *ListProjectsReq) String() string

func (*ListProjectsReq) Validate

func (m *ListProjectsReq) Validate() error

Validate checks the field values on ListProjectsReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListProjectsReq) XXX_DiscardUnknown

func (m *ListProjectsReq) XXX_DiscardUnknown()

func (*ListProjectsReq) XXX_Marshal

func (m *ListProjectsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListProjectsReq) XXX_Merge

func (dst *ListProjectsReq) XXX_Merge(src proto.Message)

func (*ListProjectsReq) XXX_Size

func (m *ListProjectsReq) XXX_Size() int

func (*ListProjectsReq) XXX_Unmarshal

func (m *ListProjectsReq) XXX_Unmarshal(b []byte) error

type ListProjectsReqValidationError

type ListProjectsReqValidationError struct {
	// contains filtered or unexported fields
}

ListProjectsReqValidationError is the validation error returned by ListProjectsReq.Validate if the designated constraints aren't met.

func (ListProjectsReqValidationError) Cause

Cause function returns cause value.

func (ListProjectsReqValidationError) Error

Error satisfies the builtin error interface

func (ListProjectsReqValidationError) ErrorName

func (e ListProjectsReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListProjectsReqValidationError) Field

Field function returns field value.

func (ListProjectsReqValidationError) Key

Key function returns key value.

func (ListProjectsReqValidationError) Reason

Reason function returns reason value.

type ListProjectsResp

type ListProjectsResp struct {
	Projects             []*Project `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte     `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32      `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListProjectsResp) Descriptor

func (*ListProjectsResp) Descriptor() ([]byte, []int)

func (*ListProjectsResp) GetProjects

func (m *ListProjectsResp) GetProjects() []*Project

func (*ListProjectsResp) ProtoMessage

func (*ListProjectsResp) ProtoMessage()

func (*ListProjectsResp) Reset

func (m *ListProjectsResp) Reset()

func (*ListProjectsResp) String

func (m *ListProjectsResp) String() string

func (*ListProjectsResp) Validate

func (m *ListProjectsResp) Validate() error

Validate checks the field values on ListProjectsResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListProjectsResp) XXX_DiscardUnknown

func (m *ListProjectsResp) XXX_DiscardUnknown()

func (*ListProjectsResp) XXX_Marshal

func (m *ListProjectsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListProjectsResp) XXX_Merge

func (dst *ListProjectsResp) XXX_Merge(src proto.Message)

func (*ListProjectsResp) XXX_Size

func (m *ListProjectsResp) XXX_Size() int

func (*ListProjectsResp) XXX_Unmarshal

func (m *ListProjectsResp) XXX_Unmarshal(b []byte) error

type ListProjectsRespValidationError

type ListProjectsRespValidationError struct {
	// contains filtered or unexported fields
}

ListProjectsRespValidationError is the validation error returned by ListProjectsResp.Validate if the designated constraints aren't met.

func (ListProjectsRespValidationError) Cause

Cause function returns cause value.

func (ListProjectsRespValidationError) Error

Error satisfies the builtin error interface

func (ListProjectsRespValidationError) ErrorName

ErrorName returns error name.

func (ListProjectsRespValidationError) Field

Field function returns field value.

func (ListProjectsRespValidationError) Key

Key function returns key value.

func (ListProjectsRespValidationError) Reason

Reason function returns reason value.

type ListRolesReq

type ListRolesReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListRolesReq) Descriptor

func (*ListRolesReq) Descriptor() ([]byte, []int)

func (*ListRolesReq) ProtoMessage

func (*ListRolesReq) ProtoMessage()

func (*ListRolesReq) Reset

func (m *ListRolesReq) Reset()

func (*ListRolesReq) String

func (m *ListRolesReq) String() string

func (*ListRolesReq) Validate

func (m *ListRolesReq) Validate() error

Validate checks the field values on ListRolesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListRolesReq) XXX_DiscardUnknown

func (m *ListRolesReq) XXX_DiscardUnknown()

func (*ListRolesReq) XXX_Marshal

func (m *ListRolesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRolesReq) XXX_Merge

func (dst *ListRolesReq) XXX_Merge(src proto.Message)

func (*ListRolesReq) XXX_Size

func (m *ListRolesReq) XXX_Size() int

func (*ListRolesReq) XXX_Unmarshal

func (m *ListRolesReq) XXX_Unmarshal(b []byte) error

type ListRolesReqValidationError

type ListRolesReqValidationError struct {
	// contains filtered or unexported fields
}

ListRolesReqValidationError is the validation error returned by ListRolesReq.Validate if the designated constraints aren't met.

func (ListRolesReqValidationError) Cause

Cause function returns cause value.

func (ListRolesReqValidationError) Error

Error satisfies the builtin error interface

func (ListRolesReqValidationError) ErrorName

func (e ListRolesReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListRolesReqValidationError) Field

Field function returns field value.

func (ListRolesReqValidationError) Key

Key function returns key value.

func (ListRolesReqValidationError) Reason

Reason function returns reason value.

type ListRolesResp

type ListRolesResp struct {
	Roles                []*Role  `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" toml:"roles,omitempty" mapstructure:"roles,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ListRolesResp) Descriptor

func (*ListRolesResp) Descriptor() ([]byte, []int)

func (*ListRolesResp) GetRoles

func (m *ListRolesResp) GetRoles() []*Role

func (*ListRolesResp) ProtoMessage

func (*ListRolesResp) ProtoMessage()

func (*ListRolesResp) Reset

func (m *ListRolesResp) Reset()

func (*ListRolesResp) String

func (m *ListRolesResp) String() string

func (*ListRolesResp) Validate

func (m *ListRolesResp) Validate() error

Validate checks the field values on ListRolesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListRolesResp) XXX_DiscardUnknown

func (m *ListRolesResp) XXX_DiscardUnknown()

func (*ListRolesResp) XXX_Marshal

func (m *ListRolesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRolesResp) XXX_Merge

func (dst *ListRolesResp) XXX_Merge(src proto.Message)

func (*ListRolesResp) XXX_Size

func (m *ListRolesResp) XXX_Size() int

func (*ListRolesResp) XXX_Unmarshal

func (m *ListRolesResp) XXX_Unmarshal(b []byte) error

type ListRolesRespValidationError

type ListRolesRespValidationError struct {
	// contains filtered or unexported fields
}

ListRolesRespValidationError is the validation error returned by ListRolesResp.Validate if the designated constraints aren't met.

func (ListRolesRespValidationError) Cause

Cause function returns cause value.

func (ListRolesRespValidationError) Error

Error satisfies the builtin error interface

func (ListRolesRespValidationError) ErrorName

func (e ListRolesRespValidationError) ErrorName() string

ErrorName returns error name.

func (ListRolesRespValidationError) Field

Field function returns field value.

func (ListRolesRespValidationError) Key

Key function returns key value.

func (ListRolesRespValidationError) Reason

Reason function returns reason value.

type MigrateToV2Req

type MigrateToV2Req struct {
	Flag                 Flag     `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*MigrateToV2Req) Descriptor

func (*MigrateToV2Req) Descriptor() ([]byte, []int)

func (*MigrateToV2Req) GetFlag

func (m *MigrateToV2Req) GetFlag() Flag

func (*MigrateToV2Req) ProtoMessage

func (*MigrateToV2Req) ProtoMessage()

func (*MigrateToV2Req) Reset

func (m *MigrateToV2Req) Reset()

func (*MigrateToV2Req) String

func (m *MigrateToV2Req) String() string

func (*MigrateToV2Req) Validate

func (m *MigrateToV2Req) Validate() error

Validate checks the field values on MigrateToV2Req with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*MigrateToV2Req) XXX_DiscardUnknown

func (m *MigrateToV2Req) XXX_DiscardUnknown()

func (*MigrateToV2Req) XXX_Marshal

func (m *MigrateToV2Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MigrateToV2Req) XXX_Merge

func (dst *MigrateToV2Req) XXX_Merge(src proto.Message)

func (*MigrateToV2Req) XXX_Size

func (m *MigrateToV2Req) XXX_Size() int

func (*MigrateToV2Req) XXX_Unmarshal

func (m *MigrateToV2Req) XXX_Unmarshal(b []byte) error

type MigrateToV2ReqValidationError

type MigrateToV2ReqValidationError struct {
	// contains filtered or unexported fields
}

MigrateToV2ReqValidationError is the validation error returned by MigrateToV2Req.Validate if the designated constraints aren't met.

func (MigrateToV2ReqValidationError) Cause

Cause function returns cause value.

func (MigrateToV2ReqValidationError) Error

Error satisfies the builtin error interface

func (MigrateToV2ReqValidationError) ErrorName

func (e MigrateToV2ReqValidationError) ErrorName() string

ErrorName returns error name.

func (MigrateToV2ReqValidationError) Field

Field function returns field value.

func (MigrateToV2ReqValidationError) Key

Key function returns key value.

func (MigrateToV2ReqValidationError) Reason

Reason function returns reason value.

type MigrateToV2Resp

type MigrateToV2Resp struct {
	Reports              []string `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*MigrateToV2Resp) Descriptor

func (*MigrateToV2Resp) Descriptor() ([]byte, []int)

func (*MigrateToV2Resp) GetReports

func (m *MigrateToV2Resp) GetReports() []string

func (*MigrateToV2Resp) ProtoMessage

func (*MigrateToV2Resp) ProtoMessage()

func (*MigrateToV2Resp) Reset

func (m *MigrateToV2Resp) Reset()

func (*MigrateToV2Resp) String

func (m *MigrateToV2Resp) String() string

func (*MigrateToV2Resp) Validate

func (m *MigrateToV2Resp) Validate() error

Validate checks the field values on MigrateToV2Resp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*MigrateToV2Resp) XXX_DiscardUnknown

func (m *MigrateToV2Resp) XXX_DiscardUnknown()

func (*MigrateToV2Resp) XXX_Marshal

func (m *MigrateToV2Resp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MigrateToV2Resp) XXX_Merge

func (dst *MigrateToV2Resp) XXX_Merge(src proto.Message)

func (*MigrateToV2Resp) XXX_Size

func (m *MigrateToV2Resp) XXX_Size() int

func (*MigrateToV2Resp) XXX_Unmarshal

func (m *MigrateToV2Resp) XXX_Unmarshal(b []byte) error

type MigrateToV2RespValidationError

type MigrateToV2RespValidationError struct {
	// contains filtered or unexported fields
}

MigrateToV2RespValidationError is the validation error returned by MigrateToV2Resp.Validate if the designated constraints aren't met.

func (MigrateToV2RespValidationError) Cause

Cause function returns cause value.

func (MigrateToV2RespValidationError) Error

Error satisfies the builtin error interface

func (MigrateToV2RespValidationError) ErrorName

func (e MigrateToV2RespValidationError) ErrorName() string

ErrorName returns error name.

func (MigrateToV2RespValidationError) Field

Field function returns field value.

func (MigrateToV2RespValidationError) Key

Key function returns key value.

func (MigrateToV2RespValidationError) Reason

Reason function returns reason value.

type MockProjectsClient

type MockProjectsClient struct {
	// contains filtered or unexported fields
}

MockProjectsClient is a mock of ProjectsClient interface

func NewMockProjectsClient

func NewMockProjectsClient(ctrl *gomock.Controller) *MockProjectsClient

NewMockProjectsClient creates a new mock instance

func (*MockProjectsClient) CreateProject

func (m *MockProjectsClient) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error)

CreateProject mocks base method

func (*MockProjectsClient) DeleteProject

func (m *MockProjectsClient) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error)

DeleteProject mocks base method

func (*MockProjectsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProjectsClient) GetProject

func (m *MockProjectsClient) GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error)

GetProject mocks base method

func (*MockProjectsClient) GetProjectRules

GetProjectRules mocks base method

func (*MockProjectsClient) HandleEvent

func (m *MockProjectsClient) HandleEvent(ctx context.Context, in *event.EventMsg, opts ...grpc.CallOption) (*event.EventResponse, error)

HandleEvent mocks base method

func (*MockProjectsClient) ListProjectRules

ListProjectRules mocks base method

func (*MockProjectsClient) ListProjects

func (m *MockProjectsClient) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)

ListProjects mocks base method

func (*MockProjectsClient) ProjectUpdateCancel

ProjectUpdateCancel mocks base method

func (*MockProjectsClient) ProjectUpdateStatus

ProjectUpdateStatus mocks base method

func (*MockProjectsClient) UpdateProject

func (m *MockProjectsClient) UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error)

UpdateProject mocks base method

type MockProjectsClientMockRecorder

type MockProjectsClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockProjectsClientMockRecorder is the mock recorder for MockProjectsClient

func (*MockProjectsClientMockRecorder) CreateProject

func (mr *MockProjectsClientMockRecorder) CreateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateProject indicates an expected call of CreateProject

func (*MockProjectsClientMockRecorder) DeleteProject

func (mr *MockProjectsClientMockRecorder) DeleteProject(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeleteProject indicates an expected call of DeleteProject

func (*MockProjectsClientMockRecorder) GetProject

func (mr *MockProjectsClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetProject indicates an expected call of GetProject

func (*MockProjectsClientMockRecorder) GetProjectRules

func (mr *MockProjectsClientMockRecorder) GetProjectRules(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetProjectRules indicates an expected call of GetProjectRules

func (*MockProjectsClientMockRecorder) HandleEvent

func (mr *MockProjectsClientMockRecorder) HandleEvent(ctx, in interface{}, opts ...interface{}) *gomock.Call

HandleEvent indicates an expected call of HandleEvent

func (*MockProjectsClientMockRecorder) ListProjectRules

func (mr *MockProjectsClientMockRecorder) ListProjectRules(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListProjectRules indicates an expected call of ListProjectRules

func (*MockProjectsClientMockRecorder) ListProjects

func (mr *MockProjectsClientMockRecorder) ListProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListProjects indicates an expected call of ListProjects

func (*MockProjectsClientMockRecorder) ProjectUpdateCancel

func (mr *MockProjectsClientMockRecorder) ProjectUpdateCancel(ctx, in interface{}, opts ...interface{}) *gomock.Call

ProjectUpdateCancel indicates an expected call of ProjectUpdateCancel

func (*MockProjectsClientMockRecorder) ProjectUpdateStatus

func (mr *MockProjectsClientMockRecorder) ProjectUpdateStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

ProjectUpdateStatus indicates an expected call of ProjectUpdateStatus

func (*MockProjectsClientMockRecorder) UpdateProject

func (mr *MockProjectsClientMockRecorder) UpdateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateProject indicates an expected call of UpdateProject

type MockProjectsServer

type MockProjectsServer struct {
	// contains filtered or unexported fields
}

MockProjectsServer is a mock of ProjectsServer interface

func NewMockProjectsServer

func NewMockProjectsServer(ctrl *gomock.Controller) *MockProjectsServer

NewMockProjectsServer creates a new mock instance

func (*MockProjectsServer) CreateProject

func (m *MockProjectsServer) CreateProject(arg0 context.Context, arg1 *CreateProjectReq) (*CreateProjectResp, error)

CreateProject mocks base method

func (*MockProjectsServer) DeleteProject

func (m *MockProjectsServer) DeleteProject(arg0 context.Context, arg1 *DeleteProjectReq) (*DeleteProjectResp, error)

DeleteProject mocks base method

func (*MockProjectsServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProjectsServer) GetProject

func (m *MockProjectsServer) GetProject(arg0 context.Context, arg1 *GetProjectReq) (*GetProjectResp, error)

GetProject mocks base method

func (*MockProjectsServer) GetProjectRules

func (m *MockProjectsServer) GetProjectRules(arg0 context.Context, arg1 *GetProjectRulesReq) (*GetProjectRulesResp, error)

GetProjectRules mocks base method

func (*MockProjectsServer) HandleEvent

func (m *MockProjectsServer) HandleEvent(arg0 context.Context, arg1 *event.EventMsg) (*event.EventResponse, error)

HandleEvent mocks base method

func (*MockProjectsServer) ListProjectRules

ListProjectRules mocks base method

func (*MockProjectsServer) ListProjects

func (m *MockProjectsServer) ListProjects(arg0 context.Context, arg1 *ListProjectsReq) (*ListProjectsResp, error)

ListProjects mocks base method

func (*MockProjectsServer) ProjectUpdateCancel

ProjectUpdateCancel mocks base method

func (*MockProjectsServer) ProjectUpdateStatus

ProjectUpdateStatus mocks base method

func (*MockProjectsServer) UpdateProject

func (m *MockProjectsServer) UpdateProject(arg0 context.Context, arg1 *UpdateProjectReq) (*UpdateProjectResp, error)

UpdateProject mocks base method

type MockProjectsServerMockRecorder

type MockProjectsServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockProjectsServerMockRecorder is the mock recorder for MockProjectsServer

func (*MockProjectsServerMockRecorder) CreateProject

func (mr *MockProjectsServerMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call

CreateProject indicates an expected call of CreateProject

func (*MockProjectsServerMockRecorder) DeleteProject

func (mr *MockProjectsServerMockRecorder) DeleteProject(arg0, arg1 interface{}) *gomock.Call

DeleteProject indicates an expected call of DeleteProject

func (*MockProjectsServerMockRecorder) GetProject

func (mr *MockProjectsServerMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call

GetProject indicates an expected call of GetProject

func (*MockProjectsServerMockRecorder) GetProjectRules

func (mr *MockProjectsServerMockRecorder) GetProjectRules(arg0, arg1 interface{}) *gomock.Call

GetProjectRules indicates an expected call of GetProjectRules

func (*MockProjectsServerMockRecorder) HandleEvent

func (mr *MockProjectsServerMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call

HandleEvent indicates an expected call of HandleEvent

func (*MockProjectsServerMockRecorder) ListProjectRules

func (mr *MockProjectsServerMockRecorder) ListProjectRules(arg0, arg1 interface{}) *gomock.Call

ListProjectRules indicates an expected call of ListProjectRules

func (*MockProjectsServerMockRecorder) ListProjects

func (mr *MockProjectsServerMockRecorder) ListProjects(arg0, arg1 interface{}) *gomock.Call

ListProjects indicates an expected call of ListProjects

func (*MockProjectsServerMockRecorder) ProjectUpdateCancel

func (mr *MockProjectsServerMockRecorder) ProjectUpdateCancel(arg0, arg1 interface{}) *gomock.Call

ProjectUpdateCancel indicates an expected call of ProjectUpdateCancel

func (*MockProjectsServerMockRecorder) ProjectUpdateStatus

func (mr *MockProjectsServerMockRecorder) ProjectUpdateStatus(arg0, arg1 interface{}) *gomock.Call

ProjectUpdateStatus indicates an expected call of ProjectUpdateStatus

func (*MockProjectsServerMockRecorder) UpdateProject

func (mr *MockProjectsServerMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call

UpdateProject indicates an expected call of UpdateProject

type Pair

type Pair struct {
	Resource             string   `` /* 129-byte string literal not displayed */
	Action               string   `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Pair) Descriptor

func (*Pair) Descriptor() ([]byte, []int)

func (*Pair) GetAction

func (m *Pair) GetAction() string

func (*Pair) GetResource

func (m *Pair) GetResource() string

func (*Pair) ProtoMessage

func (*Pair) ProtoMessage()

func (*Pair) Reset

func (m *Pair) Reset()

func (*Pair) String

func (m *Pair) String() string

func (*Pair) Validate

func (m *Pair) Validate() error

Validate checks the field values on Pair with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Pair) XXX_DiscardUnknown

func (m *Pair) XXX_DiscardUnknown()

func (*Pair) XXX_Marshal

func (m *Pair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pair) XXX_Merge

func (dst *Pair) XXX_Merge(src proto.Message)

func (*Pair) XXX_Size

func (m *Pair) XXX_Size() int

func (*Pair) XXX_Unmarshal

func (m *Pair) XXX_Unmarshal(b []byte) error

type PairValidationError

type PairValidationError struct {
	// contains filtered or unexported fields
}

PairValidationError is the validation error returned by Pair.Validate if the designated constraints aren't met.

func (PairValidationError) Cause

func (e PairValidationError) Cause() error

Cause function returns cause value.

func (PairValidationError) Error

func (e PairValidationError) Error() string

Error satisfies the builtin error interface

func (PairValidationError) ErrorName

func (e PairValidationError) ErrorName() string

ErrorName returns error name.

func (PairValidationError) Field

func (e PairValidationError) Field() string

Field function returns field value.

func (PairValidationError) Key

func (e PairValidationError) Key() bool

Key function returns key value.

func (PairValidationError) Reason

func (e PairValidationError) Reason() string

Reason function returns reason value.

type PoliciesClient

type PoliciesClient interface {
	ReplacePolicyMembers(ctx context.Context, in *ReplacePolicyMembersReq, opts ...grpc.CallOption) (*ReplacePolicyMembersResp, error)
	CreatePolicy(ctx context.Context, in *CreatePolicyReq, opts ...grpc.CallOption) (*Policy, error)
	DeletePolicy(ctx context.Context, in *DeletePolicyReq, opts ...grpc.CallOption) (*DeletePolicyResp, error)
	ListPolicies(ctx context.Context, in *ListPoliciesReq, opts ...grpc.CallOption) (*ListPoliciesResp, error)
	GetPolicy(ctx context.Context, in *GetPolicyReq, opts ...grpc.CallOption) (*Policy, error)
	UpdatePolicy(ctx context.Context, in *UpdatePolicyReq, opts ...grpc.CallOption) (*Policy, error)
	MigrateToV2(ctx context.Context, in *MigrateToV2Req, opts ...grpc.CallOption) (*MigrateToV2Resp, error)
	GetPolicyVersion(ctx context.Context, in *GetPolicyVersionReq, opts ...grpc.CallOption) (*GetPolicyVersionResp, error)
	ResetToV1(ctx context.Context, in *ResetToV1Req, opts ...grpc.CallOption) (*ResetToV1Resp, error)
	CreateRole(ctx context.Context, in *CreateRoleReq, opts ...grpc.CallOption) (*Role, error)
	ListRoles(ctx context.Context, in *ListRolesReq, opts ...grpc.CallOption) (*ListRolesResp, error)
	GetRole(ctx context.Context, in *GetRoleReq, opts ...grpc.CallOption) (*Role, error)
	DeleteRole(ctx context.Context, in *DeleteRoleReq, opts ...grpc.CallOption) (*DeleteRoleResp, error)
	UpdateRole(ctx context.Context, in *UpdateRoleReq, opts ...grpc.CallOption) (*Role, error)
	ListPolicyMembers(ctx context.Context, in *ListPolicyMembersReq, opts ...grpc.CallOption) (*ListPolicyMembersResp, error)
	RemovePolicyMembers(ctx context.Context, in *RemovePolicyMembersReq, opts ...grpc.CallOption) (*RemovePolicyMembersResp, error)
	AddPolicyMembers(ctx context.Context, in *AddPolicyMembersReq, opts ...grpc.CallOption) (*AddPolicyMembersResp, error)
	PurgeSubjectFromPolicies(ctx context.Context, in *PurgeSubjectFromPoliciesReq, opts ...grpc.CallOption) (*PurgeSubjectFromPoliciesResp, error)
}

PoliciesClient is the client API for Policies service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPoliciesClient

func NewPoliciesClient(cc *grpc.ClientConn) PoliciesClient

type PoliciesServerMock

type PoliciesServerMock struct {
	ReplacePolicyMembersFunc     func(context.Context, *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error)
	CreatePolicyFunc             func(context.Context, *CreatePolicyReq) (*Policy, error)
	DeletePolicyFunc             func(context.Context, *DeletePolicyReq) (*DeletePolicyResp, error)
	ListPoliciesFunc             func(context.Context, *ListPoliciesReq) (*ListPoliciesResp, error)
	GetPolicyFunc                func(context.Context, *GetPolicyReq) (*Policy, error)
	UpdatePolicyFunc             func(context.Context, *UpdatePolicyReq) (*Policy, error)
	MigrateToV2Func              func(context.Context, *MigrateToV2Req) (*MigrateToV2Resp, error)
	GetPolicyVersionFunc         func(context.Context, *GetPolicyVersionReq) (*GetPolicyVersionResp, error)
	ResetToV1Func                func(context.Context, *ResetToV1Req) (*ResetToV1Resp, error)
	CreateRoleFunc               func(context.Context, *CreateRoleReq) (*Role, error)
	ListRolesFunc                func(context.Context, *ListRolesReq) (*ListRolesResp, error)
	GetRoleFunc                  func(context.Context, *GetRoleReq) (*Role, error)
	DeleteRoleFunc               func(context.Context, *DeleteRoleReq) (*DeleteRoleResp, error)
	UpdateRoleFunc               func(context.Context, *UpdateRoleReq) (*Role, error)
	ListPolicyMembersFunc        func(context.Context, *ListPolicyMembersReq) (*ListPolicyMembersResp, error)
	RemovePolicyMembersFunc      func(context.Context, *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error)
	AddPolicyMembersFunc         func(context.Context, *AddPolicyMembersReq) (*AddPolicyMembersResp, error)
	PurgeSubjectFromPoliciesFunc func(context.Context, *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error)
	// contains filtered or unexported fields
}

PoliciesServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns

func NewPoliciesServerMock

func NewPoliciesServerMock() *PoliciesServerMock

NewPoliciesServerMock gives you a fresh instance of PoliciesServerMock.

func NewPoliciesServerMockWithoutValidation

func NewPoliciesServerMockWithoutValidation() *PoliciesServerMock

NewPoliciesServerMockWithoutValidation gives you a fresh instance of PoliciesServerMock which does not attempt to validate requests before passing them to their respective '*Func'.

func (*PoliciesServerMock) AddPolicyMembers

func (*PoliciesServerMock) CreatePolicy

func (m *PoliciesServerMock) CreatePolicy(ctx context.Context, req *CreatePolicyReq) (*Policy, error)

func (*PoliciesServerMock) CreateRole

func (m *PoliciesServerMock) CreateRole(ctx context.Context, req *CreateRoleReq) (*Role, error)

func (*PoliciesServerMock) DeletePolicy

func (*PoliciesServerMock) DeleteRole

func (m *PoliciesServerMock) DeleteRole(ctx context.Context, req *DeleteRoleReq) (*DeleteRoleResp, error)

func (*PoliciesServerMock) GetPolicy

func (m *PoliciesServerMock) GetPolicy(ctx context.Context, req *GetPolicyReq) (*Policy, error)

func (*PoliciesServerMock) GetPolicyVersion

func (*PoliciesServerMock) GetRole

func (m *PoliciesServerMock) GetRole(ctx context.Context, req *GetRoleReq) (*Role, error)

func (*PoliciesServerMock) ListPolicies

func (*PoliciesServerMock) ListPolicyMembers

func (*PoliciesServerMock) ListRoles

func (m *PoliciesServerMock) ListRoles(ctx context.Context, req *ListRolesReq) (*ListRolesResp, error)

func (*PoliciesServerMock) MigrateToV2

func (m *PoliciesServerMock) MigrateToV2(ctx context.Context, req *MigrateToV2Req) (*MigrateToV2Resp, error)

func (*PoliciesServerMock) PurgeSubjectFromPolicies

func (*PoliciesServerMock) RemovePolicyMembers

func (*PoliciesServerMock) ReplacePolicyMembers

func (*PoliciesServerMock) Reset

func (m *PoliciesServerMock) Reset()

Reset resets all overridden functions

func (*PoliciesServerMock) ResetToV1

func (m *PoliciesServerMock) ResetToV1(ctx context.Context, req *ResetToV1Req) (*ResetToV1Resp, error)

func (*PoliciesServerMock) UpdatePolicy

func (m *PoliciesServerMock) UpdatePolicy(ctx context.Context, req *UpdatePolicyReq) (*Policy, error)

func (*PoliciesServerMock) UpdateRole

func (m *PoliciesServerMock) UpdateRole(ctx context.Context, req *UpdateRoleReq) (*Role, error)

type Policy

type Policy struct {
	Name                 string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Id                   string       `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Type                 Type         `` /* 154-byte string literal not displayed */
	Members              []string     `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	Statements           []*Statement `` /* 137-byte string literal not displayed */
	Projects             []string     `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte       `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32        `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Policy) Descriptor

func (*Policy) Descriptor() ([]byte, []int)

func (*Policy) GetId

func (m *Policy) GetId() string

func (*Policy) GetMembers

func (m *Policy) GetMembers() []string

func (*Policy) GetName

func (m *Policy) GetName() string

func (*Policy) GetProjects

func (m *Policy) GetProjects() []string

func (*Policy) GetStatements

func (m *Policy) GetStatements() []*Statement

func (*Policy) GetType

func (m *Policy) GetType() Type

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) Reset

func (m *Policy) Reset()

func (*Policy) String

func (m *Policy) String() string

func (*Policy) Validate

func (m *Policy) Validate() error

Validate checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Policy) XXX_DiscardUnknown

func (m *Policy) XXX_DiscardUnknown()

func (*Policy) XXX_Marshal

func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Policy) XXX_Merge

func (dst *Policy) XXX_Merge(src proto.Message)

func (*Policy) XXX_Size

func (m *Policy) XXX_Size() int

func (*Policy) XXX_Unmarshal

func (m *Policy) XXX_Unmarshal(b []byte) error

type PolicyValidationError

type PolicyValidationError struct {
	// contains filtered or unexported fields
}

PolicyValidationError is the validation error returned by Policy.Validate if the designated constraints aren't met.

func (PolicyValidationError) Cause

func (e PolicyValidationError) Cause() error

Cause function returns cause value.

func (PolicyValidationError) Error

func (e PolicyValidationError) Error() string

Error satisfies the builtin error interface

func (PolicyValidationError) ErrorName

func (e PolicyValidationError) ErrorName() string

ErrorName returns error name.

func (PolicyValidationError) Field

func (e PolicyValidationError) Field() string

Field function returns field value.

func (PolicyValidationError) Key

func (e PolicyValidationError) Key() bool

Key function returns key value.

func (PolicyValidationError) Reason

func (e PolicyValidationError) Reason() string

Reason function returns reason value.

type Project

type Project struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Type                 Type     `` /* 154-byte string literal not displayed */
	Projects             []string `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Project) Descriptor

func (*Project) Descriptor() ([]byte, []int)

func (*Project) GetId

func (m *Project) GetId() string

func (*Project) GetName

func (m *Project) GetName() string

func (*Project) GetProjects

func (m *Project) GetProjects() []string

func (*Project) GetType

func (m *Project) GetType() Type

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) String

func (m *Project) String() string

func (*Project) Validate

func (m *Project) Validate() error

Validate checks the field values on Project with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (dst *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

type ProjectCollectionRulesResp

type ProjectCollectionRulesResp struct {
	ProjectRules         map[string]*ProjectRules `` /* 255-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectCollectionRulesResp) Descriptor

func (*ProjectCollectionRulesResp) Descriptor() ([]byte, []int)

func (*ProjectCollectionRulesResp) GetProjectRules

func (m *ProjectCollectionRulesResp) GetProjectRules() map[string]*ProjectRules

func (*ProjectCollectionRulesResp) ProtoMessage

func (*ProjectCollectionRulesResp) ProtoMessage()

func (*ProjectCollectionRulesResp) Reset

func (m *ProjectCollectionRulesResp) Reset()

func (*ProjectCollectionRulesResp) String

func (m *ProjectCollectionRulesResp) String() string

func (*ProjectCollectionRulesResp) Validate

func (m *ProjectCollectionRulesResp) Validate() error

Validate checks the field values on ProjectCollectionRulesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectCollectionRulesResp) XXX_DiscardUnknown

func (m *ProjectCollectionRulesResp) XXX_DiscardUnknown()

func (*ProjectCollectionRulesResp) XXX_Marshal

func (m *ProjectCollectionRulesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectCollectionRulesResp) XXX_Merge

func (dst *ProjectCollectionRulesResp) XXX_Merge(src proto.Message)

func (*ProjectCollectionRulesResp) XXX_Size

func (m *ProjectCollectionRulesResp) XXX_Size() int

func (*ProjectCollectionRulesResp) XXX_Unmarshal

func (m *ProjectCollectionRulesResp) XXX_Unmarshal(b []byte) error

type ProjectCollectionRulesRespValidationError

type ProjectCollectionRulesRespValidationError struct {
	// contains filtered or unexported fields
}

ProjectCollectionRulesRespValidationError is the validation error returned by ProjectCollectionRulesResp.Validate if the designated constraints aren't met.

func (ProjectCollectionRulesRespValidationError) Cause

Cause function returns cause value.

func (ProjectCollectionRulesRespValidationError) Error

Error satisfies the builtin error interface

func (ProjectCollectionRulesRespValidationError) ErrorName

ErrorName returns error name.

func (ProjectCollectionRulesRespValidationError) Field

Field function returns field value.

func (ProjectCollectionRulesRespValidationError) Key

Key function returns key value.

func (ProjectCollectionRulesRespValidationError) Reason

Reason function returns reason value.

type ProjectRule

type ProjectRule struct {
	Type                 ProjectRuleTypes `` /* 166-byte string literal not displayed */
	Conditions           []*Condition     `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte           `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32            `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectRule) Descriptor

func (*ProjectRule) Descriptor() ([]byte, []int)

func (*ProjectRule) GetConditions

func (m *ProjectRule) GetConditions() []*Condition

func (*ProjectRule) GetType

func (m *ProjectRule) GetType() ProjectRuleTypes

func (*ProjectRule) ProtoMessage

func (*ProjectRule) ProtoMessage()

func (*ProjectRule) Reset

func (m *ProjectRule) Reset()

func (*ProjectRule) String

func (m *ProjectRule) String() string

func (*ProjectRule) Validate

func (m *ProjectRule) Validate() error

Validate checks the field values on ProjectRule with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectRule) XXX_DiscardUnknown

func (m *ProjectRule) XXX_DiscardUnknown()

func (*ProjectRule) XXX_Marshal

func (m *ProjectRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectRule) XXX_Merge

func (dst *ProjectRule) XXX_Merge(src proto.Message)

func (*ProjectRule) XXX_Size

func (m *ProjectRule) XXX_Size() int

func (*ProjectRule) XXX_Unmarshal

func (m *ProjectRule) XXX_Unmarshal(b []byte) error

type ProjectRuleConditionTypes

type ProjectRuleConditionTypes int32
const (
	ProjectRuleConditionTypes_CHEF_SERVERS      ProjectRuleConditionTypes = 0
	ProjectRuleConditionTypes_CHEF_ORGS         ProjectRuleConditionTypes = 1
	ProjectRuleConditionTypes_CHEF_ENVIRONMENTS ProjectRuleConditionTypes = 2
	ProjectRuleConditionTypes_ROLES             ProjectRuleConditionTypes = 3
	ProjectRuleConditionTypes_CHEF_TAGS         ProjectRuleConditionTypes = 4
	ProjectRuleConditionTypes_POLICY_GROUP      ProjectRuleConditionTypes = 5
	ProjectRuleConditionTypes_POLICY_NAME       ProjectRuleConditionTypes = 6
)

func (ProjectRuleConditionTypes) EnumDescriptor

func (ProjectRuleConditionTypes) EnumDescriptor() ([]byte, []int)

func (ProjectRuleConditionTypes) String

func (x ProjectRuleConditionTypes) String() string

type ProjectRuleTypes

type ProjectRuleTypes int32
const (
	ProjectRuleTypes_NODE  ProjectRuleTypes = 0
	ProjectRuleTypes_EVENT ProjectRuleTypes = 1
)

func (ProjectRuleTypes) EnumDescriptor

func (ProjectRuleTypes) EnumDescriptor() ([]byte, []int)

func (ProjectRuleTypes) String

func (x ProjectRuleTypes) String() string

type ProjectRuleValidationError

type ProjectRuleValidationError struct {
	// contains filtered or unexported fields
}

ProjectRuleValidationError is the validation error returned by ProjectRule.Validate if the designated constraints aren't met.

func (ProjectRuleValidationError) Cause

Cause function returns cause value.

func (ProjectRuleValidationError) Error

Error satisfies the builtin error interface

func (ProjectRuleValidationError) ErrorName

func (e ProjectRuleValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectRuleValidationError) Field

Field function returns field value.

func (ProjectRuleValidationError) Key

Key function returns key value.

func (ProjectRuleValidationError) Reason

Reason function returns reason value.

type ProjectRules

type ProjectRules struct {
	Rules                []*ProjectRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte         `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32          `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectRules) Descriptor

func (*ProjectRules) Descriptor() ([]byte, []int)

func (*ProjectRules) GetRules

func (m *ProjectRules) GetRules() []*ProjectRule

func (*ProjectRules) ProtoMessage

func (*ProjectRules) ProtoMessage()

func (*ProjectRules) Reset

func (m *ProjectRules) Reset()

func (*ProjectRules) String

func (m *ProjectRules) String() string

func (*ProjectRules) Validate

func (m *ProjectRules) Validate() error

Validate checks the field values on ProjectRules with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectRules) XXX_DiscardUnknown

func (m *ProjectRules) XXX_DiscardUnknown()

func (*ProjectRules) XXX_Marshal

func (m *ProjectRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectRules) XXX_Merge

func (dst *ProjectRules) XXX_Merge(src proto.Message)

func (*ProjectRules) XXX_Size

func (m *ProjectRules) XXX_Size() int

func (*ProjectRules) XXX_Unmarshal

func (m *ProjectRules) XXX_Unmarshal(b []byte) error

type ProjectRulesValidationError

type ProjectRulesValidationError struct {
	// contains filtered or unexported fields
}

ProjectRulesValidationError is the validation error returned by ProjectRules.Validate if the designated constraints aren't met.

func (ProjectRulesValidationError) Cause

Cause function returns cause value.

func (ProjectRulesValidationError) Error

Error satisfies the builtin error interface

func (ProjectRulesValidationError) ErrorName

func (e ProjectRulesValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectRulesValidationError) Field

Field function returns field value.

func (ProjectRulesValidationError) Key

Key function returns key value.

func (ProjectRulesValidationError) Reason

Reason function returns reason value.

type ProjectUpdateCancelReq

type ProjectUpdateCancelReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectUpdateCancelReq) Descriptor

func (*ProjectUpdateCancelReq) Descriptor() ([]byte, []int)

func (*ProjectUpdateCancelReq) ProtoMessage

func (*ProjectUpdateCancelReq) ProtoMessage()

func (*ProjectUpdateCancelReq) Reset

func (m *ProjectUpdateCancelReq) Reset()

func (*ProjectUpdateCancelReq) String

func (m *ProjectUpdateCancelReq) String() string

func (*ProjectUpdateCancelReq) Validate

func (m *ProjectUpdateCancelReq) Validate() error

Validate checks the field values on ProjectUpdateCancelReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectUpdateCancelReq) XXX_DiscardUnknown

func (m *ProjectUpdateCancelReq) XXX_DiscardUnknown()

func (*ProjectUpdateCancelReq) XXX_Marshal

func (m *ProjectUpdateCancelReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectUpdateCancelReq) XXX_Merge

func (dst *ProjectUpdateCancelReq) XXX_Merge(src proto.Message)

func (*ProjectUpdateCancelReq) XXX_Size

func (m *ProjectUpdateCancelReq) XXX_Size() int

func (*ProjectUpdateCancelReq) XXX_Unmarshal

func (m *ProjectUpdateCancelReq) XXX_Unmarshal(b []byte) error

type ProjectUpdateCancelReqValidationError

type ProjectUpdateCancelReqValidationError struct {
	// contains filtered or unexported fields
}

ProjectUpdateCancelReqValidationError is the validation error returned by ProjectUpdateCancelReq.Validate if the designated constraints aren't met.

func (ProjectUpdateCancelReqValidationError) Cause

Cause function returns cause value.

func (ProjectUpdateCancelReqValidationError) Error

Error satisfies the builtin error interface

func (ProjectUpdateCancelReqValidationError) ErrorName

ErrorName returns error name.

func (ProjectUpdateCancelReqValidationError) Field

Field function returns field value.

func (ProjectUpdateCancelReqValidationError) Key

Key function returns key value.

func (ProjectUpdateCancelReqValidationError) Reason

Reason function returns reason value.

type ProjectUpdateCancelResp

type ProjectUpdateCancelResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectUpdateCancelResp) Descriptor

func (*ProjectUpdateCancelResp) Descriptor() ([]byte, []int)

func (*ProjectUpdateCancelResp) ProtoMessage

func (*ProjectUpdateCancelResp) ProtoMessage()

func (*ProjectUpdateCancelResp) Reset

func (m *ProjectUpdateCancelResp) Reset()

func (*ProjectUpdateCancelResp) String

func (m *ProjectUpdateCancelResp) String() string

func (*ProjectUpdateCancelResp) Validate

func (m *ProjectUpdateCancelResp) Validate() error

Validate checks the field values on ProjectUpdateCancelResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectUpdateCancelResp) XXX_DiscardUnknown

func (m *ProjectUpdateCancelResp) XXX_DiscardUnknown()

func (*ProjectUpdateCancelResp) XXX_Marshal

func (m *ProjectUpdateCancelResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectUpdateCancelResp) XXX_Merge

func (dst *ProjectUpdateCancelResp) XXX_Merge(src proto.Message)

func (*ProjectUpdateCancelResp) XXX_Size

func (m *ProjectUpdateCancelResp) XXX_Size() int

func (*ProjectUpdateCancelResp) XXX_Unmarshal

func (m *ProjectUpdateCancelResp) XXX_Unmarshal(b []byte) error

type ProjectUpdateCancelRespValidationError

type ProjectUpdateCancelRespValidationError struct {
	// contains filtered or unexported fields
}

ProjectUpdateCancelRespValidationError is the validation error returned by ProjectUpdateCancelResp.Validate if the designated constraints aren't met.

func (ProjectUpdateCancelRespValidationError) Cause

Cause function returns cause value.

func (ProjectUpdateCancelRespValidationError) Error

Error satisfies the builtin error interface

func (ProjectUpdateCancelRespValidationError) ErrorName

ErrorName returns error name.

func (ProjectUpdateCancelRespValidationError) Field

Field function returns field value.

func (ProjectUpdateCancelRespValidationError) Key

Key function returns key value.

func (ProjectUpdateCancelRespValidationError) Reason

Reason function returns reason value.

type ProjectUpdateStatusReq

type ProjectUpdateStatusReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectUpdateStatusReq) Descriptor

func (*ProjectUpdateStatusReq) Descriptor() ([]byte, []int)

func (*ProjectUpdateStatusReq) ProtoMessage

func (*ProjectUpdateStatusReq) ProtoMessage()

func (*ProjectUpdateStatusReq) Reset

func (m *ProjectUpdateStatusReq) Reset()

func (*ProjectUpdateStatusReq) String

func (m *ProjectUpdateStatusReq) String() string

func (*ProjectUpdateStatusReq) Validate

func (m *ProjectUpdateStatusReq) Validate() error

Validate checks the field values on ProjectUpdateStatusReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectUpdateStatusReq) XXX_DiscardUnknown

func (m *ProjectUpdateStatusReq) XXX_DiscardUnknown()

func (*ProjectUpdateStatusReq) XXX_Marshal

func (m *ProjectUpdateStatusReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectUpdateStatusReq) XXX_Merge

func (dst *ProjectUpdateStatusReq) XXX_Merge(src proto.Message)

func (*ProjectUpdateStatusReq) XXX_Size

func (m *ProjectUpdateStatusReq) XXX_Size() int

func (*ProjectUpdateStatusReq) XXX_Unmarshal

func (m *ProjectUpdateStatusReq) XXX_Unmarshal(b []byte) error

type ProjectUpdateStatusReqValidationError

type ProjectUpdateStatusReqValidationError struct {
	// contains filtered or unexported fields
}

ProjectUpdateStatusReqValidationError is the validation error returned by ProjectUpdateStatusReq.Validate if the designated constraints aren't met.

func (ProjectUpdateStatusReqValidationError) Cause

Cause function returns cause value.

func (ProjectUpdateStatusReqValidationError) Error

Error satisfies the builtin error interface

func (ProjectUpdateStatusReqValidationError) ErrorName

ErrorName returns error name.

func (ProjectUpdateStatusReqValidationError) Field

Field function returns field value.

func (ProjectUpdateStatusReqValidationError) Key

Key function returns key value.

func (ProjectUpdateStatusReqValidationError) Reason

Reason function returns reason value.

type ProjectUpdateStatusResp

type ProjectUpdateStatusResp struct {
	State                  string               `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"`
	EstimatedTimeCompelete *timestamp.Timestamp `` /* 221-byte string literal not displayed */
	PercentageComplete     float32              `` /* 199-byte string literal not displayed */
	Failed                 bool                 `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"`
	FailureMessage         string               `` /* 177-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}             `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized       []byte               `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache          int32                `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectUpdateStatusResp) Descriptor

func (*ProjectUpdateStatusResp) Descriptor() ([]byte, []int)

func (*ProjectUpdateStatusResp) GetEstimatedTimeCompelete

func (m *ProjectUpdateStatusResp) GetEstimatedTimeCompelete() *timestamp.Timestamp

func (*ProjectUpdateStatusResp) GetFailed

func (m *ProjectUpdateStatusResp) GetFailed() bool

func (*ProjectUpdateStatusResp) GetFailureMessage

func (m *ProjectUpdateStatusResp) GetFailureMessage() string

func (*ProjectUpdateStatusResp) GetPercentageComplete

func (m *ProjectUpdateStatusResp) GetPercentageComplete() float32

func (*ProjectUpdateStatusResp) GetState

func (m *ProjectUpdateStatusResp) GetState() string

func (*ProjectUpdateStatusResp) ProtoMessage

func (*ProjectUpdateStatusResp) ProtoMessage()

func (*ProjectUpdateStatusResp) Reset

func (m *ProjectUpdateStatusResp) Reset()

func (*ProjectUpdateStatusResp) String

func (m *ProjectUpdateStatusResp) String() string

func (*ProjectUpdateStatusResp) Validate

func (m *ProjectUpdateStatusResp) Validate() error

Validate checks the field values on ProjectUpdateStatusResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectUpdateStatusResp) XXX_DiscardUnknown

func (m *ProjectUpdateStatusResp) XXX_DiscardUnknown()

func (*ProjectUpdateStatusResp) XXX_Marshal

func (m *ProjectUpdateStatusResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectUpdateStatusResp) XXX_Merge

func (dst *ProjectUpdateStatusResp) XXX_Merge(src proto.Message)

func (*ProjectUpdateStatusResp) XXX_Size

func (m *ProjectUpdateStatusResp) XXX_Size() int

func (*ProjectUpdateStatusResp) XXX_Unmarshal

func (m *ProjectUpdateStatusResp) XXX_Unmarshal(b []byte) error

type ProjectUpdateStatusRespValidationError

type ProjectUpdateStatusRespValidationError struct {
	// contains filtered or unexported fields
}

ProjectUpdateStatusRespValidationError is the validation error returned by ProjectUpdateStatusResp.Validate if the designated constraints aren't met.

func (ProjectUpdateStatusRespValidationError) Cause

Cause function returns cause value.

func (ProjectUpdateStatusRespValidationError) Error

Error satisfies the builtin error interface

func (ProjectUpdateStatusRespValidationError) ErrorName

ErrorName returns error name.

func (ProjectUpdateStatusRespValidationError) Field

Field function returns field value.

func (ProjectUpdateStatusRespValidationError) Key

Key function returns key value.

func (ProjectUpdateStatusRespValidationError) Reason

Reason function returns reason value.

type ProjectValidationError

type ProjectValidationError struct {
	// contains filtered or unexported fields
}

ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.

func (ProjectValidationError) Cause

func (e ProjectValidationError) Cause() error

Cause function returns cause value.

func (ProjectValidationError) Error

func (e ProjectValidationError) Error() string

Error satisfies the builtin error interface

func (ProjectValidationError) ErrorName

func (e ProjectValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectValidationError) Field

func (e ProjectValidationError) Field() string

Field function returns field value.

func (ProjectValidationError) Key

func (e ProjectValidationError) Key() bool

Key function returns key value.

func (ProjectValidationError) Reason

func (e ProjectValidationError) Reason() string

Reason function returns reason value.

type ProjectsAuthorizedReq

type ProjectsAuthorizedReq struct {
	Subjects             []string `` /* 129-byte string literal not displayed */
	Resource             string   `` /* 129-byte string literal not displayed */
	Action               string   `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"`
	ProjectsFilter       []string `` /* 177-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectsAuthorizedReq) Descriptor

func (*ProjectsAuthorizedReq) Descriptor() ([]byte, []int)

func (*ProjectsAuthorizedReq) GetAction

func (m *ProjectsAuthorizedReq) GetAction() string

func (*ProjectsAuthorizedReq) GetProjectsFilter

func (m *ProjectsAuthorizedReq) GetProjectsFilter() []string

func (*ProjectsAuthorizedReq) GetResource

func (m *ProjectsAuthorizedReq) GetResource() string

func (*ProjectsAuthorizedReq) GetSubjects

func (m *ProjectsAuthorizedReq) GetSubjects() []string

func (*ProjectsAuthorizedReq) ProtoMessage

func (*ProjectsAuthorizedReq) ProtoMessage()

func (*ProjectsAuthorizedReq) Reset

func (m *ProjectsAuthorizedReq) Reset()

func (*ProjectsAuthorizedReq) String

func (m *ProjectsAuthorizedReq) String() string

func (*ProjectsAuthorizedReq) Validate

func (m *ProjectsAuthorizedReq) Validate() error

Validate checks the field values on ProjectsAuthorizedReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectsAuthorizedReq) XXX_DiscardUnknown

func (m *ProjectsAuthorizedReq) XXX_DiscardUnknown()

func (*ProjectsAuthorizedReq) XXX_Marshal

func (m *ProjectsAuthorizedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectsAuthorizedReq) XXX_Merge

func (dst *ProjectsAuthorizedReq) XXX_Merge(src proto.Message)

func (*ProjectsAuthorizedReq) XXX_Size

func (m *ProjectsAuthorizedReq) XXX_Size() int

func (*ProjectsAuthorizedReq) XXX_Unmarshal

func (m *ProjectsAuthorizedReq) XXX_Unmarshal(b []byte) error

type ProjectsAuthorizedReqValidationError

type ProjectsAuthorizedReqValidationError struct {
	// contains filtered or unexported fields
}

ProjectsAuthorizedReqValidationError is the validation error returned by ProjectsAuthorizedReq.Validate if the designated constraints aren't met.

func (ProjectsAuthorizedReqValidationError) Cause

Cause function returns cause value.

func (ProjectsAuthorizedReqValidationError) Error

Error satisfies the builtin error interface

func (ProjectsAuthorizedReqValidationError) ErrorName

ErrorName returns error name.

func (ProjectsAuthorizedReqValidationError) Field

Field function returns field value.

func (ProjectsAuthorizedReqValidationError) Key

Key function returns key value.

func (ProjectsAuthorizedReqValidationError) Reason

Reason function returns reason value.

type ProjectsAuthorizedResp

type ProjectsAuthorizedResp struct {
	Projects             []string `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ProjectsAuthorizedResp) Descriptor

func (*ProjectsAuthorizedResp) Descriptor() ([]byte, []int)

func (*ProjectsAuthorizedResp) GetProjects

func (m *ProjectsAuthorizedResp) GetProjects() []string

func (*ProjectsAuthorizedResp) ProtoMessage

func (*ProjectsAuthorizedResp) ProtoMessage()

func (*ProjectsAuthorizedResp) Reset

func (m *ProjectsAuthorizedResp) Reset()

func (*ProjectsAuthorizedResp) String

func (m *ProjectsAuthorizedResp) String() string

func (*ProjectsAuthorizedResp) Validate

func (m *ProjectsAuthorizedResp) Validate() error

Validate checks the field values on ProjectsAuthorizedResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ProjectsAuthorizedResp) XXX_DiscardUnknown

func (m *ProjectsAuthorizedResp) XXX_DiscardUnknown()

func (*ProjectsAuthorizedResp) XXX_Marshal

func (m *ProjectsAuthorizedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectsAuthorizedResp) XXX_Merge

func (dst *ProjectsAuthorizedResp) XXX_Merge(src proto.Message)

func (*ProjectsAuthorizedResp) XXX_Size

func (m *ProjectsAuthorizedResp) XXX_Size() int

func (*ProjectsAuthorizedResp) XXX_Unmarshal

func (m *ProjectsAuthorizedResp) XXX_Unmarshal(b []byte) error

type ProjectsAuthorizedRespValidationError

type ProjectsAuthorizedRespValidationError struct {
	// contains filtered or unexported fields
}

ProjectsAuthorizedRespValidationError is the validation error returned by ProjectsAuthorizedResp.Validate if the designated constraints aren't met.

func (ProjectsAuthorizedRespValidationError) Cause

Cause function returns cause value.

func (ProjectsAuthorizedRespValidationError) Error

Error satisfies the builtin error interface

func (ProjectsAuthorizedRespValidationError) ErrorName

ErrorName returns error name.

func (ProjectsAuthorizedRespValidationError) Field

Field function returns field value.

func (ProjectsAuthorizedRespValidationError) Key

Key function returns key value.

func (ProjectsAuthorizedRespValidationError) Reason

Reason function returns reason value.

type ProjectsClient

type ProjectsClient interface {
	UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error)
	CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error)
	GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error)
	DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error)
	ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)
	// Note: POC functions that are not ready to expose outside of our
	// spike (aka keep them out of the gateway for now).
	ListProjectRules(ctx context.Context, in *ListProjectRulesReq, opts ...grpc.CallOption) (*ProjectCollectionRulesResp, error)
	GetProjectRules(ctx context.Context, in *GetProjectRulesReq, opts ...grpc.CallOption) (*GetProjectRulesResp, error)
	HandleEvent(ctx context.Context, in *event.EventMsg, opts ...grpc.CallOption) (*event.EventResponse, error)
	ProjectUpdateStatus(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateStatusResp, error)
	ProjectUpdateCancel(ctx context.Context, in *ProjectUpdateStatusReq, opts ...grpc.CallOption) (*ProjectUpdateCancelResp, error)
}

ProjectsClient is the client API for Projects service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewProjectsClient

func NewProjectsClient(cc *grpc.ClientConn) ProjectsClient

type ProjectsServer

type ProjectsServer interface {
	UpdateProject(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error)
	CreateProject(context.Context, *CreateProjectReq) (*CreateProjectResp, error)
	GetProject(context.Context, *GetProjectReq) (*GetProjectResp, error)
	DeleteProject(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error)
	ListProjects(context.Context, *ListProjectsReq) (*ListProjectsResp, error)
	// Note: POC functions that are not ready to expose outside of our
	// spike (aka keep them out of the gateway for now).
	ListProjectRules(context.Context, *ListProjectRulesReq) (*ProjectCollectionRulesResp, error)
	GetProjectRules(context.Context, *GetProjectRulesReq) (*GetProjectRulesResp, error)
	HandleEvent(context.Context, *event.EventMsg) (*event.EventResponse, error)
	ProjectUpdateStatus(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error)
	ProjectUpdateCancel(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error)
}

ProjectsServer is the server API for Projects service.

type ProjectsServerMock

type ProjectsServerMock struct {
	UpdateProjectFunc       func(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error)
	CreateProjectFunc       func(context.Context, *CreateProjectReq) (*CreateProjectResp, error)
	GetProjectFunc          func(context.Context, *GetProjectReq) (*GetProjectResp, error)
	DeleteProjectFunc       func(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error)
	ListProjectsFunc        func(context.Context, *ListProjectsReq) (*ListProjectsResp, error)
	ListProjectRulesFunc    func(context.Context, *ListProjectRulesReq) (*ProjectCollectionRulesResp, error)
	GetProjectRulesFunc     func(context.Context, *GetProjectRulesReq) (*GetProjectRulesResp, error)
	HandleEventFunc         func(context.Context, *event.EventMsg) (*event.EventResponse, error)
	ProjectUpdateStatusFunc func(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateStatusResp, error)
	ProjectUpdateCancelFunc func(context.Context, *ProjectUpdateStatusReq) (*ProjectUpdateCancelResp, error)
	// contains filtered or unexported fields
}

ProjectsServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns

func NewProjectsServerMock

func NewProjectsServerMock() *ProjectsServerMock

NewProjectsServerMock gives you a fresh instance of ProjectsServerMock.

func NewProjectsServerMockWithoutValidation

func NewProjectsServerMockWithoutValidation() *ProjectsServerMock

NewProjectsServerMockWithoutValidation gives you a fresh instance of ProjectsServerMock which does not attempt to validate requests before passing them to their respective '*Func'.

func (*ProjectsServerMock) CreateProject

func (*ProjectsServerMock) DeleteProject

func (*ProjectsServerMock) GetProject

func (m *ProjectsServerMock) GetProject(ctx context.Context, req *GetProjectReq) (*GetProjectResp, error)

func (*ProjectsServerMock) GetProjectRules

func (*ProjectsServerMock) HandleEvent

func (m *ProjectsServerMock) HandleEvent(ctx context.Context, req *event.EventMsg) (*event.EventResponse, error)

func (*ProjectsServerMock) ListProjectRules

func (*ProjectsServerMock) ListProjects

func (*ProjectsServerMock) ProjectUpdateCancel

func (*ProjectsServerMock) ProjectUpdateStatus

func (*ProjectsServerMock) Reset

func (m *ProjectsServerMock) Reset()

Reset resets all overridden functions

func (*ProjectsServerMock) UpdateProject

type PurgeSubjectFromPoliciesReq

type PurgeSubjectFromPoliciesReq struct {
	// Q: Right now, this allows purging subject wildcards (like "user:*").
	// -- Do we want to restrict this to only complete subjects?
	Subject              string   `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty" toml:"subject,omitempty" mapstructure:"subject,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*PurgeSubjectFromPoliciesReq) Descriptor

func (*PurgeSubjectFromPoliciesReq) Descriptor() ([]byte, []int)

func (*PurgeSubjectFromPoliciesReq) GetSubject

func (m *PurgeSubjectFromPoliciesReq) GetSubject() string

func (*PurgeSubjectFromPoliciesReq) ProtoMessage

func (*PurgeSubjectFromPoliciesReq) ProtoMessage()

func (*PurgeSubjectFromPoliciesReq) Reset

func (m *PurgeSubjectFromPoliciesReq) Reset()

func (*PurgeSubjectFromPoliciesReq) String

func (m *PurgeSubjectFromPoliciesReq) String() string

func (*PurgeSubjectFromPoliciesReq) Validate

func (m *PurgeSubjectFromPoliciesReq) Validate() error

Validate checks the field values on PurgeSubjectFromPoliciesReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PurgeSubjectFromPoliciesReq) XXX_DiscardUnknown

func (m *PurgeSubjectFromPoliciesReq) XXX_DiscardUnknown()

func (*PurgeSubjectFromPoliciesReq) XXX_Marshal

func (m *PurgeSubjectFromPoliciesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgeSubjectFromPoliciesReq) XXX_Merge

func (dst *PurgeSubjectFromPoliciesReq) XXX_Merge(src proto.Message)

func (*PurgeSubjectFromPoliciesReq) XXX_Size

func (m *PurgeSubjectFromPoliciesReq) XXX_Size() int

func (*PurgeSubjectFromPoliciesReq) XXX_Unmarshal

func (m *PurgeSubjectFromPoliciesReq) XXX_Unmarshal(b []byte) error

type PurgeSubjectFromPoliciesReqValidationError

type PurgeSubjectFromPoliciesReqValidationError struct {
	// contains filtered or unexported fields
}

PurgeSubjectFromPoliciesReqValidationError is the validation error returned by PurgeSubjectFromPoliciesReq.Validate if the designated constraints aren't met.

func (PurgeSubjectFromPoliciesReqValidationError) Cause

Cause function returns cause value.

func (PurgeSubjectFromPoliciesReqValidationError) Error

Error satisfies the builtin error interface

func (PurgeSubjectFromPoliciesReqValidationError) ErrorName

ErrorName returns error name.

func (PurgeSubjectFromPoliciesReqValidationError) Field

Field function returns field value.

func (PurgeSubjectFromPoliciesReqValidationError) Key

Key function returns key value.

func (PurgeSubjectFromPoliciesReqValidationError) Reason

Reason function returns reason value.

type PurgeSubjectFromPoliciesResp

type PurgeSubjectFromPoliciesResp struct {
	Ids                  []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*PurgeSubjectFromPoliciesResp) Descriptor

func (*PurgeSubjectFromPoliciesResp) Descriptor() ([]byte, []int)

func (*PurgeSubjectFromPoliciesResp) GetIds

func (m *PurgeSubjectFromPoliciesResp) GetIds() []string

func (*PurgeSubjectFromPoliciesResp) ProtoMessage

func (*PurgeSubjectFromPoliciesResp) ProtoMessage()

func (*PurgeSubjectFromPoliciesResp) Reset

func (m *PurgeSubjectFromPoliciesResp) Reset()

func (*PurgeSubjectFromPoliciesResp) String

func (*PurgeSubjectFromPoliciesResp) Validate

func (m *PurgeSubjectFromPoliciesResp) Validate() error

Validate checks the field values on PurgeSubjectFromPoliciesResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PurgeSubjectFromPoliciesResp) XXX_DiscardUnknown

func (m *PurgeSubjectFromPoliciesResp) XXX_DiscardUnknown()

func (*PurgeSubjectFromPoliciesResp) XXX_Marshal

func (m *PurgeSubjectFromPoliciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgeSubjectFromPoliciesResp) XXX_Merge

func (dst *PurgeSubjectFromPoliciesResp) XXX_Merge(src proto.Message)

func (*PurgeSubjectFromPoliciesResp) XXX_Size

func (m *PurgeSubjectFromPoliciesResp) XXX_Size() int

func (*PurgeSubjectFromPoliciesResp) XXX_Unmarshal

func (m *PurgeSubjectFromPoliciesResp) XXX_Unmarshal(b []byte) error

type PurgeSubjectFromPoliciesRespValidationError

type PurgeSubjectFromPoliciesRespValidationError struct {
	// contains filtered or unexported fields
}

PurgeSubjectFromPoliciesRespValidationError is the validation error returned by PurgeSubjectFromPoliciesResp.Validate if the designated constraints aren't met.

func (PurgeSubjectFromPoliciesRespValidationError) Cause

Cause function returns cause value.

func (PurgeSubjectFromPoliciesRespValidationError) Error

Error satisfies the builtin error interface

func (PurgeSubjectFromPoliciesRespValidationError) ErrorName

ErrorName returns error name.

func (PurgeSubjectFromPoliciesRespValidationError) Field

Field function returns field value.

func (PurgeSubjectFromPoliciesRespValidationError) Key

Key function returns key value.

func (PurgeSubjectFromPoliciesRespValidationError) Reason

Reason function returns reason value.

type RemovePolicyMembersReq

type RemovePolicyMembersReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Members              []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*RemovePolicyMembersReq) Descriptor

func (*RemovePolicyMembersReq) Descriptor() ([]byte, []int)

func (*RemovePolicyMembersReq) GetId

func (m *RemovePolicyMembersReq) GetId() string

func (*RemovePolicyMembersReq) GetMembers

func (m *RemovePolicyMembersReq) GetMembers() []string

func (*RemovePolicyMembersReq) ProtoMessage

func (*RemovePolicyMembersReq) ProtoMessage()

func (*RemovePolicyMembersReq) Reset

func (m *RemovePolicyMembersReq) Reset()

func (*RemovePolicyMembersReq) String

func (m *RemovePolicyMembersReq) String() string

func (*RemovePolicyMembersReq) Validate

func (m *RemovePolicyMembersReq) Validate() error

Validate checks the field values on RemovePolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RemovePolicyMembersReq) XXX_DiscardUnknown

func (m *RemovePolicyMembersReq) XXX_DiscardUnknown()

func (*RemovePolicyMembersReq) XXX_Marshal

func (m *RemovePolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemovePolicyMembersReq) XXX_Merge

func (dst *RemovePolicyMembersReq) XXX_Merge(src proto.Message)

func (*RemovePolicyMembersReq) XXX_Size

func (m *RemovePolicyMembersReq) XXX_Size() int

func (*RemovePolicyMembersReq) XXX_Unmarshal

func (m *RemovePolicyMembersReq) XXX_Unmarshal(b []byte) error

type RemovePolicyMembersReqValidationError

type RemovePolicyMembersReqValidationError struct {
	// contains filtered or unexported fields
}

RemovePolicyMembersReqValidationError is the validation error returned by RemovePolicyMembersReq.Validate if the designated constraints aren't met.

func (RemovePolicyMembersReqValidationError) Cause

Cause function returns cause value.

func (RemovePolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (RemovePolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (RemovePolicyMembersReqValidationError) Field

Field function returns field value.

func (RemovePolicyMembersReqValidationError) Key

Key function returns key value.

func (RemovePolicyMembersReqValidationError) Reason

Reason function returns reason value.

type RemovePolicyMembersResp

type RemovePolicyMembersResp struct {
	Members              []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*RemovePolicyMembersResp) Descriptor

func (*RemovePolicyMembersResp) Descriptor() ([]byte, []int)

func (*RemovePolicyMembersResp) GetMembers

func (m *RemovePolicyMembersResp) GetMembers() []string

func (*RemovePolicyMembersResp) ProtoMessage

func (*RemovePolicyMembersResp) ProtoMessage()

func (*RemovePolicyMembersResp) Reset

func (m *RemovePolicyMembersResp) Reset()

func (*RemovePolicyMembersResp) String

func (m *RemovePolicyMembersResp) String() string

func (*RemovePolicyMembersResp) Validate

func (m *RemovePolicyMembersResp) Validate() error

Validate checks the field values on RemovePolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RemovePolicyMembersResp) XXX_DiscardUnknown

func (m *RemovePolicyMembersResp) XXX_DiscardUnknown()

func (*RemovePolicyMembersResp) XXX_Marshal

func (m *RemovePolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemovePolicyMembersResp) XXX_Merge

func (dst *RemovePolicyMembersResp) XXX_Merge(src proto.Message)

func (*RemovePolicyMembersResp) XXX_Size

func (m *RemovePolicyMembersResp) XXX_Size() int

func (*RemovePolicyMembersResp) XXX_Unmarshal

func (m *RemovePolicyMembersResp) XXX_Unmarshal(b []byte) error

type RemovePolicyMembersRespValidationError

type RemovePolicyMembersRespValidationError struct {
	// contains filtered or unexported fields
}

RemovePolicyMembersRespValidationError is the validation error returned by RemovePolicyMembersResp.Validate if the designated constraints aren't met.

func (RemovePolicyMembersRespValidationError) Cause

Cause function returns cause value.

func (RemovePolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (RemovePolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (RemovePolicyMembersRespValidationError) Field

Field function returns field value.

func (RemovePolicyMembersRespValidationError) Key

Key function returns key value.

func (RemovePolicyMembersRespValidationError) Reason

Reason function returns reason value.

type ReplacePolicyMembersReq

type ReplacePolicyMembersReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Members              []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ReplacePolicyMembersReq) Descriptor

func (*ReplacePolicyMembersReq) Descriptor() ([]byte, []int)

func (*ReplacePolicyMembersReq) GetId

func (m *ReplacePolicyMembersReq) GetId() string

func (*ReplacePolicyMembersReq) GetMembers

func (m *ReplacePolicyMembersReq) GetMembers() []string

func (*ReplacePolicyMembersReq) ProtoMessage

func (*ReplacePolicyMembersReq) ProtoMessage()

func (*ReplacePolicyMembersReq) Reset

func (m *ReplacePolicyMembersReq) Reset()

func (*ReplacePolicyMembersReq) String

func (m *ReplacePolicyMembersReq) String() string

func (*ReplacePolicyMembersReq) Validate

func (m *ReplacePolicyMembersReq) Validate() error

Validate checks the field values on ReplacePolicyMembersReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ReplacePolicyMembersReq) XXX_DiscardUnknown

func (m *ReplacePolicyMembersReq) XXX_DiscardUnknown()

func (*ReplacePolicyMembersReq) XXX_Marshal

func (m *ReplacePolicyMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplacePolicyMembersReq) XXX_Merge

func (dst *ReplacePolicyMembersReq) XXX_Merge(src proto.Message)

func (*ReplacePolicyMembersReq) XXX_Size

func (m *ReplacePolicyMembersReq) XXX_Size() int

func (*ReplacePolicyMembersReq) XXX_Unmarshal

func (m *ReplacePolicyMembersReq) XXX_Unmarshal(b []byte) error

type ReplacePolicyMembersReqValidationError

type ReplacePolicyMembersReqValidationError struct {
	// contains filtered or unexported fields
}

ReplacePolicyMembersReqValidationError is the validation error returned by ReplacePolicyMembersReq.Validate if the designated constraints aren't met.

func (ReplacePolicyMembersReqValidationError) Cause

Cause function returns cause value.

func (ReplacePolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (ReplacePolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (ReplacePolicyMembersReqValidationError) Field

Field function returns field value.

func (ReplacePolicyMembersReqValidationError) Key

Key function returns key value.

func (ReplacePolicyMembersReqValidationError) Reason

Reason function returns reason value.

type ReplacePolicyMembersResp

type ReplacePolicyMembersResp struct {
	Members              []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ReplacePolicyMembersResp) Descriptor

func (*ReplacePolicyMembersResp) Descriptor() ([]byte, []int)

func (*ReplacePolicyMembersResp) GetMembers

func (m *ReplacePolicyMembersResp) GetMembers() []string

func (*ReplacePolicyMembersResp) ProtoMessage

func (*ReplacePolicyMembersResp) ProtoMessage()

func (*ReplacePolicyMembersResp) Reset

func (m *ReplacePolicyMembersResp) Reset()

func (*ReplacePolicyMembersResp) String

func (m *ReplacePolicyMembersResp) String() string

func (*ReplacePolicyMembersResp) Validate

func (m *ReplacePolicyMembersResp) Validate() error

Validate checks the field values on ReplacePolicyMembersResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ReplacePolicyMembersResp) XXX_DiscardUnknown

func (m *ReplacePolicyMembersResp) XXX_DiscardUnknown()

func (*ReplacePolicyMembersResp) XXX_Marshal

func (m *ReplacePolicyMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplacePolicyMembersResp) XXX_Merge

func (dst *ReplacePolicyMembersResp) XXX_Merge(src proto.Message)

func (*ReplacePolicyMembersResp) XXX_Size

func (m *ReplacePolicyMembersResp) XXX_Size() int

func (*ReplacePolicyMembersResp) XXX_Unmarshal

func (m *ReplacePolicyMembersResp) XXX_Unmarshal(b []byte) error

type ReplacePolicyMembersRespValidationError

type ReplacePolicyMembersRespValidationError struct {
	// contains filtered or unexported fields
}

ReplacePolicyMembersRespValidationError is the validation error returned by ReplacePolicyMembersResp.Validate if the designated constraints aren't met.

func (ReplacePolicyMembersRespValidationError) Cause

Cause function returns cause value.

func (ReplacePolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (ReplacePolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (ReplacePolicyMembersRespValidationError) Field

Field function returns field value.

func (ReplacePolicyMembersRespValidationError) Key

Key function returns key value.

func (ReplacePolicyMembersRespValidationError) Reason

Reason function returns reason value.

type ResetToV1Req

type ResetToV1Req struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ResetToV1Req) Descriptor

func (*ResetToV1Req) Descriptor() ([]byte, []int)

func (*ResetToV1Req) ProtoMessage

func (*ResetToV1Req) ProtoMessage()

func (*ResetToV1Req) Reset

func (m *ResetToV1Req) Reset()

func (*ResetToV1Req) String

func (m *ResetToV1Req) String() string

func (*ResetToV1Req) Validate

func (m *ResetToV1Req) Validate() error

Validate checks the field values on ResetToV1Req with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ResetToV1Req) XXX_DiscardUnknown

func (m *ResetToV1Req) XXX_DiscardUnknown()

func (*ResetToV1Req) XXX_Marshal

func (m *ResetToV1Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetToV1Req) XXX_Merge

func (dst *ResetToV1Req) XXX_Merge(src proto.Message)

func (*ResetToV1Req) XXX_Size

func (m *ResetToV1Req) XXX_Size() int

func (*ResetToV1Req) XXX_Unmarshal

func (m *ResetToV1Req) XXX_Unmarshal(b []byte) error

type ResetToV1ReqValidationError

type ResetToV1ReqValidationError struct {
	// contains filtered or unexported fields
}

ResetToV1ReqValidationError is the validation error returned by ResetToV1Req.Validate if the designated constraints aren't met.

func (ResetToV1ReqValidationError) Cause

Cause function returns cause value.

func (ResetToV1ReqValidationError) Error

Error satisfies the builtin error interface

func (ResetToV1ReqValidationError) ErrorName

func (e ResetToV1ReqValidationError) ErrorName() string

ErrorName returns error name.

func (ResetToV1ReqValidationError) Field

Field function returns field value.

func (ResetToV1ReqValidationError) Key

Key function returns key value.

func (ResetToV1ReqValidationError) Reason

Reason function returns reason value.

type ResetToV1Resp

type ResetToV1Resp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ResetToV1Resp) Descriptor

func (*ResetToV1Resp) Descriptor() ([]byte, []int)

func (*ResetToV1Resp) ProtoMessage

func (*ResetToV1Resp) ProtoMessage()

func (*ResetToV1Resp) Reset

func (m *ResetToV1Resp) Reset()

func (*ResetToV1Resp) String

func (m *ResetToV1Resp) String() string

func (*ResetToV1Resp) Validate

func (m *ResetToV1Resp) Validate() error

Validate checks the field values on ResetToV1Resp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ResetToV1Resp) XXX_DiscardUnknown

func (m *ResetToV1Resp) XXX_DiscardUnknown()

func (*ResetToV1Resp) XXX_Marshal

func (m *ResetToV1Resp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetToV1Resp) XXX_Merge

func (dst *ResetToV1Resp) XXX_Merge(src proto.Message)

func (*ResetToV1Resp) XXX_Size

func (m *ResetToV1Resp) XXX_Size() int

func (*ResetToV1Resp) XXX_Unmarshal

func (m *ResetToV1Resp) XXX_Unmarshal(b []byte) error

type ResetToV1RespValidationError

type ResetToV1RespValidationError struct {
	// contains filtered or unexported fields
}

ResetToV1RespValidationError is the validation error returned by ResetToV1Resp.Validate if the designated constraints aren't met.

func (ResetToV1RespValidationError) Cause

Cause function returns cause value.

func (ResetToV1RespValidationError) Error

Error satisfies the builtin error interface

func (ResetToV1RespValidationError) ErrorName

func (e ResetToV1RespValidationError) ErrorName() string

ErrorName returns error name.

func (ResetToV1RespValidationError) Field

Field function returns field value.

func (ResetToV1RespValidationError) Key

Key function returns key value.

func (ResetToV1RespValidationError) Reason

Reason function returns reason value.

type Role

type Role struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Type                 Type     `` /* 154-byte string literal not displayed */
	Actions              []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"`
	Projects             []string `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Role) Descriptor

func (*Role) Descriptor() ([]byte, []int)

func (*Role) GetActions

func (m *Role) GetActions() []string

func (*Role) GetId

func (m *Role) GetId() string

func (*Role) GetName

func (m *Role) GetName() string

func (*Role) GetProjects

func (m *Role) GetProjects() []string

func (*Role) GetType

func (m *Role) GetType() Type

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) String

func (m *Role) String() string

func (*Role) Validate

func (m *Role) Validate() error

Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Role) XXX_DiscardUnknown

func (m *Role) XXX_DiscardUnknown()

func (*Role) XXX_Marshal

func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Role) XXX_Merge

func (dst *Role) XXX_Merge(src proto.Message)

func (*Role) XXX_Size

func (m *Role) XXX_Size() int

func (*Role) XXX_Unmarshal

func (m *Role) XXX_Unmarshal(b []byte) error

type RoleValidationError

type RoleValidationError struct {
	// contains filtered or unexported fields
}

RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.

func (RoleValidationError) Cause

func (e RoleValidationError) Cause() error

Cause function returns cause value.

func (RoleValidationError) Error

func (e RoleValidationError) Error() string

Error satisfies the builtin error interface

func (RoleValidationError) ErrorName

func (e RoleValidationError) ErrorName() string

ErrorName returns error name.

func (RoleValidationError) Field

func (e RoleValidationError) Field() string

Field function returns field value.

func (RoleValidationError) Key

func (e RoleValidationError) Key() bool

Key function returns key value.

func (RoleValidationError) Reason

func (e RoleValidationError) Reason() string

Reason function returns reason value.

type Statement

type Statement struct {
	Effect Statement_Effect `` /* 174-byte string literal not displayed */
	// inline definitions
	Resources []string `` /* 133-byte string literal not displayed */
	// this RE means:  * OR *:verb OR svc:type:verb OR svc:* OR svc:*:verb OR svc:type:*
	Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"`
	// references
	Role                 string   `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"`
	Projects             []string `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Statement) Descriptor

func (*Statement) Descriptor() ([]byte, []int)

func (*Statement) GetActions

func (m *Statement) GetActions() []string

func (*Statement) GetEffect

func (m *Statement) GetEffect() Statement_Effect

func (*Statement) GetProjects

func (m *Statement) GetProjects() []string

func (*Statement) GetResources

func (m *Statement) GetResources() []string

func (*Statement) GetRole

func (m *Statement) GetRole() string

func (*Statement) ProtoMessage

func (*Statement) ProtoMessage()

func (*Statement) Reset

func (m *Statement) Reset()

func (*Statement) String

func (m *Statement) String() string

func (*Statement) Validate

func (m *Statement) Validate() error

Validate checks the field values on Statement with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Statement) XXX_DiscardUnknown

func (m *Statement) XXX_DiscardUnknown()

func (*Statement) XXX_Marshal

func (m *Statement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Statement) XXX_Merge

func (dst *Statement) XXX_Merge(src proto.Message)

func (*Statement) XXX_Size

func (m *Statement) XXX_Size() int

func (*Statement) XXX_Unmarshal

func (m *Statement) XXX_Unmarshal(b []byte) error

type StatementValidationError

type StatementValidationError struct {
	// contains filtered or unexported fields
}

StatementValidationError is the validation error returned by Statement.Validate if the designated constraints aren't met.

func (StatementValidationError) Cause

func (e StatementValidationError) Cause() error

Cause function returns cause value.

func (StatementValidationError) Error

func (e StatementValidationError) Error() string

Error satisfies the builtin error interface

func (StatementValidationError) ErrorName

func (e StatementValidationError) ErrorName() string

ErrorName returns error name.

func (StatementValidationError) Field

func (e StatementValidationError) Field() string

Field function returns field value.

func (StatementValidationError) Key

Key function returns key value.

func (StatementValidationError) Reason

func (e StatementValidationError) Reason() string

Reason function returns reason value.

type Statement_Effect

type Statement_Effect int32
const (
	Statement_ALLOW Statement_Effect = 0
	Statement_DENY  Statement_Effect = 1
)

func (Statement_Effect) EnumDescriptor

func (Statement_Effect) EnumDescriptor() ([]byte, []int)

func (Statement_Effect) String

func (x Statement_Effect) String() string

type Type

type Type int32
const (
	Type_CHEF_MANAGED Type = 0
	Type_CUSTOM       Type = 1
)

func (Type) EnumDescriptor

func (Type) EnumDescriptor() ([]byte, []int)

func (Type) String

func (x Type) String() string

type UpdatePolicyReq

type UpdatePolicyReq struct {
	Id                   string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Members              []string     `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"`
	Statements           []*Statement `` /* 137-byte string literal not displayed */
	Name                 string       `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Projects             []string     `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte       `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32        `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

Note that update does not accept a type since users can only create custom type policies.

func (*UpdatePolicyReq) Descriptor

func (*UpdatePolicyReq) Descriptor() ([]byte, []int)

func (*UpdatePolicyReq) GetId

func (m *UpdatePolicyReq) GetId() string

func (*UpdatePolicyReq) GetMembers

func (m *UpdatePolicyReq) GetMembers() []string

func (*UpdatePolicyReq) GetName

func (m *UpdatePolicyReq) GetName() string

func (*UpdatePolicyReq) GetProjects

func (m *UpdatePolicyReq) GetProjects() []string

func (*UpdatePolicyReq) GetStatements

func (m *UpdatePolicyReq) GetStatements() []*Statement

func (*UpdatePolicyReq) ProtoMessage

func (*UpdatePolicyReq) ProtoMessage()

func (*UpdatePolicyReq) Reset

func (m *UpdatePolicyReq) Reset()

func (*UpdatePolicyReq) String

func (m *UpdatePolicyReq) String() string

func (*UpdatePolicyReq) Validate

func (m *UpdatePolicyReq) Validate() error

Validate checks the field values on UpdatePolicyReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdatePolicyReq) XXX_DiscardUnknown

func (m *UpdatePolicyReq) XXX_DiscardUnknown()

func (*UpdatePolicyReq) XXX_Marshal

func (m *UpdatePolicyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdatePolicyReq) XXX_Merge

func (dst *UpdatePolicyReq) XXX_Merge(src proto.Message)

func (*UpdatePolicyReq) XXX_Size

func (m *UpdatePolicyReq) XXX_Size() int

func (*UpdatePolicyReq) XXX_Unmarshal

func (m *UpdatePolicyReq) XXX_Unmarshal(b []byte) error

type UpdatePolicyReqValidationError

type UpdatePolicyReqValidationError struct {
	// contains filtered or unexported fields
}

UpdatePolicyReqValidationError is the validation error returned by UpdatePolicyReq.Validate if the designated constraints aren't met.

func (UpdatePolicyReqValidationError) Cause

Cause function returns cause value.

func (UpdatePolicyReqValidationError) Error

Error satisfies the builtin error interface

func (UpdatePolicyReqValidationError) ErrorName

func (e UpdatePolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (UpdatePolicyReqValidationError) Field

Field function returns field value.

func (UpdatePolicyReqValidationError) Key

Key function returns key value.

func (UpdatePolicyReqValidationError) Reason

Reason function returns reason value.

type UpdateProjectReq

type UpdateProjectReq struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*UpdateProjectReq) Descriptor

func (*UpdateProjectReq) Descriptor() ([]byte, []int)

func (*UpdateProjectReq) GetId

func (m *UpdateProjectReq) GetId() string

func (*UpdateProjectReq) GetName

func (m *UpdateProjectReq) GetName() string

func (*UpdateProjectReq) ProtoMessage

func (*UpdateProjectReq) ProtoMessage()

func (*UpdateProjectReq) Reset

func (m *UpdateProjectReq) Reset()

func (*UpdateProjectReq) String

func (m *UpdateProjectReq) String() string

func (*UpdateProjectReq) Validate

func (m *UpdateProjectReq) Validate() error

Validate checks the field values on UpdateProjectReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateProjectReq) XXX_DiscardUnknown

func (m *UpdateProjectReq) XXX_DiscardUnknown()

func (*UpdateProjectReq) XXX_Marshal

func (m *UpdateProjectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateProjectReq) XXX_Merge

func (dst *UpdateProjectReq) XXX_Merge(src proto.Message)

func (*UpdateProjectReq) XXX_Size

func (m *UpdateProjectReq) XXX_Size() int

func (*UpdateProjectReq) XXX_Unmarshal

func (m *UpdateProjectReq) XXX_Unmarshal(b []byte) error

type UpdateProjectReqValidationError

type UpdateProjectReqValidationError struct {
	// contains filtered or unexported fields
}

UpdateProjectReqValidationError is the validation error returned by UpdateProjectReq.Validate if the designated constraints aren't met.

func (UpdateProjectReqValidationError) Cause

Cause function returns cause value.

func (UpdateProjectReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateProjectReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateProjectReqValidationError) Field

Field function returns field value.

func (UpdateProjectReqValidationError) Key

Key function returns key value.

func (UpdateProjectReqValidationError) Reason

Reason function returns reason value.

type UpdateProjectResp

type UpdateProjectResp struct {
	Project              *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*UpdateProjectResp) Descriptor

func (*UpdateProjectResp) Descriptor() ([]byte, []int)

func (*UpdateProjectResp) GetProject

func (m *UpdateProjectResp) GetProject() *Project

func (*UpdateProjectResp) ProtoMessage

func (*UpdateProjectResp) ProtoMessage()

func (*UpdateProjectResp) Reset

func (m *UpdateProjectResp) Reset()

func (*UpdateProjectResp) String

func (m *UpdateProjectResp) String() string

func (*UpdateProjectResp) Validate

func (m *UpdateProjectResp) Validate() error

Validate checks the field values on UpdateProjectResp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateProjectResp) XXX_DiscardUnknown

func (m *UpdateProjectResp) XXX_DiscardUnknown()

func (*UpdateProjectResp) XXX_Marshal

func (m *UpdateProjectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateProjectResp) XXX_Merge

func (dst *UpdateProjectResp) XXX_Merge(src proto.Message)

func (*UpdateProjectResp) XXX_Size

func (m *UpdateProjectResp) XXX_Size() int

func (*UpdateProjectResp) XXX_Unmarshal

func (m *UpdateProjectResp) XXX_Unmarshal(b []byte) error

type UpdateProjectRespValidationError

type UpdateProjectRespValidationError struct {
	// contains filtered or unexported fields
}

UpdateProjectRespValidationError is the validation error returned by UpdateProjectResp.Validate if the designated constraints aren't met.

func (UpdateProjectRespValidationError) Cause

Cause function returns cause value.

func (UpdateProjectRespValidationError) Error

Error satisfies the builtin error interface

func (UpdateProjectRespValidationError) ErrorName

ErrorName returns error name.

func (UpdateProjectRespValidationError) Field

Field function returns field value.

func (UpdateProjectRespValidationError) Key

Key function returns key value.

func (UpdateProjectRespValidationError) Reason

Reason function returns reason value.

type UpdateRoleReq

type UpdateRoleReq struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	Actions              []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"`
	Projects             []string `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*UpdateRoleReq) Descriptor

func (*UpdateRoleReq) Descriptor() ([]byte, []int)

func (*UpdateRoleReq) GetActions

func (m *UpdateRoleReq) GetActions() []string

func (*UpdateRoleReq) GetId

func (m *UpdateRoleReq) GetId() string

func (*UpdateRoleReq) GetName

func (m *UpdateRoleReq) GetName() string

func (*UpdateRoleReq) GetProjects

func (m *UpdateRoleReq) GetProjects() []string

func (*UpdateRoleReq) ProtoMessage

func (*UpdateRoleReq) ProtoMessage()

func (*UpdateRoleReq) Reset

func (m *UpdateRoleReq) Reset()

func (*UpdateRoleReq) String

func (m *UpdateRoleReq) String() string

func (*UpdateRoleReq) Validate

func (m *UpdateRoleReq) Validate() error

Validate checks the field values on UpdateRoleReq with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateRoleReq) XXX_DiscardUnknown

func (m *UpdateRoleReq) XXX_DiscardUnknown()

func (*UpdateRoleReq) XXX_Marshal

func (m *UpdateRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRoleReq) XXX_Merge

func (dst *UpdateRoleReq) XXX_Merge(src proto.Message)

func (*UpdateRoleReq) XXX_Size

func (m *UpdateRoleReq) XXX_Size() int

func (*UpdateRoleReq) XXX_Unmarshal

func (m *UpdateRoleReq) XXX_Unmarshal(b []byte) error

type UpdateRoleReqValidationError

type UpdateRoleReqValidationError struct {
	// contains filtered or unexported fields
}

UpdateRoleReqValidationError is the validation error returned by UpdateRoleReq.Validate if the designated constraints aren't met.

func (UpdateRoleReqValidationError) Cause

Cause function returns cause value.

func (UpdateRoleReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleReqValidationError) ErrorName

func (e UpdateRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRoleReqValidationError) Field

Field function returns field value.

func (UpdateRoleReqValidationError) Key

Key function returns key value.

func (UpdateRoleReqValidationError) Reason

Reason function returns reason value.

type Version

type Version struct {
	Major                Version_VersionNumber `` /* 175-byte string literal not displayed */
	Minor                Version_VersionNumber `` /* 175-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

the only values that may be returned by GetPolicyVersion

func (*Version) Descriptor

func (*Version) Descriptor() ([]byte, []int)

func (*Version) GetMajor

func (m *Version) GetMajor() Version_VersionNumber

func (*Version) GetMinor

func (m *Version) GetMinor() Version_VersionNumber

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) String

func (m *Version) String() string

func (*Version) Validate

func (m *Version) Validate() error

Validate checks the field values on Version with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Version) XXX_DiscardUnknown

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal

func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Version) XXX_Merge

func (dst *Version) XXX_Merge(src proto.Message)

func (*Version) XXX_Size

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal

func (m *Version) XXX_Unmarshal(b []byte) error

type VersionValidationError

type VersionValidationError struct {
	// contains filtered or unexported fields
}

VersionValidationError is the validation error returned by Version.Validate if the designated constraints aren't met.

func (VersionValidationError) Cause

func (e VersionValidationError) Cause() error

Cause function returns cause value.

func (VersionValidationError) Error

func (e VersionValidationError) Error() string

Error satisfies the builtin error interface

func (VersionValidationError) ErrorName

func (e VersionValidationError) ErrorName() string

ErrorName returns error name.

func (VersionValidationError) Field

func (e VersionValidationError) Field() string

Field function returns field value.

func (VersionValidationError) Key

func (e VersionValidationError) Key() bool

Key function returns key value.

func (VersionValidationError) Reason

func (e VersionValidationError) Reason() string

Reason function returns reason value.

type Version_VersionNumber

type Version_VersionNumber int32
const (
	Version_V0 Version_VersionNumber = 0
	Version_V1 Version_VersionNumber = 1
	Version_V2 Version_VersionNumber = 2
)

func (Version_VersionNumber) EnumDescriptor

func (Version_VersionNumber) EnumDescriptor() ([]byte, []int)

func (Version_VersionNumber) String

func (x Version_VersionNumber) String() string

Jump to

Keyboard shortcuts

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