Documentation ¶
Overview ¶
Copyright © 2021 The Sigstore Authors.
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
- func NewEntry() types.EntryImpl
- type BaseSigned
- type V001Entry
- func (v V001Entry) APIVersion() string
- func (v V001Entry) ArtifactHash() (string, error)
- func (v *V001Entry) Canonicalize(ctx context.Context) ([]byte, error)
- func (v V001Entry) CreateFromArtifactProperties(ctx context.Context, props types.ArtifactProperties) (models.ProposedEntry, error)
- func (v V001Entry) IndexKeys() ([]string, error)
- func (v V001Entry) Insertable() (bool, error)
- func (v *V001Entry) Unmarshal(pe models.ProposedEntry) error
- func (v V001Entry) Validate() error
- func (v V001Entry) Verifiers() ([]pki.PublicKey, error)
Constants ¶
View Source
const (
APIVERSION = "0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseSigned ¶
type V001Entry ¶
type V001Entry struct {
TufObj models.TUFV001Schema
}
func (V001Entry) APIVersion ¶
func (V001Entry) ArtifactHash ¶
func (*V001Entry) Canonicalize ¶
func (V001Entry) CreateFromArtifactProperties ¶
func (v V001Entry) CreateFromArtifactProperties(ctx context.Context, props types.ArtifactProperties) (models.ProposedEntry, error)
func (V001Entry) Insertable ¶
Click to show internal directories.
Click to hide internal directories.