istio: istio.io/istio/mixer/adapter/kubernetesenv/template Index | Files

package adapter_template_kubernetes

import "istio.io/istio/mixer/adapter/kubernetesenv/template"

Index

Package Files

template_handler.gen.go template_handler_service.pb.go

Constants

const TemplateName = "kubernetes"

Fully qualified name of the template

Variables

var (
    ErrInvalidLengthTemplateHandlerService = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowTemplateHandlerService   = fmt.Errorf("proto: integer overflow")
)

func RegisterHandleKubernetesServiceServer Uses

func RegisterHandleKubernetesServiceServer(s *grpc.Server, srv HandleKubernetesServiceServer)

type HandleKubernetesRequest Uses

type HandleKubernetesRequest struct {
    // 'kubernetes' instance.
    Instance *InstanceMsg `protobuf:"bytes,1,opt,name=instance,proto3" 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 *types.Any `protobuf:"bytes,2,opt,name=adapter_config,json=adapterConfig,proto3" 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 HandleKubernetes method.

func (*HandleKubernetesRequest) Descriptor Uses

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

func (*HandleKubernetesRequest) Marshal Uses

func (m *HandleKubernetesRequest) Marshal() (dAtA []byte, err error)

func (*HandleKubernetesRequest) MarshalTo Uses

func (m *HandleKubernetesRequest) MarshalTo(dAtA []byte) (int, error)

func (*HandleKubernetesRequest) MarshalToSizedBuffer Uses

func (m *HandleKubernetesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HandleKubernetesRequest) ProtoMessage Uses

func (*HandleKubernetesRequest) ProtoMessage()

func (*HandleKubernetesRequest) Reset Uses

func (m *HandleKubernetesRequest) Reset()

func (*HandleKubernetesRequest) Size Uses

func (m *HandleKubernetesRequest) Size() (n int)

func (*HandleKubernetesRequest) String Uses

func (this *HandleKubernetesRequest) String() string

func (*HandleKubernetesRequest) Unmarshal Uses

func (m *HandleKubernetesRequest) Unmarshal(dAtA []byte) error

func (*HandleKubernetesRequest) XXX_DiscardUnknown Uses

func (m *HandleKubernetesRequest) XXX_DiscardUnknown()

func (*HandleKubernetesRequest) XXX_Marshal Uses

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

func (*HandleKubernetesRequest) XXX_Merge Uses

func (m *HandleKubernetesRequest) XXX_Merge(src proto.Message)

func (*HandleKubernetesRequest) XXX_Size Uses

func (m *HandleKubernetesRequest) XXX_Size() int

func (*HandleKubernetesRequest) XXX_Unmarshal Uses

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

type HandleKubernetesServiceClient Uses

type HandleKubernetesServiceClient interface {
    // HandleKubernetes is called by Mixer at request-time to deliver 'kubernetes' instances to the backend.
    HandleKubernetes(ctx context.Context, in *HandleKubernetesRequest, opts ...grpc.CallOption) (*OutputMsg, error)
}

HandleKubernetesServiceClient is the client API for HandleKubernetesService service.

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

func NewHandleKubernetesServiceClient Uses

func NewHandleKubernetesServiceClient(cc *grpc.ClientConn) HandleKubernetesServiceClient

type HandleKubernetesServiceServer Uses

type HandleKubernetesServiceServer interface {
    // HandleKubernetes is called by Mixer at request-time to deliver 'kubernetes' instances to the backend.
    HandleKubernetes(context.Context, *HandleKubernetesRequest) (*OutputMsg, error)
}

HandleKubernetesServiceServer is the server API for HandleKubernetesService service.

type Handler Uses

type Handler interface {
    adapter.Handler

    // HandleKubernetes is called by Mixer at request time to deliver instances to
    // to an adapter.
    GenerateKubernetesAttributes(context.Context, *Instance) (*Output, error)
}

Handler must be implemented by adapter code if it wants to process data associated with the 'kubernetes' 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 Uses

type HandlerBuilder interface {
    adapter.HandlerBuilder
}

HandlerBuilder must be implemented by adapters if they want to process data associated with the 'kubernetes' 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 Uses

type Instance struct {
    // Name of the instance as specified in configuration.
    Name string

    // Source pod's uid. Must be of the form: "kubernetes://pod.namespace"
    SourceUid string

    // Source pod's ip.
    SourceIp net.IP

    // Destination pod's uid. Must be of the form: "kubernetes://pod.namespace"
    DestinationUid string

    // Destination pod's ip.
    DestinationIp net.IP

    // Destination container's port number.
    DestinationPort int64
}

Instance is constructed by Mixer for the 'kubernetes' template.

The `kubernetes` template represents data used to generate kubernetes-derived attributes.

The values provided controls the manner in which the kubernetesenv adapter discovers and generates values related to pod information. Next ID: 8

type InstanceMsg Uses

type InstanceMsg struct {
    // Name of the instance as specified in configuration.
    Name string `protobuf:"bytes,72295727,opt,name=name,proto3" json:"name,omitempty"`
    // Source pod's uid. Must be of the form: "kubernetes://pod.namespace"
    SourceUid string `protobuf:"bytes,1,opt,name=source_uid,json=sourceUid,proto3" json:"source_uid,omitempty"`
    // Source pod's ip.
    SourceIp *v1beta1.IPAddress `protobuf:"bytes,2,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
    // Destination pod's uid. Must be of the form: "kubernetes://pod.namespace"
    DestinationUid string `protobuf:"bytes,3,opt,name=destination_uid,json=destinationUid,proto3" json:"destination_uid,omitempty"`
    // Destination pod's ip.
    DestinationIp *v1beta1.IPAddress `protobuf:"bytes,4,opt,name=destination_ip,json=destinationIp,proto3" json:"destination_ip,omitempty"`
    // Destination container's port number.
    DestinationPort int64 `protobuf:"varint,7,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
}

Contains instance payload for 'kubernetes' template. This is passed to infrastructure backends during request-time through HandleKubernetesService.HandleKubernetes.

func (*InstanceMsg) Descriptor Uses

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

func (*InstanceMsg) Marshal Uses

func (m *InstanceMsg) Marshal() (dAtA []byte, err error)

func (*InstanceMsg) MarshalTo Uses

func (m *InstanceMsg) MarshalTo(dAtA []byte) (int, error)

func (*InstanceMsg) MarshalToSizedBuffer Uses

func (m *InstanceMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InstanceMsg) ProtoMessage Uses

func (*InstanceMsg) ProtoMessage()

func (*InstanceMsg) Reset Uses

func (m *InstanceMsg) Reset()

func (*InstanceMsg) Size Uses

func (m *InstanceMsg) Size() (n int)

func (*InstanceMsg) String Uses

func (this *InstanceMsg) String() string

func (*InstanceMsg) Unmarshal Uses

func (m *InstanceMsg) Unmarshal(dAtA []byte) error

func (*InstanceMsg) XXX_DiscardUnknown Uses

func (m *InstanceMsg) XXX_DiscardUnknown()

func (*InstanceMsg) XXX_Marshal Uses

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

func (*InstanceMsg) XXX_Merge Uses

func (m *InstanceMsg) XXX_Merge(src proto.Message)

func (*InstanceMsg) XXX_Size Uses

func (m *InstanceMsg) XXX_Size() int

func (*InstanceMsg) XXX_Unmarshal Uses

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

type InstanceParam Uses

type InstanceParam struct {
    // Source pod's uid. Must be of the form: "kubernetes://pod.namespace"
    SourceUid string `protobuf:"bytes,1,opt,name=source_uid,json=sourceUid,proto3" json:"source_uid,omitempty"`
    // Source pod's ip.
    SourceIp string `protobuf:"bytes,2,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
    // Destination pod's uid. Must be of the form: "kubernetes://pod.namespace"
    DestinationUid string `protobuf:"bytes,3,opt,name=destination_uid,json=destinationUid,proto3" json:"destination_uid,omitempty"`
    // Destination pod's ip.
    DestinationIp string `protobuf:"bytes,4,opt,name=destination_ip,json=destinationIp,proto3" json:"destination_ip,omitempty"`
    // Destination container's port number.
    DestinationPort string `protobuf:"bytes,7,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,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 `protobuf:"bytes,72295728,rep,name=attribute_bindings,json=attributeBindings,proto3" json:"attribute_bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}

Represents instance configuration schema for 'kubernetes' template.

func (*InstanceParam) Descriptor Uses

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

func (*InstanceParam) Marshal Uses

func (m *InstanceParam) Marshal() (dAtA []byte, err error)

func (*InstanceParam) MarshalTo Uses

func (m *InstanceParam) MarshalTo(dAtA []byte) (int, error)

func (*InstanceParam) MarshalToSizedBuffer Uses

func (m *InstanceParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InstanceParam) ProtoMessage Uses

func (*InstanceParam) ProtoMessage()

func (*InstanceParam) Reset Uses

func (m *InstanceParam) Reset()

func (*InstanceParam) Size Uses

func (m *InstanceParam) Size() (n int)

func (*InstanceParam) String Uses

func (this *InstanceParam) String() string

func (*InstanceParam) Unmarshal Uses

func (m *InstanceParam) Unmarshal(dAtA []byte) error

func (*InstanceParam) XXX_DiscardUnknown Uses

func (m *InstanceParam) XXX_DiscardUnknown()

func (*InstanceParam) XXX_Marshal Uses

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

func (*InstanceParam) XXX_Merge Uses

func (m *InstanceParam) XXX_Merge(src proto.Message)

func (*InstanceParam) XXX_Size Uses

func (m *InstanceParam) XXX_Size() int

func (*InstanceParam) XXX_Unmarshal Uses

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

type Output Uses

type Output struct {

    // Refers to the source.uid for a pod. This is for TCP use cases where the attribute is not present.
    // attribute_bindings can refer to this field using $out.source_pod_uid
    SourcePodUid string

    // Refers to source pod ip address. attribute_bindings can refer to this field using $out.source_pod_ip
    SourcePodIp net.IP

    // Refers to source pod name. attribute_bindings can refer to this field using $out.source_pod_name
    SourcePodName string

    // Refers to source pod labels. attribute_bindings can refer to this field using $out.source_labels
    SourceLabels map[string]string

    // Refers to source pod namespace. attribute_bindings can refer to this field using $out.source_namespace
    SourceNamespace string

    // Refers to source pod service account name. attribute_bindings can refer to this field using $out.source_service_account_name
    SourceServiceAccountName string

    // Refers to source pod host ip address. attribute_bindings can refer to this field using $out.source_host_ip
    SourceHostIp net.IP

    // Refers to the Istio workload identifier for the source pod. Attribute_bindings can refer to this field using $out.source_workload_uid
    SourceWorkloadUid string

    // Refers to the Istio workload name for the source pod. Attribute_bindings can refer to this field using $out.source_workload_name
    SourceWorkloadName string

    // Refers to the Istio workload namespace for the source pod. Attribute_bindings can refer to this field using $out.source_workload_namespace
    SourceWorkloadNamespace string

    // Refers to the (controlling) owner of the source pod. Attribute_bindings can refer to this field using $out.source_owner
    SourceOwner string

    // Refers to the destination.uid for a pod. This is for TCP use cases where the attribute is not present.
    // attribute_bindings can refer to this field using $out.destination_pod_uid
    DestinationPodUid string

    // Refers to destination pod ip address. attribute_bindings can refer to this field using $out.destination_pod_ip
    DestinationPodIp net.IP

    // Refers to destination pod name. attribute_bindings can refer to this field using $out.destination_pod_name
    DestinationPodName string

    // Refers to destination container name. attribute_bindings can refer to this field using $out.destination_container_name
    DestinationContainerName string

    // Refers to destination pod labels. attribute_bindings can refer to this field using $out.destination_labels
    DestinationLabels map[string]string

    // Refers to destination pod namespace. attribute_bindings can refer to this field using $out.destination_namespace
    DestinationNamespace string

    // Refers to destination pod service account name. attribute_bindings can refer to this field using $out.destination_service_account_name
    DestinationServiceAccountName string

    // Refers to destination pod host ip address. attribute_bindings can refer to this field using $out.destination_host_ip
    DestinationHostIp net.IP

    // Refers to the (controlling) owner of the destination pod. Attribute_bindings can refer to this field using $out.destination_owner
    DestinationOwner string

    // Refers to the Istio workload identifier for the destination pod. Attribute_bindings can refer to this field using $out.destination_workload_uid
    DestinationWorkloadUid string

    // Refers to the Istio workload name for the destination pod. Attribute_bindings can refer to this field using $out.destination_workload_name
    DestinationWorkloadName string

    // Refers to the Istio workload name for the destination pod. Attribute_bindings can refer to this field using $out.destination_workload_namespace
    DestinationWorkloadNamespace string
    // contains filtered or unexported fields
}

Output struct is returned by the attribute producing adapters that handle this template.

OutputTemplate refers to the output from the adapter. It is used inside the attribute_binding section of the config to assign values to the generated attributes using the `$out.<field name of the OutputTemplate>` syntax. Next ID: 33

func NewOutput Uses

func NewOutput() *Output

func (*Output) SetDestinationContainerName Uses

func (o *Output) SetDestinationContainerName(val string)

func (*Output) SetDestinationHostIp Uses

func (o *Output) SetDestinationHostIp(val net.IP)

func (*Output) SetDestinationLabels Uses

func (o *Output) SetDestinationLabels(val map[string]string)

func (*Output) SetDestinationNamespace Uses

func (o *Output) SetDestinationNamespace(val string)

func (*Output) SetDestinationOwner Uses

func (o *Output) SetDestinationOwner(val string)

func (*Output) SetDestinationPodIp Uses

func (o *Output) SetDestinationPodIp(val net.IP)

func (*Output) SetDestinationPodName Uses

func (o *Output) SetDestinationPodName(val string)

func (*Output) SetDestinationPodUid Uses

func (o *Output) SetDestinationPodUid(val string)

func (*Output) SetDestinationServiceAccountName Uses

func (o *Output) SetDestinationServiceAccountName(val string)

func (*Output) SetDestinationWorkloadName Uses

func (o *Output) SetDestinationWorkloadName(val string)

func (*Output) SetDestinationWorkloadNamespace Uses

func (o *Output) SetDestinationWorkloadNamespace(val string)

func (*Output) SetDestinationWorkloadUid Uses

func (o *Output) SetDestinationWorkloadUid(val string)

func (*Output) SetSourceHostIp Uses

func (o *Output) SetSourceHostIp(val net.IP)

func (*Output) SetSourceLabels Uses

func (o *Output) SetSourceLabels(val map[string]string)

func (*Output) SetSourceNamespace Uses

func (o *Output) SetSourceNamespace(val string)

func (*Output) SetSourceOwner Uses

func (o *Output) SetSourceOwner(val string)

func (*Output) SetSourcePodIp Uses

func (o *Output) SetSourcePodIp(val net.IP)

func (*Output) SetSourcePodName Uses

func (o *Output) SetSourcePodName(val string)

func (*Output) SetSourcePodUid Uses

func (o *Output) SetSourcePodUid(val string)

func (*Output) SetSourceServiceAccountName Uses

func (o *Output) SetSourceServiceAccountName(val string)

func (*Output) SetSourceWorkloadName Uses

func (o *Output) SetSourceWorkloadName(val string)

func (*Output) SetSourceWorkloadNamespace Uses

func (o *Output) SetSourceWorkloadNamespace(val string)

func (*Output) SetSourceWorkloadUid Uses

func (o *Output) SetSourceWorkloadUid(val string)

func (*Output) WasSet Uses

func (o *Output) WasSet(field string) bool

type OutputMsg Uses

type OutputMsg struct {
    // Refers to the source.uid for a pod. This is for TCP use cases where the attribute is not present.
    // attribute_bindings can refer to this field using $out.source_pod_uid
    SourcePodUid string `protobuf:"bytes,31,opt,name=source_pod_uid,json=sourcePodUid,proto3" json:"source_pod_uid,omitempty"`
    // Refers to source pod ip address. attribute_bindings can refer to this field using $out.source_pod_ip
    SourcePodIp *v1beta1.IPAddress `protobuf:"bytes,1,opt,name=source_pod_ip,json=sourcePodIp,proto3" json:"source_pod_ip,omitempty"`
    // Refers to source pod name. attribute_bindings can refer to this field using $out.source_pod_name
    SourcePodName string `protobuf:"bytes,2,opt,name=source_pod_name,json=sourcePodName,proto3" json:"source_pod_name,omitempty"`
    // Refers to source pod labels. attribute_bindings can refer to this field using $out.source_labels
    SourceLabels map[string]string `protobuf:"bytes,3,rep,name=source_labels,json=sourceLabels,proto3" json:"source_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Refers to source pod namespace. attribute_bindings can refer to this field using $out.source_namespace
    SourceNamespace string `protobuf:"bytes,4,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"`
    // Refers to source pod service account name. attribute_bindings can refer to this field using $out.source_service_account_name
    SourceServiceAccountName string `protobuf:"bytes,6,opt,name=source_service_account_name,json=sourceServiceAccountName,proto3" json:"source_service_account_name,omitempty"`
    // Refers to source pod host ip address. attribute_bindings can refer to this field using $out.source_host_ip
    SourceHostIp *v1beta1.IPAddress `protobuf:"bytes,7,opt,name=source_host_ip,json=sourceHostIp,proto3" json:"source_host_ip,omitempty"`
    // Refers to the Istio workload identifier for the source pod. Attribute_bindings can refer to this field using $out.source_workload_uid
    SourceWorkloadUid string `protobuf:"bytes,22,opt,name=source_workload_uid,json=sourceWorkloadUid,proto3" json:"source_workload_uid,omitempty"`
    // Refers to the Istio workload name for the source pod. Attribute_bindings can refer to this field using $out.source_workload_name
    SourceWorkloadName string `protobuf:"bytes,23,opt,name=source_workload_name,json=sourceWorkloadName,proto3" json:"source_workload_name,omitempty"`
    // Refers to the Istio workload namespace for the source pod. Attribute_bindings can refer to this field using $out.source_workload_namespace
    SourceWorkloadNamespace string `protobuf:"bytes,24,opt,name=source_workload_namespace,json=sourceWorkloadNamespace,proto3" json:"source_workload_namespace,omitempty"`
    // Refers to the (controlling) owner of the source pod. Attribute_bindings can refer to this field using $out.source_owner
    SourceOwner string `protobuf:"bytes,25,opt,name=source_owner,json=sourceOwner,proto3" json:"source_owner,omitempty"`
    // Refers to the destination.uid for a pod. This is for TCP use cases where the attribute is not present.
    // attribute_bindings can refer to this field using $out.destination_pod_uid
    DestinationPodUid string `protobuf:"bytes,32,opt,name=destination_pod_uid,json=destinationPodUid,proto3" json:"destination_pod_uid,omitempty"`
    // Refers to destination pod ip address. attribute_bindings can refer to this field using $out.destination_pod_ip
    DestinationPodIp *v1beta1.IPAddress `protobuf:"bytes,8,opt,name=destination_pod_ip,json=destinationPodIp,proto3" json:"destination_pod_ip,omitempty"`
    // Refers to destination pod name. attribute_bindings can refer to this field using $out.destination_pod_name
    DestinationPodName string `protobuf:"bytes,9,opt,name=destination_pod_name,json=destinationPodName,proto3" json:"destination_pod_name,omitempty"`
    // Refers to destination container name. attribute_bindings can refer to this field using $out.destination_container_name
    DestinationContainerName string `protobuf:"bytes,30,opt,name=destination_container_name,json=destinationContainerName,proto3" json:"destination_container_name,omitempty"`
    // Refers to destination pod labels. attribute_bindings can refer to this field using $out.destination_labels
    DestinationLabels map[string]string `protobuf:"bytes,10,rep,name=destination_labels,json=destinationLabels,proto3" json:"destination_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Refers to destination pod namespace. attribute_bindings can refer to this field using $out.destination_namespace
    DestinationNamespace string `protobuf:"bytes,11,opt,name=destination_namespace,json=destinationNamespace,proto3" json:"destination_namespace,omitempty"`
    // Refers to destination pod service account name. attribute_bindings can refer to this field using $out.destination_service_account_name
    DestinationServiceAccountName string `protobuf:"bytes,13,opt,name=destination_service_account_name,json=destinationServiceAccountName,proto3" json:"destination_service_account_name,omitempty"`
    // Refers to destination pod host ip address. attribute_bindings can refer to this field using $out.destination_host_ip
    DestinationHostIp *v1beta1.IPAddress `protobuf:"bytes,14,opt,name=destination_host_ip,json=destinationHostIp,proto3" json:"destination_host_ip,omitempty"`
    // Refers to the (controlling) owner of the destination pod. Attribute_bindings can refer to this field using $out.destination_owner
    DestinationOwner string `protobuf:"bytes,26,opt,name=destination_owner,json=destinationOwner,proto3" json:"destination_owner,omitempty"`
    // Refers to the Istio workload identifier for the destination pod. Attribute_bindings can refer to this field using $out.destination_workload_uid
    DestinationWorkloadUid string `protobuf:"bytes,27,opt,name=destination_workload_uid,json=destinationWorkloadUid,proto3" json:"destination_workload_uid,omitempty"`
    // Refers to the Istio workload name for the destination pod. Attribute_bindings can refer to this field using $out.destination_workload_name
    DestinationWorkloadName string `protobuf:"bytes,28,opt,name=destination_workload_name,json=destinationWorkloadName,proto3" json:"destination_workload_name,omitempty"`
    // Refers to the Istio workload name for the destination pod. Attribute_bindings can refer to this field using $out.destination_workload_namespace
    DestinationWorkloadNamespace string `protobuf:"bytes,29,opt,name=destination_workload_namespace,json=destinationWorkloadNamespace,proto3" json:"destination_workload_namespace,omitempty"`
}

Contains output payload for 'kubernetes' template.

func (*OutputMsg) Descriptor Uses

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

func (*OutputMsg) Marshal Uses

func (m *OutputMsg) Marshal() (dAtA []byte, err error)

func (*OutputMsg) MarshalTo Uses

func (m *OutputMsg) MarshalTo(dAtA []byte) (int, error)

func (*OutputMsg) MarshalToSizedBuffer Uses

func (m *OutputMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OutputMsg) ProtoMessage Uses

func (*OutputMsg) ProtoMessage()

func (*OutputMsg) Reset Uses

func (m *OutputMsg) Reset()

func (*OutputMsg) Size Uses

func (m *OutputMsg) Size() (n int)

func (*OutputMsg) String Uses

func (this *OutputMsg) String() string

func (*OutputMsg) Unmarshal Uses

func (m *OutputMsg) Unmarshal(dAtA []byte) error

func (*OutputMsg) XXX_DiscardUnknown Uses

func (m *OutputMsg) XXX_DiscardUnknown()

func (*OutputMsg) XXX_Marshal Uses

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

func (*OutputMsg) XXX_Merge Uses

func (m *OutputMsg) XXX_Merge(src proto.Message)

func (*OutputMsg) XXX_Size Uses

func (m *OutputMsg) XXX_Size() int

func (*OutputMsg) XXX_Unmarshal Uses

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

type Type Uses

type Type struct {
}

Contains inferred type information about specific instance of 'kubernetes' template. This is passed to infrastructure backends during configuration-time through [InfrastructureBackend.CreateSession][TODO: Link to this fragment].

func (*Type) Descriptor Uses

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

func (*Type) Marshal Uses

func (m *Type) Marshal() (dAtA []byte, err error)

func (*Type) MarshalTo Uses

func (m *Type) MarshalTo(dAtA []byte) (int, error)

func (*Type) MarshalToSizedBuffer Uses

func (m *Type) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Type) ProtoMessage Uses

func (*Type) ProtoMessage()

func (*Type) Reset Uses

func (m *Type) Reset()

func (*Type) Size Uses

func (m *Type) Size() (n int)

func (*Type) String Uses

func (this *Type) String() string

func (*Type) Unmarshal Uses

func (m *Type) Unmarshal(dAtA []byte) error

func (*Type) XXX_DiscardUnknown Uses

func (m *Type) XXX_DiscardUnknown()

func (*Type) XXX_Marshal Uses

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

func (*Type) XXX_Merge Uses

func (m *Type) XXX_Merge(src proto.Message)

func (*Type) XXX_Size Uses

func (m *Type) XXX_Size() int

func (*Type) XXX_Unmarshal Uses

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

type UnimplementedHandleKubernetesServiceServer Uses

type UnimplementedHandleKubernetesServiceServer struct {
}

UnimplementedHandleKubernetesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHandleKubernetesServiceServer) HandleKubernetes Uses

func (*UnimplementedHandleKubernetesServiceServer) HandleKubernetes(ctx context.Context, req *HandleKubernetesRequest) (*OutputMsg, error)

Package adapter_template_kubernetes imports 18 packages (graph) and is imported by 6 packages. Updated 2019-10-16. Refresh now. Tools for package owners.