Documentation ¶ Index ¶ type Source func NewSource(client client.Client, next source.Contract) *Source func (s *Source) FetchCRD(ctx context.Context, dir string, obj *v1alpha1.Bootstrap, revision string) (string, error) func (s *Source) HasUpdate(ctx context.Context, obj *v1alpha1.Bootstrap) (bool, string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Source ¶ type Source struct { Client *http.Client // contains filtered or unexported fields } Source provides functionality to fetch a CRD yaml from a GitHub release. func NewSource ¶ func NewSource(client client.Client, next source.Contract) *Source NewSource creates a new GitHub handling Source. func (*Source) FetchCRD ¶ func (s *Source) FetchCRD(ctx context.Context, dir string, obj *v1alpha1.Bootstrap, revision string) (string, error) func (*Source) HasUpdate ¶ func (s *Source) HasUpdate(ctx context.Context, obj *v1alpha1.Bootstrap) (bool, string, error) Source Files ¶ View all Source files github.go Click to show internal directories. Click to hide internal directories.