contracts

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_contracts_authz_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdapterConfig

type AdapterConfig struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Path        string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Driver      string `protobuf:"bytes,3,opt,name=driver,proto3" json:"driver,omitempty"`
	Dsn         string `protobuf:"bytes,4,opt,name=dsn,proto3" json:"dsn,omitempty"`
	TableName   string `protobuf:"bytes,5,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	Tenant      string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"`
	FilterField string `protobuf:"bytes,7,opt,name=filter_field,json=filterField,proto3" json:"filter_field,omitempty"`
	FilterValue string `protobuf:"bytes,8,opt,name=filter_value,json=filterValue,proto3" json:"filter_value,omitempty"`
	// contains filtered or unexported fields
}

func (*AdapterConfig) Descriptor deprecated

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

Deprecated: Use AdapterConfig.ProtoReflect.Descriptor instead.

func (*AdapterConfig) GetDriver

func (x *AdapterConfig) GetDriver() string

func (*AdapterConfig) GetDsn

func (x *AdapterConfig) GetDsn() string

func (*AdapterConfig) GetFilterField

func (x *AdapterConfig) GetFilterField() string

func (*AdapterConfig) GetFilterValue

func (x *AdapterConfig) GetFilterValue() string

func (*AdapterConfig) GetPath

func (x *AdapterConfig) GetPath() string

func (*AdapterConfig) GetTableName

func (x *AdapterConfig) GetTableName() string

func (*AdapterConfig) GetTenant

func (x *AdapterConfig) GetTenant() string

func (*AdapterConfig) GetType

func (x *AdapterConfig) GetType() string

func (*AdapterConfig) ProtoMessage

func (*AdapterConfig) ProtoMessage()

func (*AdapterConfig) ProtoReflect

func (x *AdapterConfig) ProtoReflect() protoreflect.Message

func (*AdapterConfig) Reset

func (x *AdapterConfig) Reset()

func (*AdapterConfig) String

func (x *AdapterConfig) String() string

type AuthzCheckConfig

type AuthzCheckConfig struct {
	Module      string        `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	SubjectKey  string        `protobuf:"bytes,2,opt,name=subject_key,json=subjectKey,proto3" json:"subject_key,omitempty"`
	Object      string        `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Action      string        `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	Audit       bool          `protobuf:"varint,5,opt,name=audit,proto3" json:"audit,omitempty"`
	ExtraFields []*ExtraField `protobuf:"bytes,6,rep,name=extra_fields,json=extraFields,proto3" json:"extra_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthzCheckConfig) Descriptor deprecated

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

Deprecated: Use AuthzCheckConfig.ProtoReflect.Descriptor instead.

func (*AuthzCheckConfig) GetAction

func (x *AuthzCheckConfig) GetAction() string

func (*AuthzCheckConfig) GetAudit

func (x *AuthzCheckConfig) GetAudit() bool

func (*AuthzCheckConfig) GetExtraFields

func (x *AuthzCheckConfig) GetExtraFields() []*ExtraField

func (*AuthzCheckConfig) GetModule

func (x *AuthzCheckConfig) GetModule() string

func (*AuthzCheckConfig) GetObject

func (x *AuthzCheckConfig) GetObject() string

func (*AuthzCheckConfig) GetSubjectKey

func (x *AuthzCheckConfig) GetSubjectKey() string

func (*AuthzCheckConfig) ProtoMessage

func (*AuthzCheckConfig) ProtoMessage()

func (*AuthzCheckConfig) ProtoReflect

func (x *AuthzCheckConfig) ProtoReflect() protoreflect.Message

func (*AuthzCheckConfig) Reset

func (x *AuthzCheckConfig) Reset()

func (*AuthzCheckConfig) String

func (x *AuthzCheckConfig) String() string

type AuthzCheckInput

type AuthzCheckInput struct {
	Module      string        `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	SubjectKey  string        `protobuf:"bytes,2,opt,name=subject_key,json=subjectKey,proto3" json:"subject_key,omitempty"`
	Subject     string        `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Object      string        `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	Action      string        `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	ExtraFields []*ExtraField `protobuf:"bytes,6,rep,name=extra_fields,json=extraFields,proto3" json:"extra_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthzCheckInput) Descriptor deprecated

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

Deprecated: Use AuthzCheckInput.ProtoReflect.Descriptor instead.

func (*AuthzCheckInput) GetAction

func (x *AuthzCheckInput) GetAction() string

func (*AuthzCheckInput) GetExtraFields

func (x *AuthzCheckInput) GetExtraFields() []*ExtraField

func (*AuthzCheckInput) GetModule

func (x *AuthzCheckInput) GetModule() string

func (*AuthzCheckInput) GetObject

func (x *AuthzCheckInput) GetObject() string

func (*AuthzCheckInput) GetSubject

func (x *AuthzCheckInput) GetSubject() string

func (*AuthzCheckInput) GetSubjectKey

func (x *AuthzCheckInput) GetSubjectKey() string

func (*AuthzCheckInput) ProtoMessage

func (*AuthzCheckInput) ProtoMessage()

func (*AuthzCheckInput) ProtoReflect

func (x *AuthzCheckInput) ProtoReflect() protoreflect.Message

func (*AuthzCheckInput) Reset

func (x *AuthzCheckInput) Reset()

func (*AuthzCheckInput) String

func (x *AuthzCheckInput) String() string

type AuthzCheckOutput

type AuthzCheckOutput struct {
	Subject         string           `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Object          string           `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Action          string           `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	Allowed         bool             `protobuf:"varint,4,opt,name=allowed,proto3" json:"allowed,omitempty"`
	ResponseStatus  int32            `protobuf:"varint,5,opt,name=response_status,json=responseStatus,proto3" json:"response_status,omitempty"`
	ResponseBody    string           `protobuf:"bytes,6,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"`
	ResponseHeaders *structpb.Struct `protobuf:"bytes,7,opt,name=response_headers,json=responseHeaders,proto3" json:"response_headers,omitempty"`
	Error           string           `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthzCheckOutput) Descriptor deprecated

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

Deprecated: Use AuthzCheckOutput.ProtoReflect.Descriptor instead.

func (*AuthzCheckOutput) GetAction

func (x *AuthzCheckOutput) GetAction() string

func (*AuthzCheckOutput) GetAllowed

func (x *AuthzCheckOutput) GetAllowed() bool

func (*AuthzCheckOutput) GetError

func (x *AuthzCheckOutput) GetError() string

func (*AuthzCheckOutput) GetObject

func (x *AuthzCheckOutput) GetObject() string

func (*AuthzCheckOutput) GetResponseBody

func (x *AuthzCheckOutput) GetResponseBody() string

func (*AuthzCheckOutput) GetResponseHeaders

func (x *AuthzCheckOutput) GetResponseHeaders() *structpb.Struct

func (*AuthzCheckOutput) GetResponseStatus

func (x *AuthzCheckOutput) GetResponseStatus() int32

func (*AuthzCheckOutput) GetSubject

func (x *AuthzCheckOutput) GetSubject() string

func (*AuthzCheckOutput) ProtoMessage

func (*AuthzCheckOutput) ProtoMessage()

func (*AuthzCheckOutput) ProtoReflect

func (x *AuthzCheckOutput) ProtoReflect() protoreflect.Message

func (*AuthzCheckOutput) Reset

func (x *AuthzCheckOutput) Reset()

func (*AuthzCheckOutput) String

func (x *AuthzCheckOutput) String() string

type CapabilitiesConfig

type CapabilitiesConfig struct {
	Module   string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CapabilitiesConfig) Descriptor deprecated

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

Deprecated: Use CapabilitiesConfig.ProtoReflect.Descriptor instead.

func (*CapabilitiesConfig) GetModule

func (x *CapabilitiesConfig) GetModule() string

func (*CapabilitiesConfig) GetProvider

func (x *CapabilitiesConfig) GetProvider() string

func (*CapabilitiesConfig) ProtoMessage

func (*CapabilitiesConfig) ProtoMessage()

func (*CapabilitiesConfig) ProtoReflect

func (x *CapabilitiesConfig) ProtoReflect() protoreflect.Message

func (*CapabilitiesConfig) Reset

func (x *CapabilitiesConfig) Reset()

func (*CapabilitiesConfig) String

func (x *CapabilitiesConfig) String() string

type CapabilitiesInput

type CapabilitiesInput struct {
	Module   string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CapabilitiesInput) Descriptor deprecated

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

Deprecated: Use CapabilitiesInput.ProtoReflect.Descriptor instead.

func (*CapabilitiesInput) GetModule

func (x *CapabilitiesInput) GetModule() string

func (*CapabilitiesInput) GetProvider

func (x *CapabilitiesInput) GetProvider() string

func (*CapabilitiesInput) ProtoMessage

func (*CapabilitiesInput) ProtoMessage()

func (*CapabilitiesInput) ProtoReflect

func (x *CapabilitiesInput) ProtoReflect() protoreflect.Message

func (*CapabilitiesInput) Reset

func (x *CapabilitiesInput) Reset()

func (*CapabilitiesInput) String

func (x *CapabilitiesInput) String() string

type CapabilitiesOutput

type CapabilitiesOutput struct {
	Module       string   `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Provider     string   `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	Error        string   `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CapabilitiesOutput) Descriptor deprecated

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

Deprecated: Use CapabilitiesOutput.ProtoReflect.Descriptor instead.

func (*CapabilitiesOutput) GetCapabilities

func (x *CapabilitiesOutput) GetCapabilities() []string

func (*CapabilitiesOutput) GetError

func (x *CapabilitiesOutput) GetError() string

func (*CapabilitiesOutput) GetModule

func (x *CapabilitiesOutput) GetModule() string

func (*CapabilitiesOutput) GetProvider

func (x *CapabilitiesOutput) GetProvider() string

func (*CapabilitiesOutput) ProtoMessage

func (*CapabilitiesOutput) ProtoMessage()

func (*CapabilitiesOutput) ProtoReflect

func (x *CapabilitiesOutput) ProtoReflect() protoreflect.Message

func (*CapabilitiesOutput) Reset

func (x *CapabilitiesOutput) Reset()

func (*CapabilitiesOutput) String

func (x *CapabilitiesOutput) String() string

type CasbinModuleConfig

type CasbinModuleConfig struct {
	Model           string         `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	Policies        []*StringList  `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"`
	RoleAssignments []*StringList  `protobuf:"bytes,3,rep,name=role_assignments,json=roleAssignments,proto3" json:"role_assignments,omitempty"`
	Adapter         *AdapterConfig `protobuf:"bytes,4,opt,name=adapter,proto3" json:"adapter,omitempty"`
	Watcher         *WatcherConfig `protobuf:"bytes,5,opt,name=watcher,proto3" json:"watcher,omitempty"`
	// contains filtered or unexported fields
}

func (*CasbinModuleConfig) Descriptor deprecated

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

Deprecated: Use CasbinModuleConfig.ProtoReflect.Descriptor instead.

func (*CasbinModuleConfig) GetAdapter

func (x *CasbinModuleConfig) GetAdapter() *AdapterConfig

func (*CasbinModuleConfig) GetModel

func (x *CasbinModuleConfig) GetModel() string

func (*CasbinModuleConfig) GetPolicies

func (x *CasbinModuleConfig) GetPolicies() []*StringList

func (*CasbinModuleConfig) GetRoleAssignments

func (x *CasbinModuleConfig) GetRoleAssignments() []*StringList

func (*CasbinModuleConfig) GetWatcher

func (x *CasbinModuleConfig) GetWatcher() *WatcherConfig

func (*CasbinModuleConfig) ProtoMessage

func (*CasbinModuleConfig) ProtoMessage()

func (*CasbinModuleConfig) ProtoReflect

func (x *CasbinModuleConfig) ProtoReflect() protoreflect.Message

func (*CasbinModuleConfig) Reset

func (x *CasbinModuleConfig) Reset()

func (*CasbinModuleConfig) String

func (x *CasbinModuleConfig) String() string

type ExtraField

type ExtraField struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtraField) Descriptor deprecated

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

Deprecated: Use ExtraField.ProtoReflect.Descriptor instead.

func (*ExtraField) GetKey

func (x *ExtraField) GetKey() string

func (*ExtraField) GetValue

func (x *ExtraField) GetValue() string

func (*ExtraField) ProtoMessage

func (*ExtraField) ProtoMessage()

func (*ExtraField) ProtoReflect

func (x *ExtraField) ProtoReflect() protoreflect.Message

func (*ExtraField) Reset

func (x *ExtraField) Reset()

func (*ExtraField) String

func (x *ExtraField) String() string

type GenericStepOutput

type GenericStepOutput struct {
	Output *structpb.Struct `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	Error  string           `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericStepOutput) Descriptor deprecated

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

Deprecated: Use GenericStepOutput.ProtoReflect.Descriptor instead.

func (*GenericStepOutput) GetError

func (x *GenericStepOutput) GetError() string

func (*GenericStepOutput) GetOutput

func (x *GenericStepOutput) GetOutput() *structpb.Struct

func (*GenericStepOutput) ProtoMessage

func (*GenericStepOutput) ProtoMessage()

func (*GenericStepOutput) ProtoReflect

func (x *GenericStepOutput) ProtoReflect() protoreflect.Message

func (*GenericStepOutput) Reset

func (x *GenericStepOutput) Reset()

func (*GenericStepOutput) String

func (x *GenericStepOutput) String() string

type ListConfig

type ListConfig struct {
	Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	Value  string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConfig) Descriptor deprecated

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

Deprecated: Use ListConfig.ProtoReflect.Descriptor instead.

func (*ListConfig) GetFilter

func (x *ListConfig) GetFilter() string

func (*ListConfig) GetModule

func (x *ListConfig) GetModule() string

func (*ListConfig) GetValue

func (x *ListConfig) GetValue() string

func (*ListConfig) ProtoMessage

func (*ListConfig) ProtoMessage()

func (*ListConfig) ProtoReflect

func (x *ListConfig) ProtoReflect() protoreflect.Message

func (*ListConfig) Reset

func (x *ListConfig) Reset()

func (*ListConfig) String

func (x *ListConfig) String() string

type ListInput

type ListInput struct {
	Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	Value  string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInput) Descriptor deprecated

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

Deprecated: Use ListInput.ProtoReflect.Descriptor instead.

func (*ListInput) GetFilter

func (x *ListInput) GetFilter() string

func (*ListInput) GetModule

func (x *ListInput) GetModule() string

func (*ListInput) GetValue

func (x *ListInput) GetValue() string

func (*ListInput) ProtoMessage

func (*ListInput) ProtoMessage()

func (*ListInput) ProtoReflect

func (x *ListInput) ProtoReflect() protoreflect.Message

func (*ListInput) Reset

func (x *ListInput) Reset()

func (*ListInput) String

func (x *ListInput) String() string

type PermitModuleConfig

type PermitModuleConfig struct {
	ApiKey      string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	PdpUrl      string `protobuf:"bytes,2,opt,name=pdp_url,json=pdpUrl,proto3" json:"pdp_url,omitempty"`
	ApiUrl      string `protobuf:"bytes,3,opt,name=api_url,json=apiUrl,proto3" json:"api_url,omitempty"`
	Project     string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	Environment string `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*PermitModuleConfig) Descriptor deprecated

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

Deprecated: Use PermitModuleConfig.ProtoReflect.Descriptor instead.

func (*PermitModuleConfig) GetApiKey

func (x *PermitModuleConfig) GetApiKey() string

func (*PermitModuleConfig) GetApiUrl

func (x *PermitModuleConfig) GetApiUrl() string

func (*PermitModuleConfig) GetEnvironment

func (x *PermitModuleConfig) GetEnvironment() string

func (*PermitModuleConfig) GetPdpUrl

func (x *PermitModuleConfig) GetPdpUrl() string

func (*PermitModuleConfig) GetProject

func (x *PermitModuleConfig) GetProject() string

func (*PermitModuleConfig) ProtoMessage

func (*PermitModuleConfig) ProtoMessage()

func (*PermitModuleConfig) ProtoReflect

func (x *PermitModuleConfig) ProtoReflect() protoreflect.Message

func (*PermitModuleConfig) Reset

func (x *PermitModuleConfig) Reset()

func (*PermitModuleConfig) String

func (x *PermitModuleConfig) String() string

type PermitStepConfig

type PermitStepConfig struct {
	Module string           `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Values *structpb.Struct `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*PermitStepConfig) Descriptor deprecated

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

Deprecated: Use PermitStepConfig.ProtoReflect.Descriptor instead.

func (*PermitStepConfig) GetModule

func (x *PermitStepConfig) GetModule() string

func (*PermitStepConfig) GetValues

func (x *PermitStepConfig) GetValues() *structpb.Struct

func (*PermitStepConfig) ProtoMessage

func (*PermitStepConfig) ProtoMessage()

func (*PermitStepConfig) ProtoReflect

func (x *PermitStepConfig) ProtoReflect() protoreflect.Message

func (*PermitStepConfig) Reset

func (x *PermitStepConfig) Reset()

func (*PermitStepConfig) String

func (x *PermitStepConfig) String() string

type PermitStepInput

type PermitStepInput struct {
	Module string           `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Values *structpb.Struct `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*PermitStepInput) Descriptor deprecated

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

Deprecated: Use PermitStepInput.ProtoReflect.Descriptor instead.

func (*PermitStepInput) GetModule

func (x *PermitStepInput) GetModule() string

func (*PermitStepInput) GetValues

func (x *PermitStepInput) GetValues() *structpb.Struct

func (*PermitStepInput) ProtoMessage

func (*PermitStepInput) ProtoMessage()

func (*PermitStepInput) ProtoReflect

func (x *PermitStepInput) ProtoReflect() protoreflect.Message

func (*PermitStepInput) Reset

func (x *PermitStepInput) Reset()

func (*PermitStepInput) String

func (x *PermitStepInput) String() string

type PolicyRuleConfig

type PolicyRuleConfig struct {
	Module string   `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Rule   []string `protobuf:"bytes,2,rep,name=rule,proto3" json:"rule,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyRuleConfig) Descriptor deprecated

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

Deprecated: Use PolicyRuleConfig.ProtoReflect.Descriptor instead.

func (*PolicyRuleConfig) GetModule

func (x *PolicyRuleConfig) GetModule() string

func (*PolicyRuleConfig) GetRule

func (x *PolicyRuleConfig) GetRule() []string

func (*PolicyRuleConfig) ProtoMessage

func (*PolicyRuleConfig) ProtoMessage()

func (*PolicyRuleConfig) ProtoReflect

func (x *PolicyRuleConfig) ProtoReflect() protoreflect.Message

func (*PolicyRuleConfig) Reset

func (x *PolicyRuleConfig) Reset()

func (*PolicyRuleConfig) String

func (x *PolicyRuleConfig) String() string

type PolicyRuleInput

type PolicyRuleInput struct {
	Module string   `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Rule   []string `protobuf:"bytes,2,rep,name=rule,proto3" json:"rule,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyRuleInput) Descriptor deprecated

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

Deprecated: Use PolicyRuleInput.ProtoReflect.Descriptor instead.

func (*PolicyRuleInput) GetModule

func (x *PolicyRuleInput) GetModule() string

func (*PolicyRuleInput) GetRule

func (x *PolicyRuleInput) GetRule() []string

func (*PolicyRuleInput) ProtoMessage

func (*PolicyRuleInput) ProtoMessage()

func (*PolicyRuleInput) ProtoReflect

func (x *PolicyRuleInput) ProtoReflect() protoreflect.Message

func (*PolicyRuleInput) Reset

func (x *PolicyRuleInput) Reset()

func (*PolicyRuleInput) String

func (x *PolicyRuleInput) String() string

type PolicyRuleOutput

type PolicyRuleOutput struct {
	Changed bool     `protobuf:"varint,1,opt,name=changed,proto3" json:"changed,omitempty"`
	Rule    []string `protobuf:"bytes,2,rep,name=rule,proto3" json:"rule,omitempty"`
	Error   string   `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyRuleOutput) Descriptor deprecated

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

Deprecated: Use PolicyRuleOutput.ProtoReflect.Descriptor instead.

func (*PolicyRuleOutput) GetChanged

func (x *PolicyRuleOutput) GetChanged() bool

func (*PolicyRuleOutput) GetError

func (x *PolicyRuleOutput) GetError() string

func (*PolicyRuleOutput) GetRule

func (x *PolicyRuleOutput) GetRule() []string

func (*PolicyRuleOutput) ProtoMessage

func (*PolicyRuleOutput) ProtoMessage()

func (*PolicyRuleOutput) ProtoReflect

func (x *PolicyRuleOutput) ProtoReflect() protoreflect.Message

func (*PolicyRuleOutput) Reset

func (x *PolicyRuleOutput) Reset()

func (*PolicyRuleOutput) String

func (x *PolicyRuleOutput) String() string

type RelationConfig

type RelationConfig struct {
	Module   string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Subject  string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	Object   string `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationConfig) Descriptor deprecated

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

Deprecated: Use RelationConfig.ProtoReflect.Descriptor instead.

func (*RelationConfig) GetModule

func (x *RelationConfig) GetModule() string

func (*RelationConfig) GetObject

func (x *RelationConfig) GetObject() string

func (*RelationConfig) GetRelation

func (x *RelationConfig) GetRelation() string

func (*RelationConfig) GetSubject

func (x *RelationConfig) GetSubject() string

func (*RelationConfig) ProtoMessage

func (*RelationConfig) ProtoMessage()

func (*RelationConfig) ProtoReflect

func (x *RelationConfig) ProtoReflect() protoreflect.Message

func (*RelationConfig) Reset

func (x *RelationConfig) Reset()

func (*RelationConfig) String

func (x *RelationConfig) String() string

type RelationInput

type RelationInput struct {
	Module   string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Subject  string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	Object   string `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationInput) Descriptor deprecated

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

Deprecated: Use RelationInput.ProtoReflect.Descriptor instead.

func (*RelationInput) GetModule

func (x *RelationInput) GetModule() string

func (*RelationInput) GetObject

func (x *RelationInput) GetObject() string

func (*RelationInput) GetRelation

func (x *RelationInput) GetRelation() string

func (*RelationInput) GetSubject

func (x *RelationInput) GetSubject() string

func (*RelationInput) ProtoMessage

func (*RelationInput) ProtoMessage()

func (*RelationInput) ProtoReflect

func (x *RelationInput) ProtoReflect() protoreflect.Message

func (*RelationInput) Reset

func (x *RelationInput) Reset()

func (*RelationInput) String

func (x *RelationInput) String() string

type RelationOutput

type RelationOutput struct {
	Changed  bool   `protobuf:"varint,1,opt,name=changed,proto3" json:"changed,omitempty"`
	Subject  string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	Object   string `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	Error    string `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationOutput) Descriptor deprecated

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

Deprecated: Use RelationOutput.ProtoReflect.Descriptor instead.

func (*RelationOutput) GetChanged

func (x *RelationOutput) GetChanged() bool

func (*RelationOutput) GetError

func (x *RelationOutput) GetError() string

func (*RelationOutput) GetObject

func (x *RelationOutput) GetObject() string

func (*RelationOutput) GetRelation

func (x *RelationOutput) GetRelation() string

func (*RelationOutput) GetSubject

func (x *RelationOutput) GetSubject() string

func (*RelationOutput) ProtoMessage

func (*RelationOutput) ProtoMessage()

func (*RelationOutput) ProtoReflect

func (x *RelationOutput) ProtoReflect() protoreflect.Message

func (*RelationOutput) Reset

func (x *RelationOutput) Reset()

func (*RelationOutput) String

func (x *RelationOutput) String() string

type RoleAssignConfig

type RoleAssignConfig struct {
	Module      string        `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Action      string        `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Assignments []*StringList `protobuf:"bytes,3,rep,name=assignments,proto3" json:"assignments,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleAssignConfig) Descriptor deprecated

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

Deprecated: Use RoleAssignConfig.ProtoReflect.Descriptor instead.

func (*RoleAssignConfig) GetAction

func (x *RoleAssignConfig) GetAction() string

func (*RoleAssignConfig) GetAssignments

func (x *RoleAssignConfig) GetAssignments() []*StringList

func (*RoleAssignConfig) GetModule

func (x *RoleAssignConfig) GetModule() string

func (*RoleAssignConfig) ProtoMessage

func (*RoleAssignConfig) ProtoMessage()

func (*RoleAssignConfig) ProtoReflect

func (x *RoleAssignConfig) ProtoReflect() protoreflect.Message

func (*RoleAssignConfig) Reset

func (x *RoleAssignConfig) Reset()

func (*RoleAssignConfig) String

func (x *RoleAssignConfig) String() string

type RoleAssignInput

type RoleAssignInput struct {
	Module      string        `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Action      string        `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Assignments []*StringList `protobuf:"bytes,3,rep,name=assignments,proto3" json:"assignments,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleAssignInput) Descriptor deprecated

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

Deprecated: Use RoleAssignInput.ProtoReflect.Descriptor instead.

func (*RoleAssignInput) GetAction

func (x *RoleAssignInput) GetAction() string

func (*RoleAssignInput) GetAssignments

func (x *RoleAssignInput) GetAssignments() []*StringList

func (*RoleAssignInput) GetModule

func (x *RoleAssignInput) GetModule() string

func (*RoleAssignInput) ProtoMessage

func (*RoleAssignInput) ProtoMessage()

func (*RoleAssignInput) ProtoReflect

func (x *RoleAssignInput) ProtoReflect() protoreflect.Message

func (*RoleAssignInput) Reset

func (x *RoleAssignInput) Reset()

func (*RoleAssignInput) String

func (x *RoleAssignInput) String() string

type RoleAssignOutput

type RoleAssignOutput struct {
	Action      string        `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Assignments []*StringList `protobuf:"bytes,2,rep,name=assignments,proto3" json:"assignments,omitempty"`
	Error       string        `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleAssignOutput) Descriptor deprecated

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

Deprecated: Use RoleAssignOutput.ProtoReflect.Descriptor instead.

func (*RoleAssignOutput) GetAction

func (x *RoleAssignOutput) GetAction() string

func (*RoleAssignOutput) GetAssignments

func (x *RoleAssignOutput) GetAssignments() []*StringList

func (*RoleAssignOutput) GetError

func (x *RoleAssignOutput) GetError() string

func (*RoleAssignOutput) ProtoMessage

func (*RoleAssignOutput) ProtoMessage()

func (*RoleAssignOutput) ProtoReflect

func (x *RoleAssignOutput) ProtoReflect() protoreflect.Message

func (*RoleAssignOutput) Reset

func (x *RoleAssignOutput) Reset()

func (*RoleAssignOutput) String

func (x *RoleAssignOutput) String() string

type StringList

type StringList struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

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

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetValues

func (x *StringList) GetValues() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

func (x *StringList) ProtoReflect() protoreflect.Message

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

type SubjectObjectActionConfig

type SubjectObjectActionConfig struct {
	Module  string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Object  string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Action  string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*SubjectObjectActionConfig) Descriptor deprecated

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

Deprecated: Use SubjectObjectActionConfig.ProtoReflect.Descriptor instead.

func (*SubjectObjectActionConfig) GetAction

func (x *SubjectObjectActionConfig) GetAction() string

func (*SubjectObjectActionConfig) GetModule

func (x *SubjectObjectActionConfig) GetModule() string

func (*SubjectObjectActionConfig) GetObject

func (x *SubjectObjectActionConfig) GetObject() string

func (*SubjectObjectActionConfig) GetSubject

func (x *SubjectObjectActionConfig) GetSubject() string

func (*SubjectObjectActionConfig) ProtoMessage

func (*SubjectObjectActionConfig) ProtoMessage()

func (*SubjectObjectActionConfig) ProtoReflect

func (*SubjectObjectActionConfig) Reset

func (x *SubjectObjectActionConfig) Reset()

func (*SubjectObjectActionConfig) String

func (x *SubjectObjectActionConfig) String() string

type SubjectObjectActionInput

type SubjectObjectActionInput struct {
	Module  string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Object  string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Action  string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*SubjectObjectActionInput) Descriptor deprecated

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

Deprecated: Use SubjectObjectActionInput.ProtoReflect.Descriptor instead.

func (*SubjectObjectActionInput) GetAction

func (x *SubjectObjectActionInput) GetAction() string

func (*SubjectObjectActionInput) GetModule

func (x *SubjectObjectActionInput) GetModule() string

func (*SubjectObjectActionInput) GetObject

func (x *SubjectObjectActionInput) GetObject() string

func (*SubjectObjectActionInput) GetSubject

func (x *SubjectObjectActionInput) GetSubject() string

func (*SubjectObjectActionInput) ProtoMessage

func (*SubjectObjectActionInput) ProtoMessage()

func (*SubjectObjectActionInput) ProtoReflect

func (x *SubjectObjectActionInput) ProtoReflect() protoreflect.Message

func (*SubjectObjectActionInput) Reset

func (x *SubjectObjectActionInput) Reset()

func (*SubjectObjectActionInput) String

func (x *SubjectObjectActionInput) String() string

type SubjectObjectActionOutput

type SubjectObjectActionOutput struct {
	Allowed bool   `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
	Changed bool   `protobuf:"varint,2,opt,name=changed,proto3" json:"changed,omitempty"`
	Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Object  string `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	Action  string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	Error   string `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SubjectObjectActionOutput) Descriptor deprecated

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

Deprecated: Use SubjectObjectActionOutput.ProtoReflect.Descriptor instead.

func (*SubjectObjectActionOutput) GetAction

func (x *SubjectObjectActionOutput) GetAction() string

func (*SubjectObjectActionOutput) GetAllowed

func (x *SubjectObjectActionOutput) GetAllowed() bool

func (*SubjectObjectActionOutput) GetChanged

func (x *SubjectObjectActionOutput) GetChanged() bool

func (*SubjectObjectActionOutput) GetError

func (x *SubjectObjectActionOutput) GetError() string

func (*SubjectObjectActionOutput) GetObject

func (x *SubjectObjectActionOutput) GetObject() string

func (*SubjectObjectActionOutput) GetSubject

func (x *SubjectObjectActionOutput) GetSubject() string

func (*SubjectObjectActionOutput) ProtoMessage

func (*SubjectObjectActionOutput) ProtoMessage()

func (*SubjectObjectActionOutput) ProtoReflect

func (*SubjectObjectActionOutput) Reset

func (x *SubjectObjectActionOutput) Reset()

func (*SubjectObjectActionOutput) String

func (x *SubjectObjectActionOutput) String() string

type WatcherConfig

type WatcherConfig struct {
	Type     string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Interval string `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*WatcherConfig) Descriptor deprecated

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

Deprecated: Use WatcherConfig.ProtoReflect.Descriptor instead.

func (*WatcherConfig) GetInterval

func (x *WatcherConfig) GetInterval() string

func (*WatcherConfig) GetType

func (x *WatcherConfig) GetType() string

func (*WatcherConfig) ProtoMessage

func (*WatcherConfig) ProtoMessage()

func (*WatcherConfig) ProtoReflect

func (x *WatcherConfig) ProtoReflect() protoreflect.Message

func (*WatcherConfig) Reset

func (x *WatcherConfig) Reset()

func (*WatcherConfig) String

func (x *WatcherConfig) String() string

Jump to

Keyboard shortcuts

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