Documentation ¶
Overview ¶
Package config is a generated protocol buffer package.
The `rbac` adapter is deprecated by native RBAC implemented in Envoy proxy. See https://istio.io/docs/concepts/security/#enabling-authorization for enabling the native RBAC with your existing service role and service role binding.
It is generated from these files:
mixer/adapter/rbac/config/config.proto
It has these top-level messages:
Params
Index ¶
- Variables
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (this *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { // URL for the config store. It is used to initiate a new Store instance. // Following are some examples of the config store URL: // * "k8s://" // * "fs:///tmp/testdata/configroot" ConfigStoreUrl string `protobuf:"bytes,1,opt,name=config_store_url,json=configStoreUrl,proto3" json:"config_store_url,omitempty"` // The duration for which authorization results may be cached. CacheDuration time.Duration `protobuf:"bytes,2,opt,name=cache_duration,json=cacheDuration,stdduration" json:"cache_duration"` }
Configuration format for the `rbac` adapter.
For example, the following configuration defines a RBAC handler with configuration store URL pointing to Kubernetes etcd ("k8s://"). If you want to run Mixer locally, you can set the configuration store URL to a local directory (e.g., "fs:///tmp/testdata/configroot").
```yaml apiVersion: "config.istio.io/v1alpha2" kind: rbac metadata:
name: rbachandler namespace: istio-system
spec:
config_store_url: "fs:///tmp/testdata/config"
```
func (*Params) Descriptor ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()