Documentation
¶
Index ¶
- Constants
- Variables
- func InvalidStringError(kind string, str string) error
- func PostRunAnalytics(_ *cmdutils.Helper[*config.Config]) func(cmd *cobra.Command, args []string) error
- func PostRunAuthenticatedAPI(ch *cmdutils.Helper[*config.Config]) func(cmd *cobra.Command, args []string) error
- func PreRunAuthenticatedAPI(ch *cmdutils.Helper[*config.Config]) func(cmd *cobra.Command, args []string) error
- func PreRunOptionalAuthenticatedAPI(ch *cmdutils.Helper[*config.Config]) func(cmd *cobra.Command, args []string) error
- func PreRunUpdateCheck(ch *cmdutils.Helper[*config.Config]) func(cmd *cobra.Command, args []string) error
- type ParsedFunction
- type ScaleFunctionNamedReadCloser
Constants ¶
View Source
const ( DefaultOrganization = "local" DefaultTag = "latest" )
Variables ¶
View Source
var (
ErrNotAuthenticated = errors.New("You must be authenticated to use this command. Please run 'scale auth login' to authenticate.")
)
Functions ¶
func InvalidStringError ¶
func PostRunAnalytics ¶ added in v0.1.3
func PostRunAuthenticatedAPI ¶
func PreRunAuthenticatedAPI ¶
Types ¶
type ParsedFunction ¶
func ParseFunction ¶
func ParseFunction(fn string) *ParsedFunction
type ScaleFunctionNamedReadCloser ¶
type ScaleFunctionNamedReadCloser struct {
// contains filtered or unexported fields
}
func NewScaleFunctionNamedReadCloser ¶
func NewScaleFunctionNamedReadCloser(sf *scalefunc.ScaleFunc) *ScaleFunctionNamedReadCloser
func (*ScaleFunctionNamedReadCloser) Close ¶
func (s *ScaleFunctionNamedReadCloser) Close() error
func (*ScaleFunctionNamedReadCloser) Name ¶
func (s *ScaleFunctionNamedReadCloser) Name() string
Click to show internal directories.
Click to hide internal directories.