diff --git a/upup/pkg/fi/cloudup/awstasks/launchtemplate.go b/upup/pkg/fi/cloudup/awstasks/launchtemplate.go index 36e924b755..dc6ead356c 100644 --- a/upup/pkg/fi/cloudup/awstasks/launchtemplate.go +++ b/upup/pkg/fi/cloudup/awstasks/launchtemplate.go @@ -27,7 +27,8 @@ import ( "k8s.io/klog" ) -// LaunchTemplate defines the specificate for a template +// LaunchTemplate defines the specification for a launch template. +// +kops:fitask type LaunchTemplate struct { // Name is the name of the configuration Name *string diff --git a/upup/pkg/fi/cloudup/awstasks/launchtemplate_fitask.go b/upup/pkg/fi/cloudup/awstasks/launchtemplate_fitask.go index 820444d449..b532b1e9cf 100644 --- a/upup/pkg/fi/cloudup/awstasks/launchtemplate_fitask.go +++ b/upup/pkg/fi/cloudup/awstasks/launchtemplate_fitask.go @@ -1,5 +1,7 @@ +// +build !ignore_autogenerated + /* -Copyright 2019 The Kubernetes Authors. +Copyright 2020 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,16 +16,17 @@ See the License for the specific language governing permissions and limitations under the License. */ +// Code generated by fitask. DO NOT EDIT. + package awstasks import ( "k8s.io/kops/upup/pkg/fi" ) -var ( - _ fi.HasLifecycle = &LaunchTemplate{} - _ fi.HasName = &LaunchTemplate{} -) +// LaunchTemplate + +var _ fi.HasLifecycle = &LaunchTemplate{} // GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle func (o *LaunchTemplate) GetLifecycle() *fi.Lifecycle { @@ -35,6 +38,8 @@ func (o *LaunchTemplate) SetLifecycle(lifecycle fi.Lifecycle) { o.Lifecycle = &lifecycle } +var _ fi.HasName = &LaunchTemplate{} + // GetName returns the Name of the object, implementing fi.HasName func (o *LaunchTemplate) GetName() *string { return o.Name