Make launchetemplate_fitasks automatically generated

This commit is contained in:
John Gardiner Myers 2020-07-29 14:42:02 -07:00
parent f6469f70c1
commit c9813f95da
2 changed files with 12 additions and 6 deletions

View File

@ -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

View File

@ -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