Documentation ¶
Index ¶
- type Filter
- type New
- func NewGetActive(receiver, runtime string) New
- func NewGetCondition(receiver, runtime string) New
- func NewGetDeletionPolicy(receiver, runtime string) New
- func NewGetExternalLeafRefs(receiver, runtime string) New
- func NewGetNetworkNodeReference(receiver, runtime string) New
- func NewGetResourceIndexes(receiver, runtime string) New
- func NewGetRootNetworkNodeReference(receiver, runtime string) New
- func NewGetRootResourceReference(receiver, runtime string) New
- func NewGetTarget(receiver, runtime string) New
- func NewGetUsers(receiver string) New
- func NewManagedGetItems(receiver, resource string) New
- func NewNetworkNodeUsageGetItems(receiver, resource string) New
- func NewSetActive(receiver, runtime string) New
- func NewSetConditions(receiver, runtime string) New
- func NewSetDeletionPolicy(receiver, runtime string) New
- func NewSetExternalLeafRefs(receiver, runtime string) New
- func NewSetNetworkNodeReference(receiver, runtime string) New
- func NewSetResourceIndexes(receiver, runtime string) New
- func NewSetRootNetworkNodeReference(receiver, runtime string) New
- func NewSetRootResourceReference(receiver, runtime string) New
- func NewSetTarget(receiver, runtime string) New
- func NewSetUsers(receiver string) New
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
A Filter is a function that determines whether a method should be written for the supplied object. It returns true if the method should be filtered.
func DefinedOutside ¶
DefinedOutside returns a MethodFilter that returns true if the supplied object has a method with the supplied name that is not defined in the supplied filename. The object's filename is determined using the supplied FileSet.
type New ¶
New is a function that adds a method on the supplied object in the supplied file.
func NewGetActive ¶ added in v0.1.10
NewGetActive returns a NewMethod that writes a GetActive method for the supplied Object to the supplied file.
func NewGetCondition ¶
NewGetCondition returns a NewMethod that writes a GetCondition method for the supplied Object to the supplied file.
func NewGetDeletionPolicy ¶
NewGetDeletionPolicy returns a NewMethod that writes a GetDeletionPolicy method for the supplied Object to the supplied file.
func NewGetExternalLeafRefs ¶ added in v0.1.13
NewGetExternalLeafRefs returns a NewMethod that writes a GetExternalLeafRefs method for the supplied Object to the supplied file.
func NewGetNetworkNodeReference ¶ added in v0.1.11
NewGetNetworkNodeReference returns a NewMethod that writes a GetNetworkNodeReference method for the supplied Object to the supplied file.
func NewGetResourceIndexes ¶ added in v0.1.14
NewGetResourceIndexes returns a NewMethod that writes a GetResourceIndexes method for the supplied Object to the supplied file.
func NewGetRootNetworkNodeReference ¶ added in v0.1.11
NewGetRootNetworkNodeReference returns a NewMethod that writes a GetNetworkNodeReference method for the supplied Object to the supplied file. file. Note that unlike NewGetNetworkNodeReference the generated method expects the NetworkNodeReference to be at the root of the struct, not under its Spec field.
func NewGetRootResourceReference ¶ added in v0.1.10
NewGetRootResourceReference returns a NewMethod that writes a GetRootResourceReference method for the supplied Object to the supplied file.
func NewGetTarget ¶ added in v0.1.12
NewGetTarget returns a NewMethod that writes a GetTarget method for the supplied Object to the supplied file.
func NewGetUsers ¶ added in v0.1.10
NewGetUsers returns a NewMethod that writes a GetUsers method for the supplied Object to the supplied file.
func NewManagedGetItems ¶
NewManagedGetItems returns a New that writes a GetItems method for the supplied object to the supplied file.
func NewNetworkNodeUsageGetItems ¶ added in v0.1.11
NewNetworkNodeUsageGetItems returns a New that writes a GetItems method for the supplied object to the supplied file.
func NewSetActive ¶ added in v0.1.10
NewSetActive returns a NewMethod that writes a SetActive method for the supplied Object to the supplied file.
func NewSetConditions ¶
NewSetConditions returns a NewMethod that writes a SetConditions method for the supplied Object to the supplied file.
func NewSetDeletionPolicy ¶
NewSetDeletionPolicy returns a NewMethod that writes a SetDeletionPolicy method for the supplied Object to the supplied file.
func NewSetExternalLeafRefs ¶ added in v0.1.13
NewSetExternalLeafRefs returns a NewMethod that writes a SetExternalLeafRefs method for the supplied Object to the supplied file.
func NewSetNetworkNodeReference ¶ added in v0.1.11
NewSetNetworkNodeReference returns a NewMethod that writes a SetNetworkNodeReference method for the supplied Object to the supplied file.
func NewSetResourceIndexes ¶ added in v0.1.14
NewSetResourceIndexes returns a NewMethod that writes a SetResourceIndexes method for the supplied Object to the supplied file.
func NewSetRootNetworkNodeReference ¶ added in v0.1.11
NewSetRootNetworkNodeReference returns a NewMethod that writes a SetNetworkNodeReference method for the supplied Object to the supplied file. Note that unlike NewSetNetworkNodeReference the generated method expects the NetworkNodeReference to be at the root of the struct, not under its Spec field.
func NewSetRootResourceReference ¶ added in v0.1.10
NewSetRootResourceReference returns a NewMethod that writes a SetRootResourceReference method for the supplied Object to the supplied file.
func NewSetTarget ¶ added in v0.1.12
NewSetTarget returns a NewMethod that writes a SetTarget method for the supplied Object to the supplied file.
func NewSetUsers ¶ added in v0.1.10
NewSetUsers returns a NewMethod that writes a SetUsers method for the supplied Object to the supplied file.