Documentation ¶
Overview ¶
Package istio_mixer_adapter_sample_myapa is a generated protocol buffer package.
myapa template is ..
It is generated from these files:
mixer/template/sample/apa/Apa_handler_service.proto
It has these top-level messages:
HandleMyApaRequest OutputMsg InstanceMsg Resource1Msg Resource2Msg Resource3Msg Type Resource1Type Resource2Type Resource3Type InstanceParam Resource1InstanceParam Resource2InstanceParam Resource3InstanceParam
Index ¶
- Constants
- Variables
- func RegisterHandleMyApaServiceServer(s *grpc.Server, srv HandleMyApaServiceServer)
- type HandleMyApaRequest
- func (*HandleMyApaRequest) Descriptor() ([]byte, []int)
- func (m *HandleMyApaRequest) Marshal() (dAtA []byte, err error)
- func (m *HandleMyApaRequest) MarshalTo(dAtA []byte) (int, error)
- func (*HandleMyApaRequest) ProtoMessage()
- func (m *HandleMyApaRequest) Reset()
- func (m *HandleMyApaRequest) Size() (n int)
- func (this *HandleMyApaRequest) String() string
- func (m *HandleMyApaRequest) Unmarshal(dAtA []byte) error
- type HandleMyApaServiceClient
- type HandleMyApaServiceServer
- type Handler
- type HandlerBuilder
- type Instance
- type InstanceMsg
- func (*InstanceMsg) Descriptor() ([]byte, []int)
- func (m *InstanceMsg) Marshal() (dAtA []byte, err error)
- func (m *InstanceMsg) MarshalTo(dAtA []byte) (int, error)
- func (*InstanceMsg) ProtoMessage()
- func (m *InstanceMsg) Reset()
- func (m *InstanceMsg) Size() (n int)
- func (this *InstanceMsg) String() string
- func (m *InstanceMsg) Unmarshal(dAtA []byte) error
- type InstanceParam
- func (*InstanceParam) Descriptor() ([]byte, []int)
- func (m *InstanceParam) Marshal() (dAtA []byte, err error)
- func (m *InstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*InstanceParam) ProtoMessage()
- func (m *InstanceParam) Reset()
- func (m *InstanceParam) Size() (n int)
- func (this *InstanceParam) String() string
- func (m *InstanceParam) Unmarshal(dAtA []byte) error
- type Output
- func (o *Output) SetBoolPrimitive(val bool)
- func (o *Output) SetDoublePrimitive(val float64)
- func (o *Output) SetDuration(val time.Duration)
- func (o *Output) SetEmail(val adapter.EmailAddress)
- func (o *Output) SetInt64Primitive(val int64)
- func (o *Output) SetOutIp(val net.IP)
- func (o *Output) SetOutStrMap(val map[string]string)
- func (o *Output) SetStringPrimitive(val string)
- func (o *Output) SetTimeStamp(val time.Time)
- func (o *Output) WasSet(field string) bool
- type OutputMsg
- func (*OutputMsg) Descriptor() ([]byte, []int)
- func (m *OutputMsg) Marshal() (dAtA []byte, err error)
- func (m *OutputMsg) MarshalTo(dAtA []byte) (int, error)
- func (*OutputMsg) ProtoMessage()
- func (m *OutputMsg) Reset()
- func (m *OutputMsg) Size() (n int)
- func (this *OutputMsg) String() string
- func (m *OutputMsg) Unmarshal(dAtA []byte) error
- type Resource1
- type Resource1InstanceParam
- func (*Resource1InstanceParam) Descriptor() ([]byte, []int)
- func (m *Resource1InstanceParam) Marshal() (dAtA []byte, err error)
- func (m *Resource1InstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*Resource1InstanceParam) ProtoMessage()
- func (m *Resource1InstanceParam) Reset()
- func (m *Resource1InstanceParam) Size() (n int)
- func (this *Resource1InstanceParam) String() string
- func (m *Resource1InstanceParam) Unmarshal(dAtA []byte) error
- type Resource1Msg
- func (*Resource1Msg) Descriptor() ([]byte, []int)
- func (m *Resource1Msg) Marshal() (dAtA []byte, err error)
- func (m *Resource1Msg) MarshalTo(dAtA []byte) (int, error)
- func (*Resource1Msg) ProtoMessage()
- func (m *Resource1Msg) Reset()
- func (m *Resource1Msg) Size() (n int)
- func (this *Resource1Msg) String() string
- func (m *Resource1Msg) Unmarshal(dAtA []byte) error
- type Resource1Type
- func (*Resource1Type) Descriptor() ([]byte, []int)
- func (m *Resource1Type) Marshal() (dAtA []byte, err error)
- func (m *Resource1Type) MarshalTo(dAtA []byte) (int, error)
- func (*Resource1Type) ProtoMessage()
- func (m *Resource1Type) Reset()
- func (m *Resource1Type) Size() (n int)
- func (this *Resource1Type) String() string
- func (m *Resource1Type) Unmarshal(dAtA []byte) error
- type Resource2
- type Resource2InstanceParam
- func (*Resource2InstanceParam) Descriptor() ([]byte, []int)
- func (m *Resource2InstanceParam) Marshal() (dAtA []byte, err error)
- func (m *Resource2InstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*Resource2InstanceParam) ProtoMessage()
- func (m *Resource2InstanceParam) Reset()
- func (m *Resource2InstanceParam) Size() (n int)
- func (this *Resource2InstanceParam) String() string
- func (m *Resource2InstanceParam) Unmarshal(dAtA []byte) error
- type Resource2Msg
- func (*Resource2Msg) Descriptor() ([]byte, []int)
- func (m *Resource2Msg) Marshal() (dAtA []byte, err error)
- func (m *Resource2Msg) MarshalTo(dAtA []byte) (int, error)
- func (*Resource2Msg) ProtoMessage()
- func (m *Resource2Msg) Reset()
- func (m *Resource2Msg) Size() (n int)
- func (this *Resource2Msg) String() string
- func (m *Resource2Msg) Unmarshal(dAtA []byte) error
- type Resource2Type
- func (*Resource2Type) Descriptor() ([]byte, []int)
- func (m *Resource2Type) Marshal() (dAtA []byte, err error)
- func (m *Resource2Type) MarshalTo(dAtA []byte) (int, error)
- func (*Resource2Type) ProtoMessage()
- func (m *Resource2Type) Reset()
- func (m *Resource2Type) Size() (n int)
- func (this *Resource2Type) String() string
- func (m *Resource2Type) Unmarshal(dAtA []byte) error
- type Resource3
- type Resource3InstanceParam
- func (*Resource3InstanceParam) Descriptor() ([]byte, []int)
- func (m *Resource3InstanceParam) Marshal() (dAtA []byte, err error)
- func (m *Resource3InstanceParam) MarshalTo(dAtA []byte) (int, error)
- func (*Resource3InstanceParam) ProtoMessage()
- func (m *Resource3InstanceParam) Reset()
- func (m *Resource3InstanceParam) Size() (n int)
- func (this *Resource3InstanceParam) String() string
- func (m *Resource3InstanceParam) Unmarshal(dAtA []byte) error
- type Resource3Msg
- func (*Resource3Msg) Descriptor() ([]byte, []int)
- func (m *Resource3Msg) Marshal() (dAtA []byte, err error)
- func (m *Resource3Msg) MarshalTo(dAtA []byte) (int, error)
- func (*Resource3Msg) ProtoMessage()
- func (m *Resource3Msg) Reset()
- func (m *Resource3Msg) Size() (n int)
- func (this *Resource3Msg) String() string
- func (m *Resource3Msg) Unmarshal(dAtA []byte) error
- type Resource3Type
- func (*Resource3Type) Descriptor() ([]byte, []int)
- func (m *Resource3Type) Marshal() (dAtA []byte, err error)
- func (m *Resource3Type) MarshalTo(dAtA []byte) (int, error)
- func (*Resource3Type) ProtoMessage()
- func (m *Resource3Type) Reset()
- func (m *Resource3Type) Size() (n int)
- func (this *Resource3Type) String() string
- func (m *Resource3Type) Unmarshal(dAtA []byte) error
- type Type
- func (*Type) Descriptor() ([]byte, []int)
- func (m *Type) Marshal() (dAtA []byte, err error)
- func (m *Type) MarshalTo(dAtA []byte) (int, error)
- func (*Type) ProtoMessage()
- func (m *Type) Reset()
- func (m *Type) Size() (n int)
- func (this *Type) String() string
- func (m *Type) Unmarshal(dAtA []byte) error
Constants ¶
const TemplateName = "myapa"
Fully qualified name of the template
Variables ¶
var ( ErrInvalidLengthApaHandlerService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApaHandlerService = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterHandleMyApaServiceServer ¶
func RegisterHandleMyApaServiceServer(s *grpc.Server, srv HandleMyApaServiceServer)
Types ¶
type HandleMyApaRequest ¶
type HandleMyApaRequest struct { // 'myapa' instance. Instance *InstanceMsg `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"` // Adapter specific handler configuration. // // Note: Backends can also implement [InfrastructureBackend][https://istio.io/docs/reference/config/mixer/istio.mixer.adapter.model.v1beta1.html#InfrastructureBackend] // service and therefore opt to receive handler configuration during session creation through [InfrastructureBackend.CreateSession][TODO: Link to this fragment] // call. In that case, adapter_config will have type_url as 'google.protobuf.Any.type_url' and would contain string // value of session_id (returned from InfrastructureBackend.CreateSession). AdapterConfig *google_protobuf1.Any `protobuf:"bytes,2,opt,name=adapter_config,json=adapterConfig" json:"adapter_config,omitempty"` // Id to dedupe identical requests from Mixer. DedupId string `protobuf:"bytes,3,opt,name=dedup_id,json=dedupId,proto3" json:"dedup_id,omitempty"` }
Request message for HandleMyApa method.
func (*HandleMyApaRequest) Descriptor ¶
func (*HandleMyApaRequest) Descriptor() ([]byte, []int)
func (*HandleMyApaRequest) Marshal ¶
func (m *HandleMyApaRequest) Marshal() (dAtA []byte, err error)
func (*HandleMyApaRequest) MarshalTo ¶
func (m *HandleMyApaRequest) MarshalTo(dAtA []byte) (int, error)
func (*HandleMyApaRequest) ProtoMessage ¶
func (*HandleMyApaRequest) ProtoMessage()
func (*HandleMyApaRequest) Reset ¶
func (m *HandleMyApaRequest) Reset()
func (*HandleMyApaRequest) Size ¶
func (m *HandleMyApaRequest) Size() (n int)
func (*HandleMyApaRequest) String ¶
func (this *HandleMyApaRequest) String() string
func (*HandleMyApaRequest) Unmarshal ¶
func (m *HandleMyApaRequest) Unmarshal(dAtA []byte) error
type HandleMyApaServiceClient ¶
type HandleMyApaServiceClient interface { // HandleMyApa is called by Mixer at request-time to deliver 'myapa' instances to the backend. HandleMyApa(ctx context.Context, in *HandleMyApaRequest, opts ...grpc.CallOption) (*OutputMsg, error) }
func NewHandleMyApaServiceClient ¶
func NewHandleMyApaServiceClient(cc *grpc.ClientConn) HandleMyApaServiceClient
type HandleMyApaServiceServer ¶
type HandleMyApaServiceServer interface { // HandleMyApa is called by Mixer at request-time to deliver 'myapa' instances to the backend. HandleMyApa(context.Context, *HandleMyApaRequest) (*OutputMsg, error) }
type Handler ¶
type Handler interface { adapter.Handler // HandleMyApa is called by Mixer at request time to deliver instances to // to an adapter. GenerateMyApaAttributes(context.Context, *Instance) (*Output, error) }
Handler must be implemented by adapter code if it wants to process data associated with the 'myapa' template.
Mixer uses this interface to call into the adapter at request time in order to dispatch created instances to the adapter. Adapters take the incoming instances and do what they need to achieve their primary function.
type HandlerBuilder ¶
type HandlerBuilder interface { adapter.HandlerBuilder }
HandlerBuilder must be implemented by adapters if they want to process data associated with the 'myapa' template.
Mixer uses this interface to call into the adapter at configuration time to configure it with adapter-specific configuration as well as all template-specific type information.
type Instance ¶
type Instance struct { // Name of the instance as specified in configuration. Name string Int64Primitive int64 BoolPrimitive bool DoublePrimitive float64 StringPrimitive string DimensionsFixedInt64ValueDType map[string]int64 TimeStamp time.Time Duration time.Duration Res3Map map[string]*Resource3 OptionalIP net.IP Email adapter.EmailAddress }
Instance is constructed by Mixer for the 'myapa' template.
myapa template is ..
type InstanceMsg ¶
type InstanceMsg struct { // Name of the instance as specified in configuration. Name string `protobuf:"bytes,72295727,opt,name=name,proto3" json:"name,omitempty"` Int64Primitive int64 `protobuf:"varint,1,opt,name=int64Primitive,proto3" json:"int64Primitive,omitempty"` BoolPrimitive bool `protobuf:"varint,2,opt,name=boolPrimitive,proto3" json:"boolPrimitive,omitempty"` DoublePrimitive float64 `protobuf:"fixed64,3,opt,name=doublePrimitive,proto3" json:"doublePrimitive,omitempty"` StringPrimitive string `protobuf:"bytes,4,opt,name=stringPrimitive,proto3" json:"stringPrimitive,omitempty"` DimensionsFixedInt64ValueDType map[string]int64 `` /* 195-byte string literal not displayed */ TimeStamp *istio_policy_v1beta1.TimeStamp `protobuf:"bytes,6,opt,name=timeStamp" json:"timeStamp,omitempty"` Duration *istio_policy_v1beta1.Duration `protobuf:"bytes,7,opt,name=duration" json:"duration,omitempty"` Res3Map map[string]*Resource3Msg `` /* 156-byte string literal not displayed */ OptionalIP *istio_policy_v1beta1.IPAddress `protobuf:"bytes,9,opt,name=optionalIP" json:"optionalIP,omitempty"` Email *istio_policy_v1beta1.EmailAddress `protobuf:"bytes,10,opt,name=email" json:"email,omitempty"` }
Contains instance payload for 'myapa' template. This is passed to infrastructure backends during request-time through HandleMyApaService.HandleMyApa.
func (*InstanceMsg) Descriptor ¶
func (*InstanceMsg) Descriptor() ([]byte, []int)
func (*InstanceMsg) Marshal ¶
func (m *InstanceMsg) Marshal() (dAtA []byte, err error)
func (*InstanceMsg) ProtoMessage ¶
func (*InstanceMsg) ProtoMessage()
func (*InstanceMsg) Reset ¶
func (m *InstanceMsg) Reset()
func (*InstanceMsg) Size ¶
func (m *InstanceMsg) Size() (n int)
func (*InstanceMsg) String ¶
func (this *InstanceMsg) String() string
func (*InstanceMsg) Unmarshal ¶
func (m *InstanceMsg) Unmarshal(dAtA []byte) error
type InstanceParam ¶
type InstanceParam struct { Int64Primitive string `protobuf:"bytes,1,opt,name=int64Primitive,proto3" json:"int64Primitive,omitempty"` BoolPrimitive string `protobuf:"bytes,2,opt,name=boolPrimitive,proto3" json:"boolPrimitive,omitempty"` DoublePrimitive string `protobuf:"bytes,3,opt,name=doublePrimitive,proto3" json:"doublePrimitive,omitempty"` StringPrimitive string `protobuf:"bytes,4,opt,name=stringPrimitive,proto3" json:"stringPrimitive,omitempty"` DimensionsFixedInt64ValueDType map[string]string `` /* 194-byte string literal not displayed */ TimeStamp string `protobuf:"bytes,6,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` Duration string `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"` Res3Map map[string]*Resource3InstanceParam `` /* 156-byte string literal not displayed */ OptionalIP string `protobuf:"bytes,9,opt,name=optionalIP,proto3" json:"optionalIP,omitempty"` Email string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"` // Attribute names to expression mapping. These expressions can use the fields from the output object // returned by the attribute producing adapters using $out.<fieldName> notation. For example: // source.ip : $out.source_pod_ip // In the above example, source.ip attribute will be added to the existing attribute list and its value will be set to // the value of source_pod_ip field of the output returned by the adapter. AttributeBindings map[string]string `` /* 200-byte string literal not displayed */ }
Represents instance configuration schema for 'myapa' template.
func (*InstanceParam) Descriptor ¶
func (*InstanceParam) Descriptor() ([]byte, []int)
func (*InstanceParam) Marshal ¶
func (m *InstanceParam) Marshal() (dAtA []byte, err error)
func (*InstanceParam) ProtoMessage ¶
func (*InstanceParam) ProtoMessage()
func (*InstanceParam) Reset ¶
func (m *InstanceParam) Reset()
func (*InstanceParam) Size ¶
func (m *InstanceParam) Size() (n int)
func (*InstanceParam) String ¶
func (this *InstanceParam) String() string
func (*InstanceParam) Unmarshal ¶
func (m *InstanceParam) Unmarshal(dAtA []byte) error
type Output ¶
type Output struct { Int64Primitive int64 BoolPrimitive bool DoublePrimitive float64 StringPrimitive string TimeStamp time.Time Duration time.Duration Email adapter.EmailAddress OutIp net.IP OutStrMap map[string]string // contains filtered or unexported fields }
Output struct is returned by the attribute producing adapters that handle this template.
func (*Output) SetBoolPrimitive ¶
func (*Output) SetDoublePrimitive ¶
func (*Output) SetDuration ¶
func (*Output) SetEmail ¶
func (o *Output) SetEmail(val adapter.EmailAddress)
func (*Output) SetInt64Primitive ¶
func (*Output) SetOutStrMap ¶
func (*Output) SetStringPrimitive ¶
func (*Output) SetTimeStamp ¶
type OutputMsg ¶
type OutputMsg struct { Int64Primitive int64 `protobuf:"varint,1,opt,name=int64Primitive,proto3" json:"int64Primitive,omitempty"` BoolPrimitive bool `protobuf:"varint,2,opt,name=boolPrimitive,proto3" json:"boolPrimitive,omitempty"` DoublePrimitive float64 `protobuf:"fixed64,3,opt,name=doublePrimitive,proto3" json:"doublePrimitive,omitempty"` StringPrimitive string `protobuf:"bytes,4,opt,name=stringPrimitive,proto3" json:"stringPrimitive,omitempty"` TimeStamp *istio_policy_v1beta1.TimeStamp `protobuf:"bytes,6,opt,name=timeStamp" json:"timeStamp,omitempty"` Duration *istio_policy_v1beta1.Duration `protobuf:"bytes,7,opt,name=duration" json:"duration,omitempty"` Email *istio_policy_v1beta1.EmailAddress `protobuf:"bytes,10,opt,name=email" json:"email,omitempty"` OutIp *istio_policy_v1beta1.IPAddress `protobuf:"bytes,11,opt,name=out_ip,json=outIp" json:"out_ip,omitempty"` OutStrMap map[string]string `` /* 172-byte string literal not displayed */ }
Contains output payload for 'myapa' template.
func (*OutputMsg) Descriptor ¶
func (*OutputMsg) ProtoMessage ¶
func (*OutputMsg) ProtoMessage()
type Resource1InstanceParam ¶
type Resource1InstanceParam struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` SelfRefRes1 *Resource1InstanceParam `protobuf:"bytes,3,opt,name=self_ref_res1,json=selfRefRes1" json:"self_ref_res1,omitempty"` ResRef2 *Resource2InstanceParam `protobuf:"bytes,2,opt,name=resRef2" json:"resRef2,omitempty"` }
func (*Resource1InstanceParam) Descriptor ¶
func (*Resource1InstanceParam) Descriptor() ([]byte, []int)
func (*Resource1InstanceParam) Marshal ¶
func (m *Resource1InstanceParam) Marshal() (dAtA []byte, err error)
func (*Resource1InstanceParam) MarshalTo ¶
func (m *Resource1InstanceParam) MarshalTo(dAtA []byte) (int, error)
func (*Resource1InstanceParam) ProtoMessage ¶
func (*Resource1InstanceParam) ProtoMessage()
func (*Resource1InstanceParam) Reset ¶
func (m *Resource1InstanceParam) Reset()
func (*Resource1InstanceParam) Size ¶
func (m *Resource1InstanceParam) Size() (n int)
func (*Resource1InstanceParam) String ¶
func (this *Resource1InstanceParam) String() string
func (*Resource1InstanceParam) Unmarshal ¶
func (m *Resource1InstanceParam) Unmarshal(dAtA []byte) error
type Resource1Msg ¶
type Resource1Msg struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` SelfRefRes1 *Resource1Msg `protobuf:"bytes,3,opt,name=self_ref_res1,json=selfRefRes1" json:"self_ref_res1,omitempty"` ResRef2 *Resource2Msg `protobuf:"bytes,2,opt,name=resRef2" json:"resRef2,omitempty"` }
func (*Resource1Msg) Descriptor ¶
func (*Resource1Msg) Descriptor() ([]byte, []int)
func (*Resource1Msg) Marshal ¶
func (m *Resource1Msg) Marshal() (dAtA []byte, err error)
func (*Resource1Msg) ProtoMessage ¶
func (*Resource1Msg) ProtoMessage()
func (*Resource1Msg) Reset ¶
func (m *Resource1Msg) Reset()
func (*Resource1Msg) Size ¶
func (m *Resource1Msg) Size() (n int)
func (*Resource1Msg) String ¶
func (this *Resource1Msg) String() string
func (*Resource1Msg) Unmarshal ¶
func (m *Resource1Msg) Unmarshal(dAtA []byte) error
type Resource1Type ¶
type Resource1Type struct { SelfRefRes1 *Resource1Type `protobuf:"bytes,3,opt,name=self_ref_res1,json=selfRefRes1" json:"self_ref_res1,omitempty"` ResRef2 *Resource2Type `protobuf:"bytes,2,opt,name=resRef2" json:"resRef2,omitempty"` }
func (*Resource1Type) Descriptor ¶
func (*Resource1Type) Descriptor() ([]byte, []int)
func (*Resource1Type) Marshal ¶
func (m *Resource1Type) Marshal() (dAtA []byte, err error)
func (*Resource1Type) ProtoMessage ¶
func (*Resource1Type) ProtoMessage()
func (*Resource1Type) Reset ¶
func (m *Resource1Type) Reset()
func (*Resource1Type) Size ¶
func (m *Resource1Type) Size() (n int)
func (*Resource1Type) String ¶
func (this *Resource1Type) String() string
func (*Resource1Type) Unmarshal ¶
func (m *Resource1Type) Unmarshal(dAtA []byte) error
type Resource2InstanceParam ¶
type Resource2InstanceParam struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` Res3 *Resource3InstanceParam `protobuf:"bytes,2,opt,name=res3" json:"res3,omitempty"` Res3Map map[string]*Resource3InstanceParam `` /* 156-byte string literal not displayed */ }
func (*Resource2InstanceParam) Descriptor ¶
func (*Resource2InstanceParam) Descriptor() ([]byte, []int)
func (*Resource2InstanceParam) Marshal ¶
func (m *Resource2InstanceParam) Marshal() (dAtA []byte, err error)
func (*Resource2InstanceParam) MarshalTo ¶
func (m *Resource2InstanceParam) MarshalTo(dAtA []byte) (int, error)
func (*Resource2InstanceParam) ProtoMessage ¶
func (*Resource2InstanceParam) ProtoMessage()
func (*Resource2InstanceParam) Reset ¶
func (m *Resource2InstanceParam) Reset()
func (*Resource2InstanceParam) Size ¶
func (m *Resource2InstanceParam) Size() (n int)
func (*Resource2InstanceParam) String ¶
func (this *Resource2InstanceParam) String() string
func (*Resource2InstanceParam) Unmarshal ¶
func (m *Resource2InstanceParam) Unmarshal(dAtA []byte) error
type Resource2Msg ¶
type Resource2Msg struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` Res3 *Resource3Msg `protobuf:"bytes,2,opt,name=res3" json:"res3,omitempty"` Res3Map map[string]*Resource3Msg `` /* 156-byte string literal not displayed */ }
func (*Resource2Msg) Descriptor ¶
func (*Resource2Msg) Descriptor() ([]byte, []int)
func (*Resource2Msg) Marshal ¶
func (m *Resource2Msg) Marshal() (dAtA []byte, err error)
func (*Resource2Msg) ProtoMessage ¶
func (*Resource2Msg) ProtoMessage()
func (*Resource2Msg) Reset ¶
func (m *Resource2Msg) Reset()
func (*Resource2Msg) Size ¶
func (m *Resource2Msg) Size() (n int)
func (*Resource2Msg) String ¶
func (this *Resource2Msg) String() string
func (*Resource2Msg) Unmarshal ¶
func (m *Resource2Msg) Unmarshal(dAtA []byte) error
type Resource2Type ¶
type Resource2Type struct { Res3 *Resource3Type `protobuf:"bytes,2,opt,name=res3" json:"res3,omitempty"` Res3Map map[string]*Resource3Type `` /* 156-byte string literal not displayed */ }
func (*Resource2Type) Descriptor ¶
func (*Resource2Type) Descriptor() ([]byte, []int)
func (*Resource2Type) Marshal ¶
func (m *Resource2Type) Marshal() (dAtA []byte, err error)
func (*Resource2Type) ProtoMessage ¶
func (*Resource2Type) ProtoMessage()
func (*Resource2Type) Reset ¶
func (m *Resource2Type) Reset()
func (*Resource2Type) Size ¶
func (m *Resource2Type) Size() (n int)
func (*Resource2Type) String ¶
func (this *Resource2Type) String() string
func (*Resource2Type) Unmarshal ¶
func (m *Resource2Type) Unmarshal(dAtA []byte) error
type Resource3 ¶
type Resource3 struct { Int64Primitive int64 BoolPrimitive bool DoublePrimitive float64 StringPrimitive string DimensionsFixedInt64ValueDType map[string]int64 TimeStamp time.Time Duration time.Duration }
resource3 comment
type Resource3InstanceParam ¶
type Resource3InstanceParam struct { Int64Primitive string `protobuf:"bytes,1,opt,name=int64Primitive,proto3" json:"int64Primitive,omitempty"` BoolPrimitive string `protobuf:"bytes,2,opt,name=boolPrimitive,proto3" json:"boolPrimitive,omitempty"` DoublePrimitive string `protobuf:"bytes,3,opt,name=doublePrimitive,proto3" json:"doublePrimitive,omitempty"` StringPrimitive string `protobuf:"bytes,4,opt,name=stringPrimitive,proto3" json:"stringPrimitive,omitempty"` DimensionsFixedInt64ValueDType map[string]string `` /* 194-byte string literal not displayed */ TimeStamp string `protobuf:"bytes,6,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` Duration string `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"` }
resource3 comment
func (*Resource3InstanceParam) Descriptor ¶
func (*Resource3InstanceParam) Descriptor() ([]byte, []int)
func (*Resource3InstanceParam) Marshal ¶
func (m *Resource3InstanceParam) Marshal() (dAtA []byte, err error)
func (*Resource3InstanceParam) MarshalTo ¶
func (m *Resource3InstanceParam) MarshalTo(dAtA []byte) (int, error)
func (*Resource3InstanceParam) ProtoMessage ¶
func (*Resource3InstanceParam) ProtoMessage()
func (*Resource3InstanceParam) Reset ¶
func (m *Resource3InstanceParam) Reset()
func (*Resource3InstanceParam) Size ¶
func (m *Resource3InstanceParam) Size() (n int)
func (*Resource3InstanceParam) String ¶
func (this *Resource3InstanceParam) String() string
func (*Resource3InstanceParam) Unmarshal ¶
func (m *Resource3InstanceParam) Unmarshal(dAtA []byte) error
type Resource3Msg ¶
type Resource3Msg struct { Int64Primitive int64 `protobuf:"varint,1,opt,name=int64Primitive,proto3" json:"int64Primitive,omitempty"` BoolPrimitive bool `protobuf:"varint,2,opt,name=boolPrimitive,proto3" json:"boolPrimitive,omitempty"` DoublePrimitive float64 `protobuf:"fixed64,3,opt,name=doublePrimitive,proto3" json:"doublePrimitive,omitempty"` StringPrimitive string `protobuf:"bytes,4,opt,name=stringPrimitive,proto3" json:"stringPrimitive,omitempty"` DimensionsFixedInt64ValueDType map[string]int64 `` /* 195-byte string literal not displayed */ TimeStamp *istio_policy_v1beta1.TimeStamp `protobuf:"bytes,6,opt,name=timeStamp" json:"timeStamp,omitempty"` Duration *istio_policy_v1beta1.Duration `protobuf:"bytes,7,opt,name=duration" json:"duration,omitempty"` }
resource3 comment
func (*Resource3Msg) Descriptor ¶
func (*Resource3Msg) Descriptor() ([]byte, []int)
func (*Resource3Msg) Marshal ¶
func (m *Resource3Msg) Marshal() (dAtA []byte, err error)
func (*Resource3Msg) ProtoMessage ¶
func (*Resource3Msg) ProtoMessage()
func (*Resource3Msg) Reset ¶
func (m *Resource3Msg) Reset()
func (*Resource3Msg) Size ¶
func (m *Resource3Msg) Size() (n int)
func (*Resource3Msg) String ¶
func (this *Resource3Msg) String() string
func (*Resource3Msg) Unmarshal ¶
func (m *Resource3Msg) Unmarshal(dAtA []byte) error
type Resource3Type ¶
type Resource3Type struct { }
resource3 comment
func (*Resource3Type) Descriptor ¶
func (*Resource3Type) Descriptor() ([]byte, []int)
func (*Resource3Type) Marshal ¶
func (m *Resource3Type) Marshal() (dAtA []byte, err error)
func (*Resource3Type) ProtoMessage ¶
func (*Resource3Type) ProtoMessage()
func (*Resource3Type) Reset ¶
func (m *Resource3Type) Reset()
func (*Resource3Type) Size ¶
func (m *Resource3Type) Size() (n int)
func (*Resource3Type) String ¶
func (this *Resource3Type) String() string
func (*Resource3Type) Unmarshal ¶
func (m *Resource3Type) Unmarshal(dAtA []byte) error
type Type ¶
type Type struct {
Res3Map map[string]*Resource3Type `` /* 156-byte string literal not displayed */
}
Contains inferred type information about specific instance of 'myapa' template. This is passed to infrastructure backends during configuration-time through [InfrastructureBackend.CreateSession][TODO: Link to this fragment].
func (*Type) Descriptor ¶
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()