Happy path implementation (#50) #18
Annotations
20 errors and 2 warnings
Unexpected file modified:
sdk/python/unmango_baremetal/__init__.py#L1
File modified:
@@ -6,29 +6,26 @@ from . import _utilities
import typing
# Export this package's modules as members:
from .provider import *
-from .tee import *
-from ._inputs import *
-from . import outputs
# Make subpackages available:
if typing.TYPE_CHECKING:
+ import unmango_baremetal.cmd as __cmd
+ cmd = __cmd
import unmango_baremetal.config as __config
config = __config
- import unmango_baremetal.v1alpha1 as __v1alpha1
- v1alpha1 = __v1alpha1
else:
+ cmd = _utilities.lazy_import('unmango_baremetal.cmd')
config = _utilities.lazy_import('unmango_baremetal.config')
- v1alpha1 = _utilities.lazy_import('unmango_baremetal.v1alpha1')
_utilities.register(
resource_modules="""
[
{
"pkg": "baremetal",
- "mod": "index",
- "fqn": "unmango_baremetal",
+ "mod": "cmd",
+ "fqn": "unmango_baremetal.cmd",
"classes": {
- "baremetal:index:Tee": "Tee"
+ "baremetal:cmd:Tee": "Tee"
}
}
]
|
Unexpected file deleted:
sdk/python/unmango_baremetal/_inputs.py#L1
File deleted:
# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
__all__ = [
'TeeOptsArgs',
]
@pulumi.input_type
class TeeOptsArgs:
def __init__(__self__, *,
files: pulumi.Input[Sequence[pulumi.Input[str]]]):
pulumi.set(__self__, "files", files)
@Property
@pulumi.getter
def files(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
return pulumi.get(self, "files")
@files.setter
def files(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
pulumi.set(self, "files", value)
|
Unexpected file deleted:
sdk/python/unmango_baremetal/outputs.py#L1
File deleted:
# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
__all__ = [
'TeeOpts',
]
@pulumi.output_type
class TeeOpts(dict):
def __init__(__self__, *,
files: Sequence[str]):
pulumi.set(__self__, "files", files)
@Property
@pulumi.getter
def files(self) -> Sequence[str]:
return pulumi.get(self, "files")
|
Unexpected file deleted:
sdk/python/unmango_baremetal/tee.py#L1
File deleted:
# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
from . import outputs
from . import v1alpha1 as _v1alpha1
from ._inputs import *
__all__ = ['TeeArgs', 'Tee']
@pulumi.input_type
class TeeArgs:
def __init__(__self__, *,
stdin: pulumi.Input[str],
test: pulumi.Input['_v1alpha1.CommandRequestArgs'],
create: Optional[pulumi.Input['TeeOptsArgs']] = None):
"""
The set of arguments for constructing a Tee resource.
"""
pulumi.set(__self__, "stdin", stdin)
pulumi.set(__self__, "test", test)
if create is not None:
pulumi.set(__self__, "create", create)
@Property
@pulumi.getter
def stdin(self) -> pulumi.Input[str]:
return pulumi.get(self, "stdin")
@stdin.setter
def stdin(self, value: pulumi.Input[str]):
pulumi.set(self, "stdin", value)
@Property
@pulumi.getter
def test(self) -> pulumi.Input['_v1alpha1.CommandRequestArgs']:
return pulumi.get(self, "test")
@test.setter
def test(self, value: pulumi.Input['_v1alpha1.CommandRequestArgs']):
pulumi.set(self, "test", value)
@Property
@pulumi.getter
def create(self) -> Optional[pulumi.Input['TeeOptsArgs']]:
return pulumi.get(self, "create")
@create.setter
def create(self, value: Optional[pulumi.Input['TeeOptsArgs']]):
pulumi.set(self, "create", value)
class Tee(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
create: Optional[pulumi.Input[Union['TeeOptsArgs', 'TeeOptsArgsDict']]] = None,
stdin: Optional[pulumi.Input[str]] = None,
test: Optional[pulumi.Input[Union['_v1alpha1.CommandRequestArgs', '_v1alpha1.CommandRequestArgsDict']]] = None,
__props__=None):
"""
TEE(1) User Commands TEE(1)
NAME
tee - read from standard input and write to standard output and files
SYNOPSIS
tee [OPTION]... [FILE]...
DESCRIPTION
Copy standard input to each FILE, and also to standard output.
-a, --append
append to the given FILEs, do not overwrite
-i, --ignore-interrupts
ignore interrupt signals
-p operate in a more appropriate MODE with pipes.
--output-error[=MODE]
set behavior on write error. See MODE below
--help display this help and exit
--version
output version information and exit
MODE determines behavior with write errors on the outputs:
warn diagnose errors writing to any output
warn-nopipe
diagnose errors writing to any output not a pipe
exit exit on error writing to any output
exit-nopipe
exit on error writing to any output not a pipe
The default MODE for the -p option is 'warn-nopipe'. With "nopipe" MODEs, exit immediately if all outputs become broken pipes.
The default operation when --output-error is not specified, is to exit immediately on error writing to a pipe, and diagnose er‐
rors writing to non pipe outputs.
AUTHOR
Written by Mike Parker, Richard M. Stallman, and David MacKenzie.
REPORTING BUGS
GNU coreutils online
|
Unexpected file deleted:
sdk/python/unmango_baremetal/v1alpha1/__init__.py#L1
File deleted:
# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
from ._inputs import *
from . import outputs
|
Unexpected file deleted:
sdk/python/unmango_baremetal/v1alpha1/_inputs.py#L1
File deleted:
# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = [
'CommandRequestArgs',
]
@pulumi.input_type
class CommandRequestArgs:
def __init__(__self__):
pass
|
Unexpected file deleted:
sdk/python/unmango_baremetal/v1alpha1/outputs.py#L1
File deleted:
# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = [
'CommandRequest',
]
@pulumi.output_type
class CommandRequest(dict):
def __init__(__self__):
pass
|
Unexpected directory added:
sdk/python/unmango_baremetal/cmd/#L1
Directory added:
__init__.py
_inputs.py
outputs.py
tee.py
|
Publish SDKs (6.0.x, 1.21.x, python, 20.x, 3.11)
Unexpected changes detected: 8. See file annotations for details.
|
Publish SDKs (6.0.x, 1.21.x, go, 20.x, 3.11)
The job was canceled because "_6_0_x_1_21_x_python_20_x" failed.
|
Unexpected file modified:
sdk/go/baremetal/init.go#L1
File modified:
@@ -11,26 +11,6 @@ import (
"github.com/unmango/pulumi-baremetal/sdk/go/baremetal/internal"
)
-type module struct {
- version semver.Version
-}
-
-func (m *module) Version() semver.Version {
- return m.version
-}
-
-func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) {
- switch typ {
- case "baremetal:index:Tee":
- r = &Tee{}
- default:
- return nil, fmt.Errorf("unknown resource type: %s", typ)
- }
-
- err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn))
- return
-}
-
type pkg struct {
version semver.Version
}
@@ -54,11 +34,6 @@ func init() {
if err != nil {
version = semver.Version{Major: 1}
}
- pulumi.RegisterResourceModule(
- "baremetal",
- "index",
- &module{version},
- )
pulumi.RegisterResourcePackage(
"baremetal",
&pkg{version},
|
Unexpected file deleted:
sdk/go/baremetal/pulumiTypes.go#L1
File deleted:
// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package baremetal
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/unmango/pulumi-baremetal/sdk/go/baremetal/internal"
)
var _ = internal.GetEnvOrDefault
type TeeOpts struct {
Files []string `pulumi:"files"`
}
// TeeOptsInput is an input type that accepts TeeOptsArgs and TeeOptsOutput values.
// You can construct a concrete instance of `TeeOptsInput` via:
//
// TeeOptsArgs{...}
type TeeOptsInput interface {
pulumi.Input
ToTeeOptsOutput() TeeOptsOutput
ToTeeOptsOutputWithContext(context.Context) TeeOptsOutput
}
type TeeOptsArgs struct {
Files pulumi.StringArrayInput `pulumi:"files"`
}
func (TeeOptsArgs) ElementType() reflect.Type {
return reflect.TypeOf((*TeeOpts)(nil)).Elem()
}
func (i TeeOptsArgs) ToTeeOptsOutput() TeeOptsOutput {
return i.ToTeeOptsOutputWithContext(context.Background())
}
func (i TeeOptsArgs) ToTeeOptsOutputWithContext(ctx context.Context) TeeOptsOutput {
return pulumi.ToOutputWithContext(ctx, i).(TeeOptsOutput)
}
func (i TeeOptsArgs) ToTeeOptsPtrOutput() TeeOptsPtrOutput {
return i.ToTeeOptsPtrOutputWithContext(context.Background())
}
func (i TeeOptsArgs) ToTeeOptsPtrOutputWithContext(ctx context.Context) TeeOptsPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(TeeOptsOutput).ToTeeOptsPtrOutputWithContext(ctx)
}
// TeeOptsPtrInput is an input type that accepts TeeOptsArgs, TeeOptsPtr and TeeOptsPtrOutput values.
// You can construct a concrete instance of `TeeOptsPtrInput` via:
//
// TeeOptsArgs{...}
//
// or:
//
// nil
type TeeOptsPtrInput interface {
pulumi.Input
ToTeeOptsPtrOutput() TeeOptsPtrOutput
ToTeeOptsPtrOutputWithContext(context.Context) TeeOptsPtrOutput
}
type teeOptsPtrType TeeOptsArgs
func TeeOptsPtr(v *TeeOptsArgs) TeeOptsPtrInput {
return (*teeOptsPtrType)(v)
}
func (*teeOptsPtrType) ElementType() reflect.Type {
return reflect.TypeOf((**TeeOpts)(nil)).Elem()
}
func (i *teeOptsPtrType) ToTeeOptsPtrOutput() TeeOptsPtrOutput {
return i.ToTeeOptsPtrOutputWithContext(context.Background())
}
func (i *teeOptsPtrType) ToTeeOptsPtrOutputWithContext(ctx context.Context) TeeOptsPtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(TeeOptsPtrOutput)
}
type TeeOptsOutput struct{ *pulumi.OutputState }
func (TeeOptsOutput) ElementType() reflect.Type {
return reflect.TypeOf((*TeeOpts)(nil)).Elem()
}
func (o TeeOptsOutput) ToTeeOptsOutput() TeeOptsOutput {
return o
}
func (o TeeOptsOutput) ToTeeOptsOutputWithContext(ctx context.Context) TeeOptsOutput {
return o
}
func (o TeeOptsOutput) ToTeeOptsPtrOutput() TeeOptsPtrOutput {
return o.ToTeeOptsPtrOutputWithContext(context.Background())
}
func (o TeeOptsOutput) ToTeeOptsPtrOutputWithContext(ctx context.Context) TeeOptsPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v TeeOpts) *TeeOpts {
return &v
}).(TeeOptsPtrOutput)
}
func (o TeeOptsOutput) Files() pulumi.StringArrayOutput {
return o.ApplyT(func(v TeeOpts) []string { return v.Files }).(pulumi.StringArrayOutput)
}
type TeeOptsPtrOutput struct{ *pulumi.OutputState }
func (TeeOptsPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**TeeOpts)(nil)).Elem()
}
func (o TeeOptsPtrOutput) ToTeeOptsPtrOutput() TeeOptsPtrOutput {
return o
}
func (o TeeOptsPtrOutput) ToTeeOptsPtrOutputWithContext(ctx context.Context) TeeOptsPtrOutput {
return o
}
func (o TeeOptsPtrOutput) Elem() TeeOptsOutput {
return o.ApplyT(func(v *TeeOpts) TeeOpts {
if v != nil {
return *v
}
var ret TeeOpts
return ret
}).(TeeOptsOutput)
}
func (o TeeOptsPtrOutput) Files() pulumi.StringArrayOutput {
return o.ApplyT(func(v *TeeOpts) []string {
if v == nil {
return nil
}
return v.Files
}).(pulumi.StringArrayOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*TeeOptsInput)(nil)).Elem(), TeeOptsArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*TeeOptsPtrInput)(nil)).Elem(), TeeOptsArgs{})
pulumi.Regis
|
Unexpected file deleted:
sdk/go/baremetal/tee.go#L1
File deleted:
// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package baremetal
import (
"context"
"reflect"
"errors"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/unmango/pulumi-baremetal/sdk/go/baremetal/internal"
"github.com/unmango/pulumi-baremetal/sdk/go/baremetal/v1alpha1"
)
// TEE(1) User Commands TEE(1)
//
// NAME
//
// tee - read from standard input and write to standard output and files
//
// SYNOPSIS
//
// tee [OPTION]... [FILE]...
//
// DESCRIPTION
//
// Copy standard input to each FILE, and also to standard output.
//
// -a, --append
// append to the given FILEs, do not overwrite
//
// -i, --ignore-interrupts
// ignore interrupt signals
//
// -p operate in a more appropriate MODE with pipes.
//
// --output-error[=MODE]
// set behavior on write error. See MODE below
//
// --help display this help and exit
//
// --version
// output version information and exit
//
// MODE determines behavior with write errors on the outputs:
// warn diagnose errors writing to any output
//
// warn-nopipe
// diagnose errors writing to any output not a pipe
//
// exit exit on error writing to any output
//
// exit-nopipe
// exit on error writing to any output not a pipe
//
// The default MODE for the -p option is 'warn-nopipe'. With "nopipe" MODEs, exit immediately if all outputs become broken pipes.
// The default operation when --output-error is not specified, is to exit immediately on error writing to a pipe, and diagnose er‐
// rors writing to non pipe outputs.
//
// AUTHOR
//
// Written by Mike Parker, Richard M. Stallman, and David MacKenzie.
//
// REPORTING BUGS
//
// GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
// Report any translation bugs to <https://translationproject.org/team/>
//
// COPYRIGHT
//
// Copyright © 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/li‐
// censes/gpl.html>.
// This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
//
// SEE ALSO
//
// Full documentation <https://www.gnu.org/software/coreutils/tee>
// or available locally via: info '(coreutils) tee invocation'
//
// GNU coreutils 9.5 March 2024 TEE(1)
type Tee struct {
pulumi.CustomResourceState
Create TeeOptsPtrOutput `pulumi:"create"`
Stderr pulumi.StringOutput `pulumi:"stderr"`
Stdin pulumi.StringOutput `pulumi:"stdin"`
Stdout pulumi.StringOutput `pulumi:"stdout"`
Test v1alpha1.CommandRequestOutput `pulumi:"test"`
}
// NewTee registers a new resource with the given unique name, arguments, and options.
func NewTee(ctx *pulumi.Context,
name string, args *TeeArgs, opts ...pulumi.ResourceOption) (*Tee, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.Stdin == nil {
return nil, errors.New("invalid value for required argument 'Stdin'")
}
if args.Test == nil {
return nil, errors.New("invalid value for required argument 'Test'")
}
opts = internal.PkgResourceDefaultOpts(opts)
var resource Tee
err := ctx.RegisterResource("baremetal:index:Tee", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetTee gets an existing Tee resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetTee(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *TeeState, opts ...pulumi.ResourceOption) (*Tee, error) {
var resource Tee
err := ctx.ReadResource("baremetal:index:Tee", name, id, state, &resource, opt
|
Unexpected file deleted:
sdk/go/baremetal/v1alpha1/pulumiTypes.go#L1
File deleted:
// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package v1alpha1
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/unmango/pulumi-baremetal/sdk/go/baremetal/internal"
)
var _ = internal.GetEnvOrDefault
type CommandRequest struct {
}
// CommandRequestInput is an input type that accepts CommandRequestArgs and CommandRequestOutput values.
// You can construct a concrete instance of `CommandRequestInput` via:
//
// CommandRequestArgs{...}
type CommandRequestInput interface {
pulumi.Input
ToCommandRequestOutput() CommandRequestOutput
ToCommandRequestOutputWithContext(context.Context) CommandRequestOutput
}
type CommandRequestArgs struct {
}
func (CommandRequestArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CommandRequest)(nil)).Elem()
}
func (i CommandRequestArgs) ToCommandRequestOutput() CommandRequestOutput {
return i.ToCommandRequestOutputWithContext(context.Background())
}
func (i CommandRequestArgs) ToCommandRequestOutputWithContext(ctx context.Context) CommandRequestOutput {
return pulumi.ToOutputWithContext(ctx, i).(CommandRequestOutput)
}
type CommandRequestOutput struct{ *pulumi.OutputState }
func (CommandRequestOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CommandRequest)(nil)).Elem()
}
func (o CommandRequestOutput) ToCommandRequestOutput() CommandRequestOutput {
return o
}
func (o CommandRequestOutput) ToCommandRequestOutputWithContext(ctx context.Context) CommandRequestOutput {
return o
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*CommandRequestInput)(nil)).Elem(), CommandRequestArgs{})
pulumi.RegisterOutputType(CommandRequestOutput{})
}
|
Unexpected directory added:
sdk/go/baremetal/cmd/#L1
Directory added:
init.go
pulumiTypes.go
tee.go
|
Publish SDKs (6.0.x, 1.21.x, go, 20.x, 3.11)
Unexpected changes detected: 5. See file annotations for details.
|
Publish SDKs (6.0.x, 1.21.x, nodejs, 20.x, 3.11)
The job was canceled because "_6_0_x_1_21_x_python_20_x" failed.
|
Publish SDKs (6.0.x, 1.21.x, nodejs, 20.x, 3.11)
The operation was canceled.
|
Publish SDKs (6.0.x, 1.21.x, dotnet, 20.x, 3.11)
The job was canceled because "_6_0_x_1_21_x_python_20_x" failed.
|
Publish SDKs (6.0.x, 1.21.x, dotnet, 20.x, 3.11)
The operation was canceled.
|
Publish SDKs (6.0.x, 1.21.x, python, 20.x, 3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: pulumi/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Publish SDKs (6.0.x, 1.21.x, python, 20.x, 3.11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pulumi/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
provider
Expired
|
15.7 MB |
|