rpm

package
v0.1.1-0...-f7b4fde Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Copyright © 2021 Bob Callaway <bcallawa@redhat.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	APIVERSION = "0.0.1"
)

Variables

This section is empty.

Functions

func Base64StringtoByteArray

func Base64StringtoByteArray() mapstructure.DecodeHookFunc

func NewEntry

func NewEntry() types.EntryImpl

Types

type V001Entry

type V001Entry struct {
	RPMModel models.RpmV001Schema
	// contains filtered or unexported fields
}

func (V001Entry) APIVersion

func (v V001Entry) APIVersion() string

func (*V001Entry) Canonicalize

func (v *V001Entry) Canonicalize(ctx context.Context) ([]byte, error)

func (*V001Entry) FetchExternalEntities

func (v *V001Entry) FetchExternalEntities(ctx context.Context) error

func (V001Entry) HasExternalEntities

func (v V001Entry) HasExternalEntities() bool

func (V001Entry) IndexKeys

func (v V001Entry) IndexKeys() []string

func (*V001Entry) Unmarshal

func (v *V001Entry) Unmarshal(pe models.ProposedEntry) error

func (V001Entry) Validate

func (v V001Entry) Validate() error

Validate performs cross-field validation for fields in object

Jump to

Keyboard shortcuts

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