func ConvertObject(schema collection.Schema, object IstioObject, domain string) (*config.Config, error)
ConvertObject converts an IstioObject k8s-style object to the internal configuration model.
FromJSON converts a canonical JSON to a proto message
FromJSONMap converts from a generic map to a proto message using canonical JSON encoding JSON encoding is specified here: https://developers.google.com/protocol-buffers/docs/proto3#json
FromYAML converts a canonical YAML to a proto message
IstioKind is the generic Kubernetes API object wrapper
ParseInputs reads multiple documents from `kubectl` output and checks with the schema. It also returns the list of unrecognized kinds as the second response.
NOTE: This function only decodes a subset of the complete k8s ObjectMeta as identified by the fields in model.Meta. This would typically only be a problem if a user dumps an configuration object with kubectl and then re-ingests it.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioKind.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
GetObjectMeta from a wrapper
GetSpec from a wrapper
GetStatus from a wrapper
IstioObject is a k8s wrapper interface for config objects
ConvertConfig translates Istio config to k8s config JSON