test

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {
	Key              string
	Tas              int
	TestPkgType      *intstr.IntOrString
	TestA            TestA
	TestB            *TestB
	TestBList        []TestB
	TestBMap         map[string]TestB
	TestBListPointer []*TestB
	// TestBListPointerPointer []**TestB
	TestBAlias    TestBAlias
	TestBAliasMap TestBAliasMap
	TestJsonAlias TestJsonAlias
}

type TestA

type TestA struct {
	TestB TestB
}

+builder-gen:new-call=Test1Tag,Test2Tag

func (*TestA) Test1Tag

func (t *TestA) Test1Tag()

func (*TestA) Test2Tag

func (t *TestA) Test2Tag()

type TestABuilder

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

func NewTestABuilder

func NewTestABuilder() *TestABuilder

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

func (*TestABuilder) Build

func (b *TestABuilder) Build() TestA

func (*TestABuilder) TestB

func (b *TestABuilder) TestB() *TestBBuilder

type TestB

type TestB struct {
	TestBKey string
}

+builder-gen:new-call=TestTag

func (*TestB) TestTag

func (t *TestB) TestTag()

type TestBAlias

type TestBAlias = []*TestB

type TestBAliasMap

type TestBAliasMap = map[string]*TestB

type TestBBuilder

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

func NewTestBBuilder

func NewTestBBuilder() *TestBBuilder

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

func (*TestBBuilder) Build

func (b *TestBBuilder) Build() TestB

func (*TestBBuilder) TestBKey

func (b *TestBBuilder) TestBKey(input string) *TestBBuilder

type TestBuilder

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

func NewTestBuilder

func NewTestBuilder() *TestBuilder

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

func (*TestBuilder) AddTestBAlias

func (b *TestBuilder) AddTestBAlias() *TestBBuilder

func (*TestBuilder) AddTestBList

func (b *TestBuilder) AddTestBList() *TestBBuilder

func (*TestBuilder) AddTestBListPointer

func (b *TestBuilder) AddTestBListPointer() *TestBBuilder

func (*TestBuilder) Build

func (b *TestBuilder) Build() Test

func (*TestBuilder) Key

func (b *TestBuilder) Key(input string) *TestBuilder

func (*TestBuilder) RemoveTestBAlias

func (b *TestBuilder) RemoveTestBAlias(remove *TestBBuilder)

func (*TestBuilder) RemoveTestBList

func (b *TestBuilder) RemoveTestBList(remove *TestBBuilder)

func (*TestBuilder) RemoveTestBListPointer

func (b *TestBuilder) RemoveTestBListPointer(remove *TestBBuilder)

func (*TestBuilder) Tas

func (b *TestBuilder) Tas(input int) *TestBuilder

func (*TestBuilder) TestA

func (b *TestBuilder) TestA() *TestABuilder

func (*TestBuilder) TestB

func (b *TestBuilder) TestB() *TestBBuilder

func (*TestBuilder) TestBAliasMap

func (b *TestBuilder) TestBAliasMap(input map[string]*TestB) *TestBuilder

func (*TestBuilder) TestBMap

func (b *TestBuilder) TestBMap(input map[string]TestB) *TestBuilder

func (*TestBuilder) TestJsonAlias

func (b *TestBuilder) TestJsonAlias(input json.RawMessage) *TestBuilder

func (*TestBuilder) TestPkgType

func (b *TestBuilder) TestPkgType(input *intstr.IntOrString) *TestBuilder

type TestC

type TestC struct {
	Key int
}

+builder-gen:ignore=true

type TestD

type TestD struct {
	KeyD int
}

type TestDBuilder

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

func NewTestDBuilder

func NewTestDBuilder() *TestDBuilder

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

func (*TestDBuilder) Build

func (b *TestDBuilder) Build() TestD

func (*TestDBuilder) KeyD

func (b *TestDBuilder) KeyD(input int) *TestDBuilder

type TestE

type TestE struct {
	*TestD
	KeyE  int
	TestG *TestG
}

type TestEBuilder

type TestEBuilder struct {
	*TestDBuilder
	// contains filtered or unexported fields
}

func NewTestEBuilder

func NewTestEBuilder() *TestEBuilder

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

func (*TestEBuilder) Build

func (b *TestEBuilder) Build() TestE

func (*TestEBuilder) KeyD

func (b *TestEBuilder) KeyD(input int) *TestEBuilder

func (*TestEBuilder) KeyE

func (b *TestEBuilder) KeyE(input int) *TestEBuilder

func (*TestEBuilder) TestD

func (b *TestEBuilder) TestD() *TestDBuilder

func (*TestEBuilder) TestG

func (b *TestEBuilder) TestG() *TestGBuilder

type TestF

type TestF struct {
	TestE
}

+builder-gen:embedded-ignore-method=TestE

type TestFBuilder

type TestFBuilder struct {
	TestEBuilder
	// contains filtered or unexported fields
}

func NewTestFBuilder

func NewTestFBuilder() *TestFBuilder

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

func (*TestFBuilder) Build

func (b *TestFBuilder) Build() TestF

func (*TestFBuilder) KeyE

func (b *TestFBuilder) KeyE(input int) *TestFBuilder

type TestG

type TestG struct {
	KeyG int
}

type TestGBuilder

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

func NewTestGBuilder

func NewTestGBuilder() *TestGBuilder

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

func (*TestGBuilder) Build

func (b *TestGBuilder) Build() TestG

func (*TestGBuilder) KeyG

func (b *TestGBuilder) KeyG(input int) *TestGBuilder

type TestJsonAlias

type TestJsonAlias = json.RawMessage

Jump to

Keyboard shortcuts

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