parser

package
v0.0.0-...-d6406eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	Parse() (*Resource, error)
}

type Resource

type Resource struct {
	Name         string
	Kind         string
	Unstructured *unstructured.Unstructured
	Object       runtime.Object
}

func (*Resource) ToType

func (r *Resource) ToType() (interface{}, error)

func (*Resource) Version

func (r *Resource) Version() string

type TektonParser

type TektonParser struct {
	// contains filtered or unexported fields
}

func ForReader

func ForReader(r io.Reader) *TektonParser

func (*TektonParser) Parse

func (t *TektonParser) Parse() (*Resource, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL