publisher

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

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

Publisher is a type to publish sdapi and sdstore. It receives strings which input by a user. If -f option is valid, yaml file will be loaded to commandSpec struct.

func New

func New(api api.API, inputCommand []string) (p *Publisher, err error)

New is a method to Generate new Publisher. Publisher variable will be returned if input command and yaml file is valid.

func (*Publisher) Run

func (p *Publisher) Run() error

Run is a method to publish sdapi and sdstore.

Jump to

Keyboard shortcuts

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