Documentation ¶
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
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
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,proto3,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()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.