Documentation ¶
Overview ¶
Package method contains methods that may be generated for a Go type.
Index ¶
- type Filter
- type New
- func NewGetBindingPhase(receiver, runtime string) New
- func NewGetClaimReference(receiver, core string) New
- func NewGetNonPortableClassReference(receiver, core string) New
- func NewGetPortableClassItems(receiver, resource string) New
- func NewGetPortableClassReference(receiver, core string) New
- func NewGetReclaimPolicy(receiver, runtime, field string) New
- func NewGetResourceReference(receiver, core string) New
- func NewGetWriteConnectionSecretToReference(receiver, core string) New
- func NewSetBindingPhase(receiver, runtime string) New
- func NewSetClaimReference(receiver, core string) New
- func NewSetConditions(receiver, runtime string) New
- func NewSetNonPortableClassReference(receiver, core string) New
- func NewSetPortableClassItems(receiver, resource string) New
- func NewSetPortableClassReference(receiver, core string) New
- func NewSetReclaimPolicy(receiver, core, field string) New
- func NewSetResourceReference(receiver, core string) New
- func NewSetWriteConnectionSecretToReference(receiver, core 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 NewGetBindingPhase ¶
NewGetBindingPhase returns a NewMethod that writes a GetBindingPhase method for the supplied Object to the supplied file.
func NewGetClaimReference ¶
NewGetClaimReference returns a NewMethod that writes a GetClaimReference method for the supplied Object to the supplied file.
func NewGetNonPortableClassReference ¶
NewGetNonPortableClassReference returns a NewMethod that writes a GetNonPortableClassReference method for the supplied Object to the supplied file.
func NewGetPortableClassItems ¶
NewGetPortableClassItems returns a NewMethod that writes a GetPortableClassItems method for the supplied Object to the supplied file.
func NewGetPortableClassReference ¶
NewGetPortableClassReference returns a NewMethod that writes a GetPortableClassReference method for the supplied Object to the supplied file.
func NewGetReclaimPolicy ¶
NewGetReclaimPolicy returns a NewMethod that writes a GetReclaimPolicy method for the supplied Object to the supplied file. The ReclaimPolicy is returned from the supplied field - typically Spec or SpecTemplate.
func NewGetResourceReference ¶
NewGetResourceReference returns a NewMethod that writes a GetResourceReference method for the supplied Object to the supplied file.
func NewGetWriteConnectionSecretToReference ¶
NewGetWriteConnectionSecretToReference returns a NewMethod that writes a GetWriteConnectionSecretToReference method for the supplied Object to the supplied file.
func NewSetBindingPhase ¶
NewSetBindingPhase returns a NewMethod that writes a SetBindingPhase method for the supplied Object to the supplied file.
func NewSetClaimReference ¶
NewSetClaimReference returns a NewMethod that writes a SetClaimReference 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 NewSetNonPortableClassReference ¶
NewSetNonPortableClassReference returns a NewMethod that writes a SetNonPortableClassReference method for the supplied Object to the supplied file.
func NewSetPortableClassItems ¶
NewSetPortableClassItems returns a NewMethod that writes a SetPortableClassItems method for the supplied Object to the supplied file.
func NewSetPortableClassReference ¶
NewSetPortableClassReference returns a NewMethod that writes a SetPortableClassReference method for the supplied Object to the supplied file.
func NewSetReclaimPolicy ¶
NewSetReclaimPolicy returns a NewMethod that writes a SetReclaimPolicy method for the supplied Object to the supplied file. The ReclaimPolicy is set in the supplied field - typically Spec or SpecTemplate.
func NewSetResourceReference ¶
NewSetResourceReference returns a NewMethod that writes a SetResourceReference method for the supplied Object to the supplied file.
func NewSetWriteConnectionSecretToReference ¶
NewSetWriteConnectionSecretToReference returns a NewMethod that writes a SetWriteConnectionSecretToReference method for the supplied Object to the supplied file.