cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewTable

func NewTable(headers ...string) table.Table

func TableToString

func TableToString(tbl table.Table) string

Types

type Bundle

type Bundle struct {
	CsvName     string `json:"csvName"`
	PackageName string `json:"packageName"`
	ChannelName string `json:"channelname"`
	BundlePath  string `json:"bundlePath"`
	Version     string `json:"version"`
	Replaces    string `json:"replaces,omitempty"`
}

type Channel

type Channel struct {
	Name    string `json:"name"`
	CsvName string `json:"csvName"`
}

type Package

type Package struct {
	Name               string    `json:"name"`
	Channels           []Channel `json:"channels"`
	DefaultChannelName string    `json:"defaultChannelName"`
}

type Service

type Service struct {
	Name    string
	Methods []string
}

Jump to

Keyboard shortcuts

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