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 NewGetClassReference(receiver, core string) New
- func NewGetClassSelector(receiver, meta string) New
- func NewGetCondition(receiver, runtime string) New
- func NewGetCredentialsSecretReference(receiver, runtime string) New
- func NewGetReclaimPolicy(receiver, runtime, field string) New
- func NewGetResourceReference(receiver, core string) New
- func NewGetWriteConnectionSecretToReference(receiver, runtime string) New
- func NewLocalGetWriteConnectionSecretToReference(receiver, runtime string) New
- func NewLocalSetWriteConnectionSecretToReference(receiver, runtime string) New
- func NewSetBindingPhase(receiver, runtime string) New
- func NewSetClaimReference(receiver, core string) New
- func NewSetClassReference(receiver, core string) New
- func NewSetClassSelector(receiver, meta string) New
- func NewSetConditions(receiver, runtime string) New
- func NewSetCredentialsSecretReference(receiver, runtime string) New
- func NewSetReclaimPolicy(receiver, core, field string) New
- func NewSetResourceReference(receiver, core string) New
- func NewSetWriteConnectionSecretToReference(receiver, runtime 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 NewGetClassReference ¶
NewGetClassReference returns a NewMethod that writes a GetClassReference method for the supplied Object to the supplied file.
func NewGetClassSelector ¶
NewGetClassSelector returns a NewMethod that writes a GetClassSelector 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 NewGetCredentialsSecretReference ¶
NewGetCredentialsSecretReference returns a NewMethod that writes a GetCredentialsSecretReference 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 NewLocalGetWriteConnectionSecretToReference ¶
NewLocalGetWriteConnectionSecretToReference returns a NewMethod that writes a GetWriteConnectionSecretToReference method for the supplied Object to the supplied file.
func NewLocalSetWriteConnectionSecretToReference ¶
NewLocalSetWriteConnectionSecretToReference returns a NewMethod that writes a SetWriteConnectionSecretToReference 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 NewSetClassReference ¶
NewSetClassReference returns a NewMethod that writes a SetClassReference method for the supplied Object to the supplied file.
func NewSetClassSelector ¶
NewSetClassSelector returns a NewMethod that writes a SetClassSelector 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 NewSetCredentialsSecretReference ¶
NewSetCredentialsSecretReference returns a NewMethod that writes a SetCredentialsSecretReference 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.