Documentation ¶
Index ¶
- func New[T structureSpec.Structure](tns tns.Client, variable commonSpec.PathVariable) tns.StructureIface[T]
- func Simple(tns tns.Client) tns.SimpleIface
- type AllClient
- func (c AllClient[T]) Commit(projectId string) (commit, branch string, err error)
- func (c AllClient[T]) GetById(resourceId string) (resource T, err error)
- func (c AllClient[T]) GetByIdCommit(resourceId string, commit string) (resource T, err error)
- func (c AllClient[T]) GetByName(resourceName string) (resource T, err error)
- func (c AllClient[T]) List() (map[string]T, string, string, error)
- type GlobalClient
- func (c GlobalClient[T]) Commit(projectId string) (commit, branch string, err error)
- func (c GlobalClient[T]) GetById(resourceId string) (T, error)
- func (c GlobalClient[T]) GetByIdCommit(resourceId string, commit string) (resource T, err error)
- func (c GlobalClient[T]) GetByName(resourceName string) (resource T, err error)
- func (c GlobalClient[T]) List() (map[string]T, string, string, error)
- type RelativeClient
- func (c RelativeClient[T]) Commit(projectId string) (commit, branch string, err error)
- func (c RelativeClient[T]) GetById(resourceId string) (T, error)
- func (c RelativeClient[T]) GetByIdCommit(resourceId string, commit string) (resource T, err error)
- func (c RelativeClient[T]) GetByName(resourceName string) (resource T, err error)
- func (c RelativeClient[T]) List() (map[string]T, string, string, error)
- type Structure
- func (c *Structure[T]) All(projectId, appId string, branches ...string) tns.StructureGetter[T]
- func (c *Structure[T]) Commit(projectId string, branches ...string) (commit, branch string, err error)
- func (c *Structure[T]) Global(projectId string, branches ...string) tns.StructureGetter[T]
- func (c *Structure[T]) Relative(projectId, appId string, branches ...string) tns.StructureGetter[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New[T structureSpec.Structure](tns tns.Client, variable commonSpec.PathVariable) tns.StructureIface[T]
Types ¶
type AllClient ¶
type AllClient[T structureSpec.Structure] struct { *Structure[T] // contains filtered or unexported fields }
func (AllClient[T]) GetByIdCommit ¶
type GlobalClient ¶
type GlobalClient[T structureSpec.Structure] struct { *Structure[T] // contains filtered or unexported fields }
func (GlobalClient[T]) Commit ¶ added in v1.1.5
func (c GlobalClient[T]) Commit(projectId string) (commit, branch string, err error)
func (GlobalClient[T]) GetById ¶
func (c GlobalClient[T]) GetById(resourceId string) (T, error)
func (GlobalClient[T]) GetByIdCommit ¶
func (c GlobalClient[T]) GetByIdCommit(resourceId string, commit string) (resource T, err error)
func (GlobalClient[T]) GetByName ¶
func (c GlobalClient[T]) GetByName(resourceName string) (resource T, err error)
type RelativeClient ¶
type RelativeClient[T structureSpec.Structure] struct { *Structure[T] // contains filtered or unexported fields }
func (RelativeClient[T]) Commit ¶ added in v1.1.5
func (c RelativeClient[T]) Commit(projectId string) (commit, branch string, err error)
func (RelativeClient[T]) GetById ¶
func (c RelativeClient[T]) GetById(resourceId string) (T, error)
func (RelativeClient[T]) GetByIdCommit ¶
func (c RelativeClient[T]) GetByIdCommit(resourceId string, commit string) (resource T, err error)
func (RelativeClient[T]) GetByName ¶
func (c RelativeClient[T]) GetByName(resourceName string) (resource T, err error)
type Structure ¶
type Structure[T structureSpec.Structure] struct { // contains filtered or unexported fields }
func (*Structure[T]) All ¶
func (c *Structure[T]) All(projectId, appId string, branches ...string) tns.StructureGetter[T]
Search relative to the application provided and globally
Click to show internal directories.
Click to hide internal directories.