airshipctl/pkg/k8s/kubectl/interfaces.go
Kostiantyn Kalynovskyi 9afeccb785 [#20] Add abstraction to kubernetes interactions
Object Cluster will be a entry point to intractions with kubernetes
It will provide:
  - kubectl abstraction which will emulate kubectl apply
and other commands (in the future)
  - kubernets client-go kubernetes interface which has all operations,
including CRUD to kubernetes apps, core, extentions, etc... objects

Change-Id: Ie2961f68a160e720c264c622c1124f283bded161
2020-02-25 12:21:37 -06:00

11 lines
201 B
Go

package kubectl
import (
"opendev.org/airship/airshipctl/pkg/document"
)
type Interface interface {
Apply(docs []document.Document, ao *ApplyOptions) error
ApplyOptions() (*ApplyOptions, error)
}