Documentation ¶
Index ¶
- Variables
- type KubeResource
- func (k *KubeResource) FilterSecondaryByRules(ctx *mirrorcontext.Context) bool
- func (k *KubeResource) FilterSequentialByRules(ctx *mirrorcontext.Context) bool
- func (k *KubeResource) GVK() schema.GroupVersionKind
- func (k *KubeResource) MutateKubeResource(kvs *mvccpb.KeyValue) (*mvccpb.KeyValue, error)
- func (k *KubeResource) Object() *unstructured.Unstructured
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Scheme = runtime.NewScheme() Codecs = serializer.NewCodecFactory(Scheme) )
Functions ¶
This section is empty.
Types ¶
type KubeResource ¶
type KubeResource struct {
// contains filtered or unexported fields
}
func Decode ¶
func Decode(ctx *mirrorcontext.Context, key, val []byte) (out *KubeResource, err error)
func (*KubeResource) FilterSecondaryByRules ¶
func (k *KubeResource) FilterSecondaryByRules(ctx *mirrorcontext.Context) bool
func (*KubeResource) FilterSequentialByRules ¶
func (k *KubeResource) FilterSequentialByRules(ctx *mirrorcontext.Context) bool
func (*KubeResource) GVK ¶
func (k *KubeResource) GVK() schema.GroupVersionKind
func (*KubeResource) MutateKubeResource ¶
func (*KubeResource) Object ¶
func (k *KubeResource) Object() *unstructured.Unstructured
Click to show internal directories.
Click to hide internal directories.