Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSCALSource

type OSCALSource struct {
	UserPath string
	// contains filtered or unexported fields
}

    OSCALSource is intermediary that handles IO and low-level common operations consistently for oscalkit

    func Open

    func Open(path string) (*OSCALSource, error)

      Open creates new OSCALSource and load it up

      func OpenFromReader

      func OpenFromReader(name string, r io.Reader) (*OSCALSource, error)

      func (*OSCALSource) Close

      func (s *OSCALSource) Close()

        Close the OSCALSource

        func (*OSCALSource) DocumentFormat

        func (s *OSCALSource) DocumentFormat() constants.DocumentFormat

        func (*OSCALSource) HTML

        func (s *OSCALSource) HTML() (*bytes.Buffer, error)

        func (*OSCALSource) OSCAL

        func (s *OSCALSource) OSCAL() *oscal.OSCAL

        func (*OSCALSource) Validate

        func (s *OSCALSource) Validate() error