types

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boolean

type Boolean int
const (
	Enabled  Boolean = 1
	Disabled Boolean = 0
)

func (Boolean) String

func (c Boolean) String() string

type Count

type Count struct {
	Count int32 `read:"count"`
}

func (*Count) DeepCopy

func (in *Count) DeepCopy() *Count

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Count.

func (*Count) DeepCopyInto

func (in *Count) DeepCopyInto(out *Count)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Count) GetCount

func (c *Count) GetCount() int32

func (*Count) SetCount

func (c *Count) SetCount(v int32)

type Favorite

type Favorite int
const (
	FavoriteHighPriority Favorite = 1
	FavoriteLowPriority  Favorite = 2
)

func (Favorite) String

func (c Favorite) String() string

type IPNet

type IPNet struct {
	net.IPNet
}

+k8s:deepcopy-gen=false

func ParseIPNet

func ParseIPNet(str string) (*IPNet, error)

func (*IPNet) DeepCopy

func (i *IPNet) DeepCopy() *IPNet

func (*IPNet) DeepCopyInto

func (i *IPNet) DeepCopyInto(in *IPNet)

func (IPNet) MarshalJSON

func (i IPNet) MarshalJSON() ([]byte, error)

func (*IPNet) UnmarshalJSON

func (i *IPNet) UnmarshalJSON(b []byte) error

type NullablePositiveInt32 added in v0.7.0

type NullablePositiveInt32 int32

0 is null

func (NullablePositiveInt32) MarshalJSON added in v0.7.0

func (t NullablePositiveInt32) MarshalJSON() ([]byte, error)

func (*NullablePositiveInt32) UnmarshalJSON added in v0.8.0

func (t *NullablePositiveInt32) UnmarshalJSON(bs []byte) error

type NullablePositiveInt64 added in v0.7.0

type NullablePositiveInt64 int64

func (NullablePositiveInt64) MarshalJSON added in v0.7.0

func (t NullablePositiveInt64) MarshalJSON() ([]byte, error)

func (*NullablePositiveInt64) UnmarshalJSON added in v0.8.0

func (t *NullablePositiveInt64) UnmarshalJSON(bs []byte) error

type State

type State int
const (
	StateBeforeStart State = 1
	StateRunning     State = 2
)

func (State) String

func (c State) String() string

type Time

type Time struct {
	time.Time
}

+k8s:deepcopy-gen=false

func ParseTime

func ParseTime(layout, value string) (Time, error)

func (*Time) DeepCopyInto

func (i *Time) DeepCopyInto(in *Time)

func (Time) MarshalJSON

func (i Time) MarshalJSON() ([]byte, error)

func (*Time) UnmarshalJSON

func (i *Time) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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