// NewGithubConnector returns a new Github connector with specified name and spec
NewGithubConnector returns a new Github connector with specified name and spec
// NewGithubConnector returns a new Github connector with specified name and spec
func NewGithubConnector(name string, spec teleservices.GithubConnectorSpecV3) *teleservices.GithubConnectorV3 {
	return &teleservices.GithubConnectorV3{
		Kind:    teleservices.KindGithubConnector,
		Version: teleservices.V3,
		Metadata: teleservices.Metadata{
			Name:      name,
			Namespace: defaults.Namespace,
		},
		Spec: spec,
	}
}
func NewGithubConnector ( name string , spec teleservices . GithubConnectorSpecV3 ) * teleservices . GithubConnectorV3 { return & teleservices . GithubConnectorV3 { Kind : teleservices . KindGithubConnector , Version : teleservices . V3 , Metadata : teleservices . Metadata { Name : name , Namespace : defaults . Namespace , } , Spec : spec , } }
NewGithubConnector returns a new Github connector with specified name and spec
NewGithubConnector returns a new Github connector with specified name and spec